-
-
Notifications
You must be signed in to change notification settings - Fork 13
Breaking: Update for Node.js 10 support #17
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
Conversation
* Enable parsing of ECMAScript 2018 syntax but forbid use by adding a eslint-plugin-node rule. * Permit use of ECMAScript 2018 global variables * Add common ignorePatterns into shared config * Declare override section for `test/**` to support mocha * Drop separate test.json published file * Declare support for node.js 10+
], | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"dependencies": { | ||
"eslint-config-prettier": "^6.11.0" | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-node": "^11.1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, it's from a plugin! That makes sense.
@@ -7,19 +7,19 @@ | |||
"repository": "gulpjs/eslint-config-gulp", | |||
"license": "MIT", | |||
"engines": { | |||
"node": ">= 0.10" | |||
"node": ">=10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll remove the space between >= and 10 in the boilerplate too when updating to 10.12 👍
Published. Thanks for the work here! 🍻 |
}, | ||
"rules": { | ||
"node/no-unsupported-features/es-syntax": [2, {"version": ">=0.10"}], |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jimmywarting no this is by design.
eslint-plugin-node rule.
test/**
to support mochaFixes #18