File tree Expand file tree Collapse file tree 2 files changed +47
-31
lines changed Expand file tree Collapse file tree 2 files changed +47
-31
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 ,
You can’t perform that action at this time.
0 commit comments