We need to specify some stricter linting rules. There is no specific set of rules in mind, but any more comprehensive rule-set from the TypeScript development community would probably do.
We also need to add a npm run lint and npm run lint-fix command to the package.json. These should be:
"scripts": {
// other commands. . .
"lint": "eslint . --ext .ts,.tsx",
"lint-fix": "eslint . --ext .ts,.tsx --fix"
}
Lastly, we should add a PR workflow check which runs linting and blocks the PR till linting passes.
We need to specify some stricter linting rules. There is no specific set of rules in mind, but any more comprehensive rule-set from the TypeScript development community would probably do.
We also need to add a
npm run lintandnpm run lint-fixcommand to the package.json. These should be:Lastly, we should add a PR workflow check which runs linting and blocks the PR till linting passes.