forked from nkowaokwu/igbo_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
39 lines (39 loc) · 1008 Bytes
/
.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
{
"env": {
"es2021": true,
"node": true,
"jest": true
},
"ignorePatterns": ["**/functions/*.js"],
"extends": [
"next",
"airbnb",
"plugin:cypress/recommended"
],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"eslint-plugin-jsx-a11y",
"cypress"
],
"rules": {
"function-call-argument-newline": ["off"],
"function-paren-newline": ["off"],
"import/prefer-default-export": ["off"],
"max-len": ["error", { "code": 120 }],
"newline-per-chained-call": ["off"],
"no-console": ["off"],
"no-nested-ternary": ["off"],
"no-promise-executor-return": ["off"],
"no-underscore-dangle": ["off"],
"semi": ["error", "always"],
"react/jsx-filename-extension": ["off"],
"react/function-component-definition": ["off"],
"react/jsx-props-no-spreading": ["off"],
"react/no-danger": ["off"],
"@next/next/no-html-link-for-pages": ["off"],
"@next/next/no-img-element": ["off"]
}
}