2020-12-13 23:06:17 +08:00
|
|
|
{
|
2022-11-07 23:31:20 +08:00
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
|
"plugins": [
|
|
|
|
|
"@typescript-eslint"
|
|
|
|
|
],
|
|
|
|
|
"extends": [
|
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
|
"plugin:prettier/recommended",
|
|
|
|
|
"prettier"
|
|
|
|
|
],
|
2020-12-13 23:06:17 +08:00
|
|
|
"env": {
|
|
|
|
|
"mocha": true
|
2020-12-19 01:57:52 +08:00
|
|
|
},
|
2022-11-07 23:31:20 +08:00
|
|
|
"rules": {
|
|
|
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
|
|
|
"@typescript-eslint/ban-ts-ignore": "off",
|
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
|
// "no-unused-expressions": "off",
|
|
|
|
|
"max-len": [0, 160, 2, { "ignoreUrls": true }]
|
|
|
|
|
}
|
2020-12-13 23:06:17 +08:00
|
|
|
}
|