Prathamesh Musale
c3f8d53f09
- Setup eslint with husky for precommit lint - Fix existing lint errors - Setup linter CI Reviewed-on: cerc-io/laconic-registry-cli#54 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
21 lines
396 B
JSON
21 lines
396 B
JSON
{
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"semistandard",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
|
"@typescript-eslint/no-explicit-any": "off"
|
|
}
|
|
} |