-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc.json
26 lines (26 loc) · 930 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
{
"settings": {
"import/resolver": {
"typescript": {}
}
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": ["etc/*"],
"plugins": ["@typescript-eslint", "@stylistic/js"],
"extends": ["next/core-web-vitals", "airbnb", "airbnb-typescript", "airbnb/hooks", "plugin:@typescript-eslint/recommended", "plugin:import/typescript"],
"rules": {
"arrow-parens": ["error", "as-needed"],
"@typescript-eslint/comma-dangle": "off",
"comma-dangle": ["error", "never"],
"semi": ["error", "always"],
"linebreak-style": "off",
"no-plusplus": "off",
"import/prefer-default-export": "off",
"react/jsx-filename-extension": [1, { "extensions": [".tsx", ".jsx"] }],
"react/function-component-definition": [2, { "namedComponents": "arrow-function" }],
"react/require-default-props": [2, { "functions": "ignore" }]
}
}