ericlint
v1.1.17
Published
eslint config for cathaybc projects feat. Eric
Downloads
423
Readme
ericLint
Installation
npm install --save-dev ericlint
Usage
Create a .eslintrc file under root directory
{
"extends": [
"./node_modules/ericlint"
]
}
Edit the scripts section in package.json
"scripts": {
"eslint": "eslint -c .eslintrc \"./**/*.ts\"",
}
Override
If you wish to override the typescript configuration location (default: "tsconfig.json")
{
"extends": [
"./node_modules/ericlint"
],
"parserOptions": {
"project": "tsconfig.json"
}
}