1.4.0 • Published 6 months ago
@anton.bobrov/eslint-config v1.4.0
Eslint config for React projects
Installation
npm i eslint@8.53.0 prettier@3.0.3 --save-dev
npm i "@anton.bobrov/eslint-config" --save-dev
Usage
.eslintrc.js
/** @type {import("eslint").Linter.Config} */
module.exports = {
// base config
extends: ['@anton.bobrov/eslint-config'],
// or for React
extends: ['@anton.bobrov/eslint-config/react'],
// or for Next.js
extends: ['@anton.bobrov/eslint-config/next'],
parserOptions: {
project: './tsconfig.eslint.json',
},
};
tsconfig.eslint.json
{
"extends": "./tsconfig.json",
"include": ["**/*.ts", "**/*.js", "**/*.tsx", "**/*.jsx", "./.eslintrc.js"]
}
prettier.config.js
module.exports = require('@anton.bobrov/eslint-config/prettier');
1.4.0
6 months ago
1.3.1
7 months ago
1.3.0
12 months ago
1.2.0
12 months ago
1.1.20
12 months ago
1.1.19
12 months ago
1.1.18
12 months ago
1.1.17
12 months ago
1.1.16
12 months ago
1.1.15
12 months ago
1.1.14
12 months ago
1.1.13
12 months ago
1.1.12
12 months ago
1.1.11
12 months ago
1.1.10
12 months ago
1.1.9
12 months ago
1.1.8
12 months ago
1.1.7
12 months ago
1.1.6
12 months ago
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.4
1 year ago
1.0.2
1 year ago