Skip to content
Snippets Groups Projects
Commit fbdf036b authored by Jonas Smedegaard's avatar Jonas Smedegaard
Browse files

New upstream version 8.0.1~ds

parents be02a1c5 b234dcc6
No related branches found
No related tags found
No related merge requests found
Showing
with 43 additions and 94 deletions
comment: off
{
"parserOptions": {
"ecmaVersion": 2019
},
"env": {
"es6": true,
"node": true
},
"globals": {
"Atomics": false,
"SharedArrayBuffer": false
},
"plugins": [
"node"
],
"rules": {
"no-process-exit": "error",
"node/exports-style": "off",
"node/no-deprecated-api": "error",
"node/no-extraneous-import": "off",
"node/no-extraneous-require": "error",
"node/no-missing-import": "off",
"node/no-missing-require": "error",
"node/no-unpublished-bin": "error",
"node/no-unpublished-import": "off",
"node/no-unpublished-require": "error",
"node/no-unsupported-features/es-builtins": "error",
"node/no-unsupported-features/es-syntax": "error",
"node/no-unsupported-features/node-builtins": "error",
"node/prefer-global/buffer": "off",
"node/prefer-global/console": "off",
"node/prefer-global/process": "off",
"node/prefer-global/text-decoder": "off",
"node/prefer-global/text-encoder": "off",
"node/prefer-global/url-search-params": "off",
"node/prefer-global/url": "off",
"node/process-exit-as-throw": "error",
"node/shebang": "error"
}
}
\ No newline at end of file
/* DON'T EDIT THIS FILE. This is generated by 'scripts/update-lib-index.js' */
"use strict"
module.exports = {
configs: {
recommended: require("./configs/recommended.json"),
},
rules: {
"exports-style": require("./rules/exports-style"),
"no-deprecated-api": require("./rules/no-deprecated-api"),
"no-extraneous-import": require("./rules/no-extraneous-import"),
"no-extraneous-require": require("./rules/no-extraneous-require"),
"no-missing-import": require("./rules/no-missing-import"),
"no-missing-require": require("./rules/no-missing-require"),
"no-unpublished-bin": require("./rules/no-unpublished-bin"),
"no-unpublished-import": require("./rules/no-unpublished-import"),
"no-unpublished-require": require("./rules/no-unpublished-require"),
"no-unsupported-features/es-builtins": require("./rules/no-unsupported-features/es-builtins"),
"no-unsupported-features/es-syntax": require("./rules/no-unsupported-features/es-syntax"),
"no-unsupported-features/node-builtins": require("./rules/no-unsupported-features/node-builtins"),
"prefer-global/buffer": require("./rules/prefer-global/buffer"),
"prefer-global/console": require("./rules/prefer-global/console"),
"prefer-global/process": require("./rules/prefer-global/process"),
"prefer-global/text-decoder": require("./rules/prefer-global/text-decoder"),
"prefer-global/text-encoder": require("./rules/prefer-global/text-encoder"),
"prefer-global/url-search-params": require("./rules/prefer-global/url-search-params"),
"prefer-global/url": require("./rules/prefer-global/url"),
"process-exit-as-throw": require("./rules/process-exit-as-throw"),
shebang: require("./rules/shebang"),
// Deprecated rules.
"no-hide-core-modules": require("./rules/no-hide-core-modules"),
"no-unsupported-features": require("./rules/no-unsupported-features"),
},
}
......@@ -146,8 +146,9 @@ module.exports = {
category: "Stylistic Issues",
recommended: false,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/exports-style.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/exports-style.md",
},
type: "suggestion",
fixable: null,
schema: [
{
......
......@@ -90,7 +90,10 @@ const modules = {
[READ]: { since: "10.0.0", replacedBy: null },
},
createCipher: {
[READ]: { since: "10.0.0", replacedBy: "'tls.createCipheriv()'" },
[READ]: {
since: "10.0.0",
replacedBy: "'crypto.createCipheriv()'",
},
},
createCredentials: {
[READ]: {
......@@ -99,7 +102,10 @@ const modules = {
},
},
createDecipher: {
[READ]: { since: "10.0.0", replacedBy: "'tls.createDecipheriv()'" },
[READ]: {
since: "10.0.0",
replacedBy: "'crypto.createDecipheriv()'",
},
},
fips: {
[READ]: {
......@@ -463,8 +469,9 @@ module.exports = {
category: "Best Practices",
recommended: true,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-deprecated-api.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-deprecated-api.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -18,8 +18,9 @@ module.exports = {
category: "Possible Errors",
recommended: false,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-extraneous-import.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-extraneous-import.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -18,8 +18,9 @@ module.exports = {
category: "Possible Errors",
recommended: true,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-extraneous-require.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-extraneous-require.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -55,8 +55,9 @@ module.exports = {
category: "Possible Errors",
recommended: false,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-hide-core-modules.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-hide-core-modules.md",
},
type: "problem",
deprecated: true,
fixable: null,
schema: [
......
......@@ -17,8 +17,9 @@ module.exports = {
category: "Possible Errors",
recommended: false,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-missing-import.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-missing-import.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -17,8 +17,9 @@ module.exports = {
category: "Possible Errors",
recommended: true,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-missing-require.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-missing-require.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -36,8 +36,9 @@ module.exports = {
category: "Possible Errors",
recommended: true,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-unpublished-bin.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-unpublished-bin.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -18,8 +18,9 @@ module.exports = {
category: "Possible Errors",
recommended: false,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-unpublished-import.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-unpublished-import.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -18,8 +18,9 @@ module.exports = {
category: "Possible Errors",
recommended: true,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-unpublished-require.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-unpublished-require.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -1051,8 +1051,9 @@ module.exports = {
"no-unsupported-features/es-builtins",
],
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-unsupported-features.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-unsupported-features.md",
},
type: "problem",
deprecated: true,
fixable: null,
schema: [
......
......@@ -128,8 +128,9 @@ module.exports = {
category: "Possible Errors",
recommended: true,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-unsupported-features/es-builtins.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-unsupported-features/es-builtins.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -504,8 +504,9 @@ module.exports = {
category: "Possible Errors",
recommended: true,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-unsupported-features/es-syntax.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-unsupported-features/es-syntax.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -234,8 +234,9 @@ module.exports = {
category: "Possible Errors",
recommended: true,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/no-unsupported-features/node-builtins.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/no-unsupported-features/node-builtins.md",
},
type: "problem",
fixable: null,
schema: [
{
......
......@@ -26,8 +26,9 @@ module.exports = {
category: "Stylistic Issues",
recommended: false,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/prefer-global/buffer.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/prefer-global/buffer.md",
},
type: "suggestion",
fixable: null,
schema: [{ enum: ["always", "never"] }],
messages: {
......
......@@ -23,8 +23,9 @@ module.exports = {
category: "Stylistic Issues",
recommended: false,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/prefer-global/console.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/prefer-global/console.md",
},
type: "suggestion",
fixable: null,
schema: [{ enum: ["always", "never"] }],
messages: {
......
......@@ -23,8 +23,9 @@ module.exports = {
category: "Stylistic Issues",
recommended: false,
url:
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.0/docs/rules/prefer-global/process.md",
"https://github.com/mysticatea/eslint-plugin-node/blob/v8.0.1/docs/rules/prefer-global/process.md",
},
type: "suggestion",
fixable: null,
schema: [{ enum: ["always", "never"] }],
messages: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment