Skip to content

Commit

Permalink
Make npm ignore test files
Browse files Browse the repository at this point in the history
They are not packaged and require dev dependencies. Prevent ESLint from
flagging no-unpublished-import:

```
/home/runner/work/server/server/apps/dav/src/views/CalDavSettings.spec.js
Error:   1:24  error  "@testing-library/vue" is not published         node/no-unpublished-import
Error:   2:23  error  "@testing-library/user-event" is not published  node/no-unpublished-import
```

Signed-off-by: François Freitag <[email protected]>
  • Loading branch information
francoisfreitag committed May 18, 2021
1 parent afe4eac commit 1fc7aa1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/*.spec.js

0 comments on commit 1fc7aa1

Please sign in to comment.