8000 Breaking: Update for Node.js 10 support by coreyfarrell · Pull Request #17 · gulpjs/eslint-config-gulp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 2 commits into from
May 13, 2020
Merged

Breaking: Update for Node.js 10 support #17

merged 2 commits into from
May 13, 2020

Conversation

coreyfarrell
Copy link
Member
@coreyfarrell coreyfarrell commented May 11, 2020
  • 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+

Fixes #18

* 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"
Copy link
Member

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"
Copy link
Member

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 👍

@phated phated merged commit c8f8353 into gulpjs:master May 13, 2020
@phated
Copy link
Member
phated commented May 13, 2020

Published. Thanks for the work here! 🍻

},
"rules": {
"node/no-unsupported-features/es-syntax": [2, {"version": ">=0.10"}],

This comment was marked as off-topic.

Copy link
Member

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.

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.

Parse ES2018 even if we don't want to support it
3 participants
0