-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
24 lines (24 loc) · 978 Bytes
/
.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
{
"env": {
"es6": true,
"browser": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"globals": {
"before": true, // before() is part of our unit test framework
"describe": true, // describe() is part of our unit test framework
"it": true // it() is part of our unit test framework
},
"rules": {
"strict": ["error", "never"], // ES6 Modules imply a 'use strict'; ... specifying this is redundant
"indent": ["off", 2], // allow any indentation
"no-unused-vars": ["error", {"args": "none"}], // allow unsed parameter declaration
"linebreak-style": "off", // allow both unix/windows carriage returns
"quotes": "off", // allow single or double quotes string literals
"semi": ["error", "always"] // enforce semicolons
}
}