Skip to content

Commit

Permalink
chore: fix generate config scripts (#1323)
Browse files Browse the repository at this point in the history
  • Loading branch information
noshiro-pf authored Sep 24, 2024
1 parent 22b873c commit 7784f7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const generateEsLintConfigForGlobalUtils = async (
"/** @typedef { import('@noshiro/eslint-configs').FlatConfig } FlatConfig */",
'',
"import { eslintFlatConfigForTypeScript } from '@noshiro/eslint-configs';",
"import { toThisDir } from '@noshiro/mono-scripts",
"import { toThisDir } from '@noshiro/mono-scripts';",
"import * as nodePath from 'node:path';",
'',
'const thisDir = toThisDir(import.meta.url);',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ export const generateEsLintConfig = async (
'',
'import {',
' eslintFlatConfigForTypeScript,',
' eslintFlatConfigForVitest',
' eslintFlatConfigForPreact', // maybe removed by prettier
' eslintFlatConfigForReact', // maybe removed by prettier
' eslintFlatConfigForVitest,',
' eslintFlatConfigForPreact,', // maybe removed by prettier
' eslintFlatConfigForReact,', // maybe removed by prettier
' genEsLintRestrictedImportsDefFromDevDependencies,',
"} from '@noshiro/eslint-configs';",
"import { toThisDir } from '@noshiro/mono-scripts",
"import { toThisDir } from '@noshiro/mono-scripts';",
"import * as nodePath from 'node:path';",
"import packageJson from './package.json' assert { type: 'json' };",
'',
Expand Down

0 comments on commit 7784f7b

Please sign in to comment.