35 lines
797 B
Plaintext
35 lines
797 B
Plaintext
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"prettier"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"no-inferrable-types": 0,
|
|
"no-console": 1, // Means warning
|
|
"prettier/prettier": 2, // Means error
|
|
"no-unused-vars": [
|
|
1,
|
|
{
|
|
"vars": "all",
|
|
"args": "after-used"
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*/src/example.ts"
|
|
],
|
|
"rules": {
|
|
"no-console": "off"
|
|
}
|
|
}]
|
|
} |