|
25 | 25 | "build": "exit 0",
|
26 | 26 | "commit": "git-cz",
|
27 | 27 | "format": "yarn prettier --write",
|
28 |
| - "lint": "yarn prettier --list-different", |
| 28 | + "lint": "eslint src/**/*.js react-native-fast-image-example/src/**/*.js", |
29 | 29 | "prepare": "git submodule update --init --recursive",
|
30 | 30 | "semantic-release": "semantic-release",
|
31 | 31 | "test": "jest ./src/*.js",
|
|
43 | 43 | "@semantic-release/git": "^7.0.7",
|
44 | 44 | "@semantic-release/npm": "^5.1.3",
|
45 | 45 | "@semantic-release/release-notes-generator": "^7.1.4",
|
| 46 | + "babel-eslint": "^10.0.1", |
46 | 47 | "babel-jest": "^24.1.0",
|
47 | 48 | "commitizen": "^3.0.5",
|
48 | 49 | "cz-conventional-changelog": "^2.1.0",
|
| 50 | + "eslint": "^5.14.1", |
| 51 | + "eslint-config-prettier": "^4.0.0", |
| 52 | + "eslint-plugin-jest": "^22.3.0", |
| 53 | + "eslint-plugin-prettier": "^3.0.1", |
| 54 | + "eslint-plugin-react": "^7.12.4", |
49 | 55 | "jest": "^24.1.0",
|
50 | 56 | "metro-react-native-babel-preset": "0.48.1",
|
51 |
| - "prettier": "^1.15.3", |
| 57 | + "prettier": "^1.16.4", |
52 | 58 | "prettier-check": "^2.0.0",
|
53 | 59 | "prop-types": "^15.6.2",
|
54 | 60 | "react": "16.6.0-alpha.8af6728",
|
|
0 commit comments