File tree 5 files changed +13
-13
lines changed
5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 61
61
"semver" : " ^7.6.0" ,
62
62
"ts-jest" : " ^29.0.3" ,
63
63
"ts-node" : " ^10.3.0" ,
64
- "typescript" : " ^ 5.0.2" ,
64
+ "typescript" : " 5.0.2" ,
65
65
"vitepress" : " 1.2.3"
66
66
},
67
67
"eslintConfig" : {
103
103
"directories" : {
104
104
"doc" : " docs"
105
105
}
106
- }
106
+ }
Original file line number Diff line number Diff line change
1
+ import type { Linter } from "eslint" ;
1
2
import globals from "globals" ;
2
3
import { rules } from "../rules" ;
3
4
@@ -29,6 +30,6 @@ const recommended = [
29
30
} ,
30
31
rules
31
32
}
32
- ] ;
33
+ ] satisfies Linter . FlatConfig [ ] ;
33
34
34
35
export = recommended ;
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { rules } from "./rules" ;
3
3
4
- const recommended : Linter . BaseConfig = {
4
+ const recommended = {
5
5
parser : require . resolve ( "vue-eslint-parser" ) ,
6
6
parserOptions : {
7
7
ecmaVersion : 2020 ,
@@ -13,6 +13,6 @@ const recommended: Linter.BaseConfig = {
13
13
} ,
14
14
plugins : [ "vuejs-accessibility" ] ,
15
15
rules
16
- } ;
16
+ } satisfies Linter . BaseConfig ;
17
17
18
18
export default recommended ;
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ function defineTemplateBodyVisitor(
38
38
* @see https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/#from-context-to-sourcecode
39
39
*/
40
40
function getParserServices ( context : Rule . RuleContext ) {
41
- // @ts -expect-error TODO: remove this when eslint v8 support is dropped
42
41
const legacy = context . sourceCode ;
43
42
44
43
return legacy ? legacy . parserServices : context . parserServices ;
Original file line number Diff line number Diff line change 1220
1220
" @types/estree" " *"
1221
1221
1222
1222
" @types/eslint@* " :
1223
- version "8.4 .10"
1224
- resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.4 .10.tgz#19731b9685c19ed1552da7052b6f668ed7eb64bb "
1225
- integrity sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw ==
1223
+ version "8.56 .10"
1224
+ resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56 .10.tgz#eb2370a73bf04a901eeba8f22595c7ee0f7eb58d "
1225
+ integrity sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ ==
1226
1226
dependencies :
1227
1227
" @types/estree" " *"
1228
1228
" @types/json-schema" " *"
@@ -5330,10 +5330,10 @@ typedarray-to-buffer@^3.1.5:
5330
5330
dependencies :
5331
5331
is-typedarray "^1.0.0"
5332
5332
5333
- typescript@^ 5.0.2 :
5334
- version "5.5 .2"
5335
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5 .2.tgz#c26f023cb0054e657ce04f72583ea2d85f8d0507 "
5336
- integrity sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew ==
5333
+
5334
+ version "5.0 .2"
5335
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0 .2.tgz#891e1a90c5189d8506af64b9ef929fca99ba1ee5 "
5336
+ integrity sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw ==
5337
5337
5338
5338
undici-types@~5.26.4 :
5339
5339
version "5.26.5"
You can’t perform that action at this time.
0 commit comments