@sylvanas-cry/eslint-config
v1.0.3
Published
ESLint Shared Config.
Downloads
6
Readme
ESLint Config
The ESLint configuration for TypeScript.
Installation and Usage
Install the library:
npm i -D @sylvanas-cry/eslint-config
Install peer dependencies:
npm i -D \
eslint \
eslint-plugin-import \
eslint-plugin-simple-import-sort \
@typescript-eslint/parser \
@typescript-eslint/eslint-plugin
Create file named .eslintrc
at the root of your project:
{
"extends": "@sylvanas-cry/eslint-config"
}
You can override rules this way:
{
"extends": "@sylvanas-cry/eslint-config",
"rules": {
"no-console": "off"
}
}
License
The scripts and documentation in this project are released under the MIT License.