Skip to content

Commit

Permalink
Clean up eslint warnings (#16)
Browse files Browse the repository at this point in the history
* Clean up warnings

 - use snake case
 - clean up warnings
   - declare variables instead of globals
   - shadowed variables
   - hoisted variables
   - explicit comparisons

* Wrap code in ready() block

 - wait for DOM to initialize before running code
 - Use recommended jquery ready syntax
  • Loading branch information
yanfali authored and jackhumbert committed Mar 29, 2018
1 parent bc62299 commit ff6062f
Show file tree
Hide file tree
Showing 2 changed files with 1,012 additions and 984 deletions.
1 change: 0 additions & 1 deletion assets/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"rules": {
"block-scoped-var": 2,
"camelcase": 2,
"curly": [
2,
"all"
Expand Down
Loading

0 comments on commit ff6062f

Please sign in to comment.