Skip to content

Commit

Permalink
style: eslint order && simpler the project
Browse files Browse the repository at this point in the history
  • Loading branch information
laoer536 committed Nov 7, 2023
1 parent 760224f commit 9641139
Show file tree
Hide file tree
Showing 11 changed files with 432 additions and 587 deletions.
12 changes: 6 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"./.eslintrc-auto-import.json",
"code-style-lint-vue3-ts"
],
"extends": ["./.eslintrc-auto-import.json", "code-style-lint-vue3-ts"],
"plugins": ["simple-import-sort"],
"rules": {
"vue/multi-word-component-names": "off"
"vue/multi-word-component-names": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
}
}
3 changes: 1 addition & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"semi": false,
"singleQuote": true,
"printWidth": 120,
"htmlWhitespaceSensitivity": "ignore",
"plugins": ["prettier-plugin-tailwindcss"]
"htmlWhitespaceSensitivity": "ignore"
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,17 @@
"@vitejs/plugin-vue": "^4.3.3",
"eslint": "^8.47.0",
"eslint-config-code-style-lint-vue3-ts": "^3.0.7",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"postcss-html": "^1.5.0",
"prettier": "^3.0.2",
"prettier-plugin-tailwindcss": "^0.5.3",
"sass": "^1.66.1",
"stylelint": "^15.10.3",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-scss": "^11.0.0",
"stylelint-order": "^6.0.3",
"stylelint-prettier": "^4.0.2",
"typescript": "^5.1.6",
"unocss": "^0.55.2",
"unplugin-auto-import": "^0.16.6",
"vite": "^4.4.9",
"vite-plugin-pages": "^0.31.0",
Expand Down
Loading

0 comments on commit 9641139

Please sign in to comment.