New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /test to .npmignore #544
Labels
Comments
This is probably a test-framework specific change for most: You can try something like this in your "node/no-unpublished-import": ["error", {
"allowModules": ["chai"]
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In a new GTS setup when one drops a
.spec.ts
file into/test
andimport
s anything frommocha
orchai
, this leads to an ESLint warning for no-unpublished-import.As the 馃挕 in Rule Details suggests, a
.npmignore
holding one line for/test
could lead to a less disruptive experience for new setups.The text was updated successfully, but these errors were encountered: