mirror of
https://github.com/byulmaru/quesdon
synced 2024-11-23 14:36:02 +09:00
37 lines
904 B
JSON
37 lines
904 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"],
|
|
"require-atomic-updates": "off",
|
|
"@typescript-eslint/no-explicit-any": "error",
|
|
"@typescript-eslint/camelcase": "off",
|
|
"@typescript-eslint/interface-name-prefix": "off"
|
|
}
|
|
} |