2020-02-04 19:27:46 +00:00
|
|
|
parser: "@typescript-eslint/parser"
|
|
|
|
env:
|
|
|
|
browser: true
|
2020-02-15 00:46:00 +00:00
|
|
|
es6: true # Map, etc.
|
2020-02-04 19:27:46 +00:00
|
|
|
mocha: true
|
|
|
|
node: true
|
|
|
|
|
|
|
|
parserOptions:
|
|
|
|
ecmaVersion: 2018
|
|
|
|
sourceType: module
|
|
|
|
|
|
|
|
extends:
|
|
|
|
- eslint:recommended
|
|
|
|
- plugin:@typescript-eslint/recommended
|
|
|
|
- plugin:import/recommended
|
|
|
|
- plugin:import/typescript
|
|
|
|
- plugin:prettier/recommended
|
|
|
|
- prettier # Removes eslint rules that conflict with prettier.
|
|
|
|
- prettier/@typescript-eslint # Remove conflicts again.
|
|
|
|
|
|
|
|
rules:
|
|
|
|
# For overloads.
|
|
|
|
no-dupe-class-members: off
|
2020-04-27 12:41:52 +00:00
|
|
|
"@typescript-eslint/no-use-before-define": off
|