5.0.0 • Published 1 year ago
@maxxxxxdlp/eslint-config v5.0.0
ESLint Configuration
A very strict configuration for ESLint with support for TypeScript and Prettier.
NOTE: This config does not provide React rules. There is a separate configuration that complements this one with React-specific rules
Usage
Install dependencies:
npm install --save-dev @maxxxxxdlp/eslintrc globals
Then, create eslint.config.js
at the root directory of your project:
import eslintConfig from '@maxxxxxdlp/eslint-config';
import globals from 'globals';
export default [
...eslintConfig,
{
languageOptions: {
parserOptions: {
project: './tsconfig.json',
},
globals: {
...globals.browser,
...globals.node,
},
},
rules: {
// Example of overriding the configuration:
'@typescript-eslint/no-empty-interface': 'off',
},
},
];
The config is using Flat Config style.
5.0.0
1 year ago
4.0.1
1 year ago
4.0.0
1 year ago
3.0.3
2 years ago
3.0.2
2 years ago
3.0.1
2 years ago
3.0.0
2 years ago
2.0.0
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago