Skip to content

Commit

Permalink
Issue #813. Tweak basic rules (globals, comma-dangle, no-cond-assign)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Taylor committed Nov 4, 2015
1 parent b3eb6c1 commit 2d53cbc
Showing 1 changed file with 26 additions and 17 deletions.
43 changes: 26 additions & 17 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,24 +1,33 @@
{
"rules": {
"indent": [
2,
4
],
"quotes": [
2,
"double"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
]
"indent": [2, 2],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"comma-dangle": 0,
"no-cond-assign": 0
},
"env": {
"browser": true
},
"extends": "eslint:recommended"
"extends": "eslint:recommended",
"globals": {
jQuery: true,
$: true,
_: true,
Backbone: true,
console: true,
define: true,
issueNumber: true,
markdownitEmoji: true,
markdownitSanitizer: true,
md: true,
moment: true,
Mousetrap: true,
PaginationMixin: true,
Prism: true,
qr: true,
repoPath: true,
wcEvents: true
}
}

0 comments on commit 2d53cbc

Please sign in to comment.