2019-06-15 00:47:48 +03:00
|
|
|
parser: '@typescript-eslint/parser'
|
|
|
|
parserOptions:
|
2021-01-28 23:46:31 +03:00
|
|
|
project:
|
|
|
|
- tsconfig.json
|
|
|
|
- '*/tsconfig.typings.json'
|
2019-06-15 00:47:48 +03:00
|
|
|
extends:
|
|
|
|
- 'plugin:@typescript-eslint/all'
|
|
|
|
plugins:
|
|
|
|
- '@typescript-eslint'
|
|
|
|
env:
|
|
|
|
browser: true
|
|
|
|
es6: true
|
|
|
|
node: true
|
|
|
|
commonjs: true
|
|
|
|
rules:
|
|
|
|
'@typescript-eslint/semi':
|
|
|
|
- error
|
|
|
|
- never
|
|
|
|
'@typescript-eslint/indent':
|
|
|
|
- error
|
|
|
|
- 4
|
|
|
|
'@typescript-eslint/explicit-member-accessibility':
|
|
|
|
- error
|
|
|
|
- accessibility: no-public
|
|
|
|
overrides:
|
|
|
|
parameterProperties: explicit
|
|
|
|
'@typescript-eslint/no-require-imports': off
|
|
|
|
'@typescript-eslint/no-parameter-properties': off
|
|
|
|
'@typescript-eslint/explicit-function-return-type': off
|
|
|
|
'@typescript-eslint/no-explicit-any': off
|
|
|
|
'@typescript-eslint/no-magic-numbers': off
|
|
|
|
'@typescript-eslint/member-delimiter-style': off
|
|
|
|
'@typescript-eslint/promise-function-async': off
|
|
|
|
'@typescript-eslint/require-array-sort-compare': off
|
2019-07-24 12:24:57 +03:00
|
|
|
'@typescript-eslint/no-floating-promises': off
|
2019-07-24 16:24:26 +03:00
|
|
|
'@typescript-eslint/prefer-readonly': off
|
|
|
|
'@typescript-eslint/require-await': off
|
|
|
|
'@typescript-eslint/strict-boolean-expressions': off
|
|
|
|
'@typescript-eslint/no-misused-promises': off
|
2019-09-02 14:48:24 +03:00
|
|
|
'@typescript-eslint/typedef': off
|
2020-12-24 16:03:14 +03:00
|
|
|
'@typescript-eslint/consistent-type-imports': off
|
2021-01-28 23:46:31 +03:00
|
|
|
'@typescript-eslint/sort-type-union-intersection-members': off
|
2019-06-15 00:47:48 +03:00
|
|
|
'@typescript-eslint/no-use-before-define':
|
|
|
|
- error
|
|
|
|
- classes: false
|
|
|
|
no-duplicate-imports: error
|
|
|
|
array-bracket-spacing:
|
|
|
|
- error
|
|
|
|
- never
|
|
|
|
block-scoped-var: error
|
2019-09-11 17:27:30 +03:00
|
|
|
brace-style: off
|
|
|
|
'@typescript-eslint/brace-style':
|
2019-06-15 00:47:48 +03:00
|
|
|
- error
|
|
|
|
- 1tbs
|
|
|
|
- allowSingleLine: true
|
|
|
|
computed-property-spacing:
|
|
|
|
- error
|
|
|
|
- never
|
2020-12-24 16:03:14 +03:00
|
|
|
comma-dangle: off
|
|
|
|
'@typescript-eslint/comma-dangle':
|
2019-06-15 00:47:48 +03:00
|
|
|
- error
|
|
|
|
- always-multiline
|
|
|
|
curly: error
|
|
|
|
eol-last: error
|
|
|
|
eqeqeq:
|
|
|
|
- error
|
|
|
|
- smart
|
|
|
|
linebreak-style:
|
|
|
|
- error
|
|
|
|
- unix
|
|
|
|
max-depth:
|
|
|
|
- 1
|
|
|
|
- 5
|
|
|
|
max-statements:
|
|
|
|
- 1
|
|
|
|
- 80
|
|
|
|
no-multiple-empty-lines: error
|
|
|
|
no-mixed-spaces-and-tabs: error
|
|
|
|
no-trailing-spaces: error
|
|
|
|
'@typescript-eslint/no-unused-vars':
|
|
|
|
- error
|
|
|
|
- vars: all
|
|
|
|
args: after-used
|
|
|
|
argsIgnorePattern: ^_
|
|
|
|
no-undef: error
|
2020-02-05 14:52:53 +03:00
|
|
|
no-var: error
|
2021-01-28 23:46:31 +03:00
|
|
|
object-curly-spacing: off
|
|
|
|
'@typescript-eslint/object-curly-spacing':
|
2019-06-15 00:47:48 +03:00
|
|
|
- error
|
|
|
|
- always
|
|
|
|
quote-props:
|
|
|
|
- warn
|
|
|
|
- as-needed
|
|
|
|
- keywords: true
|
|
|
|
numbers: true
|
2019-09-05 13:08:43 +03:00
|
|
|
quotes: off
|
|
|
|
'@typescript-eslint/quotes':
|
|
|
|
- error
|
|
|
|
- single
|
|
|
|
- allowTemplateLiterals: true
|
2021-01-02 21:09:34 +03:00
|
|
|
'@typescript-eslint/no-confusing-void-expression': off
|
2019-09-18 21:56:59 +03:00
|
|
|
'@typescript-eslint/no-non-null-assertion': off
|
2021-01-02 22:10:00 +03:00
|
|
|
'@typescript-eslint/no-unnecessary-condition':
|
|
|
|
- error
|
|
|
|
- allowConstantLoopConditions: true
|
2019-11-25 14:05:58 +03:00
|
|
|
'@typescript-eslint/restrict-template-expressions': off
|
2020-03-17 00:41:59 +03:00
|
|
|
'@typescript-eslint/prefer-readonly-parameter-types': off
|
|
|
|
'@typescript-eslint/no-unsafe-member-access': off
|
|
|
|
'@typescript-eslint/no-unsafe-call': off
|
|
|
|
'@typescript-eslint/no-unsafe-return': off
|
2020-12-24 16:03:14 +03:00
|
|
|
'@typescript-eslint/no-unsafe-assignment': off
|
|
|
|
'@typescript-eslint/naming-convention': off
|
|
|
|
'@typescript-eslint/lines-between-class-members':
|
|
|
|
- error
|
|
|
|
- exceptAfterSingleLine: true
|
|
|
|
'@typescript-eslint/dot-notation': off
|
|
|
|
'@typescript-eslint/no-implicit-any-catch': off
|
|
|
|
'@typescript-eslint/member-ordering': off
|
|
|
|
'@typescript-eslint/no-var-requires': off
|