2022-11-08 22:10:42 +08:00
|
|
|
{
|
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
|
"plugins": [
|
|
|
|
|
"@typescript-eslint"
|
|
|
|
|
],
|
|
|
|
|
"extends": [
|
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
|
"plugin:prettier/recommended",
|
|
|
|
|
"prettier"
|
|
|
|
|
],
|
|
|
|
|
"env": {
|
|
|
|
|
"mocha": true
|
|
|
|
|
},
|
|
|
|
|
"rules": {
|
2023-05-25 11:47:58 +08:00
|
|
|
"@typescript-eslint/no-var-requires": "off",
|
2022-11-08 22:10:42 +08:00
|
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
|
|
|
"@typescript-eslint/ban-ts-ignore": "off",
|
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
2023-01-11 20:39:48 +08:00
|
|
|
"@typescript-eslint/no-empty-function": "off",
|
2022-11-08 22:10:42 +08:00
|
|
|
// "no-unused-expressions": "off",
|
|
|
|
|
"max-len": [0, 160, 2, { "ignoreUrls": true }]
|
|
|
|
|
}
|
|
|
|
|
}
|