forked from klawingco/kl_portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 1.11 KB
/
.eslintrc
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
{
"parser": "@typescript-eslint/parser",
"extends": [
"next",
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"prettier"
],
"plugins": ["@typescript-eslint", "react", "prettier"],
"rules": {
"react/react-in-jsx-scope": "off",
"arrow-body-style": ["error", "as-needed"],
"array-callback-return": "error",
"camelcase": ["error", { "properties": "never" }],
"consistent-return": "error",
"curly": ["error", "all"],
"default-case": "error",
"prefer-template": "error",
"accessor-pairs": "error",
"indent": ["error", 2, {"SwitchCase": 1}],
"no-multi-str": "error",
"no-useless-escape": "error",
"no-trailing-spaces": "error",
"react/no-multi-comp": "error",
"import/first": "error",
"import/order": "error",
"linebreak-style": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"prettier/prettier": [
"error",
{
"trailingComma": "es5",
"singleQuote": true,
"endOfLine": "auto"
}
]
},
"globals": {
"React": "writable"
}
}