Skip to content

Ignore package-lock.json - #3840

Merged
azz merged 2 commits into
masterfrom
ignore
Jan 31, 2018
Merged

azz merged 2 commits into
masterfrom
ignore

Conversation

@lipis

@lipis lipis commented Jan 30, 2018

Copy link
Copy Markdown
Member

It's happening quite often that these files are making it into PRs by accident, so why not ignoring them in general.

Comment thread .gitignore Outdated
coverage
.idea
package-lock.json
yarn-error.log

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's already a *.log.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oups. :)

@lipis lipis changed the title Ignore package-lock.json and yarn-error.log Ignore package-lock.json Jan 30, 2018
@SimenB

SimenB commented Jan 30, 2018

Copy link
Copy Markdown
Contributor

Could also add an npmrc which disable its generation

@lipis

lipis commented Jan 30, 2018

Copy link
Copy Markdown
Member Author

This is less intrusive than adding yet another config file :)

@lipis

lipis commented Jan 30, 2018

Copy link
Copy Markdown
Member Author

While we are at it.. should I sort this file?

@azz
azz merged commit 8641a9a into master Jan 31, 2018
@azz
azz deleted the ignore branch January 31, 2018 08:51
@lock lock Bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jan 18, 2019
@lock lock Bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants