Skip to content

Commit b331131

Browse files
committed
chore(infra): add wcandillon's eslint config
1 parent 83cc981 commit b331131

File tree

3 files changed

+525
-20
lines changed

3 files changed

+525
-20
lines changed

.eslintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// all rules details check: https://github.com/wcandillon/eslint-config-react-native-wcandillon/blob/master/index.js
2+
module.exports = {
3+
extends: 'react-native-wcandillon',
4+
rules: {
5+
'react-native/no-color-literals': 0,
6+
'import/no-extraneous-dependencies': 2,
7+
},
8+
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
},
2424
"devDependencies": {
2525
"babel-preset-expo": "^5.0.0",
26+
"eslint": "^5.16.0",
27+
"eslint-config-react-native-wcandillon": "^1.2.4",
2628
"jest-expo": "^33.0.0"
2729
},
2830
"private": true

0 commit comments

Comments
 (0)