Skip to content

Commit 0c3f2e2

Browse files
committed
Merge pull request #6 from charpeni/issue-1
Add eslintrc of Airbnb
2 parents 15b2e55 + cc22763 commit 0c3f2e2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
extends: 'airbnb',
3+
plugins: [
4+
'react',
5+
],
6+
};

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,10 @@
3535
"peerDependencies": {
3636
"react-native": ">=0.12.0 || 0.5.0-rc1 || 0.6.0-rc || 0.7.0-rc || 0.7.0-rc.2 || 0.8.0-rc || 0.8.0-rc.2 || 0.9.0-rc || 0.10.0-rc || 0.11.0-rc || 0.12.0-rc || 0.13.0-rc || 0.14.0-rc || 0.15.0-rc || 0.16.0-rc || 0.17.0-rc || 0.18.0-rc",
3737
"fbemitter": "^2.0.0"
38+
},
39+
"devDependencies": {
40+
"eslint": "^1.10.3",
41+
"eslint-config-airbnb": "^3.1.0",
42+
"eslint-plugin-react": "^3.15.0"
3843
}
3944
}

0 commit comments

Comments
 (0)