File tree Expand file tree Collapse file tree 3 files changed +50
-34
lines changed Expand file tree Collapse file tree 3 files changed +50
-34
lines changed Original file line number Diff line number Diff line change 1
- const { configs : eslintConfigs } = require ( '@eslint/js' ) ;
2
- const eslintPluginN = require ( 'eslint-plugin-n' ) ;
3
- const eslintPluginEslintCommentsConfigs = require ( '@eslint-community/eslint-plugin-eslint-comments/configs' ) ;
4
- const eslintPluginEslintPluginRecommended = require ( 'eslint-plugin-eslint-plugin/configs/recommended' ) ;
5
- const eslintPluginMdx = require ( 'eslint-plugin-mdx' ) ;
6
- const eslintPluginPrettierRecommended = require ( './recommended' ) ;
1
+ import eslintJs from '@eslint/js' ;
2
+ import eslintPluginN from 'eslint-plugin-n' ;
3
+ import eslintPluginEslintCommentsConfigs from '@eslint-community/eslint-plugin-eslint-comments/configs' ;
4
+ import eslintPluginEslintPlugin from 'eslint-plugin-eslint-plugin' ;
5
+ import * as eslintPluginMdx from 'eslint-plugin-mdx' ;
7
6
8
- module . exports = [
9
- eslintConfigs . recommended ,
7
+ import eslintPluginPrettierRecommended from './recommended.js' ;
8
+
9
+ export default [
10
+ eslintJs . configs . recommended ,
10
11
eslintPluginN . configs [ 'flat/recommended' ] ,
11
12
eslintPluginEslintCommentsConfigs . recommended ,
12
- eslintPluginEslintPluginRecommended ,
13
+ eslintPluginEslintPlugin . configs . recommended ,
13
14
eslintPluginMdx . flat ,
14
15
eslintPluginMdx . flatCodeBlocks ,
15
16
eslintPluginPrettierRecommended ,
Original file line number Diff line number Diff line change 74
74
"@commitlint/config-conventional" : " ^19.8.0" ,
75
75
"@eslint-community/eslint-plugin-eslint-comments" : " ^4.4.1" ,
76
76
"@eslint/js" : " ^9.23.0" ,
77
- "@eslint/json" : " ^0.12 .0" ,
77
+ "@eslint/json" : " ^0.13 .0" ,
78
78
"@graphql-eslint/eslint-plugin" : " ^4.3.0" ,
79
- "@html-eslint/parser" : " ^0.41 .0" ,
79
+ "@html-eslint/parser" : " ^0.44 .0" ,
80
80
"@prettier/plugin-pug" : " ^3.2.1" ,
81
81
"@types/prettier-linter-helpers" : " ^1.0.4" ,
82
82
"clean-pkg-json" : " ^1.2.1" ,
83
83
"eslint" : " ^9.23.0" ,
84
84
"eslint-config-prettier" : " ^10.1.1" ,
85
85
"eslint-mdx" : " ^3.1.5" ,
86
- "eslint-plugin-eslint-plugin" : " ^6.4 .0" ,
86
+ "eslint-plugin-eslint-plugin" : " ^7.0 .0" ,
87
87
"eslint-plugin-mdx" : " ^3.2.0" ,
88
88
"eslint-plugin-n" : " ^17.16.2" ,
89
89
"eslint-plugin-prettier" : " link:." ,
You can’t perform that action at this time.
0 commit comments