forked from Darginec05/Yoopta-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
44 lines (44 loc) · 1.29 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
{
"env": {
"browser": true,
"es2021": true,
"node": true,
"vitest": true
},
"ignorePatterns": ["node_modules/*", ".next/*", ".out/*", "!.prettierrc.js"],
"extends": ["plugin:react/recommended", "airbnb", "eslint-config-next"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint"],
"rules": {
"arrow-body-style": 0,
"react/self-closing-comp": 0,
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"jsx-a11y/anchor-is-valid": 0,
"import/prefer-default-export": 0,
"import/extensions": 0,
"react/jsx-props-no-spreading": 0,
"no-underscore-dangle": 0,
"react/jsx-filename-extension": 0,
"react/function-component-definition": 0,
"react-hooks/exhaustive-deps": 0,
"react/require-default-props": 0,
"max-len": ["error", { "code": 120 }],
"object-curly-newline": 0,
"consistent-return": 0,
"operator-linebreak": 0,
"no-return-assign": 0,
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"object-curly-spacing": 0,
"implicit-arrow-linebreak": 0,
"jsx-a11y/click-events-have-key-events": 0,
"import/no-extraneous-dependencies": 0
}
}