2019-03-10 04:30:38 +11:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
2019-09-08 01:27:18 +09:00
|
|
|
"createDefaultProgram": true
|
2019-03-10 04:30:38 +11:00
|
|
|
},
|
|
|
|
"plugins": ["@typescript-eslint"],
|
|
|
|
"extends": [
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"prettier",
|
|
|
|
"prettier/@typescript-eslint"
|
|
|
|
],
|
|
|
|
"rules": {
|
2019-09-15 15:16:05 +02:00
|
|
|
"@typescript-eslint/array-type": ["error", { "default": "array-simple" }],
|
2019-03-10 04:30:38 +11:00
|
|
|
"@typescript-eslint/explicit-member-accessibility": ["off"],
|
|
|
|
"@typescript-eslint/no-non-null-assertion": ["off"],
|
2019-07-16 13:19:26 +09:00
|
|
|
"@typescript-eslint/no-use-before-define": ["off"],
|
2019-03-10 04:30:38 +11:00
|
|
|
"@typescript-eslint/no-parameter-properties": ["off"],
|
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
"error",
|
2019-09-16 23:25:32 +02:00
|
|
|
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
|
2019-09-08 01:27:18 +09:00
|
|
|
],
|
|
|
|
"@typescript-eslint/ban-ts-ignore": ["off"],
|
2019-09-16 23:25:32 +02:00
|
|
|
"@typescript-eslint/no-empty-function": ["off"]
|
2019-09-08 01:27:18 +09:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
2019-09-16 23:25:32 +02:00
|
|
|
"files": ["*.js"],
|
2019-09-08 01:27:18 +09:00
|
|
|
"rules": {
|
2019-09-16 23:25:32 +02:00
|
|
|
"@typescript-eslint/explicit-function-return-type": ["off"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["tools/node_*.js"],
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/no-var-requires": ["off"]
|
2019-09-08 01:27:18 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2019-03-10 04:30:38 +11:00
|
|
|
}
|