-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
38 lines (38 loc) · 940 Bytes
/
.eslintrc.js
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
module.exports = {
parser: "@typescript-eslint/parser",
extends: [
"next",
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"next/core-web-vitals",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
project: "./tsconfig.json",
ecmaFeatures: {
jsx: true
}
},
ignorePatterns: [".*.js", "node_modules/", "next.config.js"],
rules: {
// --- 임시 ---
"@typescript-eslint/lines-between-class-members": "off",
"@typescript-eslint/no-throw-literal": "off",
// -----------
"react/jsx-props-no-spreading": "off",
"import/prefer-default-export": "off",
"no-unused-vars": "off",
"react/require-default-props": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
varsIgnorePattern: "^_",
argsIgnorePattern: "^_"
}
]
}
};