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