generated from yandex-praktikum/middle.messenger.praktikum.yandex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
68 lines (68 loc) · 1.63 KB
/
.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
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
63
64
65
66
67
68
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb-typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": ["server.js", "webpack*?.js", "jest.config.js"],
"rules": {
"import/extensions": "off",
"no-use-before-define": "off",
"implicit-arrow-linebreak": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/space-infix-ops": "off",
"@typescript-eslint/lines-between-class-members": "off",
"@typescript-eslint/no-redeclare": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/comma-dangle": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"react/jsx-filename-extension": "off",
"no-console": "off",
"linebreak-style": "off",
"arrow-parens": "off",
"no-confusing-arrow": "off",
"no-trailing-spaces": "off",
"import/order": "off",
"object-curly-newline": "off",
"arrow-body-style": "off",
"operator-linebreak": "off",
"spaced-comment": "off",
"import/no-cycle": "off",
"prefer-destructuring": "off",
"max-len": [
"error",
{
"code": 140
}
],
"no-param-reassign": [
"error",
{
"props": false
}
],
"func-names": [
"error",
"never",
{
"generators": "never"
}
]
}
}