fix all eslint error
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
... | ... | @@ -4,11 +4,11 @@ |
"dev": "cross-env PAGES_PATH='DashboardMonitor/src' umi dev", | ||
"start": "umi dev", | ||
"lint-staged": "lint-staged", | ||
"lint": "npm run lint:js && npm run lint:style && npm run lint:prettier", | ||
"lint": "npm run lint:js && npm run lint:style", | ||
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx", | ||
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./ && npm run lint:style", | ||
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./", | ||
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less", | ||
"lint:style": "stylelint --fix '**/*.less' --syntax less", | ||
"prettier": "prettier -c --write **/*", | ||
"format-imports": "import-sort --write '**/*.{js,jsx,ts,tsx}'" | ||
}, | ||
... | ... | @@ -53,7 +53,7 @@ |
"umi-plugin-block-dev": "^2.1.11", | ||
"umi-plugin-react": "^1.7.6", | ||
"umi-request": "^1.0.0", | ||
"@umijs/fabric": "^1.0.4", | ||
"@umijs/fabric": "^1.0.5", | ||
"import-sort-cli": "^6.0.0", | ||
"import-sort-parser-babylon": "^6.0.0", | ||
"import-sort-parser-typescript": "^6.0.0", | ||
... | ... |
Please register or sign in to comment