File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,18 +17,13 @@ jobs:
1717 strategy :
1818 fail-fast : false
1919 matrix :
20- node :
21- - 22
22- - 20
23- - 18
24- eslint :
25- - 9
26- - 8
20+ node : [24, 22, 20]
21+ eslint : [10, 9, 8]
2722 include :
28- - node : 16
29- eslint : 8
30- - node : 14
31- eslint : 8
23+ - { node: 18, eslint: 9 }
24+ - { node: 18, eslint: 8 }
25+ - { node: 16, eslint: 8 }
26+ - { node: 14, eslint: 8 }
3227
3328 steps :
3429 - name : Checkout Repo
4641 - name : Install
4742 run : pnpm install --prefer-frozen-lockfile
4843
49- - name : Install ESLint ${{ matrix.node }}
50- if : ${{ matrix.eslint != 9 }}
51- run : pnpm install -D eslint@${{ matrix.eslint }} @graphql-eslint/eslint-plugin@3 eslint-plugin-svelte@2 svelte@3 vue-eslint-parser@9
44+ - name : Install ESLint ${{ matrix.eslint }}
45+ run : pnpm upgrade eslint@${{ matrix.eslint }}
46+
47+ - name : Install older transitive dependencies for ESLint 9
48+ if : ${{ matrix.eslint == 9 }}
49+ run : pnpm upgrade @eslint/js@9 @eslint/json@0.14
50+
51+ - name : Install older transitive dependencies for ESLint 8
52+ if : ${{ matrix.eslint == 8 }}
53+ run : pnpm upgrade @eslint/js@9 @eslint/json@0.14 @graphql-eslint/eslint-plugin@3 eslint-plugin-svelte@2 svelte@3 vue-eslint-parser@9
5254
5355 - name : Test
5456 run : pnpm mocha
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import eslintJs from '@eslint/js';
22import eslintPluginN from 'eslint-plugin-n' ;
33import eslintPluginEslintCommentsConfigs from '@eslint-community/eslint-plugin-eslint-comments/configs' ;
44import eslintPluginEslintPlugin from 'eslint-plugin-eslint-plugin' ;
5- import * as eslintPluginMdx from 'eslint-plugin-mdx' ;
5+ // import * as eslintPluginMdx from 'eslint-plugin-mdx';
66
77import eslintPluginPrettierRecommended from './recommended.js' ;
88
@@ -11,8 +11,8 @@ export default [
1111 eslintPluginN . configs [ 'flat/recommended' ] ,
1212 eslintPluginEslintCommentsConfigs . recommended ,
1313 eslintPluginEslintPlugin . configs . recommended ,
14- eslintPluginMdx . flat ,
15- eslintPluginMdx . flatCodeBlocks ,
14+ // eslintPluginMdx.flat,
15+ // eslintPluginMdx.flatCodeBlocks,
1616 eslintPluginPrettierRecommended ,
1717 { files : [ '**/*.mjs' ] , languageOptions : { sourceType : 'module' } } ,
1818 {
Original file line number Diff line number Diff line change 7373 "@commitlint/cli" : " ^20.4.1" ,
7474 "@commitlint/config-conventional" : " ^20.4.1" ,
7575 "@eslint-community/eslint-plugin-eslint-comments" : " ^4.6.0" ,
76- "@eslint/js" : " ^9.23.0 " ,
77- "@eslint/json" : " ^0.14 .0" ,
76+ "@eslint/js" : " ^10.0.1 " ,
77+ "@eslint/json" : " ^1.0 .0" ,
7878 "@graphql-eslint/eslint-plugin" : " ^4.4.0" ,
7979 "@html-eslint/parser" : " ^0.54.0" ,
8080 "@prettier/plugin-pug" : " ^3.4.2" ,
8181 "clean-pkg-json" : " ^1.3.0" ,
82- "eslint" : " ^9.23 .0" ,
82+ "eslint" : " ^10.0 .0" ,
8383 "eslint-config-prettier" : " ^10.1.8" ,
8484 "eslint-mdx" : " ^3.6.2" ,
8585 "eslint-plugin-eslint-plugin" : " ^7.3.0" ,
You can’t perform that action at this time.
0 commit comments