-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.json
28 lines (28 loc) · 914 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// This JSON file configures the eslint plugin. It supports comments as well as per the JSON5 spec
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "sort-destructure-keys"],
"extends": ["plugin:@typescript-eslint/recommended"],
"parserOptions": {
"ecmaVersion": 2020, // Allows for the parsing of modern ECMAScript features
"sourceType": "module" // Allows for the use of imports
},
"rules": {
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-var-requires": 0,
"no-undef": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"sort-destructure-keys/sort-destructure-keys": ["error", {"caseSensitive": false}],
"no-console": "off",
"no-debugger": "warn"
},
"settings": {
"import/resolver": {
"babel-module": {}
}
},
"env": {
"node": true
}
}