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

Make (automatic) linting work with newer node versions #31

Closed
wants to merge 1 commit into from
Closed

Make (automatic) linting work with newer node versions #31

wants to merge 1 commit into from

Conversation

JulianKniephoff
Copy link

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
    Note: This is not checked because this is not a fix in the code but in the build system, and as far as I can see, there is no test setup for that. If there is something I can do here, please let me know.
  • typo fix
  • metadata update

Motivation / Use-Case

I have a fix for #30, which I wanted to make a PR for, but I couldn't even make a commit. I'm using node v11.15.0, and lint-staged complained that I should upgrade, because I need node >= 6. This happens because please-upgrade-node, which lint-staged depends on, uses simple string comparisons to compare node versions, and lexicographically, we obviously have 11 < 6.

After upgrading lint-staged to a version that depends on a version of please-upgrade-node using actual semver logic, I ran into conventional-changelog/commitlint#476, and so I had to update that as well.

Breaking Changes

None that I know of.

Additional Info

🤷‍♂️

Update dependencies related to the (automatic) linting,
which cause problems when used with newer node versions.
Without this, making a commit using for example node 11
is currently impossible.

Specifically, the following issues affect this project
with its previous dependency versions:

- typicode/please-upgrade-node#9
  (transitive dependency through `lint-staged`)
- conventional-changelog/commitlint#476
@jsf-clabot
Copy link

jsf-clabot commented Jun 29, 2019

CLA assistant check
All committers have signed the CLA.

@alexander-akait
Copy link
Member

Done in master, sorry for delay

@JulianKniephoff
Copy link
Author

Cool, thanks! 😄

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.

3 participants