1
0
mirror of https://github.com/byulmaru/quesdon synced 2024-11-27 06:18:02 +09:00
quesdon/.eslintrc.json

37 lines
904 B
JSON
Raw Permalink Normal View History

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"],
"require-atomic-updates": "off",
2019-10-31 18:42:34 +09:00
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/interface-name-prefix": "off"
2019-10-31 18:42:34 +09:00
}
}