Skip to content

Commit

Permalink
eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Himanshu Satija authored and Himanshu Satija committed May 4, 2016
1 parent 7fb83dd commit 34d99f5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vendor/
Components/Styles/
26 changes: 26 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -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.