-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
35 lines (35 loc) · 923 Bytes
/
.eslintrc.js
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
module.exports = {
"env": {
"es6": true,
"mocha": true
},
"extends": "google",
"globals": {
"$": true,
"$$": true,
"browser": true,
"expect": true,
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"mocha",
"@babel"
],
"rules": {
"quotes": "off",
"arrow-parents": [0, "as-needed"],
"require-jsdoc": "off",
"brace-style": [0, "allman", { "allowSingleLine": true }],
"max-len": ["error", { "code": 120 }],
"object-curly-spacing": ["error", "always"],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always", { "omitLastInOneLineBlock": true}],
"block-spacing": ["warn", "always"],
},
};