Skip to content

Commit

Permalink
Update from template 2024-08 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
doubleedesign authored Sep 19, 2024
1 parent bee4079 commit ff30315
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 7 deletions.
15 changes: 11 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@
"project-structure/config-path": "project-structure.json"
},
"rules": {
"no-irregular-whitespace": "off",
"project-structure/file-structure": "error",
"indent": [
"warn",
"tab"
],
"indent": ["error", "tab", {
"SwitchCase": 1,
"FunctionExpression": {
"parameters": 1,
"body": 1
},
"MemberExpression": 1,
"offsetTernaryExpressions": true
}],
"quotes": [
"warn",
"single"
Expand Down Expand Up @@ -55,6 +61,7 @@
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-unused-vars": "warn",
"react-refresh/only-export-components": [
"warn",
{ "allowConstantExport": true }
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:structure": "eslint --parser ./node_modules/eslint-plugin-project-structure/dist/parser.js --rule project-structure/file-structure:error --ext .js,.jsx,.ts,.tsx,.html,.css,.svg,.png,.jpg,.json,.md .",
"lint": "eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --fix",
"lint:structure": "eslint --parser ./node_modules/eslint-plugin-project-structure/dist/parser.js --rule project-structure/file-structure:error --ext .js,.jsx,.ts,.tsx,.html,.css,.svg,.json,.md,.mdx .",
"preview": "vite preview",
"test:unit": "jest"
},
Expand Down
6 changes: 5 additions & 1 deletion project-structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@
{
"name": "vite.config",
"extension": ["ts"]
},
{
"name": "pull_request_template",
"extension": ["md"]
}
]
}
}
}
24 changes: 24 additions & 0 deletions pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Summary

What is the nature of this pull request?

- [ ] New feature
- [ ] Enhancement to an existing feature
- [ ] Bug fix
- [ ] Configuration update
- [ ] Dependency update

### Description of change
Please replace this text with a description of your change.

### Planner card link
[Replace this with your task link](#url)

## Readiness

- [ ] The application runs successfully with my change.
- [ ] I have included [code comments](https://stackoverflow.blog/2021/12/23/best-practices-for-writing-code-comments/) where appropriate.
- [ ] Where I have copied and pasted code from other sources, I have included a comment with a link to the original source.
- [ ] I have read and followed the [principles and guidelines about submitting code](https://redback-operations.github.io/redback-documentation/docs/web-mobile-app-dev/frontend/submitting-work).
- [ ] I have added [unit tests](https://redback-operations.github.io/redback-documentation/docs/web-mobile-app-dev/frontend/tests) for new components and/or functionality.
- [ ] All existing and new unit tests pass (including updating tests for any necessary breaking changes).

0 comments on commit ff30315

Please sign in to comment.