2018-09-15 20:51:23 +03:00
|
|
|
{
|
|
|
|
"extends": "standard",
|
2019-03-07 23:56:02 +03:00
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": ["@typescript-eslint"],
|
2018-09-15 20:51:23 +03:00
|
|
|
"env": {
|
|
|
|
"browser": true
|
2018-09-29 02:17:00 +03:00
|
|
|
},
|
|
|
|
"rules": {
|
2018-10-02 04:56:31 +03:00
|
|
|
"no-var": "error",
|
2019-02-06 21:27:20 +03:00
|
|
|
"no-unused-vars": 0,
|
|
|
|
"no-global-assign": 0,
|
2019-03-07 23:56:02 +03:00
|
|
|
"@typescript-eslint/no-unused-vars": ["error", {
|
|
|
|
"vars": "all",
|
|
|
|
"args": "after-used",
|
|
|
|
"ignoreRestSiblings": false
|
|
|
|
}],
|
2018-10-02 04:56:31 +03:00
|
|
|
"prefer-const": ["error", {
|
|
|
|
"destructuring": "all"
|
|
|
|
}]
|
2019-02-06 21:27:20 +03:00
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 6,
|
|
|
|
"sourceType": "module"
|
2019-03-07 23:56:02 +03:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": "*.js",
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/no-unused-vars": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2018-09-15 20:51:23 +03:00
|
|
|
}
|