Switch to Typescript and webpack
This commit is contained in:
28
.eslintrc.yaml
Normal file
28
.eslintrc.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
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"]
|
||||
Reference in New Issue
Block a user