Skip to content

Commit

Permalink
🌩️ fix: sass rules deprecation errors (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdsuwwz authored Aug 16, 2024
1 parent 7d087fc commit 3199a68
Show file tree
Hide file tree
Showing 12 changed files with 1,174 additions and 1,131 deletions.
31 changes: 14 additions & 17 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// import antfu from '@antfu/eslint-config'
// export default antfu()

import globals from 'globals'
import { defineFlatConfig } from 'eslint-define-config'

Expand Down Expand Up @@ -66,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 @@ -355,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
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,57 +54,57 @@
"@fortawesome/free-regular-svg-icons": "6.6.0",
"@fortawesome/free-solid-svg-icons": "6.6.0",
"@fortawesome/vue-fontawesome": "~3.0.8",
"axios": "1.7.2",
"axios": "1.7.4",
"echarts": "^5.5.1",
"element-plus": "2.7.7",
"element-plus": "2.8.0",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"nprogress": "^0.2.0",
"pinia": "^2.1.7",
"vue": "^3.4.33",
"vue-router": "^4.4.0"
"pinia": "^2.2.2",
"vue": "^3.4.38",
"vue-router": "^4.4.3"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@babel/preset-env": "^7.24.8",
"@eslint/js": "^9.7.0",
"@stylistic/eslint-plugin": "^2.3.0",
"@stylistic/stylelint-plugin": "^2.1.2",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@eslint/js": "^9.9.0",
"@stylistic/eslint-plugin": "^2.6.4",
"@stylistic/stylelint-plugin": "^3.0.0",
"@sucrase/jest-plugin": "^3.0.0",
"@types/jest": "^29.5.12",
"@types/js-cookie": "^3.0.6",
"@types/lodash": "^4.17.7",
"@types/node": "^20.14.12",
"@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.0",
"@vue/compiler-sfc": "^3.4.33",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"@vitejs/plugin-vue": "^5.1.2",
"@vue/compiler-sfc": "^3.4.38",
"@vue/test-utils": "2.4.6",
"@vue/vue3-jest": "^29.2.6",
"babel-jest": "^29.7.0",
"babel-plugin-transform-vite-meta-env": "^1.0.3",
"cross-env": "^7.0.3",
"eslint": "^9.7.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",
"globals": "^15.9.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-stub": "^2.0.0",
"rollup": "4.19.0",
"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",
"ts-jest": "29.2.3",
"ts-jest": "29.2.4",
"typescript": "^5.5.4",
"vite": "^5.3.4"
"vite": "^5.4.1"
}
}
Loading

0 comments on commit 3199a68

Please sign in to comment.