File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export default [
123123
124124### ` createESLintConfig (configs)`
125125
126- Gives ability to avoid lots of spreads:
126+ Gives ability to avoid lots of spreads (alias to [ ` defineConfig ` ](https://eslint.org/blog/2025/03/flat-config-extends-define-config-global-ignores/) :
127127
128128` ` ` js
129129export default createESLintConfig ([safeAlign, config]);
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- module . exports . createESLintConfig = ( a ) => a . flat ( ) ;
3+ const { defineConfig} = require ( '@eslint/config-helpers' ) ;
4+
5+ module . exports . createESLintConfig = defineConfig ;
Original file line number Diff line number Diff line change 2424 "report" : " madrun report"
2525 },
2626 "dependencies" : {
27+ "@eslint/config-helpers" : " ^0.1.0" ,
2728 "@eslint/eslintrc" : " ^3.0.2" ,
2829 "try-catch" : " ^3.0.0" ,
2930 "try-to-catch" : " ^3.0.0"
You can’t perform that action at this time.
0 commit comments