1
0
Fork 0
VaultUI/.eslintrc.json

56 lines
1.3 KiB
JSON
Raw Normal View History

2021-05-07 23:08:02 +01:00
{
"plugins": ["sort-imports-es6-autofix", "@typescript-eslint", "prettier"],
2021-05-07 23:08:02 +01:00
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
2021-05-10 11:35:14 +01:00
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier"
2021-05-07 23:08:02 +01:00
],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
2021-05-10 11:35:14 +01:00
"experimentalObjectRestSpread": true,
"project": "./tsconfig.json"
2021-05-07 23:08:02 +01:00
},
"globals": {
"pageContent": "writable",
"module": "writable",
"process": "writable",
2021-05-09 16:31:01 +01:00
"BUILD_STRING": "writable"
2021-05-07 23:08:02 +01:00
},
"rules": {
"no-unused-vars": ["off"],
2021-05-07 23:08:02 +01:00
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-empty-function": [
"error",
{
"allow": ["arrowFunctions"]
}
],
"@typescript-eslint/ban-ts-comment": ["off"],
"sort-imports-es6-autofix/sort-imports-es6": [2],
"@typescript-eslint/no-explicit-any": [2],
"prettier/prettier": 2
2021-05-07 23:08:02 +01:00
},
"env": {
"browser": true,
"es6": true
},
"root": true,
"parser": "@typescript-eslint/parser",
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
2021-05-07 23:08:02 +01:00
}
}
}
}