eslint-config-intolerable-style-guide v5.0.1
intolerable-style-guide 
If your linter isn't constantly yelling at you, it isn't strict enough.
Installation
You can install eslint-config-intolerable-style-guide using npm via
npm install -D eslint-config-intolerable-style-guide eslint@9Configuration
You can configure ESLint to use the Intolerable Style Guide by adding the following eslint.config.mjs to your project:
import { ISG } from 'eslint-config-intolerable-style-guide';
default export [
{
ignores: ['eslint.config.mjs'],
},
...ISG,
{
languageOptions: {
parserOptions: {
project: './tsconfig.json',
},
},
},
];It is also recommended to manually add a linting script to your package.json, which should look like this:
"scripts": {
...
"lint": "eslint ."
}This will allow you to run:
npm run lintYou could also consider running lint-staged to add some githooks to check the code before commit.
"lint-staged": {
"*.ts": "eslint"
}Querks
None. It is perfect.
8 months ago
8 months ago
8 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago