Skip to content

Commit

Permalink
update eslint rules and config
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemmarsh committed May 12, 2016
1 parent 75de160 commit 29df528
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
17 changes: 11 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,28 @@
},
"env": {
"browser": true,
"node": true
"es6": true,
"node": true,
},
"rules": {
"quotes": [2, "single"],
"eol-last": 0,
"eol-last": 2,
"no-debugger": 1,
"no-mixed-requires": 0,
"no-underscore-dangle": 0,
"no-multi-spaces": 0,
"no-trailing-spaces": 0,
"no-extra-boolean-cast": 0,
"no-unused-vars": 1,
"no-undef": 2,
"no-unused-vars": 2,
"no-var": 2,
"prefer-const": 2,
"new-cap": 0,
"camelcase": 1,
"camelcase": 2,
"semi": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 0,
"react/react-in-jsx-scope": 2,
"react/prop-types": 2
}
}
}
4 changes: 2 additions & 2 deletions tests/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"globals": {
"sinon": true,
"sandbox": true,
"Should": true
"assert": true
}
}
}

0 comments on commit 29df528

Please sign in to comment.