mirror of
https://github.com/byulmaru/quesdon
synced 2024-11-27 14:28:04 +09:00
35 lines
816 B
JSON
35 lines
816 B
JSON
|
{
|
||
|
"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"],
|
||
|
"@typescript-eslint/no-explicit-any": "error",
|
||
|
"@typescript-eslint/camelcase": "off"
|
||
|
}
|
||
|
}
|