Nabarun Gogoi
de0ac597a1
* Set up eslint and husky * Fix eslint errors --------- Co-authored-by: neeraj <neeraj.rtly@gmail.com>
30 lines
712 B
JSON
30 lines
712 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"semistandard",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
// TODO: Remove after resolution
|
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"prefer-const": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"camelcase": "off",
|
|
"@typescript-eslint/ban-types": "off"
|
|
}
|
|
}
|