Skip to content

Commit 7437b21

Browse files
committed
feat(config): enable react-native/no-color-literals, no-inline-styles, no-single-element-style-arrays
1 parent b02b3ad commit 7437b21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ module.exports = {
2626
"react/prop-types": 0,
2727

2828
// eslint-plugin-react-native
29+
"react-native/no-color-literals": 1,
30+
"react-native/no-inline-styles": 1,
31+
"react-native/no-single-element-style-arrays": 1,
2932
"react-native/no-unused-styles": 1
3033
},
3134

0 commit comments

Comments
 (0)