This repository has been archived by the owner on Jul 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
55 lines (55 loc) · 1.57 KB
/
.eslintrc
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
{
"extends": [
"airbnb-typescript",
"prettier/@typescript-eslint",
"prettier/react"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier", "jest"],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"typescript": {
"alwaysTryTypes": true,
"directory": [
"./tsconfig.json",
"./client/tsconfig.json",
"./crawler/tsconfig.json"
]
}
}
},
"rules": {
"arrow-body-style": "off",
"arrow-parens": "off",
"class-methods-use-this": "off",
"no-useless-constructor": "off",
"object-curly-newline": "off",
"prettier/prettier": "warn",
"import/prefer-default-export": ["off"],
"import/no-extraneous-dependencies": [
"error",
{ "devDependencies": ["**/*.test.{ts,tsx}", "**/*.spec.{ts,tsx}", "**/*.e2e-spec.{ts,tsx}"] }
],
"react/prop-types": ["off"],
"react/jsx-filename-extension": ["off"],
"react/jsx-curly-brace-presence": ["off"],
"react/jsx-closing-bracket-location": [
"warn",
{ "nonEmpty": "after-props" }
],
"jsx-a11y/label-has-associated-control": ["off"],
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/interface-name-prefix": "off"
},
"env": {
"node": true,
"browser": true,
"jest": true
}
}