-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
34 lines (33 loc) · 944 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
27
28
29
30
31
32
33
34
{
"env": {
"jest/globals": true,
"browser": true,
"es2021": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended",
"plugin:storybook/recommended",
"next/core-web-vitals",
"plugin:cypress/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["jest", "@typescript-eslint", "cypress"],
"rules": {
"semi": ["error", "never"],
"quotes": ["error", "single"],
"max-len": ["error", 100],
"comma-dangle": ["error", "only-multiline"],
"indent": ["error", 2],
"cypress/no-assigning-return-values": "error",
"cypress/assertion-before-screenshot": "warn",
"cypress/no-force": "warn",
"cypress/no-async-tests": "error",
"cypress/no-pause": "error"
}
}