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' ;
76
8- module . exports = [
9- eslintConfigs . recommended ,
7+ import eslintPluginPrettierRecommended from './recommended.js' ;
8+
9+ export default [
10+ eslintJs . configs . recommended ,
1011 eslintPluginN . configs [ 'flat/recommended' ] ,
1112 eslintPluginEslintCommentsConfigs . recommended ,
12- eslintPluginEslintPluginRecommended ,
13+ eslintPluginEslintPlugin . configs . recommended ,
1314 eslintPluginMdx . flat ,
1415 eslintPluginMdx . flatCodeBlocks ,
1516 eslintPluginPrettierRecommended ,
Original file line number Diff line number Diff line change 7474 "@commitlint/config-conventional" : " ^19.8.0" ,
7575 "@eslint-community/eslint-plugin-eslint-comments" : " ^4.4.1" ,
7676 "@eslint/js" : " ^9.23.0" ,
77- "@eslint/json" : " ^0.12 .0" ,
77+ "@eslint/json" : " ^0.13 .0" ,
7878 "@graphql-eslint/eslint-plugin" : " ^4.3.0" ,
79- "@html-eslint/parser" : " ^0.41 .0" ,
79+ "@html-eslint/parser" : " ^0.44 .0" ,
8080 "@prettier/plugin-pug" : " ^3.2.1" ,
8181 "@types/prettier-linter-helpers" : " ^1.0.4" ,
8282 "clean-pkg-json" : " ^1.2.1" ,
8383 "eslint" : " ^9.23.0" ,
8484 "eslint-config-prettier" : " ^10.1.1" ,
8585 "eslint-mdx" : " ^3.1.5" ,
86- "eslint-plugin-eslint-plugin" : " ^6.4 .0" ,
86+ "eslint-plugin-eslint-plugin" : " ^7.0 .0" ,
8787 "eslint-plugin-mdx" : " ^3.2.0" ,
8888 "eslint-plugin-n" : " ^17.16.2" ,
8989 "eslint-plugin-prettier" : " link:." ,
You can’t perform that action at this time.
0 commit comments