forked from mondaycom/vibe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
48 lines (48 loc) · 1.49 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
{
"root": true,
"env": {
"browser": true,
"mocha": true
},
"parser": "babel-eslint",
"ignorePatterns": ["*test.js", "*.jest.js", "*.stories*.js"],
"extends": ["airbnb", "plugin:prettier/recommended", "plugin:react-hooks/recommended"],
"plugins": ["only-warn", "import", "react", "jsx-a11y", "json", "markdown", "mocha", "react-hooks"],
"rules": {
"global-require": "off",
"no-unused-expressions": "off",
"no-console": "off",
"consistent-return": "off",
"no-use-before-define": "off",
"one-var": "off",
"default-case": "off",
"func-names": "off",
"react/sort-comp": "off",
"prefer-destructuring": "off",
"class-methods-use-this": "off",
"radix": "off",
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-underscore-dangle": "off",
"import/prefer-default-export": "off",
"no-plusplus": "off",
"react/react-in-jsx-scope": 0,
"react/no-did-update-set-state": "off",
"arrow-body-style": "off",
"react/no-danger": "off",
"react/jsx-one-expression-per-line": "off",
"react/prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/alt-text": "error",
"jsx-a11y/no-noninteractive-element-interactions": [
"warn",
{
"required": {
"some": ["nesting", "id"]
}
}
],
"jsx-a11y/click-events-have-key-events": "error",
"react/jsx-boolean-value": "off"
}
}