File tree 4 files changed +10
-12
lines changed 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 5
5
runs-on : ${{ matrix.os }}
6
6
strategy :
7
7
matrix :
8
- node-version : [10, 12, 14, 16]
8
+ node-version : [14, 16, 18 ]
9
9
os : [ubuntu-latest, windows-latest, macOS-latest]
10
10
steps :
11
11
- run : git config --global core.autocrlf false
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ An ESLint plugin for Svelte v3 components.
12
12
## Requirements
13
13
14
14
- Svelte 3.2+
15
- - ESLint 6 +
15
+ - ESLint 8 +
16
16
17
17
## Installation
18
18
Original file line number Diff line number Diff line change 12
12
" index.js"
13
13
],
14
14
"main" : " index.js" ,
15
- "engines" : {
16
- "node" : " >=10"
17
- },
18
15
"repository" : {
19
16
"type" : " git" ,
20
17
"url" : " https://github.com/sveltejs/eslint-plugin-svelte3.git"
25
22
"url" : " https://github.com/sveltejs/eslint-plugin-svelte3/issues"
26
23
},
27
24
"peerDependencies" : {
28
- "eslint" : " >=6 .0.0" ,
25
+ "eslint" : " >=8 .0.0" ,
29
26
"svelte" : " ^3.2.0"
30
27
},
31
28
"scripts" : {
34
31
"test" : " npm run build && node test"
35
32
},
36
33
"devDependencies" : {
37
- "@rollup/plugin-node-resolve" : " ^11.2.0 " ,
38
- "@typescript-eslint/eslint-plugin" : " ^5.8.1 " ,
39
- "@typescript-eslint/parser" : " ^5.8.1 " ,
40
- "eslint" : " >=7 .0.0 < 8 " ,
34
+ "@rollup/plugin-node-resolve" : " ^13.1.3 " ,
35
+ "@typescript-eslint/eslint-plugin" : " ^5.18.0 " ,
36
+ "@typescript-eslint/parser" : " ^5.18.0 " ,
37
+ "eslint" : " >=8 .0.0" ,
41
38
"rollup" : " ^2" ,
42
39
"sourcemap-codec" : " 1.4.8" ,
43
40
"svelte" : " ^3.2.0" ,
44
- "typescript" : " ^4.5.4 "
41
+ "typescript" : " ^4.6.3 "
45
42
}
46
43
}
Original file line number Diff line number Diff line change 3
3
process . chdir ( __dirname ) ;
4
4
5
5
const { ESLint } = require ( 'eslint' ) ;
6
- const { SourceCodeFixer } = require ( 'eslint/lib/linter' ) ;
6
+ const path = require ( 'path' ) ;
7
+ const { SourceCodeFixer } = require ( path . join ( require . resolve ( 'eslint/package.json' ) , '../lib/linter' ) ) ;
7
8
const assert = require ( 'assert' ) ;
8
9
const fs = require ( 'fs' ) ;
9
10
You can’t perform that action at this time.
0 commit comments