forked from facebookresearch/ParlAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
50 lines (48 loc) · 1.07 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
"plugins": ["ignore-generated-and-nolint"],
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"commonjs": true
},
"rules": {
"react/prop-types": 0,
"no-extra-boolean-cast": 0,
"react/no-unescaped-entities": 0,
"no-console": 0,
"no-unused-vars": [
0,
{ "ignoreRestSiblings": true, "argsIgnorePattern": "^_" }
],
"max-len": [
"error",
{
"code": 80,
"ignoreUrls": true,
"ignoreStrings": true
}
]
},
"settings": {
"react": {
"version": "16.5.2"
}
},
"globals": {
"verbosity": "readonly",
"process": "readonly",
"__dirname": "readonly",
"URL_DESTINATION": "readonly",
"IS_COVER_PAGE": "readonly",
"WORKER_ID": "readonly",
"ASSIGNMENT_ID": "readonly",
"HIT_ID": "readonly",
"TASK_GROUP_ID": "readonly",
"DISPLAY_FEEDBACK": "readonly",
"FRAME_HEIGHT": "readonly",
"BLOCK_MOBILE": "readonly",
"CHAT_TITLE": "readonly"
}
}