Skip to content

Boundary folders broken with v3.9.2 and v3.13.2 no longer uses "packages/packageA/node_modules/**" for allowImportsFrom #40

Discussion options

You must be logged in to vote

The solution was:

  • install eslint-plugin-project-structure in root folder to be used in package/packageA
  • remove eslint-plugin-project-structure from package/packageA
  • convert jsonc files to ts

eslint.config.js

  • import ts files
  • add extra brackets around file mapping ie files: eslintConfig.files.map((file) =>
  • add extra commas and semicolons so that each line as an appropriate ending

fileComposition.ts

  • define projectRoot to point to packages/packageA
  • change keys to have no commas
  • add extra commas and semicolons so that each line as an appropriate ending

folderStructure.ts

  • define projectRoot to point to packages/packageA
  • add extra commas so that each line as an appropriate ending

indepen…

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
1 reply
@Igorkowalski94
Comment options

Comment options

You must be logged in to vote
1 reply
@carolinejparr
Comment options

Comment options

You must be logged in to vote
14 replies
@carolinejparr
Comment options

@Igorkowalski94
Comment options

@carolinejparr
Comment options

@carolinejparr
Comment options

Answer selected by carolinejparr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants