Skip to content

Commit

Permalink
🌩️ fix: sass rules deprecation errors (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdsuwwz authored Aug 16, 2024
1 parent 695f7da commit 3290be0
Show file tree
Hide file tree
Showing 10 changed files with 1,614 additions and 1,515 deletions.
291 changes: 0 additions & 291 deletions auto-imports.d.ts

Large diffs are not rendered by default.

28 changes: 11 additions & 17 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,17 @@ export default defineFlatConfig([
}
}
}],
'@stylistic/no-trailing-spaces': ['error']
'@stylistic/no-trailing-spaces': ['error'],
'@stylistic/member-delimiter-style': ['error', {
multiline: {
delimiter: 'none',
requireLast: false
},
singleline: {
delimiter: 'semi',
requireLast: true
}
}]
}
},
{
Expand Down Expand Up @@ -358,25 +368,9 @@ export default defineFlatConfig([
}
),
...pluginTypeScript.configs.recommended.rules,
'@typescript-eslint/indent': ['error', 2, {
SwitchCase: 1
}],
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 1,
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: 'none',
requireLast: false
},
singleline: {
delimiter: 'semi',
requireLast: true
}
}
],
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/consistent-type-imports': ['error', {
Expand Down
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,67 +50,67 @@
},
"dependencies": {
"@element-plus/icons-vue": "2.3.1",
"@vueuse/core": "^10.11.0",
"axios": "1.7.2",
"@vueuse/core": "^11.0.0",
"axios": "1.7.4",
"echarts": "^5.5.1",
"element-plus": "2.7.8",
"element-plus": "2.8.0",
"js-cookie": "^3.0.5",
"nprogress": "^0.2.0",
"pinia": "^2.2.0",
"pinia": "^2.2.2",
"uuid": "^10.0.0",
"vue": "^3.4.34",
"vue": "^3.4.38",
"vue-i18n": "^9.13.1",
"vue-router": "^4.4.0"
"vue-router": "^4.4.3"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@babel/preset-env": "^7.25.0",
"@eslint/js": "^9.8.0",
"@iconify/json": "^2.2.232",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@eslint/js": "^9.9.0",
"@iconify/json": "^2.2.237",
"@iconify/vue": "^4.1.2",
"@stylistic/eslint-plugin": "^2.4.0",
"@stylistic/stylelint-plugin": "^2.1.2",
"@stylistic/eslint-plugin": "^2.6.4",
"@stylistic/stylelint-plugin": "^3.0.0",
"@types/js-cookie": "^3.0.6",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.0.0",
"@types/node": "^22.3.0",
"@types/nprogress": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"@vitejs/plugin-vue": "^5.1.1",
"@vitest/coverage-v8": "^2.0.4",
"@vue/compiler-sfc": "^3.4.34",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"@vitejs/plugin-vue": "^5.1.2",
"@vitest/coverage-v8": "^2.0.5",
"@vue/compiler-sfc": "^3.4.38",
"@vue/test-utils": "2.4.6",
"babel-plugin-transform-vite-meta-env": "^1.0.3",
"cross-env": "^7.0.3",
"eslint": "^9.8.0",
"eslint": "^9.9.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-html": "8.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-vue": "^9.27.0",
"globals": "^15.8.0",
"husky": "^9.1.3",
"globals": "^15.9.0",
"husky": "^9.1.4",
"identity-obj-proxy": "^3.0.0",
"jsdom": "^24.1.1",
"lint-staged": "^15.2.7",
"lint-staged": "^15.2.9",
"lodash-es": "^4.17.21",
"postcss": "^8.4.40",
"postcss": "^8.4.41",
"postcss-html": "^1.7.0",
"postcss-scss": "^4.0.9",
"rollup": "^4.19.1",
"sass": "1.77.6",
"stylelint": "^16.7.0",
"rollup": "^4.20.0",
"sass": "1.77.8",
"stylelint": "^16.8.2",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "13.1.0",
"sucrase": "^3.35.0",
"typescript": "^5.5.4",
"unocss": "^0.61.6",
"unocss": "^0.62.2",
"unplugin-auto-import": "^0.18.2",
"unplugin-icons": "^0.19.0",
"unplugin-vue-components": "^0.27.3",
"vite": "^5.3.5",
"vitest": "^2.0.4",
"unplugin-icons": "^0.19.2",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.1",
"vitest": "^2.0.5",
"vue-eslint-parser": "^9.4.3"
}
}
Loading

0 comments on commit 3290be0

Please sign in to comment.