This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I noticed that gts fix and gts link wasn't working in the npm workspaces. This is related to the issues: gts monorepo does not work with npm ? google/gts#752 gts does not work in a yarn workspaces monorepo google/gts#490 The last issue is with yarn but has more discussion. One solution was using nohoist. This is not a default option with npm. So I tried with the following package https://github.com/zgriesinger/noist. But this did not fix the errors. The last solution mentioned was only linting from the root level; this works. I have also subscribed to the issue [feature] support npm workspaces. There may be a better solution in the future.
- Loading branch information
Showing
4 changed files
with
10 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ['custom'], | ||
rules: { | ||
'node/no-unpublished-require': [ | ||
'error', | ||
{ | ||
allowModules: ['tailwind-config'], | ||
}, | ||
], | ||
}, | ||
}; |