Skip to content

Commit

Permalink
Update eslint rules and flow-vars plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlande committed Mar 28, 2016
1 parent c37346b commit 79d51b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ rules:
no-div-regex: 1 # disallow division operators explicitly at beginning of regular
# expression
no-else-return: 1 # disallow else after a return in an if
no-empty-label: 2 # disallow use of labels for anything other then loops and switches
no-eq-null: 2 # disallow comparisons to null without a type-checking operator
no-eval: 2 # disallow use of eval()
no-extend-native: 2 # disallow adding to native types
Expand Down Expand Up @@ -208,12 +207,12 @@ rules:
quote-props: 0 # require quotes around object literal property names
semi: [2, "always"] # require or disallow use of semicolons instead of ASI
sort-vars: 0 # sort variables within the same declaration block
space-after-keywords: [2, "always"] # require a space after certain keywords
keyword-spacing: # require a space before and after certain keywords
["error", {"before": true, "after": true }]
space-before-blocks: 2 # require or disallow space before blocks
space-in-brackets: 0 # require or disallow spaces inside brackets
space-in-parens: 0 # require or disallow spaces inside parentheses
space-infix-ops: 2 # require spaces around operators
space-return-throw-case: 2 # require a space after return, throw, and case
spaced-comment: 2 # require or disallow a space immediately following
# the // in a line comment
wrap-regex: 0 # require regex literals to be wrapped in parentheses
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"concurrently": "^1.0.0",
"coveralls": "^2.11.2",
"eslint": "^2.5.2",
"eslint-plugin-flow-vars": "^0.1.1",
"eslint-plugin-flow-vars": "^0.2.1",
"eslint-plugin-react": "^4.2.3",
"express": "^4.13.3",
"express-http-proxy": "^0.6.0",
Expand Down

0 comments on commit 79d51b5

Please sign in to comment.