|
33 | 33 | "scripts": { |
34 | 34 | "lint": "eslint .", |
35 | 35 | "lint:fix": "eslint --cache --fix .", |
36 | | - "find-new-rules:babel": "eslint-find-rules --unused ./test/fixtures/babel.js", |
| 36 | + "find-new-rules:babel": |
| 37 | + "eslint-find-rules --unused ./test/fixtures/babel.js", |
37 | 38 | "find-new-rules:base": "eslint-find-rules --unused ./index.js", |
38 | | - "find-new-rules:flowtype": "eslint-find-rules --unused ./test/fixtures/flowtype.js", |
| 39 | + "find-new-rules:flowtype": |
| 40 | + "eslint-find-rules --unused ./test/fixtures/flowtype.js", |
39 | 41 | "find-new-rules:jest": "eslint-find-rules --unused ./test/fixtures/jest.js", |
40 | | - "find-new-rules:lodash": "eslint-find-rules --unused ./test/fixtures/lodash.js", |
41 | | - "find-new-rules:react-native": "eslint-find-rules --unused ./test/fixtures/react-native.js", |
42 | | - "find-new-rules:react": "eslint-find-rules --unused ./test/fixtures/react.js", |
43 | | - "find-new-rules:typescript": "eslint-find-rules --unused ./test/fixtures/typescript.js", |
| 42 | + "find-new-rules:lodash": |
| 43 | + "eslint-find-rules --unused ./test/fixtures/lodash.js", |
| 44 | + "find-new-rules:react-native": |
| 45 | + "eslint-find-rules --unused ./test/fixtures/react-native.js", |
| 46 | + "find-new-rules:react": |
| 47 | + "eslint-find-rules --unused ./test/fixtures/react.js", |
| 48 | + "find-new-rules:typescript": |
| 49 | + "eslint-find-rules --unused ./test/fixtures/typescript.js", |
44 | 50 | "find-new-rules": "run-p --silent find-new-rules:*", |
45 | | - "prettier-check": "eslint --print-config index.js | eslint-config-prettier-check", |
| 51 | + "prettier-check": |
| 52 | + "eslint --print-config index.js | eslint-config-prettier-check", |
46 | 53 | "jest": "jest", |
47 | 54 | "test": "run-p --silent lint find-new-rules prettier-check jest", |
| 55 | + "precommit": "lint-staged", |
48 | 56 | "commitmsg": "validate-commit-msg", |
49 | 57 | "prepush": "yarn test", |
50 | | - "semantic-release": "semantic-release pre && npm publish && semantic-release post" |
| 58 | + "semantic-release": |
| 59 | + "semantic-release pre && npm publish && semantic-release post" |
51 | 60 | }, |
52 | 61 | "lint-staged": { |
53 | 62 | "{*.js,{rules,test}/**/*.js}": ["eslint --cache --fix", "git add"], |
|
70 | 79 | }, |
71 | 80 | "dependencies": { |
72 | 81 | "babel-eslint": "^7.2.3", |
73 | | - "eslint-config-airbnb-base": "^11.3.1", |
74 | | - "eslint-config-prettier": "^2.1.1", |
| 82 | + "eslint-config-airbnb-base": "^12.0.0", |
| 83 | + "eslint-config-prettier": "^2.4.0", |
75 | 84 | "eslint-plugin-babel": "^4.1.2", |
76 | 85 | "eslint-plugin-eslint-comments": "^1.0.3", |
77 | | - "eslint-plugin-flowtype": "^2.35.0", |
| 86 | + "eslint-plugin-flowtype": "^2.35.1", |
78 | 87 | "eslint-plugin-import": "^2.7.0", |
79 | | - "eslint-plugin-jest": "^20.0.3", |
| 88 | + "eslint-plugin-jest": "^21.0.0", |
80 | 89 | "eslint-plugin-jsx-a11y": "^6.0.2", |
81 | 90 | "eslint-plugin-lodash-fp": "^2.1.3", |
82 | 91 | "eslint-plugin-no-use-extend-native": "^0.3.12", |
83 | | - "eslint-plugin-prettier": "^2.1.1", |
| 92 | + "eslint-plugin-prettier": "^2.2.0", |
84 | 93 | "eslint-plugin-promise": "^3.5.0", |
85 | | - "eslint-plugin-react": "^7.0.1", |
86 | | - "eslint-plugin-react-native": "^3.0.1", |
87 | | - "eslint-plugin-typescript": "^0.3.0", |
| 94 | + "eslint-plugin-react": "^7.3.0", |
| 95 | + "eslint-plugin-react-native": "^3.1.0", |
| 96 | + "eslint-plugin-typescript": "^0.7.0", |
88 | 97 | "eslint-plugin-unicorn": "^2.1.1", |
89 | | - "typescript-eslint-parser": "^4.0.0" |
| 98 | + "typescript-eslint-parser": "^8.0.0" |
90 | 99 | }, |
91 | 100 | "devDependencies": { |
92 | | - "eslint": "^4.3.0", |
| 101 | + "eslint": "^4.6.1", |
93 | 102 | "eslint-find-rules": "^3.1.1", |
94 | 103 | "husky": "^0.14.3", |
95 | | - "jest": "^20.0.4", |
96 | | - "lint-staged": "^4.0.2", |
97 | | - "npm-run-all": "^4.0.2", |
98 | | - "prettier": "^1.5.3", |
99 | | - "semantic-release": "^6.3.6", |
| 104 | + "jest": "^21.0.1", |
| 105 | + "lint-staged": "^4.1.1", |
| 106 | + "npm-run-all": "^4.1.1", |
| 107 | + "prettier": "^1.6.1", |
| 108 | + "semantic-release": "^7.0.2", |
100 | 109 | "validate-commit-msg": "^2.14.0" |
101 | 110 | } |
102 | 111 | } |
0 commit comments