mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-21 19:16:37 +08:00
build(deps): 更新@soybeanjs/eslint-config
This commit is contained in:
parent
182dac0d2e
commit
36f06bc899
11
.eslintrc.js
11
.eslintrc.js
@ -1,16 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@soybeanjs'],
|
extends: ['@soybeanjs'],
|
||||||
settings: {
|
|
||||||
'import/resolver': {
|
|
||||||
alias: {
|
|
||||||
map: [
|
|
||||||
['~', '.'],
|
|
||||||
['@', './src']
|
|
||||||
],
|
|
||||||
extensions: ['.js', '.jsx', '.mjs', '.ts', '.tsx', 'mts', '.d.ts']
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
rules: {
|
rules: {
|
||||||
'import/no-unresolved': ['error', { ignore: ['uno.css', '~icons/*', 'virtual:svg-icons-register'] }],
|
'import/no-unresolved': ['error', { ignore: ['uno.css', '~icons/*', 'virtual:svg-icons-register'] }],
|
||||||
'import/order': [
|
'import/order': [
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
"@iconify/json": "^2.1.87",
|
"@iconify/json": "^2.1.87",
|
||||||
"@iconify/vue": "^3.2.1",
|
"@iconify/vue": "^3.2.1",
|
||||||
"@milahu/patch-package": "^6.4.14",
|
"@milahu/patch-package": "^6.4.14",
|
||||||
"@soybeanjs/eslint-config": "^0.2.4",
|
"@soybeanjs/eslint-config": "0.2.7",
|
||||||
"@types/bmapgl": "^0.0.5",
|
"@types/bmapgl": "^0.0.5",
|
||||||
"@types/crypto-js": "^4.1.1",
|
"@types/crypto-js": "^4.1.1",
|
||||||
"@types/node": "^18.6.4",
|
"@types/node": "^18.6.4",
|
||||||
@ -97,7 +97,6 @@
|
|||||||
"cz-conventional-changelog": "^3.3.0",
|
"cz-conventional-changelog": "^3.3.0",
|
||||||
"cz-customizable": "^6.9.1",
|
"cz-customizable": "^6.9.1",
|
||||||
"eslint": "^8.21.0",
|
"eslint": "^8.21.0",
|
||||||
"eslint-import-resolver-alias": "^1.1.2",
|
|
||||||
"husky": "^8.0.1",
|
"husky": "^8.0.1",
|
||||||
"lint-staged": "^13.0.3",
|
"lint-staged": "^13.0.3",
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user