forked from dimsemenov/PhotoSwipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
47 lines (47 loc) · 1.23 KB
/
.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": {
"browser": true,
"es6": true
},
"extends": "airbnb-base",
"parser": "@babel/eslint-parser",
"parserOptions": {
"sourceType": "module",
"requireConfigFile": false,
"babelOptions": {
"plugins": ["@babel/plugin-syntax-class-properties"]
}
},
"overrides": [
{
"files": [
"website/static/es6/**/*.js"
]
}
],
"rules": {
"max-len": ["error", { "code": 100, "comments": 140 }],
"comma-dangle": "off",
"no-param-reassign": 0,
"import/extensions": 0,
"no-underscore-dangle": 0,
"consistent-return": 0,
"no-trailing-spaces": "warn",
"spaced-comment": 0,
"no-plusplus": 0,
"prefer-template": 0,
"object-curly-newline": 0,
"arrow-body-style": 0,
"import/prefer-default-export": 0,
"no-else-return": 0,
"no-lonely-if": 0,
"default-case": 0,
"linebreak-style": 0,
"class-methods-use-this": 0,
"max-classes-per-file": 0,
"arrow-parens": 0,
"no-multiple-empty-lines": 0,
"no-mixed-operators": 0,
"function-paren-newline": 0
}
}