Permalink
Browse files

eslint config

  • Loading branch information...
1 parent 7fb83dd commit 34d99f524a767748b61094fe4b690225fa3ea86d Himanshu Satija committed May 4, 2016
Showing with 28 additions and 0 deletions.
  1. +2 −0 .eslintignore
  2. +26 −0 .eslintrc.json
View
@@ -0,0 +1,2 @@
+vendor/
+Components/Styles/
View
@@ -0,0 +1,26 @@
+{
+ "ecmaVersion": 7,
+ "plugins": [
+ "react",
+ "react-native"
+ ],
+ "extends": ["eslint:recommended", "plugin:react/recommended"],
+ "parser": "babel-eslint",
+ "parserOptions": {
+ "sourceType": "module",
+ "ecmaFeatures": {
+ "jsx": true,
+ "classes": true
+ }
+ },
+ "rules": {
+ "react-native/no-unused-styles": 1,
+ "no-unused-vars": 1
+ },
+ "env": {
+ "es6": true
+ },
+ "globals": {
+ "module": true
+ }
+}

0 comments on commit 34d99f5

Please sign in to comment.