diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..e449353 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,2 @@ +*.min.js +test/browser/coverage \ No newline at end of file diff --git a/.eslintrc b/.eslintrc index cc39618..ee856fb 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,7 +4,7 @@ "browser": true, "mocha": true, "node": true, - "es6": true, + "es6": true }, "globals": { "assert": true @@ -15,10 +15,11 @@ "promise" ], "rules": { - "camelcase": 0, - "no-sequences": 0, - "no-extra-parens": 2, - "no-loop-func": 2, - "require-yield": 2 + "camelcase": "off", + "no-sequences": "off", + "no-extra-parens": "error", + "no-loop-func": "error", + "require-yield": "error", + "space-before-blocks": "error" } } diff --git a/.gitignore b/.gitignore index d89076d..ddfdfef 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,6 @@ node_modules run-browserstack-tests.sh -bundle.js \ No newline at end of file +bundle.js + +.idea \ No newline at end of file diff --git a/examples/isomorphic/Component.jsx b/examples/isomorphic/Component.jsx index 4c041cf..9bf6769 100644 --- a/examples/isomorphic/Component.jsx +++ b/examples/isomorphic/Component.jsx @@ -6,7 +6,7 @@ module.exports = React.createClass({ propTypes: { userIdentifier: React.PropTypes.string.isRequired }, - render: function(){ + render: function() { return