
- Remove "no-unused-vars" and "no-unused-expressions" from .eslintrc.json. - Simplify error handling in devchat.ts by returning stderr directly. - Remove "noUnusedLocals" and "noUnusedParameters" from tsconfig.json.
25 lines
516 B
JSON
25 lines
516 B
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/naming-convention": "warn",
|
|
"@typescript-eslint/semi": "warn",
|
|
"curly": "warn",
|
|
"eqeqeq": "warn",
|
|
"no-throw-literal": "warn",
|
|
"semi": "off"
|
|
},
|
|
"ignorePatterns": [
|
|
"out",
|
|
"dist",
|
|
"**/*.d.ts"
|
|
]
|
|
}
|