redotjs / redot-lint

Graphviz code style linter
https://unifiedjs.com
MIT License
3 stars 1 forks source link

chore(deps): update dependency eslint-plugin-node to v7 #3

Closed renovate[bot] closed 6 years ago

renovate[bot] commented 6 years ago

This Pull Request updates dependency eslint-plugin-node from ^6.0.1 to ^7.0.0

Note: This PR was created on a configured schedule ("before 3am on Monday") and will not receive updates outside those times.

Release Notes ### [`v7.0.1`](https://github.com/mysticatea/eslint-plugin-node/releases/v7.0.1) [Compare Source](https://github.com/mysticatea/eslint-plugin-node/compare/v7.0.0...v7.0.1) #### Bug fixes - It fixed false positive that the `node/no-unsupported-features/node-builtins` reports the `process.emitWarning` method on Node.js `>=6 <8`. It was supported since Node.js 6.0.0. --- ### [`v7.0.0`](https://github.com/mysticatea/eslint-plugin-node/releases/v7.0.0) [Compare Source](https://github.com/mysticatea/eslint-plugin-node/compare/v6.0.1...v7.0.0) #### Breaking changes - It dropped the support of Node.js 4. Now it requires `>=6`. - It dropped the support of ESLint 3. Now it requires `>=4.19.1`. (the `node/recommended` preset is supporting only ESLint `>=5.0.0`) - It updated the `node/recommended` config. - changed `parserOptions.ecmaVersion` to `2019` from `2018`. - added `plugins: ["node"]`. - removed a deprecated rule: [node/no-unsupported-features]. - added three new rules: - [node/no-unsupported-features/es-builtins] - [node/no-unsupported-features/es-syntax] - [node/no-unsupported-features/node-builtins]. - It updated the [node/no-deprecated-api] rule to support Node.js up to `10.6.0`. - Note some assertion methods such as `assert.equal` are deprecated. Use stricter methods such as `assert.strictEqual` or the strict mode (`assert.strict`) instead. #### New rules - [node/no-unsupported-features/es-builtins] ... disallow unsupported ECMAScript built-in globals on the configured Node.js version. - [node/no-unsupported-features/es-syntax] ... disallow unsupported ECMAScript syntax on the configured Node.js version. - [node/no-unsupported-features/node-builtins] ... disallow unsupported Node.js built-in modules and globals on the configured Node.js version. - [node/prefer-global/buffer] ... enforce the use of either `Buffer` or `require("buffer").Buffer` consistently. - [node/prefer-global/console] ... enforce the use of either `console` or `require("console")` consistently. - [node/prefer-global/process] ... enforce the use of either `process` or `require("process")` consistently. - [node/prefer-global/url-search-params] ... enforce the use of either `URLSearchParams` or `require("url").URLSearchParams` consistently. - [node/prefer-global/url] ... enforce the use of either `URL` or `require("url").URL` consistently. #### Deprecated rules - [node/no-unsupported-features] was replaced by [node/no-unsupported-features/es-builtins] and [node/no-unsupported-features/es-syntax]. #### Chore I extracted the logic which detects certain globals and modules and those properties to the [eslint-utils] package. I wish it to be useful for your ESLint plugins. ---- All commits: 5260039c77fd7e6368c1a5808f90462e5beec6f3...890ee63e98ef95ec5a27f50f42188102526d81b1 [node/no-deprecated-api]: https://github.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-deprecated-api.md [node/no-unsupported-features]: https://github.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features.md [node/no-unsupported-features/es-builtins]: https://github.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features/es-builtins.md [node/no-unsupported-features/es-syntax]: https://github.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features/es-syntax.md [node/no-unsupported-features/node-builtins]: https://github.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/no-unsupported-features/node-builtins.md [node/prefer-global/buffer]: https://github.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/buffer.md [node/prefer-global/console]: https://github.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/console.md [node/prefer-global/process]: https://github.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/process.md [node/prefer-global/url-search-params]: https://github.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/url-search-params.md [node/prefer-global/url]: https://github.com/mysticatea/eslint-plugin-node/blob/v7.0.0/docs/rules/prefer-global/url.md [eslint-utils]: https://github.com/mysticatea/eslint-utils#readme ---

This PR has been generated by Renovate Bot.