Skip to content

Commit

Permalink
Add an eslint config and update the code to match it.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwadhams committed Nov 2, 2016
1 parent f60f922 commit 4da053f
Show file tree
Hide file tree
Showing 4 changed files with 515 additions and 406 deletions.
33 changes: 33 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"extends": "google",

"rules": {
"no-var": "off",
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double", {
"avoidEscape": true
}
],
"semi": [
"error",
"always"
],
"max-len": [
"warn", {
"ignoreComments": true
}
],
"prefer-spread": ["off"],
"prefer-rest-params": ["off"],
"camelcase" : ["off"]
}
}
Loading

0 comments on commit 4da053f

Please sign in to comment.