29 lines
467 B
YAML
29 lines
467 B
YAML
---
|
|
extends:
|
|
- standard
|
|
- plugin:import/recommended
|
|
- plugin:import/typescript # this line does the trick
|
|
|
|
# or configure manually:
|
|
plugins:
|
|
- import
|
|
- promise
|
|
- standard
|
|
- '@typescript-eslint'
|
|
|
|
parser: '@typescript-eslint/parser'
|
|
|
|
parserOptions:
|
|
sourceType: module
|
|
ecmaVersion: 6
|
|
|
|
env:
|
|
browser: true
|
|
node: true
|
|
|
|
rules:
|
|
comma-dangle: off
|
|
"import/order": "error"
|
|
"no-unused-vars": "off"
|
|
"@typescript-eslint/no-unused-vars": ["error"]
|