-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
32 lines (32 loc) · 985 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
{
"extends": ["next/core-web-vitals", "airbnb-typescript", "plugin:prettier/recommended", "plugin:cypress/recommended"],
"ignorePatterns": [
"node_modules/*",
"dist/*",
".nuxt/*",
".idea/*",
"**/*.config.js",
"spec/**",
"**/*.scss",
"**/*.json"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"prettier/prettier": "error",
"camelcase": ["error", { "ignoreImports": true }],
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"react/forbid-prop-types": "off",
"react/function-component-definition": "off",
"import/no-extraneous-dependencies": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".tsx"] }],
"react/no-unknown-property": ["error", { "ignore": ["jsx", "global"] }],
"semi": ["error", "never"],
"no-var": "error",
"no-multiple-empty-lines": "error",
"no-multi-spaces": "error",
"no-console": "error"
}
}