-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
We should aim to follow common patterns for CI checks for all our repos.
Acceptance criteria
- Upgrade or install the latest versions of ESlint, Prettier and Vitest dependencies.
- Since there are several packages in this repo, explore ways to re-use ESlint, Prettier and Vitest configs.
- Add a Vitest config with a simple example test.
- Dependabot is implemented as close as possible to this PR.
- You may need to add
package-lock.jsonto.prettierignoreto avoid issues.
- You may need to add
- ESLint should be configured as close as possible to this PR:
- Same rule set in general.
- All recommended Sonarcloud rules enabled.
- Skip JS rules config from the linked sample as this repo is TS-only.
- Add some recommended React-specific rules.
- If there are many linter issues that cannot be auto-fixed, create a follow-up task to fix these.
- Add CI checks with GitHub Actions that should be configured as close as possible to this PR.
- Build checks should be based on
npm packif possible.
- Build checks should be based on
-
.prettierrcshould be exactly as in this PR. Re-format the codebase if necessary:
{
"tabWidth": 2,
"singleQuote": true,
"printWidth": 120
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready