-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc.json
42 lines (42 loc) · 915 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
{
"extends": "airbnb",
"env": {
"browser": true
},
"overrides": [
{
"files": [
"app/assets/javascripts/models/*.js"
],
"rules": {
"camelcase": ["off"]
}
}
],
"globals": {
"session_id": false,
"$": false,
"jQuery": false,
"AjaxSet": false,
"Vue": false,
"VueRouter": false,
"moment": false,
"google": false,
"I18n": false,
"Favico": false,
"Clipboard": false,
"noty": false,
"t": false,
"wsConnector": false,
"showLoading": false
},
"rules": {
"max-len": ["error", { "code": 160 }],
"no-new": ["off"],
"react/no-this-in-sfc": ["off"],
"import/no-extraneous-dependencies": ["off"],
"no-param-reassign": ["error", { "props": false }],
"no-use-before-define": ["error", { "variables": false }],
"no-underscore-dangle": ["error", { "allowAfterThis": true }]
}
}