Skip to content

Commit c02a3ed

Browse files
committed
Merge pull request #28 from codeclimate/jp/add-eslintrc
Add eslintrc
2 parents cb361e0 + 57a877c commit c02a3ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.eslintrc.js renamed to eslintrc.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ module.exports = {
22
"env": {
33
"node": true, // When in a backend context
44
"browser": true, // When in a web context
5-
"jquery": true // When in a web context
5+
"jquery": true, // When in a web context
6+
"es6": true,
67
},
78
"rules": {
89
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
9-
"comma-dangle": [2, "never"],
1010
"comma-style": [2, "first", { exceptions: {ArrayExpression: true, ObjectExpression: true} }],
1111
"complexity": [2, 6],
1212
"curly": 2,
@@ -17,11 +17,11 @@ module.exports = {
1717
"radix": 2,
1818
"semi": 2,
1919
"space-infix-ops": 2,
20-
"strict": 0
20+
"strict": 0,
2121
},
2222
/**
2323
* globals should be defined per file when possible. Use the directive here
2424
* when there are project-level globals (such as jquery)
2525
*/
26-
"globals": {}
26+
"globals": {},
2727
};

0 commit comments

Comments
 (0)