chore: format code by eslint #222
Showing
.yarnclean
0 → 100644
... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite", | "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite", | ||
"clean:lib": "npx rimraf node_modules", | "clean:lib": "npx rimraf node_modules", | ||
"typecheck": "vuedx-typecheck .", | "typecheck": "vuedx-typecheck .", | ||
"lint:eslint": "eslint --fix --ext \"src/**/*.{vue,less,css,scss}\"", | "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix", | ||
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", | "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", | ||
"lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | ||
"reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap" | "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap" | ||
... | @@ -63,7 +63,7 @@ | ... | @@ -63,7 +63,7 @@ |
"@types/zxcvbn": "^4.4.0", | "@types/zxcvbn": "^4.4.0", | ||
"@typescript-eslint/eslint-plugin": "^4.14.1", | "@typescript-eslint/eslint-plugin": "^4.14.1", | ||
"@typescript-eslint/parser": "^4.14.1", | "@typescript-eslint/parser": "^4.14.1", | ||
"@vitejs/plugin-legacy": "^1.2.1", | "@vitejs/plugin-legacy": "^1.2.2", | ||
"@vitejs/plugin-vue": "^1.1.2", | "@vitejs/plugin-vue": "^1.1.2", | ||
"@vitejs/plugin-vue-jsx": "^1.0.2", | "@vitejs/plugin-vue-jsx": "^1.0.2", | ||
"@vue/compiler-sfc": "^3.0.5", | "@vue/compiler-sfc": "^3.0.5", | ||
... | @@ -93,7 +93,7 @@ | ... | @@ -93,7 +93,7 @@ |
"stylelint-order": "^4.1.0", | "stylelint-order": "^4.1.0", | ||
"ts-node": "^9.1.1", | "ts-node": "^9.1.1", | ||
"typescript": "^4.1.3", | "typescript": "^4.1.3", | ||
"vite": "2.0.0-beta.50", | "vite": "2.0.0-beta.52", | ||
"vite-plugin-html": "^2.0.0-beta.6", | "vite-plugin-html": "^2.0.0-beta.6", | ||
"vite-plugin-mock": "^2.0.0-rc.2", | "vite-plugin-mock": "^2.0.0-rc.2", | ||
"vite-plugin-purge-icons": "^0.6.0", | "vite-plugin-purge-icons": "^0.6.0", | ||
... | ... |
Please register or sign in to comment