-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
35 lines (35 loc) · 1.11 KB
/
.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
{
"extends": [
"eslint:recommended",
"next/core-web-vitals",
"next/typescript",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:import/recommended",
"plugin:jsx-a11y/recommended",
"plugin:tailwindcss/recommended"
],
"plugins": [
"@stylistic/js",
"simple-import-sort"
],
"rules": {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"@stylistic/js/comma-dangle": ["error", "always-multiline"],
"@stylistic/js/indent": ["error", 4],
"@stylistic/js/brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"@stylistic/js/semi": ["error", "always"],
"@stylistic/js/quotes": ["error", "double", { "avoidEscape": true, "allowTemplateLiterals": true }],
"@stylistic/js/object-curly-spacing": ["error", "always", {
"arraysInObjects": false,
"objectsInObjects": false
}],
"@stylistic/js/array-bracket-spacing": ["error", "never"],
"@stylistic/js/comma-spacing": ["error", {
"before": false,
"after": true
}],
"@typescript-eslint/consistent-type-imports": "error"
}
}