2019-05-05 12:18:46 +02:00
|
|
|
{
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 6,
|
2019-05-10 01:18:32 +02:00
|
|
|
"project": "./tsconfig.json",
|
2019-05-05 12:18:46 +02:00
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"parser": "@typescript-eslint/parser",
|
2019-05-10 00:19:58 +02:00
|
|
|
"plugins": [
|
2019-05-10 14:32:39 +02:00
|
|
|
"header",
|
2019-05-10 00:19:58 +02:00
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
2019-05-05 12:18:46 +02:00
|
|
|
"env": {
|
|
|
|
"browser": true
|
|
|
|
},
|
2019-05-10 01:18:32 +02:00
|
|
|
"extends": [
|
2019-05-10 14:32:39 +02:00
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended"
|
2019-05-10 01:18:32 +02:00
|
|
|
],
|
2019-05-05 12:18:46 +02:00
|
|
|
"rules": {
|
|
|
|
"curly": "error",
|
2019-05-10 14:32:39 +02:00
|
|
|
"eol-last": [
|
|
|
|
"error",
|
|
|
|
"always"
|
2019-05-05 12:18:46 +02:00
|
|
|
],
|
2019-05-10 01:18:32 +02:00
|
|
|
"no-console": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"allow": [
|
|
|
|
"warn",
|
|
|
|
"error"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2019-05-10 00:19:58 +02:00
|
|
|
"no-unused-vars": "off",
|
2019-05-10 14:32:39 +02:00
|
|
|
"quotes": [
|
2019-05-10 00:19:58 +02:00
|
|
|
"error",
|
2019-05-10 14:32:39 +02:00
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"sort-imports": "error",
|
|
|
|
"header/header": [
|
|
|
|
"error",
|
|
|
|
"header.ts"
|
|
|
|
],
|
|
|
|
"@typescript-eslint/member-ordering": [
|
|
|
|
"error"
|
2019-05-10 00:19:58 +02:00
|
|
|
],
|
2019-05-10 01:18:32 +02:00
|
|
|
"@typescript-eslint/no-namespace": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"allowDeclarations": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@typescript-eslint/no-parameter-properties": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"allows": [
|
|
|
|
"private readonly"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2019-05-10 14:32:39 +02:00
|
|
|
"@typescript-eslint/no-unused-vars": [
|
2019-05-10 00:19:58 +02:00
|
|
|
"error",
|
|
|
|
{
|
2019-05-10 14:32:39 +02:00
|
|
|
"vars": "all",
|
|
|
|
"args": "after-used",
|
|
|
|
"ignoreRestSiblings": false
|
2019-05-10 00:19:58 +02:00
|
|
|
}
|
2019-05-05 12:18:46 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|