Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use 'files' instead of .npmignore #244

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

midgleyc
Copy link

What is the purpose of this pull request?

  • Documentation update
  • Bug fix
  • New rule
  • Changes an existing rule
  • Add autofixing to a rule
  • Other: build simplification

What changes did you make? (Give an overview)

Change build to use files over .npmignore.

.npmignore lists the files that should not be in the build, and can easily go out of date (and has) because it needs updating every time a file is added that shouldn't be in the build.

files in package.json lists the files that should be in the build, and can be kept up to date more easily.

I include the rules folder, and the files which are always included automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant