-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
51 lines (51 loc) · 1.72 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
module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
ecmaFeatures: {
globalReturn: false,
impliedStrict: true,
jsx: false
},
tsconfigRootDir: __dirname,
project: "./tsconfig.json"
},
plugins: [
"@typescript-eslint",
"functional"
],
extends: [
"@autumnblaze/eslint-config-h"
],
env: {
node: true
},
rules: {
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/no-type-alias": "off",
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/init-declarations": "off",
"@typescript-eslint/no-loop-func": "off",
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/promise-function-async": "off",
"@typescript-eslint/require-array-sort-compare": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"functional/no-class": "error",
"functional/prefer-type-literal": "error"
}
};