@v.latyshev/eslint-config
v1.2.0
Published
ESLint configuration by VI
Downloads
70
Readme
eslint-config
Installing
yarn add -D @v.latyshev/eslint-config eslint@^8.0.0
Then create a file named .eslintrc.js
with following contents in the root folder of your project:
/**
* @type {import('eslint').Linter.Config}
*/
module.exports = {
extends: '@v.latyshev',
parserOptions: {
tsconfigRootDir: __dirname,
},
};
// or react config
/**
* @type {import('eslint').Linter.Config}
*/
module.exports = {
extends: '@v.latyshev/eslint-config/react',
parserOptions: {
tsconfigRootDir: __dirname,
},
};
That's it! You can override the settings from eslint-config
by editing the .eslintrc.js
file.