Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/.eslintrc.yaml

33 lines
734 B
YAML
Raw Normal View History

2020-02-04 20:27:46 +01:00
parser: "@typescript-eslint/parser"
env:
browser: true
2020-02-15 01:46:00 +01:00
es6: true # Map, etc.
2020-02-04 20:27:46 +01: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
"@typescript-eslint/no-use-before-define": off
"@typescript-eslint/no-non-null-assertion": off
2020-08-04 22:08:45 +02:00
eqeqeq: error
2020-05-10 08:42:34 +02:00
settings:
# Does not work with CommonJS unfortunately.
import/ignore:
- env-paths
- xdg-basedir