Skip to content

Instantly share code, notes, and snippets.

@superdump
Created March 17, 2017 11:31
Show Gist options
  • Save superdump/e96a960a174169377431a6ede883d7ba to your computer and use it in GitHub Desktop.
Save superdump/e96a960a174169377431a6ede883d7ba to your computer and use it in GitHub Desktop.
diff --git a/.eslintrc.js b/.eslintrc.js
index e6eb64a..9aa4cd2 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -4,13 +4,16 @@ module.exports = {
ecmaVersion: 6,
sourceType: "module",
ecmaFeatures: {
+ "jsx": true,
}
},
env: {
browser: true,
- node: true,
+ es6: true,
+ node: false,
},
- extends: ["eslint:recommended", "google"],
+ plugins: ["react"],
+ extends: ["eslint:recommended", "google", "plugin:react/recommended"],
rules: {
// rules we've always adhered to or now do
"max-len": ["error", {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment