|
20 | 20 | "build": "cross-env UMI_ENV=prod MOCK=none umi build",
|
21 | 21 | "test": "jest --passWithNoTests --detectOpenHandles --watch",
|
22 | 22 | "tsc": "tsc -p ./tsconfig.json",
|
23 |
| - "eslint:fix": "eslint --fix --ext .ts,.tsx src/", |
24 |
| - "prettier:fix": "prettier --check src/**/*.{ts,tsx} --write", |
25 |
| - "style:fix": "stylelint src/**/*.{css,less,scss} --fix" |
| 23 | + "eslint": "eslint --fix --ext .ts,.tsx src/", |
| 24 | + "prettier": "prettier --check src/**/*.{ts,tsx} --write" |
26 | 25 | },
|
27 | 26 | "config": {
|
28 | 27 | "commitizen": {
|
|
64 | 63 | "@types/jest": "^26.0.20",
|
65 | 64 | "@types/react": "^17.0.3",
|
66 | 65 | "@types/react-dom": "^17.0.2",
|
67 |
| - "@umijs/fabric": "^2.5.7", |
| 66 | + "@typescript-eslint/eslint-plugin": "^4.20.0", |
| 67 | + "@typescript-eslint/parser": "^4.20.0", |
68 | 68 | "@umijs/plugin-esbuild": "^1.1.0",
|
69 | 69 | "antd-dayjs-webpack-plugin": "^1.0.6",
|
70 | 70 | "commitizen": "^4.2.3",
|
71 | 71 | "conventional-changelog-cli": "^2.1.0",
|
72 | 72 | "conventional-changelog-custom-config": "^0.3.1",
|
73 | 73 | "cross-env": "^7.0.3",
|
74 | 74 | "cz-customizable": "^6.3.0",
|
| 75 | + "eslint": "^7.23.0", |
75 | 76 | "husky": "^5.1.3",
|
76 | 77 | "jest": "^26.6.3",
|
77 | 78 | "jest-fetch-mock": "^3.0.3",
|
|
81 | 82 | "prettier": "^2.2.1",
|
82 | 83 | "react-test-renderer": "^17.0.1",
|
83 | 84 | "standard-version": "^9.1.1",
|
84 |
| - "stylelint": "^13.12.0", |
85 | 85 | "ts-jest": "^26.5.3",
|
86 | 86 | "typescript": "^4.2.3"
|
87 | 87 | },
|
|
0 commit comments