forked from ravendb/ravendb-nodejs-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
62 lines (61 loc) · 2.18 KB
/
.eslintrc.js
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// eslint-disable-next-line no-undef
module.exports = {
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:unicorn/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"unicorn"
],
"rules": {
"no-console": "warn",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-unused-vars": "off",
"unicorn/no-unnecessary-polyfills": "off",
"unicorn/prefer-string-replace-all": "off",
"unicorn/import-style": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-type-error": "off",
"unicorn/prefer-event-target": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-this-assignment": "off",
"unicorn/prefer-object-from-entries": "off",
"unicorn/prefer-ternary": "off",
"unicorn/prefer-code-point": "off",
"unicorn/prefer-switch": "off",
"unicorn/no-typeof-undefined": "off",
"unicorn/no-new-array": "off",
"unicorn/prefer-string-slice": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/no-negated-condition": "off",
"unicorn/no-for-loop": "off",
"unicorn/filename-case": "off",
"unicorn/no-null": "off",
"unicorn/catch-error-name": "off",
"unicorn/no-array-push-push": "off",
"unicorn/no-lonely-if": "off",
"unicorn/explicit-length-check": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/no-await-expression-member": "off",
"unicorn/no-zero-fractions": "off",
"unicorn/prefer-native-coercion-functions": "off",
"unicorn/no-array-method-this-argument": "off",
"unicorn/no-useless-undefined": "off",
"unicorn/no-array-reduce": "off",
"unicorn/better-regex": "off",
"unicorn/prefer-spread": "off",
"unicorn/consistent-function-scoping": "off",
}
}