ESLint обновнён до 10-й версии
This commit is contained in:
@@ -28,11 +28,9 @@ const config = [
|
|||||||
'no-promise-executor-return': 'error',
|
'no-promise-executor-return': 'error',
|
||||||
'no-self-compare': 'error',
|
'no-self-compare': 'error',
|
||||||
'no-template-curly-in-string': 'warn',
|
'no-template-curly-in-string': 'warn',
|
||||||
'no-unassigned-vars': 'warn',
|
|
||||||
'no-unmodified-loop-condition': 'error',
|
'no-unmodified-loop-condition': 'error',
|
||||||
'no-unreachable-loop': 'error',
|
'no-unreachable-loop': 'error',
|
||||||
'no-use-before-define': 'error',
|
'no-use-before-define': 'error',
|
||||||
'no-useless-assignment': 'warn',
|
|
||||||
},
|
},
|
||||||
...{
|
...{
|
||||||
'dot-notation': 'warn',
|
'dot-notation': 'warn',
|
||||||
|
|||||||
@@ -12,15 +12,15 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint/js": "^9.39.2",
|
"@eslint/js": "^10.0.1",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||||
"eslint-plugin-unicorn": "^62.0.0",
|
"eslint-plugin-unicorn": "^63.0.0",
|
||||||
"eslint-plugin-vue": "^10.7.0",
|
"eslint-plugin-vue": "^10.7.0",
|
||||||
"globals": "^17.0.0",
|
"globals": "^17.3.0",
|
||||||
"vue-eslint-parser": "^10.2.0"
|
"vue-eslint-parser": "^10.2.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "^9.39.0"
|
"eslint": "^10.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
53
yarn.lock
53
yarn.lock
@@ -18,15 +18,15 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@advdominion/eslint-config@workspace:packages/eslint-config"
|
resolution: "@advdominion/eslint-config@workspace:packages/eslint-config"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@eslint/js": "npm:^9.39.2"
|
"@eslint/js": "npm:^10.0.1"
|
||||||
eslint-config-prettier: "npm:^10.1.8"
|
eslint-config-prettier: "npm:^10.1.8"
|
||||||
eslint-plugin-simple-import-sort: "npm:^12.1.1"
|
eslint-plugin-simple-import-sort: "npm:^12.1.1"
|
||||||
eslint-plugin-unicorn: "npm:^62.0.0"
|
eslint-plugin-unicorn: "npm:^63.0.0"
|
||||||
eslint-plugin-vue: "npm:^10.7.0"
|
eslint-plugin-vue: "npm:^10.7.0"
|
||||||
globals: "npm:^17.0.0"
|
globals: "npm:^17.3.0"
|
||||||
vue-eslint-parser: "npm:^10.2.0"
|
vue-eslint-parser: "npm:^10.2.0"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^9.39.0
|
eslint: ^10.0.0
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
@@ -164,13 +164,25 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@eslint/js@npm:9.39.2, @eslint/js@npm:^9.39.2":
|
"@eslint/js@npm:9.39.2":
|
||||||
version: 9.39.2
|
version: 9.39.2
|
||||||
resolution: "@eslint/js@npm:9.39.2"
|
resolution: "@eslint/js@npm:9.39.2"
|
||||||
checksum: 10c0/00f51c52b04ac79faebfaa65a9652b2093b9c924e945479f1f3945473f78aee83cbc76c8d70bbffbf06f7024626575b16d97b66eab16182e1d0d39daff2f26f5
|
checksum: 10c0/00f51c52b04ac79faebfaa65a9652b2093b9c924e945479f1f3945473f78aee83cbc76c8d70bbffbf06f7024626575b16d97b66eab16182e1d0d39daff2f26f5
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@eslint/js@npm:^10.0.1":
|
||||||
|
version: 10.0.1
|
||||||
|
resolution: "@eslint/js@npm:10.0.1"
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ^10.0.0
|
||||||
|
peerDependenciesMeta:
|
||||||
|
eslint:
|
||||||
|
optional: true
|
||||||
|
checksum: 10c0/9f3fcaf71ba7fdf65d82e8faad6ecfe97e11801cc3c362b306a88ea1ed1344ae0d35330dddb0e8ad18f010f6687a70b75491b9e01c8af57acd7987cee6b3ec6c
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@eslint/object-schema@npm:^2.1.7":
|
"@eslint/object-schema@npm:^2.1.7":
|
||||||
version: 2.1.7
|
version: 2.1.7
|
||||||
resolution: "@eslint/object-schema@npm:2.1.7"
|
resolution: "@eslint/object-schema@npm:2.1.7"
|
||||||
@@ -178,7 +190,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@eslint/plugin-kit@npm:^0.4.0, @eslint/plugin-kit@npm:^0.4.1":
|
"@eslint/plugin-kit@npm:^0.4.1":
|
||||||
version: 0.4.1
|
version: 0.4.1
|
||||||
resolution: "@eslint/plugin-kit@npm:0.4.1"
|
resolution: "@eslint/plugin-kit@npm:0.4.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -2431,18 +2443,16 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"eslint-plugin-unicorn@npm:^62.0.0":
|
"eslint-plugin-unicorn@npm:^63.0.0":
|
||||||
version: 62.0.0
|
version: 63.0.0
|
||||||
resolution: "eslint-plugin-unicorn@npm:62.0.0"
|
resolution: "eslint-plugin-unicorn@npm:63.0.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/helper-validator-identifier": "npm:^7.28.5"
|
"@babel/helper-validator-identifier": "npm:^7.28.5"
|
||||||
"@eslint-community/eslint-utils": "npm:^4.9.0"
|
"@eslint-community/eslint-utils": "npm:^4.9.0"
|
||||||
"@eslint/plugin-kit": "npm:^0.4.0"
|
|
||||||
change-case: "npm:^5.4.4"
|
change-case: "npm:^5.4.4"
|
||||||
ci-info: "npm:^4.3.1"
|
ci-info: "npm:^4.3.1"
|
||||||
clean-regexp: "npm:^1.0.0"
|
clean-regexp: "npm:^1.0.0"
|
||||||
core-js-compat: "npm:^3.46.0"
|
core-js-compat: "npm:^3.46.0"
|
||||||
esquery: "npm:^1.6.0"
|
|
||||||
find-up-simple: "npm:^1.0.1"
|
find-up-simple: "npm:^1.0.1"
|
||||||
globals: "npm:^16.4.0"
|
globals: "npm:^16.4.0"
|
||||||
indent-string: "npm:^5.0.0"
|
indent-string: "npm:^5.0.0"
|
||||||
@@ -2455,7 +2465,7 @@ __metadata:
|
|||||||
strip-indent: "npm:^4.1.1"
|
strip-indent: "npm:^4.1.1"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ">=9.38.0"
|
eslint: ">=9.38.0"
|
||||||
checksum: 10c0/29a8651a75e088a774319f752320625ce8944da53011dca2f9ddcbf2e7297651e90139e808d702041b1df320706b1ecc32d04daef52ab105cb9e8d540e03a0d2
|
checksum: 10c0/bc3550322a2b008ea9252e1a94a4f12a6c96c4387be563a5d62b879078cbe6b01c957843d31ec7d09fd8d8cf287ac00f8b93666721ff916b0166d4e82c80926c
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -2577,7 +2587,16 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"esquery@npm:^1.5.0, esquery@npm:^1.6.0":
|
"esquery@npm:^1.5.0":
|
||||||
|
version: 1.7.0
|
||||||
|
resolution: "esquery@npm:1.7.0"
|
||||||
|
dependencies:
|
||||||
|
estraverse: "npm:^5.1.0"
|
||||||
|
checksum: 10c0/77d5173db450b66f3bc685d11af4c90cffeedb340f34a39af96d43509a335ce39c894fd79233df32d38f5e4e219fa0f7076f6ec90bae8320170ba082c0db4793
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"esquery@npm:^1.6.0":
|
||||||
version: 1.6.0
|
version: 1.6.0
|
||||||
resolution: "esquery@npm:1.6.0"
|
resolution: "esquery@npm:1.6.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -3075,10 +3094,10 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"globals@npm:^17.0.0":
|
"globals@npm:^17.3.0":
|
||||||
version: 17.0.0
|
version: 17.3.0
|
||||||
resolution: "globals@npm:17.0.0"
|
resolution: "globals@npm:17.3.0"
|
||||||
checksum: 10c0/e3c169fdcb0fc6755707b697afb367bea483eb29992cfc0de1637382eb893146e17f8f96db6d7453e3696b478a7863ae2000e6c71cd2f4061410285106d3847a
|
checksum: 10c0/7f21443ecaa60c6e9ff56d9fb6f10a9b5f9514e7f22e5392f715472bb220ce31c865ebf414a32695150e733fb3e1013e6322dbce70fddd1e066f372b8d55a4b8
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user