|
19 | 19 | "clean:cache": "gulp clean:cache", |
20 | 20 | "predeploy:docs": "cross-env NODE_ENV=production yarn build:docs", |
21 | 21 | "deploy:docs": "gulp deploy:docs", |
22 | | - "lint": "tslint -t stylish -p .", |
23 | | - "lint:fix": "yarn lint --fix", |
| 22 | + "lint": "eslint .", |
| 23 | + "lint:fix": "yarn eslint --fix", |
24 | 24 | "perf": "cross-env PERF=true gulp perf --times=50", |
25 | 25 | "prettier": "prettier --list-different \"**/*.{ts,tsx}\"", |
26 | 26 | "prettier:fix": "prettier --write \"**/*.{ts,tsx}\"", |
|
45 | 45 | "lint-staged": { |
46 | 46 | "**/*.{ts,tsx}": [ |
47 | 47 | "prettier --write", |
48 | | - "tslint -t stylish --fix", |
| 48 | + "eslint --fix", |
49 | 49 | "git add" |
50 | 50 | ], |
51 | 51 | "**/*.{js,json}": [ |
|
109 | 109 | "doctrine": "^2.0.0", |
110 | 110 | "enzyme": "^3.7.0", |
111 | 111 | "enzyme-adapter-react-16": "^1.7.0", |
| 112 | + "eslint": "^5.10.0", |
| 113 | + "eslint-config-airbnb": "^17.1.0", |
| 114 | + "eslint-config-prettier": "^3.3.0", |
| 115 | + "eslint-plugin-import": "^2.14.0", |
| 116 | + "eslint-plugin-jsx-a11y": "^6.1.2", |
| 117 | + "eslint-plugin-prettier": "^3.0.1", |
| 118 | + "eslint-plugin-react": "^7.11.1", |
| 119 | + "eslint-plugin-typescript": "^0.14.0", |
112 | 120 | "express": "^4.15.4", |
113 | 121 | "extract-comments": "^1.0.0", |
114 | 122 | "faker": "^4.1.0", |
|
161 | 169 | "ts-loader": "^5.3.0", |
162 | 170 | "ts-node": "^6.1.0", |
163 | 171 | "tsconfig-paths": "^3.7.0", |
164 | | - "tslint": "^5.11.0", |
165 | | - "tslint-config-airbnb": "^5.11.1", |
166 | | - "typescript": "~3.2.2", |
| 172 | + "typescript": "^3.2.2", |
| 173 | + "typescript-eslint-parser": "^21.0.2", |
167 | 174 | "webpack": "^4.25.1", |
168 | 175 | "webpack-dev-middleware": "^3.4.0", |
169 | 176 | "webpack-hot-middleware": "^2.18.2" |
|
0 commit comments