Skip to content

Commit

Permalink
(fix) update eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
tongthang0104 committed Oct 22, 2016
1 parent e17b5fa commit f33d082
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .eslintrc
Expand Up @@ -3,7 +3,8 @@
"env": {
"browser": true,
"node": true,
"mocha": true
"mocha": true,
"es6": true
},
"globals": {
"expect": true,
Expand Down Expand Up @@ -157,11 +158,9 @@
"before": false,
"after": true
}],
"space-after-keywords": 2, // http://eslint.org/docs/rules/space-after-keywords
"space-before-blocks": 2, // http://eslint.org/docs/rules/space-before-blocks
"space-before-function-paren": [2, "never"], // http://eslint.org/docs/rules/space-before-function-paren
"space-infix-ops": 2, // http://eslint.org/docs/rules/space-infix-ops
"space-return-throw-case": 2, // http://eslint.org/docs/rules/space-return-throw-case
"spaced-comment": [2, "always", {// http://eslint.org/docs/rules/spaced-comment
"exceptions": ["-", "+"],
"markers": ["=", "!"] // space here to support sprockets directives
Expand All @@ -175,7 +174,6 @@
"react/jsx-sort-props": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": [2, "allow-in-func"],
"react/no-did-update-set-state": 2,
"react/no-multi-comp": 2,
"react/no-unknown-property": 2,
Expand Down

0 comments on commit f33d082

Please sign in to comment.