-
-
Notifications
You must be signed in to change notification settings - Fork 462
Expand file tree
/
Copy path.eslintrc.json
More file actions
42 lines (42 loc) · 776 Bytes
/
Copy path.eslintrc.json
File metadata and controls
42 lines (42 loc) · 776 Bytes
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
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"browser": true,
"commonjs": true,
"amd": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2015
},
"rules": {
"semi": ["error", "always"],
"no-unused-vars": ["error", {"args": "none"}]
},
"overrides": [
{
"files": ["utils/**"],
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 8
}
},
{
"files": ["tests/**", "extras/js/**"],
"globals": {
"QUnit": "writable",
"resemble": "writable",
"Two": "writable",
"_": "writable"
},
"rules": {
"no-redeclare": "off"
}
}
],
"ignorePatterns": ["build/", "utils/start-comment.js", "utils/end-comment.js", "utils/exports.js", "junk/"]
}