Skip to content

Commit

Permalink
Add babel and react as a peer dependency and update eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Muenzinger authored and Sarah Muenzinger committed Sep 16, 2015
1 parent 5f32252 commit 64da283
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parser": "@yuzu/yep-eslint-config/node_modules/babel-eslint",
"parser": "babel-eslint",
"rules": {
"indent": [
2,
Expand Down Expand Up @@ -31,14 +31,15 @@
"mocha": true
},
"globals": {
"sinon": true
"sinon": true,
"expect": true
},
"extends": "eslint:recommended",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
"plugins": [
"@yuzu/yep-eslint-config/node_modules/eslint-plugin-react"
"eslint-plugin-react"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"url": "https://github.com/YuzuJS/yep-eslint-config/issues"
},
"homepage": "https://github.com/YuzuJS/yep-eslint-config#readme",
"dependencies": {
"peerDependencies": {
"babel-eslint": "^4.1.1",
"eslint-plugin-react": "^3.3.1"
}
Expand Down

0 comments on commit 64da283

Please sign in to comment.