-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 864 Bytes
/
.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
{
"extends": ["eslint:recommended", "eslint-config-prettier"],
"env": {
"es2021": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": false
},
"sourceType": "module"
},
"globals": {
"afterAll": "readonly",
"afterEach": "readonly",
"beforeAll": "readonly",
"beforeEach": "readonly",
"strapi": "readonly",
"describe": "readonly",
"it": "readonly",
"expect": "readonly",
"jest": "readonly"
},
"rules": {
"indent": ["warn", 4, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"quotes": ["warn", "single"],
"semi": ["error", "always"],
"no-console": "off",
"no-unused-vars": "warn"
}
}