Very strict ESLint config for projects using TypeScript.
Install my-project with npm
or yarn
npm install react-ts-strict-eslint-config --save-dev
yarn add react-ts-strict-eslint-config --dev
After installing the package, you can use it in your ESLint configuration file by extending the ts-strict configuration:
{
"extends": "ts-strict"
}
The ts-strict
configuration extends the following ESLint configurations:
eslint:recommended
plugin:@typescript-eslint/recommended
plugin:@typescript-eslint/recommended-requiring-type-checking
plugin:import/recommended
plugin:import/typescript
plugin:jsx-a11y/recommended
It also includes additional rules to enforce strict coding standards. The individual rule sets are located in the rules/
directory and can be extended separately if desired.
Contributions are always welcome!
If you find a bug or have a suggestion for improvement, please open an issue or submit a pull request.