-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
46 lines (46 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
36
37
38
39
40
41
42
43
44
45
46
{
"extends": [
"next/core-web-vitals",
// Unicorn rules
"plugin:unicorn/recommended",
// ESLint recommendations
"eslint:recommended",
// TypeScript rules
"plugin:@typescript-eslint/recommended",
// AirBNB rules,
"airbnb",
// AirBNB TypeScript rules,
"airbnb-typescript",
// AirBNB React Hook rules,
"airbnb/hooks",
// React rules,
"plugin:react/recommended",
// React hooks rules,
"plugin:react-hooks/recommended",
// Accessibility rules
"plugin:jsx-a11y/recommended",
// Jest test rules
"plugin:jest/recommended",
// Jest test rules
"plugin:testing-library/react",
// NextJS rules,
"plugin:@next/next/recommended",
// Storybook rules,
"plugin:storybook/recommended",
// Overrides some ESLint rules that conflict with Prettier,
"prettier",
// Enables eslint-plugin-prettier and eslint-config-prettier.,
"plugin:prettier/recommended"
],
"parserOptions": {
"project": ["tsconfig.json"]
},
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}
}