mirror of https://github.com/hyper-tuner/ini.git
51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
---
|
|
parser: '@typescript-eslint/parser'
|
|
env:
|
|
node: true
|
|
es6: true
|
|
settings:
|
|
import/resolver:
|
|
node:
|
|
extensions:
|
|
- ".js"
|
|
- ".ts"
|
|
extends:
|
|
- eslint:recommended
|
|
- prettier
|
|
- plugin:import/errors
|
|
- plugin:import/warnings
|
|
- plugin:import/typescript
|
|
plugins:
|
|
- '@typescript-eslint'
|
|
- prettier
|
|
- modules-newline
|
|
rules:
|
|
indent: [2, 2, { "SwitchCase": 1 }]
|
|
semi:
|
|
- error
|
|
- always
|
|
comma-dangle:
|
|
- error
|
|
- always-multiline
|
|
import/extensions: 0
|
|
object-curly-spacing:
|
|
- error
|
|
- always
|
|
object-curly-newline: [1, {
|
|
"ImportDeclaration": { "multiline": true, "minProperties": 2 },
|
|
"ExportDeclaration": { "multiline": true, "minProperties": 1 }
|
|
}]
|
|
modules-newline/import-declaration-newline: 1
|
|
modules-newline/export-declaration-newline: 1
|
|
quotes:
|
|
- error
|
|
- single
|
|
no-console: 0
|
|
no-plusplus: 0
|
|
import/no-extraneous-dependencies: 0
|
|
no-undef: 1
|
|
no-unused-vars: 0
|
|
'@typescript-eslint/no-unused-vars': 1
|
|
no-shadow: 0
|
|
'@typescript-eslint/no-shadow': 2
|