Add eslint
Showing
.eslintrc.js
0 → 100644
.npmignore
deleted
100644 → 0
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
flow-typed/react-native.js
0 → 100644
| ... | @@ -10,19 +10,32 @@ | ... | @@ -10,19 +10,32 @@ |
| "maps" | "maps" | ||
| ], | ], | ||
| "main": "src", | "main": "src", | ||
| "files": [ | |||
| "src", | |||
| "android/src", | |||
| "android/build.gradle", | |||
| "ios" | |||
| ], | |||
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| "url": "https://github.com/qiuxiang/react-native-amap3d" | "url": "https://github.com/qiuxiang/react-native-amap3d" | ||
| }, | }, | ||
| "scripts": { | "scripts": { | ||
| "test": "flow" | "test": "eslint src && flow" | ||
| }, | }, | ||
| "peerDependencies": { | "peerDependencies": { | ||
| "react": ">=16", | |||
| "react-native": ">=0.47" | "react-native": ">=0.47" | ||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "flow-bin": "^0.57.3", | "babel-eslint": "^8.1.2", | ||
| "prop-types": "^15.6.0" | "eslint": "^4.14.0", | ||
| "eslint-config-airbnb": "^16.1.0", | |||
| "eslint-plugin-import": "^2.8.0", | |||
| "eslint-plugin-jsx-a11y": "^6.0.3", | |||
| "eslint-plugin-react": "^7.5.1", | |||
| "flow-bin": "^0.62.0", | |||
| "prop-types": "^15.6.0", | |||
| "react": "^16.0.0", | |||
| "react-native": "^0.51.0" | |||
| } | } | ||
| } | } |
Please
register
or
sign in
to comment