Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .eslintrc.js → eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ module.exports = {
"env": {
"node": true, // When in a backend context
"browser": true, // When in a web context
"jquery": true // When in a web context
"jquery": true, // When in a web context
"es6": true,
},
"rules": {
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"comma-dangle": [2, "never"],
"comma-style": [2, "first", { exceptions: {ArrayExpression: true, ObjectExpression: true} }],
"complexity": [2, 6],
"curly": 2,
Expand All @@ -17,11 +17,11 @@ module.exports = {
"radix": 2,
"semi": 2,
"space-infix-ops": 2,
"strict": 0
"strict": 0,
},
/**
* globals should be defined per file when possible. Use the directive here
* when there are project-level globals (such as jquery)
*/
"globals": {}
"globals": {},
};