File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,13 @@ const { flatConfigs: origImportXFlatConfigs } = importXPlugin
3131
3232const rootPath = path . dirname ( __dirname )
3333const rootTsConfigPath = path . join ( rootPath , TSCONFIG_JSON )
34+ const monorepoRoot = path . join ( rootPath , '..' , '..' )
3435
3536const nodeGlobalsConfig = Object . fromEntries (
3637 Object . entries ( globals . node ) . map ( ( [ k ] ) => [ k , 'readonly' ] ) ,
3738)
3839
39- const biomeConfigPath = path . join ( rootPath , 'biome.json' )
40+ const biomeConfigPath = path . join ( monorepoRoot , 'biome.json' )
4041const biomeConfig = require ( biomeConfigPath )
4142const biomeIgnores = {
4243 name : 'Imported biome.json ignore patterns' ,
@@ -45,7 +46,7 @@ const biomeIgnores = {
4546 . map ( p => convertIgnorePatternToMinimatch ( p . slice ( 1 ) ) ) ,
4647}
4748
48- const gitignorePath = path . join ( rootPath , GITIGNORE )
49+ const gitignorePath = path . join ( monorepoRoot , GITIGNORE )
4950const gitIgnores = {
5051 ...includeIgnoreFile ( gitignorePath ) ,
5152 name : 'Imported .gitignore ignore patterns' ,
You can’t perform that action at this time.
0 commit comments