Skip to content

Commit

Permalink
refactor: 升级stylelint v16并遵循esm语法
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Dec 12, 2023
1 parent a11b913 commit cb0d757
Show file tree
Hide file tree
Showing 4 changed files with 285 additions and 355 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ eslint.config.js
commitlint.config.js
postcss.config.js
tailwind.config.ts
stylelint.config.cjs
stylelint.config.js
src/components/ReSplitPane/iconfont
src/components/ReFlowChart/src/assets/iconfont
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"clean:cache": "rimraf .eslintcache && rimraf pnpm-lock.yaml && rimraf node_modules && pnpm store prune && pnpm install",
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix",
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"",
"lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache-location node_modules/.cache/stylelint/",
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
"prepare": "husky install",
"preinstall": "npx only-allow pnpm"
Expand Down Expand Up @@ -144,12 +144,11 @@
"rimraf": "^5.0.5",
"rollup-plugin-visualizer": "^5.11.0",
"sass": "^1.69.5",
"stylelint": "15.11.0",
"stylelint": "^16.0.2",
"stylelint-config-recess-order": "^4.4.0",
"stylelint-config-recommended": "13.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-scss": "^11.1.0",
"stylelint-prettier": "^4.1.0",
"stylelint-config-standard-scss": "^12.0.0",
"stylelint-prettier": "^5.0.0",
"svgo": "^3.0.5",
"tailwindcss": "^3.3.6",
"typescript": "^5.3.3",
Expand Down
Loading

0 comments on commit cb0d757

Please sign in to comment.