mirror of
https://github.com/teoxoy/factorio-blueprint-editor.git
synced 2024-12-26 20:54:22 +02:00
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
rules:
|
|
# TODO: maybe turn on
|
|
# '@typescript-eslint/naming-convention':
|
|
# - error
|
|
# - selector: default
|
|
# format: [camelCase]
|
|
# TODO: turn on
|
|
'@typescript-eslint/ban-ts-comment': off
|
|
'@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/member-ordering':
|
|
- warn
|
|
- default:
|
|
- signature
|
|
- static-field
|
|
- instance-field
|
|
- abstract-field
|
|
- constructor
|
|
- static-method
|
|
- instance-method
|
|
- abstract-method
|
|
'@typescript-eslint/no-empty-function':
|
|
- warn
|
|
- allow: ['overrideMethods']
|
|
'@typescript-eslint/no-unused-vars':
|
|
- warn
|
|
- argsIgnorePattern: '^_'
|