You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
638 B
18 lines
638 B
|
6 years ago
|
---
|
||
|
|
rules:
|
||
|
|
'@typescript-eslint/no-useless-constructor': warn
|
||
|
|
'@typescript-eslint/restrict-plus-operands': error
|
||
|
|
'@typescript-eslint/no-use-before-define': 'off'
|
||
|
|
'@typescript-eslint/consistent-type-assertions':
|
||
|
|
- error
|
||
|
|
- assertionStyle: 'as'
|
||
|
|
objectLiteralTypeAssertions: 'allow-as-parameter'
|
||
|
|
'@typescript-eslint/explicit-member-accessibility': warn
|
||
|
|
'@typescript-eslint/explicit-function-return-type':
|
||
|
|
- warn
|
||
|
|
- allowExpressions: true
|
||
|
|
allowTypedFunctionExpressions: true
|
||
|
|
allowHigherOrderFunctions: true
|
||
|
|
'@typescript-eslint/camelcase':
|
||
|
|
- error
|