mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-27 11:01:13 +00:00
Add react-native eslint plugin dep. Fixes #370
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
"es6": true
|
||||
},
|
||||
"plugins": [
|
||||
"react"
|
||||
"react",
|
||||
"react-native"
|
||||
],
|
||||
"globals": { },
|
||||
"rules": {
|
||||
@@ -30,6 +31,10 @@
|
||||
"react/prop-types": 2,
|
||||
"react/require-extension": [2, { "extensions": [".js", ".jsx"] }],
|
||||
"react/wrap-multilines": [2],
|
||||
"react-native/no-unused-styles": 2,
|
||||
"react-native/split-platform-components": 2,
|
||||
"react-native/no-inline-styles": 2,
|
||||
"react-native/no-color-literals": 2,
|
||||
"strict": [0],
|
||||
"valid-typeof": 2
|
||||
}
|
||||
|
||||
+2
-1
@@ -30,7 +30,8 @@
|
||||
"babel-eslint": "^6.1.2",
|
||||
"eslint": "^3.1.1",
|
||||
"eslint-config-strict-react": "^8.0.1",
|
||||
"eslint-plugin-react": "^5.2.2"
|
||||
"eslint-plugin-react": "^5.2.2",
|
||||
"eslint-plugin-react-native": "1.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-eslint": "^6.1.2",
|
||||
|
||||
Reference in New Issue
Block a user