forked from freeCodeCamp/demo-projects
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
47 lines (47 loc) · 940 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
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"env": {
"es2021": true,
"browser": true,
"mocha": true,
"node": true
},
"globals": {
"Promise": true,
"window": true,
"$": true,
"ga": true,
"jQuery": true,
"router": true
},
"extends": ["eslint:recommended", "prettier"],
"overrides": [
{
"files": [
"apps/secure-real-time-multiplayer-game/tests/1_unit-tests.js",
"apps/build-a-pinterest-clone/client/*",
"**/rollup.config.js",
"apps/p2p-video-chat-application/src/client.js"
],
"parserOptions": {
"sourceType": "module"
}
},
{
"files": ["**/*.jsx"],
"settings": {
"react": {
"version": "15.7.0"
}
},
"rules": {
"react/no-string-refs": "off"
},
"extends": ["plugin:react/recommended"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
}
}
]
}