2019-10-31 18:42:34 +09:00
|
|
|
{
|
|
|
|
"env":
|
|
|
|
{
|
|
|
|
"browser": true,
|
|
|
|
"commonjs": true,
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions":
|
|
|
|
{
|
|
|
|
"ecmaVersion": 2017,
|
|
|
|
"project": "./tsconfig.json"
|
|
|
|
},
|
|
|
|
"plugins": ["@typescript-eslint"],
|
|
|
|
"extends":
|
|
|
|
[
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
|
|
],
|
|
|
|
"rules":
|
|
|
|
{
|
|
|
|
"no-console": "warn",
|
|
|
|
"indent": ["error", "tab"],
|
|
|
|
"quotes": [ "warn", "single" ],
|
|
|
|
"semi": ["error", "always"],
|
|
|
|
"comma-dangle": ["warn", "never"],
|
|
|
|
"brace-style": ["error", "allman", { "allowSingleLine": true }],
|
|
|
|
"eqeqeq": ["error", "always"],
|
2019-11-06 13:05:17 +09:00
|
|
|
"require-atomic-updates": "off",
|
2019-10-31 18:42:34 +09:00
|
|
|
"@typescript-eslint/no-explicit-any": "error",
|
2019-11-06 13:05:17 +09:00
|
|
|
"@typescript-eslint/camelcase": "off",
|
|
|
|
"@typescript-eslint/interface-name-prefix": ["error", { "prefixWithI": "always" }]
|
2019-10-31 18:42:34 +09:00
|
|
|
}
|
|
|
|
}
|