From f4d4e080a69ab91f446c188993e24aae4c2ff545 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 14 Dec 2022 19:19:03 -0500 Subject: [PATCH 01/41] docs: initial IA move --- docs/src/{developer-guide => contribute}/architecture/index.md | 0 docs/src/{developer-guide/contributing => contribute}/changes.md | 0 docs/src/{developer-guide => contribute}/code-conventions.md | 0 docs/src/{developer-guide => contribute}/code-path-analysis.md | 0 .../{developer-guide => contribute}/development-environment.md | 0 docs/src/{developer-guide/contributing => contribute}/index.md | 0 .../src/{developer-guide/contributing => contribute}/new-rules.md | 0 .../{developer-guide => contribute}/package-json-conventions.md | 0 .../{developer-guide/contributing => contribute}/pull-requests.md | 0 .../contributing => contribute}/reporting-bugs.md | 0 .../{developer-guide/contributing => contribute}/rule-changes.md | 0 docs/src/{developer-guide => contribute}/source-code.md | 0 docs/src/{developer-guide => contribute}/unit-tests.md | 0 .../contributing => contribute}/working-on-issues.md | 0 .../custom-formatters.md} | 0 .../working-with-custom-parsers.md => extend/custom-parsers.md} | 0 .../working-with-rules.md => extend/custom-rules.md} | 0 docs/src/{developer-guide => extend}/index.md | 0 docs/src/{developer-guide => extend}/nodejs-api.md | 0 .../working-with-plugins.md => extend/plugins.md} | 0 docs/src/{developer-guide => extend}/scope-manager-interface.md | 0 docs/src/{developer-guide => extend}/selectors.md | 0 docs/src/{developer-guide => extend}/shareable-configs.md | 0 .../{developer-guide => extend}/working-with-rules-deprecated.md | 0 docs/src/{maintainer-guide => maintain}/governance.md | 0 docs/src/{maintainer-guide => maintain}/index.md | 0 docs/src/{maintainer-guide => maintain}/issues.md | 0 docs/src/{maintainer-guide => maintain}/pullrequests.md | 0 docs/src/{maintainer-guide => maintain}/releases.md | 0 docs/src/{maintainer-guide => maintain}/working-groups.md | 0 docs/src/{user-guide => use}/command-line-interface.md | 0 .../configuring => use/configure}/configuration-files-new.md | 0 .../configuring => use/configure}/configuration-files.md | 0 .../{user-guide/configuring => use/configure}/ignoring-code.md | 0 docs/src/{user-guide/configuring => use/configure}/index.md | 0 .../{user-guide/configuring => use/configure}/language-options.md | 0 docs/src/{user-guide/configuring => use/configure}/plugins.md | 0 docs/src/{user-guide/configuring => use/configure}/rules.md | 0 docs/src/{user-guide => use}/core-concepts.md | 0 .../{user-guide => use}/formatters/html-formatter-example.html | 0 .../{user-guide => use}/formatters/html-formatter-example.json | 0 docs/src/{user-guide => use}/formatters/index.md | 0 docs/src/{user-guide => use}/getting-started.md | 0 docs/src/{user-guide => use}/index.md | 0 docs/src/{user-guide => use}/integrations.md | 0 docs/src/{user-guide => use}/migrating-from-jscs.md | 0 docs/src/{user-guide => use}/migrating-to-1.0.0.md | 0 docs/src/{user-guide => use}/migrating-to-2.0.0.md | 0 docs/src/{user-guide => use}/migrating-to-3.0.0.md | 0 docs/src/{user-guide => use}/migrating-to-4.0.0.md | 0 docs/src/{user-guide => use}/migrating-to-5.0.0.md | 0 docs/src/{user-guide => use}/migrating-to-6.0.0.md | 0 docs/src/{user-guide => use}/migrating-to-7.0.0.md | 0 docs/src/{user-guide => use}/migrating-to-8.0.0.md | 0 docs/src/{user-guide => use}/rule-deprecation.md | 0 55 files changed, 0 insertions(+), 0 deletions(-) rename docs/src/{developer-guide => contribute}/architecture/index.md (100%) rename docs/src/{developer-guide/contributing => contribute}/changes.md (100%) rename docs/src/{developer-guide => contribute}/code-conventions.md (100%) rename docs/src/{developer-guide => contribute}/code-path-analysis.md (100%) rename docs/src/{developer-guide => contribute}/development-environment.md (100%) rename docs/src/{developer-guide/contributing => contribute}/index.md (100%) rename docs/src/{developer-guide/contributing => contribute}/new-rules.md (100%) rename docs/src/{developer-guide => contribute}/package-json-conventions.md (100%) rename docs/src/{developer-guide/contributing => contribute}/pull-requests.md (100%) rename docs/src/{developer-guide/contributing => contribute}/reporting-bugs.md (100%) rename docs/src/{developer-guide/contributing => contribute}/rule-changes.md (100%) rename docs/src/{developer-guide => contribute}/source-code.md (100%) rename docs/src/{developer-guide => contribute}/unit-tests.md (100%) rename docs/src/{developer-guide/contributing => contribute}/working-on-issues.md (100%) rename docs/src/{developer-guide/working-with-custom-formatters.md => extend/custom-formatters.md} (100%) rename docs/src/{developer-guide/working-with-custom-parsers.md => extend/custom-parsers.md} (100%) rename docs/src/{developer-guide/working-with-rules.md => extend/custom-rules.md} (100%) rename docs/src/{developer-guide => extend}/index.md (100%) rename docs/src/{developer-guide => extend}/nodejs-api.md (100%) rename docs/src/{developer-guide/working-with-plugins.md => extend/plugins.md} (100%) rename docs/src/{developer-guide => extend}/scope-manager-interface.md (100%) rename docs/src/{developer-guide => extend}/selectors.md (100%) rename docs/src/{developer-guide => extend}/shareable-configs.md (100%) rename docs/src/{developer-guide => extend}/working-with-rules-deprecated.md (100%) rename docs/src/{maintainer-guide => maintain}/governance.md (100%) rename docs/src/{maintainer-guide => maintain}/index.md (100%) rename docs/src/{maintainer-guide => maintain}/issues.md (100%) rename docs/src/{maintainer-guide => maintain}/pullrequests.md (100%) rename docs/src/{maintainer-guide => maintain}/releases.md (100%) rename docs/src/{maintainer-guide => maintain}/working-groups.md (100%) rename docs/src/{user-guide => use}/command-line-interface.md (100%) rename docs/src/{user-guide/configuring => use/configure}/configuration-files-new.md (100%) rename docs/src/{user-guide/configuring => use/configure}/configuration-files.md (100%) rename docs/src/{user-guide/configuring => use/configure}/ignoring-code.md (100%) rename docs/src/{user-guide/configuring => use/configure}/index.md (100%) rename docs/src/{user-guide/configuring => use/configure}/language-options.md (100%) rename docs/src/{user-guide/configuring => use/configure}/plugins.md (100%) rename docs/src/{user-guide/configuring => use/configure}/rules.md (100%) rename docs/src/{user-guide => use}/core-concepts.md (100%) rename docs/src/{user-guide => use}/formatters/html-formatter-example.html (100%) rename docs/src/{user-guide => use}/formatters/html-formatter-example.json (100%) rename docs/src/{user-guide => use}/formatters/index.md (100%) rename docs/src/{user-guide => use}/getting-started.md (100%) rename docs/src/{user-guide => use}/index.md (100%) rename docs/src/{user-guide => use}/integrations.md (100%) rename docs/src/{user-guide => use}/migrating-from-jscs.md (100%) rename docs/src/{user-guide => use}/migrating-to-1.0.0.md (100%) rename docs/src/{user-guide => use}/migrating-to-2.0.0.md (100%) rename docs/src/{user-guide => use}/migrating-to-3.0.0.md (100%) rename docs/src/{user-guide => use}/migrating-to-4.0.0.md (100%) rename docs/src/{user-guide => use}/migrating-to-5.0.0.md (100%) rename docs/src/{user-guide => use}/migrating-to-6.0.0.md (100%) rename docs/src/{user-guide => use}/migrating-to-7.0.0.md (100%) rename docs/src/{user-guide => use}/migrating-to-8.0.0.md (100%) rename docs/src/{user-guide => use}/rule-deprecation.md (100%) diff --git a/docs/src/developer-guide/architecture/index.md b/docs/src/contribute/architecture/index.md similarity index 100% rename from docs/src/developer-guide/architecture/index.md rename to docs/src/contribute/architecture/index.md diff --git a/docs/src/developer-guide/contributing/changes.md b/docs/src/contribute/changes.md similarity index 100% rename from docs/src/developer-guide/contributing/changes.md rename to docs/src/contribute/changes.md diff --git a/docs/src/developer-guide/code-conventions.md b/docs/src/contribute/code-conventions.md similarity index 100% rename from docs/src/developer-guide/code-conventions.md rename to docs/src/contribute/code-conventions.md diff --git a/docs/src/developer-guide/code-path-analysis.md b/docs/src/contribute/code-path-analysis.md similarity index 100% rename from docs/src/developer-guide/code-path-analysis.md rename to docs/src/contribute/code-path-analysis.md diff --git a/docs/src/developer-guide/development-environment.md b/docs/src/contribute/development-environment.md similarity index 100% rename from docs/src/developer-guide/development-environment.md rename to docs/src/contribute/development-environment.md diff --git a/docs/src/developer-guide/contributing/index.md b/docs/src/contribute/index.md similarity index 100% rename from docs/src/developer-guide/contributing/index.md rename to docs/src/contribute/index.md diff --git a/docs/src/developer-guide/contributing/new-rules.md b/docs/src/contribute/new-rules.md similarity index 100% rename from docs/src/developer-guide/contributing/new-rules.md rename to docs/src/contribute/new-rules.md diff --git a/docs/src/developer-guide/package-json-conventions.md b/docs/src/contribute/package-json-conventions.md similarity index 100% rename from docs/src/developer-guide/package-json-conventions.md rename to docs/src/contribute/package-json-conventions.md diff --git a/docs/src/developer-guide/contributing/pull-requests.md b/docs/src/contribute/pull-requests.md similarity index 100% rename from docs/src/developer-guide/contributing/pull-requests.md rename to docs/src/contribute/pull-requests.md diff --git a/docs/src/developer-guide/contributing/reporting-bugs.md b/docs/src/contribute/reporting-bugs.md similarity index 100% rename from docs/src/developer-guide/contributing/reporting-bugs.md rename to docs/src/contribute/reporting-bugs.md diff --git a/docs/src/developer-guide/contributing/rule-changes.md b/docs/src/contribute/rule-changes.md similarity index 100% rename from docs/src/developer-guide/contributing/rule-changes.md rename to docs/src/contribute/rule-changes.md diff --git a/docs/src/developer-guide/source-code.md b/docs/src/contribute/source-code.md similarity index 100% rename from docs/src/developer-guide/source-code.md rename to docs/src/contribute/source-code.md diff --git a/docs/src/developer-guide/unit-tests.md b/docs/src/contribute/unit-tests.md similarity index 100% rename from docs/src/developer-guide/unit-tests.md rename to docs/src/contribute/unit-tests.md diff --git a/docs/src/developer-guide/contributing/working-on-issues.md b/docs/src/contribute/working-on-issues.md similarity index 100% rename from docs/src/developer-guide/contributing/working-on-issues.md rename to docs/src/contribute/working-on-issues.md diff --git a/docs/src/developer-guide/working-with-custom-formatters.md b/docs/src/extend/custom-formatters.md similarity index 100% rename from docs/src/developer-guide/working-with-custom-formatters.md rename to docs/src/extend/custom-formatters.md diff --git a/docs/src/developer-guide/working-with-custom-parsers.md b/docs/src/extend/custom-parsers.md similarity index 100% rename from docs/src/developer-guide/working-with-custom-parsers.md rename to docs/src/extend/custom-parsers.md diff --git a/docs/src/developer-guide/working-with-rules.md b/docs/src/extend/custom-rules.md similarity index 100% rename from docs/src/developer-guide/working-with-rules.md rename to docs/src/extend/custom-rules.md diff --git a/docs/src/developer-guide/index.md b/docs/src/extend/index.md similarity index 100% rename from docs/src/developer-guide/index.md rename to docs/src/extend/index.md diff --git a/docs/src/developer-guide/nodejs-api.md b/docs/src/extend/nodejs-api.md similarity index 100% rename from docs/src/developer-guide/nodejs-api.md rename to docs/src/extend/nodejs-api.md diff --git a/docs/src/developer-guide/working-with-plugins.md b/docs/src/extend/plugins.md similarity index 100% rename from docs/src/developer-guide/working-with-plugins.md rename to docs/src/extend/plugins.md diff --git a/docs/src/developer-guide/scope-manager-interface.md b/docs/src/extend/scope-manager-interface.md similarity index 100% rename from docs/src/developer-guide/scope-manager-interface.md rename to docs/src/extend/scope-manager-interface.md diff --git a/docs/src/developer-guide/selectors.md b/docs/src/extend/selectors.md similarity index 100% rename from docs/src/developer-guide/selectors.md rename to docs/src/extend/selectors.md diff --git a/docs/src/developer-guide/shareable-configs.md b/docs/src/extend/shareable-configs.md similarity index 100% rename from docs/src/developer-guide/shareable-configs.md rename to docs/src/extend/shareable-configs.md diff --git a/docs/src/developer-guide/working-with-rules-deprecated.md b/docs/src/extend/working-with-rules-deprecated.md similarity index 100% rename from docs/src/developer-guide/working-with-rules-deprecated.md rename to docs/src/extend/working-with-rules-deprecated.md diff --git a/docs/src/maintainer-guide/governance.md b/docs/src/maintain/governance.md similarity index 100% rename from docs/src/maintainer-guide/governance.md rename to docs/src/maintain/governance.md diff --git a/docs/src/maintainer-guide/index.md b/docs/src/maintain/index.md similarity index 100% rename from docs/src/maintainer-guide/index.md rename to docs/src/maintain/index.md diff --git a/docs/src/maintainer-guide/issues.md b/docs/src/maintain/issues.md similarity index 100% rename from docs/src/maintainer-guide/issues.md rename to docs/src/maintain/issues.md diff --git a/docs/src/maintainer-guide/pullrequests.md b/docs/src/maintain/pullrequests.md similarity index 100% rename from docs/src/maintainer-guide/pullrequests.md rename to docs/src/maintain/pullrequests.md diff --git a/docs/src/maintainer-guide/releases.md b/docs/src/maintain/releases.md similarity index 100% rename from docs/src/maintainer-guide/releases.md rename to docs/src/maintain/releases.md diff --git a/docs/src/maintainer-guide/working-groups.md b/docs/src/maintain/working-groups.md similarity index 100% rename from docs/src/maintainer-guide/working-groups.md rename to docs/src/maintain/working-groups.md diff --git a/docs/src/user-guide/command-line-interface.md b/docs/src/use/command-line-interface.md similarity index 100% rename from docs/src/user-guide/command-line-interface.md rename to docs/src/use/command-line-interface.md diff --git a/docs/src/user-guide/configuring/configuration-files-new.md b/docs/src/use/configure/configuration-files-new.md similarity index 100% rename from docs/src/user-guide/configuring/configuration-files-new.md rename to docs/src/use/configure/configuration-files-new.md diff --git a/docs/src/user-guide/configuring/configuration-files.md b/docs/src/use/configure/configuration-files.md similarity index 100% rename from docs/src/user-guide/configuring/configuration-files.md rename to docs/src/use/configure/configuration-files.md diff --git a/docs/src/user-guide/configuring/ignoring-code.md b/docs/src/use/configure/ignoring-code.md similarity index 100% rename from docs/src/user-guide/configuring/ignoring-code.md rename to docs/src/use/configure/ignoring-code.md diff --git a/docs/src/user-guide/configuring/index.md b/docs/src/use/configure/index.md similarity index 100% rename from docs/src/user-guide/configuring/index.md rename to docs/src/use/configure/index.md diff --git a/docs/src/user-guide/configuring/language-options.md b/docs/src/use/configure/language-options.md similarity index 100% rename from docs/src/user-guide/configuring/language-options.md rename to docs/src/use/configure/language-options.md diff --git a/docs/src/user-guide/configuring/plugins.md b/docs/src/use/configure/plugins.md similarity index 100% rename from docs/src/user-guide/configuring/plugins.md rename to docs/src/use/configure/plugins.md diff --git a/docs/src/user-guide/configuring/rules.md b/docs/src/use/configure/rules.md similarity index 100% rename from docs/src/user-guide/configuring/rules.md rename to docs/src/use/configure/rules.md diff --git a/docs/src/user-guide/core-concepts.md b/docs/src/use/core-concepts.md similarity index 100% rename from docs/src/user-guide/core-concepts.md rename to docs/src/use/core-concepts.md diff --git a/docs/src/user-guide/formatters/html-formatter-example.html b/docs/src/use/formatters/html-formatter-example.html similarity index 100% rename from docs/src/user-guide/formatters/html-formatter-example.html rename to docs/src/use/formatters/html-formatter-example.html diff --git a/docs/src/user-guide/formatters/html-formatter-example.json b/docs/src/use/formatters/html-formatter-example.json similarity index 100% rename from docs/src/user-guide/formatters/html-formatter-example.json rename to docs/src/use/formatters/html-formatter-example.json diff --git a/docs/src/user-guide/formatters/index.md b/docs/src/use/formatters/index.md similarity index 100% rename from docs/src/user-guide/formatters/index.md rename to docs/src/use/formatters/index.md diff --git a/docs/src/user-guide/getting-started.md b/docs/src/use/getting-started.md similarity index 100% rename from docs/src/user-guide/getting-started.md rename to docs/src/use/getting-started.md diff --git a/docs/src/user-guide/index.md b/docs/src/use/index.md similarity index 100% rename from docs/src/user-guide/index.md rename to docs/src/use/index.md diff --git a/docs/src/user-guide/integrations.md b/docs/src/use/integrations.md similarity index 100% rename from docs/src/user-guide/integrations.md rename to docs/src/use/integrations.md diff --git a/docs/src/user-guide/migrating-from-jscs.md b/docs/src/use/migrating-from-jscs.md similarity index 100% rename from docs/src/user-guide/migrating-from-jscs.md rename to docs/src/use/migrating-from-jscs.md diff --git a/docs/src/user-guide/migrating-to-1.0.0.md b/docs/src/use/migrating-to-1.0.0.md similarity index 100% rename from docs/src/user-guide/migrating-to-1.0.0.md rename to docs/src/use/migrating-to-1.0.0.md diff --git a/docs/src/user-guide/migrating-to-2.0.0.md b/docs/src/use/migrating-to-2.0.0.md similarity index 100% rename from docs/src/user-guide/migrating-to-2.0.0.md rename to docs/src/use/migrating-to-2.0.0.md diff --git a/docs/src/user-guide/migrating-to-3.0.0.md b/docs/src/use/migrating-to-3.0.0.md similarity index 100% rename from docs/src/user-guide/migrating-to-3.0.0.md rename to docs/src/use/migrating-to-3.0.0.md diff --git a/docs/src/user-guide/migrating-to-4.0.0.md b/docs/src/use/migrating-to-4.0.0.md similarity index 100% rename from docs/src/user-guide/migrating-to-4.0.0.md rename to docs/src/use/migrating-to-4.0.0.md diff --git a/docs/src/user-guide/migrating-to-5.0.0.md b/docs/src/use/migrating-to-5.0.0.md similarity index 100% rename from docs/src/user-guide/migrating-to-5.0.0.md rename to docs/src/use/migrating-to-5.0.0.md diff --git a/docs/src/user-guide/migrating-to-6.0.0.md b/docs/src/use/migrating-to-6.0.0.md similarity index 100% rename from docs/src/user-guide/migrating-to-6.0.0.md rename to docs/src/use/migrating-to-6.0.0.md diff --git a/docs/src/user-guide/migrating-to-7.0.0.md b/docs/src/use/migrating-to-7.0.0.md similarity index 100% rename from docs/src/user-guide/migrating-to-7.0.0.md rename to docs/src/use/migrating-to-7.0.0.md diff --git a/docs/src/user-guide/migrating-to-8.0.0.md b/docs/src/use/migrating-to-8.0.0.md similarity index 100% rename from docs/src/user-guide/migrating-to-8.0.0.md rename to docs/src/use/migrating-to-8.0.0.md diff --git a/docs/src/user-guide/rule-deprecation.md b/docs/src/use/rule-deprecation.md similarity index 100% rename from docs/src/user-guide/rule-deprecation.md rename to docs/src/use/rule-deprecation.md From 939605e0dcc7baf75248c40c09e521f1da817300 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 14 Dec 2022 19:44:06 -0500 Subject: [PATCH 02/41] initial path rename --- docs/src/_data/links.json | 10 ++++------ docs/src/_data/rules.json | 4 ++-- .../components/rule-categories.macro.html | 6 +++--- docs/src/contribute/package-json-conventions.md | 2 +- docs/src/contribute/working-on-issues.md | 4 ++-- docs/src/extend/custom-formatters.md | 2 +- docs/src/extend/custom-rules.md | 16 ++++++++-------- docs/src/extend/nodejs-api.md | 4 ++-- docs/src/extend/plugins.md | 6 +++--- docs/src/extend/working-with-rules-deprecated.md | 10 +++++----- docs/src/maintain/governance.md | 4 ++-- docs/src/rules/id-denylist.md | 2 +- docs/src/rules/indent.md | 2 +- docs/src/rules/no-global-assign.md | 4 ++-- docs/src/rules/no-implicit-globals.md | 4 ++-- docs/src/rules/no-native-reassign.md | 4 ++-- docs/src/rules/no-restricted-syntax.md | 2 +- docs/src/rules/no-undef.md | 4 ++-- docs/src/rules/rest-spread-spacing.md | 2 +- docs/src/rules/space-after-keywords.md | 2 +- docs/src/rules/space-before-keywords.md | 2 +- docs/src/rules/space-return-throw-case.md | 2 +- docs/src/rules/strict.md | 8 ++++---- docs/src/use/configure/configuration-files.md | 6 +++--- docs/src/use/configure/plugins.md | 2 +- docs/src/use/core-concepts.md | 2 +- docs/src/use/getting-started.md | 4 ++-- docs/src/use/index.md | 2 +- docs/src/use/integrations.md | 2 +- docs/src/use/migrating-from-jscs.md | 2 +- docs/src/use/migrating-to-5.0.0.md | 6 +++--- docs/src/use/migrating-to-6.0.0.md | 6 +++--- docs/src/use/migrating-to-7.0.0.md | 4 ++-- docs/src/use/migrating-to-8.0.0.md | 8 ++++---- 34 files changed, 74 insertions(+), 76 deletions(-) diff --git a/docs/src/_data/links.json b/docs/src/_data/links.json index 84374f9de97..0c47bcdf067 100644 --- a/docs/src/_data/links.json +++ b/docs/src/_data/links.json @@ -8,16 +8,14 @@ "blog": "/blog", "docs": "/docs/latest/", "playground": "/play", - "getStarted": "/docs/latest/user-guide/getting-started", + "getStarted": "/docs/latest/users/getting-started", "sponsors": "/sponsors", "branding": "/branding", "store": "https://eslint.threadless.com", "team": "/team", - - "configuring": "https://eslint.org/docs/user-guide/configuring/", - "fixProblems": "https://eslint.org/docs/user-guide/command-line-interface#fix-problems", - + "configuring": "https://eslint.org/docs/users/configuring/", + "fixProblems": "https://eslint.org/docs/users/command-line-interface#fix-problems", "donate": "/donate", "openCollective": "https://opencollective.com/eslint", "githubSponsors": "https://github.com/sponsors/eslint" -} +} \ No newline at end of file diff --git a/docs/src/_data/rules.json b/docs/src/_data/rules.json index 742567f7d24..5e3317aa32a 100644 --- a/docs/src/_data/rules.json +++ b/docs/src/_data/rules.json @@ -1893,7 +1893,7 @@ ], "deprecated": { "name": "Deprecated", - "description": "These rules have been deprecated in accordance with the deprecation policy, and replaced by newer rules:", + "description": "These rules have been deprecated in accordance with the deprecation policy, and replaced by newer rules:", "rules": [ { "name": "callback-return", @@ -2009,7 +2009,7 @@ }, "removed": { "name": "Removed", - "description": "These rules from older versions of ESLint (before the deprecation policy existed) have been replaced by newer rules:", + "description": "These rules from older versions of ESLint (before the deprecation policy existed) have been replaced by newer rules:", "rules": [ { "removed": "generator-star", diff --git a/docs/src/_includes/components/rule-categories.macro.html b/docs/src/_includes/components/rule-categories.macro.html index f59f20c2735..47952f8cf3b 100644 --- a/docs/src/_includes/components/rule-categories.macro.html +++ b/docs/src/_includes/components/rule-categories.macro.html @@ -5,7 +5,7 @@
Recommended

- The "extends": "eslint:recommended" property in a configuration file enables this rule + The "extends": "eslint:recommended" property in a configuration file enables this rule

{%- endif -%} @@ -13,7 +13,7 @@
🔧 Fixable

- Some problems reported by this rule are automatically fixable by the --fix command line option + Some problems reported by this rule are automatically fixable by the --fix command line option

{%- endif -%} @@ -21,7 +21,7 @@
💡 hasSuggestions

- Some problems reported by this rule are manually fixable by editor suggestions + Some problems reported by this rule are manually fixable by editor suggestions

{%- endif -%} diff --git a/docs/src/contribute/package-json-conventions.md b/docs/src/contribute/package-json-conventions.md index 3d38adecd2b..1934bb8e593 100644 --- a/docs/src/contribute/package-json-conventions.md +++ b/docs/src/contribute/package-json-conventions.md @@ -1,6 +1,6 @@ --- title: Package.json Conventions -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/package-json-conventions.md +edit_link: https://github.com/eslint/eslint/edit/main/docs/src/extend/package-json-conventions.md --- The following applies to the "scripts" section of `package.json` files. diff --git a/docs/src/contribute/working-on-issues.md b/docs/src/contribute/working-on-issues.md index 5c929844843..2e985b822c8 100644 --- a/docs/src/contribute/working-on-issues.md +++ b/docs/src/contribute/working-on-issues.md @@ -7,10 +7,10 @@ Our public [issues tracker](https://github.com/eslint/eslint/issues) lists all o ## Issue Labels -We use labels to indicate the status of issues. The most complete documentation on the labels is found in the [Maintainer Guide](../../maintainer-guide/issues#when-an-issue-is-opened), but most contributors should find the information on this page sufficient. The most important questions that labels can help you, as a contributor, answer are: +We use labels to indicate the status of issues. The most complete documentation on the labels is found in the [Maintainer Guide](../../maintain/issues#when-an-issue-is-opened), but most contributors should find the information on this page sufficient. The most important questions that labels can help you, as a contributor, answer are: 1. Is this issue available for me to work on? If you have little or no experience contributing to ESLint, the [`good first issue`](https://github.com/eslint/eslint/labels/good%20first%20issue) label marks appropriate issues. Otherwise, the [`help wanted`](https://github.com/eslint/eslint/labels/help%20wanted) label is an invitation to work on the issue. If you have more experience, you can try working on other issues labeled [`accepted`](https://github.com/eslint/eslint/labels/accepted). Conversely, issues not yet ready to work on are labeled `triage`, `evaluating`, and/or `needs bikeshedding`, and issues that cannot currently be worked on because of something else, such as a bug in a dependency, are labeled `blocked`. -1. What is this issue about? Labels describing the nature of issues include `bug`, `enhancement`, `feature`, `question`, `rule`, `documentation`, `core`, `build`, `cli`, `infrastructure`, `breaking`, and `chore`. These are documented in the [Maintainer Guide](../../maintainer-guide/issues#types-of-issues). +1. What is this issue about? Labels describing the nature of issues include `bug`, `enhancement`, `feature`, `question`, `rule`, `documentation`, `core`, `build`, `cli`, `infrastructure`, `breaking`, and `chore`. These are documented in the [Maintainer Guide](../../maintain/issues#types-of-issues). 1. What is the priority of this issue? Because we have a lot of issues, we prioritize certain issues above others. The following is the list of priorities, from highest to lowest: 1. **Bugs** - problems with the project are actively affecting users. We want to get these resolved as quickly as possible. diff --git a/docs/src/extend/custom-formatters.md b/docs/src/extend/custom-formatters.md index 78bcb67abb8..3fdc3de01b0 100644 --- a/docs/src/extend/custom-formatters.md +++ b/docs/src/extend/custom-formatters.md @@ -376,7 +376,7 @@ error semi ### Complex Argument Passing -If you find the custom formatter pattern doesn't provide enough options for the way you'd like to format ESLint results, the best option is to use ESLint's built-in [JSON formatter](../user-guide/formatters/) and pipe the output to a second program. For example: +If you find the custom formatter pattern doesn't provide enough options for the way you'd like to format ESLint results, the best option is to use ESLint's built-in [JSON formatter](../users/formatters/) and pipe the output to a second program. For example: ```bash eslint -f json src/ | your-program-that-reads-JSON --option diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index 0e92ccfe748..ee14bad4807 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -67,12 +67,12 @@ The source file for a rule exports an object with the following properties. * `docs` (object) is required for core rules of ESLint: * `description` (string) provides the short description of the rule in the [rules index](../rules/) - * `recommended` (boolean) is whether the `"extends": "eslint:recommended"` property in a [configuration file](../user-guide/configuring/configuration-files#extending-configuration-files) enables the rule + * `recommended` (boolean) is whether the `"extends": "eslint:recommended"` property in a [configuration file](../users/configuring/configuration-files#extending-configuration-files) enables the rule * `url` (string) specifies the URL at which the full documentation can be accessed (enabling code editors to provide a helpful link on highlighted rule violations) In a custom rule or plugin, you can omit `docs` or include any properties that you need in it. -* `fixable` (string) is either `"code"` or `"whitespace"` if the `--fix` option on the [command line](../user-guide/command-line-interface#--fix) automatically fixes problems reported by the rule +* `fixable` (string) is either `"code"` or `"whitespace"` if the `--fix` option on the [command line](../users/command-line-interface#--fix) automatically fixes problems reported by the rule **Important:** the `fixable` property is mandatory for fixable rules. If this property isn't specified, ESLint will throw an error whenever the rule attempts to produce a fix. Omit the `fixable` property if the rule is not fixable. @@ -80,7 +80,7 @@ The source file for a rule exports an object with the following properties. **Important:** the `hasSuggestions` property is mandatory for rules that provide suggestions. If this property isn't set to `true`, ESLint will throw an error whenever the rule attempts to produce a suggestion. Omit the `hasSuggestions` property if the rule does not provide suggestions. -* `schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../user-guide/configuring/rules#configuring-rules) +* `schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../users/configuring/rules#configuring-rules) * `deprecated` (boolean) indicates whether the rule has been deprecated. You may omit the `deprecated` property if the rule has not been deprecated. @@ -127,10 +127,10 @@ module.exports = { The `context` object contains additional functionality that is helpful for rules to do their jobs. As the name implies, the `context` object contains information that is relevant to the context of the rule. The `context` object has the following properties: -* `parserOptions` - the parser options configured for this run (more details [here](../user-guide/configuring/language-options#specifying-parser-options)). +* `parserOptions` - the parser options configured for this run (more details [here](../users/configuring/language-options#specifying-parser-options)). * `id` - the rule ID. -* `options` - an array of the [configured options](../user-guide/configuring/rules#configuring-rules) for this rule. This array does not include the rule severity. For more information, see [here](#contextoptions). -* `settings` - the [shared settings](../user-guide/configuring/configuration-files#adding-shared-settings) from configuration. +* `options` - an array of the [configured options](../users/configuring/rules#configuring-rules) for this rule. This array does not include the rule severity. For more information, see [here](#contextoptions). +* `settings` - the [shared settings](../users/configuring/configuration-files#adding-shared-settings) from configuration. * `parserPath` - the name of the `parser` from configuration. * `parserServices` - an object containing parser-provided services for rules. The default parser does not provide any services. However, if a rule is intended to be used with a custom parser, it could use `parserServices` to access anything provided by that parser. (For example, a TypeScript parser could provide the ability to get the computed type of a given node.) @@ -796,5 +796,5 @@ The thing that makes ESLint different from other linters is the ability to defin Runtime rules are written in the same format as all other rules. Create your rule as you would any other and then follow these steps: 1. Place all of your runtime rules in the same directory (e.g., `eslint_rules`). -2. Create a [configuration file](../user-guide/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `"warn"` or `"error"` in the configuration file. -3. Run the [command line interface](../user-guide/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. +2. Create a [configuration file](../users/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `"warn"` or `"error"` in the configuration file. +3. Run the [command line interface](../users/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. diff --git a/docs/src/extend/nodejs-api.md b/docs/src/extend/nodejs-api.md index 833a678d722..e106c6d6711 100644 --- a/docs/src/extend/nodejs-api.md +++ b/docs/src/extend/nodejs-api.md @@ -917,8 +917,8 @@ ruleTester.run("my-rule", myRule, { --- -[configuration object]: ../user-guide/configuring/ -[builtin-formatters]: ../user-guide/formatters/ +[configuration object]: ../users/configuring/ +[builtin-formatters]: ../users/formatters/ [third-party-formatters]: https://www.npmjs.com/search?q=eslintformatter [eslint-lintfiles]: #-eslintlintfilespatterns [eslint-linttext]: #-eslintlinttextcode-options diff --git a/docs/src/extend/plugins.md b/docs/src/extend/plugins.md index dc032922eb3..dd4740a4248 100644 --- a/docs/src/extend/plugins.md +++ b/docs/src/extend/plugins.md @@ -92,7 +92,7 @@ module.exports = { **The `preprocess` method** takes the file contents and filename as arguments, and returns an array of code blocks to lint. The code blocks will be linted separately but still be registered to the filename. -A code block has two properties `text` and `filename`; the `text` property is the content of the block and the `filename` property is the name of the block. Name of the block can be anything, but should include the file extension, that would tell the linter how to process the current block. The linter will check [`--ext` CLI option](../user-guide/command-line-interface#--ext) to see if the current block should be linted, and resolve `overrides` configs to check how to process the current block. +A code block has two properties `text` and `filename`; the `text` property is the content of the block and the `filename` property is the name of the block. Name of the block can be anything, but should include the file extension, that would tell the linter how to process the current block. The linter will check [`--ext` CLI option](../users/command-line-interface#--ext) to see if the current block should be linted, and resolve `overrides` configs to check how to process the current block. It's up to the plugin to decide if it needs to return just one part, or multiple pieces. For example in the case of processing `.html` files, you might want to return just one item in the array by combining all scripts, but for `.md` file where each JavaScript block might be independent, you can return multiple items. @@ -144,7 +144,7 @@ overrides: processor: a-plugin/markdown ``` -See [Specifying Processor](../user-guide/configuring/plugins#specify-a-processor) for details. +See [Specifying Processor](../users/configuring/plugins#specify-a-processor) for details. #### File Extension-named Processor @@ -205,7 +205,7 @@ If the example plugin above were called `eslint-plugin-myPlugin`, the `myConfig` ``` -**Note:** Please note that configuration will not enable any of the plugin's rules by default, and instead should be treated as a standalone config. This means that you must specify your plugin name in the `plugins` array as well as any rules you want to enable that are part of the plugin. Any plugin rules must be prefixed with the short or long plugin name. See [Configuring Plugins](../user-guide/configuring/plugins#configure-plugins) for more information. +**Note:** Please note that configuration will not enable any of the plugin's rules by default, and instead should be treated as a standalone config. This means that you must specify your plugin name in the `plugins` array as well as any rules you want to enable that are part of the plugin. Any plugin rules must be prefixed with the short or long plugin name. See [Configuring Plugins](../users/configuring/plugins#configure-plugins) for more information. ### Peer Dependency diff --git a/docs/src/extend/working-with-rules-deprecated.md b/docs/src/extend/working-with-rules-deprecated.md index b2fb8522ff4..817ae94f174 100644 --- a/docs/src/extend/working-with-rules-deprecated.md +++ b/docs/src/extend/working-with-rules-deprecated.md @@ -37,7 +37,7 @@ module.exports.schema = []; // no options ## Rule Basics -`schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../user-guide/configuring/rules#configuring-rules) +`schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../users/configuring/rules#configuring-rules) `create` (function) returns an object with methods that ESLint calls to "visit" nodes while traversing the abstract syntax tree (AST as defined by [ESTree](https://github.com/estree/estree)) of JavaScript code: @@ -77,7 +77,7 @@ module.exports = function(context) { The `context` object contains additional functionality that is helpful for rules to do their jobs. As the name implies, the `context` object contains information that is relevant to the context of the rule. The `context` object has the following properties: -* `parserOptions` - the parser options configured for this run (more details [here](../user-guide/configuring/language-options#specifying-parser-options)). +* `parserOptions` - the parser options configured for this run (more details [here](../users/configuring/language-options#specifying-parser-options)). * `id` - the rule ID. * `options` - an array of rule options. * `settings` - the `settings` from configuration. @@ -481,7 +481,7 @@ valid: [ ] ``` -The options available and the expected syntax for `parserOptions` is the same as those used in [configuration](../user-guide/configuring/language-options#specifying-parser-options). +The options available and the expected syntax for `parserOptions` is the same as those used in [configuration](../users/configuring/language-options#specifying-parser-options). ### Write Several Tests @@ -576,5 +576,5 @@ The thing that makes ESLint different from other linters is the ability to defin Runtime rules are written in the same format as all other rules. Create your rule as you would any other and then follow these steps: 1. Place all of your runtime rules in the same directory (i.e., `eslint_rules`). -2. Create a [configuration file](../user-guide/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `1` or `2` in the configuration file. -3. Run the [command line interface](../user-guide/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. +2. Create a [configuration file](../users/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `1` or `2` in the configuration file. +3. Run the [command line interface](../users/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. diff --git a/docs/src/maintain/governance.md b/docs/src/maintain/governance.md index 6b77d9f8952..0adc26efcb3 100644 --- a/docs/src/maintain/governance.md +++ b/docs/src/maintain/governance.md @@ -28,7 +28,7 @@ As Contributors gain experience and familiarity with the project, their profile ### Website Team Member -Website Team Members are community members who have shown that they are committed to the continued maintenance of [eslint.org](https://eslint.org/) through ongoing engagement with the community. Website Team Members are given push access to the `eslint.org` GitHub repository and must abide by the project's [Contribution Guidelines](../developer-guide/contributing/). +Website Team Members are community members who have shown that they are committed to the continued maintenance of [eslint.org](https://eslint.org/) through ongoing engagement with the community. Website Team Members are given push access to the `eslint.org` GitHub repository and must abide by the project's [Contribution Guidelines](../contribute/). Website Team Members: @@ -51,7 +51,7 @@ It is important to recognize that membership on the website team is a privilege, ### Committers -Committers are community members who have shown that they are committed to the continued development of the project through ongoing engagement with the community. Committers are given push access to the project's GitHub repos and must abide by the project's [Contribution Guidelines](../developer-guide/contributing/). +Committers are community members who have shown that they are committed to the continued development of the project through ongoing engagement with the community. Committers are given push access to the project's GitHub repos and must abide by the project's [Contribution Guidelines](../contribute/). Committers: diff --git a/docs/src/rules/id-denylist.md b/docs/src/rules/id-denylist.md index d841f37d2dd..6ee40a859c0 100644 --- a/docs/src/rules/id-denylist.md +++ b/docs/src/rules/id-denylist.md @@ -37,7 +37,7 @@ For example, to restrict the use of common generic identifiers: } ``` -**Note:** The first element of the array is for the rule severity (see [configuring rules](../user-guide/configuring/rules). The other elements in the array are the identifiers that you want to disallow. +**Note:** The first element of the array is for the rule severity (see [configuring rules](../users/configuring/rules). The other elements in the array are the identifiers that you want to disallow. Examples of **incorrect** code for this rule with sample `"data", "callback"` restricted identifiers: diff --git a/docs/src/rules/indent.md b/docs/src/rules/indent.md index d783bf179bd..7f81c0fd57b 100644 --- a/docs/src/rules/indent.md +++ b/docs/src/rules/indent.md @@ -81,7 +81,7 @@ if (a) { This rule has an object option: -* `"ignoredNodes"` can be used to disable indentation checking for any AST node. This accepts an array of [selectors](../developer-guide/selectors). If an AST node is matched by any of the selectors, the indentation of tokens which are direct children of that node will be ignored. This can be used as an escape hatch to relax the rule if you disagree with the indentation that it enforces for a particular syntactic pattern. +* `"ignoredNodes"` can be used to disable indentation checking for any AST node. This accepts an array of [selectors](../extend/selectors). If an AST node is matched by any of the selectors, the indentation of tokens which are direct children of that node will be ignored. This can be used as an escape hatch to relax the rule if you disagree with the indentation that it enforces for a particular syntactic pattern. * `"SwitchCase"` (default: 0) enforces indentation level for `case` clauses in `switch` statements * `"VariableDeclarator"` (default: 1) enforces indentation level for `var` declarators; can also take an object to define separate rules for `var`, `let` and `const` declarations. It can also be `"first"`, indicating all the declarators should be aligned with the first declarator. * `"outerIIFEBody"` (default: 1) enforces indentation level for file-level IIFEs. This can also be set to `"off"` to disable checking for file-level IIFEs. diff --git a/docs/src/rules/no-global-assign.md b/docs/src/rules/no-global-assign.md index 4829f835f1a..1cc0e61434f 100644 --- a/docs/src/rules/no-global-assign.md +++ b/docs/src/rules/no-global-assign.md @@ -23,8 +23,8 @@ This rule disallows modifications to read-only global variables. ESLint has the capability to configure global variables as read-only. -* [Specifying Environments](../user-guide/configuring#specifying-environments) -* [Specifying Globals](../user-guide/configuring#specifying-globals) +* [Specifying Environments](../users/configuring#specifying-environments) +* [Specifying Globals](../users/configuring#specifying-globals) Examples of **incorrect** code for this rule: diff --git a/docs/src/rules/no-implicit-globals.md b/docs/src/rules/no-implicit-globals.md index bf94c4c192d..8df364688c2 100644 --- a/docs/src/rules/no-implicit-globals.md +++ b/docs/src/rules/no-implicit-globals.md @@ -122,8 +122,8 @@ A read-only global variable can be a built-in ES global (e.g. `Array`), an envir (e.g. `window` in the browser environment), or a global variable defined as `readonly` in the configuration file or in a `/*global */` comment. -* [Specifying Environments](../user-guide/configuring#specifying-environments) -* [Specifying Globals](../user-guide/configuring#specifying-globals) +* [Specifying Environments](../users/configuring#specifying-environments) +* [Specifying Globals](../users/configuring#specifying-globals) Examples of **incorrect** code for this rule: diff --git a/docs/src/rules/no-native-reassign.md b/docs/src/rules/no-native-reassign.md index d21e60fa0d6..4124addb255 100644 --- a/docs/src/rules/no-native-reassign.md +++ b/docs/src/rules/no-native-reassign.md @@ -24,8 +24,8 @@ This rule disallows modifications to read-only global variables. ESLint has the capability to configure global variables as read-only. -* [Specifying Environments](../user-guide/configuring#specifying-environments) -* [Specifying Globals](../user-guide/configuring#specifying-globals) +* [Specifying Environments](../users/configuring#specifying-environments) +* [Specifying Globals](../users/configuring#specifying-globals) Examples of **incorrect** code for this rule: diff --git a/docs/src/rules/no-restricted-syntax.md b/docs/src/rules/no-restricted-syntax.md index 4416830d977..25d419c149d 100644 --- a/docs/src/rules/no-restricted-syntax.md +++ b/docs/src/rules/no-restricted-syntax.md @@ -13,7 +13,7 @@ JavaScript has a lot of language features, and not everyone likes all of them. A Rather than creating separate rules for every language feature you want to turn off, this rule allows you to configure the syntax elements you want to restrict use of. These elements are represented by their [ESTree](https://github.com/estree/estree) node types. For example, a function declaration is represented by `FunctionDeclaration` and the `with` statement is represented by `WithStatement`. You may find the full list of AST node names you can use [on GitHub](https://github.com/eslint/eslint-visitor-keys/blob/main/lib/visitor-keys.js) and use [AST Explorer](https://astexplorer.net/) with the espree parser to see what type of nodes your code consists of. -You can also specify [AST selectors](../developer-guide/selectors) to restrict, allowing much more precise control over syntax patterns. +You can also specify [AST selectors](../extend/selectors) to restrict, allowing much more precise control over syntax patterns. ## Rule Details diff --git a/docs/src/rules/no-undef.md b/docs/src/rules/no-undef.md index 89c2b05b68e..60ecc4e83a0 100644 --- a/docs/src/rules/no-undef.md +++ b/docs/src/rules/no-undef.md @@ -12,7 +12,7 @@ This rule can help you locate potential ReferenceErrors resulting from misspelli ## Rule Details -Any reference to an undeclared variable causes a warning, unless the variable is explicitly mentioned in a `/*global ...*/` comment, or specified in the [`globals` key in the configuration file](../user-guide/configuring/language-options#using-configuration-files-1). A common use case for these is if you intentionally use globals that are defined elsewhere (e.g. in a script sourced from HTML). +Any reference to an undeclared variable causes a warning, unless the variable is explicitly mentioned in a `/*global ...*/` comment, or specified in the [`globals` key in the configuration file](../users/configuring/language-options#using-configuration-files-1). A common use case for these is if you intentionally use globals that are defined elsewhere (e.g. in a script sourced from HTML). Examples of **incorrect** code for this rule: @@ -96,7 +96,7 @@ if(typeof a === "string"){} ## Environments -For convenience, ESLint provides shortcuts that pre-define global variables exposed by popular libraries and runtime environments. This rule supports these environments, as listed in [Specifying Environments](../user-guide/configuring/language-options#specifying-environments). A few examples are given below. +For convenience, ESLint provides shortcuts that pre-define global variables exposed by popular libraries and runtime environments. This rule supports these environments, as listed in [Specifying Environments](../users/configuring/language-options#specifying-environments). A few examples are given below. ### browser diff --git a/docs/src/rules/rest-spread-spacing.md b/docs/src/rules/rest-spread-spacing.md index d17c81189fc..d05fe15e46d 100644 --- a/docs/src/rules/rest-spread-spacing.md +++ b/docs/src/rules/rest-spread-spacing.md @@ -58,7 +58,7 @@ This rule aims to enforce consistent spacing between rest and spread operators a } ``` -Please read the user guide's section on [configuring parser options](../user-guide/configuring#specifying-parser-options) to learn more. +Please read the user guide's section on [configuring parser options](../users/configuring#specifying-parser-options) to learn more. ## Options diff --git a/docs/src/rules/space-after-keywords.md b/docs/src/rules/space-after-keywords.md index 087b6acb1af..41beb04fff5 100644 --- a/docs/src/rules/space-after-keywords.md +++ b/docs/src/rules/space-after-keywords.md @@ -7,7 +7,7 @@ Enforces consistent spacing after keywords. (removed) This rule was **removed** in ESLint v2.0 and replaced by the [keyword-spacing](keyword-spacing) rule. -(fixable) The `--fix` option on the [command line](../user-guide/command-line-interface#--fix) automatically fixed problems reported by this rule. +(fixable) The `--fix` option on the [command line](../users/command-line-interface#--fix) automatically fixed problems reported by this rule. Some style guides will require or disallow spaces following the certain keywords. diff --git a/docs/src/rules/space-before-keywords.md b/docs/src/rules/space-before-keywords.md index 27bd16f54b9..f926b64a604 100644 --- a/docs/src/rules/space-before-keywords.md +++ b/docs/src/rules/space-before-keywords.md @@ -13,7 +13,7 @@ Enforces consistent spacing before keywords. (removed) This rule was **removed** in ESLint v2.0 and **replaced** by the [keyword-spacing](keyword-spacing) rule. -(fixable) The `--fix` option on the [command line](../user-guide/command-line-interface#--fix) automatically fixed problems reported by this rule. +(fixable) The `--fix` option on the [command line](../users/command-line-interface#--fix) automatically fixed problems reported by this rule. Keywords are syntax elements of JavaScript, such as `function` and `if`. These identifiers have special meaning to the language and so often appear in a different color in code editors. As an important part of the language, style guides often refer to the spacing that should be used around keywords. For example, you might have a style guide that says keywords should be always be preceded by spaces, which would mean `if-else` statements must look like this: diff --git a/docs/src/rules/space-return-throw-case.md b/docs/src/rules/space-return-throw-case.md index bb5b3435b3b..5bc8c7302f8 100644 --- a/docs/src/rules/space-return-throw-case.md +++ b/docs/src/rules/space-return-throw-case.md @@ -7,7 +7,7 @@ Requires spaces after `return`, `throw`, and `case` keywords. (removed) This rule was **removed** in ESLint v2.0 and **replaced** by the [keyword-spacing](keyword-spacing) rule. -(fixable) The `--fix` option on the [command line](../user-guide/command-line-interface#--fix) automatically fixed problems reported by this rule. +(fixable) The `--fix` option on the [command line](../users/command-line-interface#--fix) automatically fixed problems reported by this rule. Require spaces following `return`, `throw`, and `case`. diff --git a/docs/src/rules/strict.md b/docs/src/rules/strict.md index 5a8b1899e6b..eb0f742c88f 100644 --- a/docs/src/rules/strict.md +++ b/docs/src/rules/strict.md @@ -47,7 +47,7 @@ In **ECMAScript** modules, which always have strict mode semantics, the directiv This rule requires or disallows strict mode directives. -This rule disallows strict mode directives, no matter which option is specified, if ESLint configuration specifies either of the following as [parser options](../user-guide/configuring/language-options#specifying-parser-options): +This rule disallows strict mode directives, no matter which option is specified, if ESLint configuration specifies either of the following as [parser options](../users/configuring/language-options#specifying-parser-options): * `"sourceType": "module"` that is, files are **ECMAScript** modules * `"impliedStrict": true` property in the `ecmaFeatures` object @@ -73,8 +73,8 @@ This rule has a string option: The `"safe"` option corresponds to the `"global"` option if ESLint considers a file to be a **Node.js** or **CommonJS** module because the configuration specifies either of the following: -* `node` or `commonjs` [environments](../user-guide/configuring/language-options#specifying-environments) -* `"globalReturn": true` property in the `ecmaFeatures` object of [parser options](../user-guide/configuring/language-options#specifying-parser-options) +* `node` or `commonjs` [environments](../users/configuring/language-options#specifying-environments) +* `"globalReturn": true` property in the `ecmaFeatures` object of [parser options](../users/configuring/language-options#specifying-parser-options) Otherwise the `"safe"` option corresponds to the `"function"` option. Note that if `"globalReturn": false` is explicitly specified in the configuration, the `"safe"` option will correspond to the `"function"` option regardless of the specified environment. @@ -340,4 +340,4 @@ function foo() { ## When Not To Use It -In a codebase that has both strict and non-strict code, either turn this rule off, or [selectively disable it](../user-guide/configuring/rules#disabling-rules) where necessary. For example, functions referencing `arguments.callee` are invalid in strict mode. A [full list of strict mode differences](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode#Differences_from_non-strict_to_strict) is available on MDN. +In a codebase that has both strict and non-strict code, either turn this rule off, or [selectively disable it](../users/configuring/rules#disabling-rules) where necessary. For example, functions referencing `arguments.callee` are invalid in strict mode. A [full list of strict mode differences](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode#Differences_from_non-strict_to_strict) is available on MDN. diff --git a/docs/src/use/configure/configuration-files.md b/docs/src/use/configure/configuration-files.md index 7c4110db593..307e138adcc 100644 --- a/docs/src/use/configure/configuration-files.md +++ b/docs/src/use/configure/configuration-files.md @@ -41,7 +41,7 @@ The second way to use configuration files is to save the file wherever you would eslint -c myconfig.json myfiletotest.js ``` -If you are using one configuration file and want ESLint to ignore any `.eslintrc.*` files, make sure to use [`--no-eslintrc`](../command-line-interface#--no-eslintrc) along with the [`--config`](../../user-guide/command-line-interface#-c---config) flag. +If you are using one configuration file and want ESLint to ignore any `.eslintrc.*` files, make sure to use [`--no-eslintrc`](../command-line-interface#--no-eslintrc) along with the [`--config`](../../users/command-line-interface#-c---config) flag. Here's an example JSON configuration file that uses the `typescript-eslint` parser to support TypeScript syntax: @@ -232,7 +232,7 @@ The `rules` property can do any of the following to extend (or override) the set ### Using a shareable configuration package -A [sharable configuration](../../developer-guide/shareable-configs) is an npm package that exports a configuration object. Make sure that you have installed the package in your project root directory, so that ESLint can require it. +A [sharable configuration](../../extend/shareable-configs) is an npm package that exports a configuration object. Make sure that you have installed the package in your project root directory, so that ESLint can require it. The `extends` property value can omit the `eslint-config-` prefix of the package name. @@ -279,7 +279,7 @@ module.exports = { ### Using a configuration from a plugin -A [plugin](../../developer-guide/working-with-plugins) is an npm package that can add various extensions to ESLint. A plugin can perform numerous functions, including but not limited to adding new rules and exporting [shareable configurations](../../developer-guide/working-with-plugins#configs-in-plugins). Make sure the package has been installed in a directory where ESLint can require it. +A [plugin](../../extend/working-with-plugins) is an npm package that can add various extensions to ESLint. A plugin can perform numerous functions, including but not limited to adding new rules and exporting [shareable configurations](../../extend/working-with-plugins#configs-in-plugins). Make sure the package has been installed in a directory where ESLint can require it. The `plugins` [property value](./plugins#configure-plugins) can omit the `eslint-plugin-` prefix of the package name. diff --git a/docs/src/use/configure/plugins.md b/docs/src/use/configure/plugins.md index 7f3c521a255..153d90294bb 100644 --- a/docs/src/use/configure/plugins.md +++ b/docs/src/use/configure/plugins.md @@ -167,7 +167,7 @@ ESLint checks the file path of named code blocks then ignores those if any `over By default, ESLint uses [Espree](https://github.com/eslint/espree) as its parser. You can optionally specify that a different parser should be used in your configuration file if the parser meets the following requirements: 1. It must be a Node module loadable from the config file where the parser is used. Usually, this means you should install the parser package separately using npm. -1. It must conform to the [parser interface](../../developer-guide/working-with-custom-parsers). +1. It must conform to the [parser interface](../../extend/working-with-custom-parsers). Note that even with these compatibilities, there are no guarantees that an external parser works correctly with ESLint. ESLint does not fix bugs related to incompatibilities with other parsers. diff --git a/docs/src/use/core-concepts.md b/docs/src/use/core-concepts.md index d373f0971e0..c8ca4fdf7c4 100644 --- a/docs/src/use/core-concepts.md +++ b/docs/src/use/core-concepts.md @@ -79,4 +79,4 @@ The ESLint Node.js API lets you use ESLint programmatically from Node.js code. T Unless you are extending ESLint in some way, you should use the CLI. -For more information, refer to [Command Line Interface](./command-line-interface) and [Node.js API](../developer-guide/nodejs-api). +For more information, refer to [Command Line Interface](./command-line-interface) and [Node.js API](../extend/nodejs-api). diff --git a/docs/src/use/getting-started.md b/docs/src/use/getting-started.md index e13ff206581..5c25b009267 100644 --- a/docs/src/use/getting-started.md +++ b/docs/src/use/getting-started.md @@ -148,5 +148,5 @@ Before you begin, you must already have a `package.json` file. If you don't, mak * Learn about [advanced configuration](configuring/) of ESLint. * Get familiar with the [command line options](command-line-interface). * Explore [ESLint integrations](integrations) into other tools like editors, build systems, and more. -* Can't find just the right rule? Make your own [custom rule](../developer-guide/working-with-rules). -* Make ESLint even better by [contributing](../developer-guide/contributing/). +* Can't find just the right rule? Make your own [custom rule](../extend/working-with-rules). +* Make ESLint even better by [contributing](../contribute/). diff --git a/docs/src/use/index.md b/docs/src/use/index.md index 0912632c7b0..4d9019c75ef 100644 --- a/docs/src/use/index.md +++ b/docs/src/use/index.md @@ -6,7 +6,7 @@ eleventyNavigation: order: 1 --- -This guide is intended for those who wish to use ESLint as an end-user. If you're looking for how to extend ESLint or work with the ESLint source code, please see the [Developer Guide](../developer-guide/). +This guide is intended for those who wish to use ESLint as an end-user. If you're looking for how to extend ESLint or work with the ESLint source code, please see the [Developer Guide](../extend/). ## [Getting Started](getting-started) diff --git a/docs/src/use/integrations.md b/docs/src/use/integrations.md index b01e613e5ad..7de6e11b641 100644 --- a/docs/src/use/integrations.md +++ b/docs/src/use/integrations.md @@ -10,7 +10,7 @@ eleventyNavigation: This page contains community projects that have integrated ESLint. The projects on this page are not maintained by the ESLint team. -If you would like to recommend an integration to be added to this page, [submit a pull request](../developer-guide/contributing/pull-requests). +If you would like to recommend an integration to be added to this page, [submit a pull request](../contribute/pull-requests). ## Editors diff --git a/docs/src/use/migrating-from-jscs.md b/docs/src/use/migrating-from-jscs.md index 938daf8e230..cf213b4596e 100644 --- a/docs/src/use/migrating-from-jscs.md +++ b/docs/src/use/migrating-from-jscs.md @@ -10,7 +10,7 @@ In April 2016, we [announced](https://eslint.org/blog/2016/04/welcoming-jscs-to- Before beginning the process of migrating to ESLint, it's helpful to understand some of the terminology that ESLint uses and how it relates to terminology that JSCS uses. * **Configuration File** - In JSCS, the configuration file is `.jscsrc`, `.jscsrc.json`, `.jscsrc.yaml`, or `.jscsrs.js`. In ESLint, the configuration file can be `.eslintrc.json`, `.eslintrc.yml`, `.eslintrc.yaml`, or `.eslintrc.js` (there is also a deprecated `.eslintrc` file format). -* **Presets** - In JSCS, there were numerous predefined configurations shipped directly within JSCS. ESLint ships with just one predefined configuration (`eslint:recommended`) that has no style rules enabled. However, ESLint does support [shareable configs](../developer-guide/shareable-configs). Shareable configs are configurations that are published on their own to npm and there are shareable configs available for almost all of the JSCS presets (see [the "Converting Presets" section](#converting-presets) below). Additionally, the `preset` option in a configuration file is the equivalent of the ESLint `extends` option. +* **Presets** - In JSCS, there were numerous predefined configurations shipped directly within JSCS. ESLint ships with just one predefined configuration (`eslint:recommended`) that has no style rules enabled. However, ESLint does support [shareable configs](../extend/shareable-configs). Shareable configs are configurations that are published on their own to npm and there are shareable configs available for almost all of the JSCS presets (see [the "Converting Presets" section](#converting-presets) below). Additionally, the `preset` option in a configuration file is the equivalent of the ESLint `extends` option. ## Convert Configuration Files Using Polyjuice diff --git a/docs/src/use/migrating-to-5.0.0.md b/docs/src/use/migrating-to-5.0.0.md index 13898eb3268..35b1b60cfef 100644 --- a/docs/src/use/migrating-to-5.0.0.md +++ b/docs/src/use/migrating-to-5.0.0.md @@ -113,7 +113,7 @@ ESLint v5 will report a fatal error when either of the following conditions is m * A file provided on the command line does not exist * A glob or folder provided on the command line does not match any lintable files -Note that this also affects the [`CLIEngine.executeOnFiles()`](../developer-guide/nodejs-api#cliengineexecuteonfiles) API. +Note that this also affects the [`CLIEngine.executeOnFiles()`](../extend/nodejs-api#cliengineexecuteonfiles) API. **To address:** If you encounter an error about missing files after upgrading to ESLint v5, you may want to double-check that there are no typos in the paths you provide to ESLint. To make the error go away, you can simply remove the given files or globs from the list of arguments provided to ESLint on the command line. @@ -221,7 +221,7 @@ Previously, the `context.getScope()` method changed its behavior based on the `p Additionally, `context.getScope()` incorrectly returned the parent scope of the proper scope on `CatchClause` (in ES5), `ForStatement` (in ≧ES2015), `ForInStatement` (in ≧ES2015), `ForOfStatement`, and `WithStatement` nodes. -In ESLint v5, the `context.getScope()` method has the same behavior regardless of `parserOptions.ecmaVersion` and returns the proper scope. See [the documentation](../developer-guide/working-with-rules#contextgetscope) for more details on which scopes are returned. +In ESLint v5, the `context.getScope()` method has the same behavior regardless of `parserOptions.ecmaVersion` and returns the proper scope. See [the documentation](../extend/working-with-rules#contextgetscope) for more details on which scopes are returned. **To address:** If you have written a custom rule that uses the `context.getScope()` method in node handlers, you may need to update it to account for the modified scope information. @@ -268,6 +268,6 @@ In ESLint v5, an unsuccessful linting run due to a fatal error will result in an ## The `eslint.linter` property is now non-enumerable -When using ESLint's Node.js API, the [`linter`](../developer-guide/nodejs-api#linter-1) property is now non-enumerable. Note that the `linter` property was deprecated in ESLint v4 in favor of the [`Linter`](../developer-guide/nodejs-api#linter) property. +When using ESLint's Node.js API, the [`linter`](../extend/nodejs-api#linter-1) property is now non-enumerable. Note that the `linter` property was deprecated in ESLint v4 in favor of the [`Linter`](../extend/nodejs-api#linter) property. **To address:** If you rely on enumerating all the properties of the `eslint` object, use something like `Object.getOwnPropertyNames` to ensure that non-enumerable keys are captured. diff --git a/docs/src/use/migrating-to-6.0.0.md b/docs/src/use/migrating-to-6.0.0.md index 36f67f16a07..a8d774a7a9c 100644 --- a/docs/src/use/migrating-to-6.0.0.md +++ b/docs/src/use/migrating-to-6.0.0.md @@ -51,7 +51,7 @@ As of April 2019, Node.js 6 will be at EOL and will no longer be receiving secur ## `eslint:recommended` has been updated -The following rules have been added to the [`eslint:recommended`](../user-guide/configuring#using-eslintrecommended) config: +The following rules have been added to the [`eslint:recommended`](../users/configuring#using-eslintrecommended) config: * [`no-async-promise-executor`](../rules/no-async-promise-executor) disallows using an `async` function as the argument to the `Promise` constructor, which is usually a bug. * [`no-misleading-character-class`](../rules/no-misleading-character-class) reports character classes in regular expressions that might not behave as expected. @@ -195,7 +195,7 @@ The default options for the [`no-confusing-arrow`](../rules/no-confusing-arrow) Due to a bug, the glob patterns in a `files` list in an `overrides` section of a config file would never match dotfiles, making it impossible to have overrides apply to files starting with a dot. This bug has been fixed in ESLint v6. -**To address:** If you don't want dotfiles to be matched by an override, consider adding something like `excludedFiles: [".*"]` to that `overrides` section. See the [documentation](../user-guide/configuring#configuration-based-on-glob-patterns) for more details. +**To address:** If you don't want dotfiles to be matched by an override, consider adding something like `excludedFiles: [".*"]` to that `overrides` section. See the [documentation](../users/configuring#configuration-based-on-glob-patterns) for more details. **Related issue(s):** [eslint/eslint#11201](https://github.com/eslint/eslint/issues/11201) @@ -328,6 +328,6 @@ Previously, when linting code with a parser that had not been previously defined In ESLint v6, `Linter` will no longer perform any filesystem operations, including loading parsers. -**To address:** If you're using `Linter` with a custom parser, use [`Linter#defineParser`](../developer-guide/nodejs-api#linterdefineparser) to explicitly define the parser before linting any code. +**To address:** If you're using `Linter` with a custom parser, use [`Linter#defineParser`](../extend/nodejs-api#linterdefineparser) to explicitly define the parser before linting any code. **Related issue(s):** [eslint/rfcs#7](https://github.com/eslint/rfcs/pull/7) diff --git a/docs/src/use/migrating-to-7.0.0.md b/docs/src/use/migrating-to-7.0.0.md index ecb959bb587..bc7a3e80a66 100644 --- a/docs/src/use/migrating-to-7.0.0.md +++ b/docs/src/use/migrating-to-7.0.0.md @@ -147,7 +147,7 @@ To allow for the colocation of comments that provide context with the directive, The ten Node.js/CommonJS rules in core have been deprecated and moved to the [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) plugin. -**To address:** As per [our deprecation policy](../user-guide/rule-deprecation), the deprecated rules will remain in core for the foreseeable future and are still available for use. However, we will no longer be updating or fixing any bugs in those rules. To use a supported version of the rules, we recommend using the corresponding rules in the plugin instead. +**To address:** As per [our deprecation policy](../users/rule-deprecation), the deprecated rules will remain in core for the foreseeable future and are still available for use. However, we will no longer be updating or fixing any bugs in those rules. To use a supported version of the rules, we recommend using the corresponding rules in the plugin instead. | Deprecated Rules | Replacement | | :--------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------ | @@ -209,7 +209,7 @@ The `RuleTester` now validates the following: ## The `CLIEngine` class has been deprecated -The [`CLIEngine` class](../developer-guide/nodejs-api#cliengine) has been deprecated and replaced by the new [`ESLint` class](../developer-guide/nodejs-api#eslint-class). +The [`CLIEngine` class](../extend/nodejs-api#cliengine) has been deprecated and replaced by the new [`ESLint` class](../extend/nodejs-api#eslint-class). The `CLIEngine` class provides a synchronous API that is blocking the implementation of features such as parallel linting, supporting ES modules in shareable configs/parsers/plugins/formatters, and adding the ability to visually display the progress of linting runs. The new `ESLint` class provides an asynchronous API that ESLint core will now using going forward. `CLIEngine` will remain in core for the foreseeable future but may be removed in a future major version. diff --git a/docs/src/use/migrating-to-8.0.0.md b/docs/src/use/migrating-to-8.0.0.md index f28f15ccbd1..cd26c232e83 100644 --- a/docs/src/use/migrating-to-8.0.0.md +++ b/docs/src/use/migrating-to-8.0.0.md @@ -120,7 +120,7 @@ Four new rules have been enabled in the `eslint:recommended` preset. ## Rules require `meta.hasSuggestions` to provide suggestions -In ESLint v7.0.0, rules that [provided suggestions](../developer-guide/working-with-rules#providing-suggestions) did not need to let ESLint know. In v8.0.0, rules providing suggestions need to set their `meta.hasSuggestions` to `true`. This informs ESLint that the rule intends to provide suggestions. Without this property, any attempt to provide a suggestion will result in an error. +In ESLint v7.0.0, rules that [provided suggestions](../extend/working-with-rules#providing-suggestions) did not need to let ESLint know. In v8.0.0, rules providing suggestions need to set their `meta.hasSuggestions` to `true`. This informs ESLint that the rule intends to provide suggestions. Without this property, any attempt to provide a suggestion will result in an error. **To address:** If your rule provides suggestions, add `meta.hasSuggestions` to the object, such as: @@ -168,7 +168,7 @@ The [eslint-plugin/require-meta-fixable](https://github.com/not-an-aardvark/esli The [eslint-plugin/prefer-object-rule](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/prefer-object-rule.md) rule can automatically fix and enforce that your rules are written with the object format instead of the deprecated function format. -See the [rule documentation](../developer-guide/working-with-rules) for more information on writing rules. +See the [rule documentation](../extend/working-with-rules) for more information on writing rules. **Related issue(s):** [#13349](https://github.com/eslint/eslint/issues/13349) @@ -178,7 +178,7 @@ Back in ESLint v4.0.0, we deprecated `SourceCode#getComments()`, but we neglecte The `SourceCode#getComments()` method will be removed in v9.0.0. -**To address:** If your rule uses `SourceCode#getComments()`, please use [`SourceCode#getCommentsBefore()`, `SourceCode#getCommentsAfter()`, or `SourceCode#getCommentsInside()`](../developer-guide/working-with-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside). +**To address:** If your rule uses `SourceCode#getComments()`, please use [`SourceCode#getCommentsBefore()`, `SourceCode#getCommentsAfter()`, or `SourceCode#getCommentsInside()`](../extend/working-with-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside). **Related issue(s):** [#14744](https://github.com/eslint/eslint/issues/14744) @@ -233,7 +233,7 @@ In ESLint v8.0.0 (via Acorn v8.0.0), the key and value are now separate objects ## The `CLIEngine` class has been removed -The `CLIEngine` class has been removed and replaced by the [`ESLint` class](../developer-guide/nodejs-api#eslint-class). +The `CLIEngine` class has been removed and replaced by the [`ESLint` class](../extend/nodejs-api#eslint-class). **To address:** Update your code to use the new `ESLint` class if you are currently using `CLIEngine`. The following table maps the existing `CLIEngine` methods to their `ESLint` counterparts: From 725927f3bfcbb2ab237b5310f7852795a9807bfd Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 14 Dec 2022 20:17:22 -0500 Subject: [PATCH 03/41] Second pass --- .../_includes/components/rule-categories.macro.html | 2 +- docs/src/contribute/index.md | 10 +++++----- .../contribute/{new-rules.md => propose-new-rule.md} | 2 +- .../{rule-changes.md => propose-rule-change.md} | 2 +- docs/src/contribute/pull-requests.md | 4 ++-- .../contribute/{reporting-bugs.md => report-bugs.md} | 0 docs/src/contribute/{changes.md => request-change.md} | 0 .../{working-on-issues.md => work-on-issue.md} | 0 docs/src/extend/custom-rules.md | 2 +- docs/src/extend/nodejs-api.md | 6 +++--- docs/src/extend/working-with-rules-deprecated.md | 2 +- docs/src/maintain/-issues | 0 docs/src/maintain/governance.md | 4 ++-- docs/src/maintain/index.md | 6 +++--- docs/src/maintain/{issues.md => manage-issues.md} | 0 .../{pullrequests.md => manage-pull-requests.md} | 0 docs/src/maintain/{releases.md => manage-releases.md} | 0 docs/src/use/command-line-interface.md | 2 +- docs/src/use/configure/configuration-files.md | 2 +- .../use/configure/{ignoring-code.md => ignore-code.md} | 2 +- docs/src/use/configure/index.md | 10 +++++----- docs/src/use/configure/plugins.md | 2 +- docs/src/use/getting-started.md | 2 +- docs/src/use/migrating-to-5.0.0.md | 2 +- docs/src/use/migrating-to-8.0.0.md | 6 +++--- 25 files changed, 34 insertions(+), 34 deletions(-) rename docs/src/contribute/{new-rules.md => propose-new-rule.md} (96%) rename docs/src/contribute/{rule-changes.md => propose-rule-change.md} (94%) rename docs/src/contribute/{reporting-bugs.md => report-bugs.md} (100%) rename docs/src/contribute/{changes.md => request-change.md} (100%) rename docs/src/contribute/{working-on-issues.md => work-on-issue.md} (100%) create mode 100644 docs/src/maintain/-issues rename docs/src/maintain/{issues.md => manage-issues.md} (100%) rename docs/src/maintain/{pullrequests.md => manage-pull-requests.md} (100%) rename docs/src/maintain/{releases.md => manage-releases.md} (100%) rename docs/src/use/configure/{ignoring-code.md => ignore-code.md} (98%) diff --git a/docs/src/_includes/components/rule-categories.macro.html b/docs/src/_includes/components/rule-categories.macro.html index 47952f8cf3b..1ba854bed16 100644 --- a/docs/src/_includes/components/rule-categories.macro.html +++ b/docs/src/_includes/components/rule-categories.macro.html @@ -21,7 +21,7 @@
💡 hasSuggestions

- Some problems reported by this rule are manually fixable by editor suggestions + Some problems reported by this rule are manually fixable by editor suggestions

{%- endif -%} diff --git a/docs/src/contribute/index.md b/docs/src/contribute/index.md index 2af9df41d0e..a6a3ec96d81 100644 --- a/docs/src/contribute/index.md +++ b/docs/src/contribute/index.md @@ -16,19 +16,19 @@ This guide is intended for anyone who wants to contribute to an ESLint project. ESLint welcomes contributions from everyone and adheres to the [OpenJS Foundation Code of Conduct](https://eslint.org/conduct). We kindly request that you read over our code of conduct before contributing. -## [Bug Reporting](reporting-bugs) +## [Bug Reporting](report-bug) Think you found a problem? We'd love to hear about it. This section explains how to submit a bug, the type of information we need to properly verify it, and the overall process. -## Proposing a [New Rule](new-rules) +## Proposing a [New Rule](propose-new-rule) We get a lot of proposals for new rules in ESLint. This section explains how we determine which rules are accepted and what information you should provide to help us evaluate your proposal. -## Proposing a [Rule Change](rule-changes) +## Proposing a [Rule Change](propose-rule-change) Want to make a change to an existing rule? This section explains the process and how we evaluate such proposals. -## Requesting a [Change](changes) +## Requesting a [Change](request-change) If you'd like to request a change other than a bug fix or new rule, this section explains that process. @@ -36,7 +36,7 @@ If you'd like to request a change other than a bug fix or new rule, this section To report a security vulnerability in ESLint, please use our [HackerOne program](https://hackerone.com/eslint). -## [Working on Issues](working-on-issues) +## [Working on Issues](work-on-issue) Have some extra time and want to contribute? This section talks about the process of working on issues. diff --git a/docs/src/contribute/new-rules.md b/docs/src/contribute/propose-new-rule.md similarity index 96% rename from docs/src/contribute/new-rules.md rename to docs/src/contribute/propose-new-rule.md index 28514e85c75..b758fbf1d9f 100644 --- a/docs/src/contribute/new-rules.md +++ b/docs/src/contribute/propose-new-rule.md @@ -42,4 +42,4 @@ The ESLint team doesn't implement new rules that are suggested by users because ## Alternative: Creating Your Own Rules -Remember that ESLint is completely pluggable, which means you can create your own rules and distribute them using plugins. We did this on purpose because we don't want to be the gatekeepers for all possible rules. Even if we don't accept a rule into the core, that doesn't mean you can't have the exact rule that you want. See the [working with rules](../working-with-rules) and [working with plugins](../working-with-plugins) documentation for more information. +Remember that ESLint is completely pluggable, which means you can create your own rules and distribute them using plugins. We did this on purpose because we don't want to be the gatekeepers for all possible rules. Even if we don't accept a rule into the core, that doesn't mean you can't have the exact rule that you want. See the [working with rules](../custom-rules) and [working with plugins](../plugins) documentation for more information. diff --git a/docs/src/contribute/rule-changes.md b/docs/src/contribute/propose-rule-change.md similarity index 94% rename from docs/src/contribute/rule-changes.md rename to docs/src/contribute/propose-rule-change.md index 14de4495df3..ba2738eed8b 100644 --- a/docs/src/contribute/rule-changes.md +++ b/docs/src/contribute/propose-rule-change.md @@ -15,7 +15,7 @@ We need all of this information in order to determine whether or not the change In order for a rule change to be accepted into ESLint, it must: -1. Adhere to the [Core Rule Guidelines](new-rules#core-rule-guidelines) +1. Adhere to the [Core Rule Guidelines](propose-new-rule#core-rule-guidelines) 1. Have an ESLint team member champion the change 1. Be important enough that rule is deemed incomplete without this change diff --git a/docs/src/contribute/pull-requests.md b/docs/src/contribute/pull-requests.md index 0690b794e43..b8313e1ece5 100644 --- a/docs/src/contribute/pull-requests.md +++ b/docs/src/contribute/pull-requests.md @@ -10,7 +10,7 @@ If you want to contribute to an ESLint repo, please use a GitHub pull request. T If you'd like to work on a pull request and you've never submitted code before, follow these steps: 1. Set up a [development environment](../development-environment). -1. If you want to implement a breaking change or a change to the core, ensure there's an issue that describes what you're doing and the issue has been accepted. You can create a new issue or just indicate you're [working on an existing issue](working-on-issues). Bug fixes, documentation changes, and other pull requests do not require an issue. +1. If you want to implement a breaking change or a change to the core, ensure there's an issue that describes what you're doing and the issue has been accepted. You can create a new issue or just indicate you're [working on an existing issue](work-on-issue). Bug fixes, documentation changes, and other pull requests do not require an issue. After that, you're ready to start working on code. @@ -75,7 +75,7 @@ The `tag` is one of the following: * `ci` - changes to our CI configuration files and scripts. * `perf` - a code change that improves performance. -Use the [labels of the issue you are working on](working-on-issues#issue-labels) to determine the best tag. +Use the [labels of the issue you are working on](work-on-issue#issue-labels) to determine the best tag. The message summary should be a one-sentence description of the change, and it must be 72 characters in length or shorter. If the pull request addresses an issue, then the issue number should be mentioned in the body of the commit message in the format `Fixes #1234`. If the commit doesn't completely fix the issue, then use `Refs #1234` instead of `Fixes #1234`. diff --git a/docs/src/contribute/reporting-bugs.md b/docs/src/contribute/report-bugs.md similarity index 100% rename from docs/src/contribute/reporting-bugs.md rename to docs/src/contribute/report-bugs.md diff --git a/docs/src/contribute/changes.md b/docs/src/contribute/request-change.md similarity index 100% rename from docs/src/contribute/changes.md rename to docs/src/contribute/request-change.md diff --git a/docs/src/contribute/working-on-issues.md b/docs/src/contribute/work-on-issue.md similarity index 100% rename from docs/src/contribute/working-on-issues.md rename to docs/src/contribute/work-on-issue.md diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index ee14bad4807..ed3e906ef1b 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -8,7 +8,7 @@ eleventyNavigation: --- -**Note:** This page covers the most recent rule format for ESLint >= 3.0.0. There is also a [deprecated rule format](./working-with-rules-deprecated). +**Note:** This page covers the most recent rule format for ESLint >= 3.0.0. There is also a [deprecated rule format](./custom-rules-deprecated). Each rule in ESLint has three files named with its identifier (for example, `no-extra-semi`). diff --git a/docs/src/extend/nodejs-api.md b/docs/src/extend/nodejs-api.md index e106c6d6711..0ae91d20284 100644 --- a/docs/src/extend/nodejs-api.md +++ b/docs/src/extend/nodejs-api.md @@ -467,7 +467,7 @@ The `Linter` object does the actual evaluation of the JavaScript code. It doesn' The `Linter` is a constructor, and you can create a new instance by passing in the options you want to use. The available options are: -* `cwd` - Path to a directory that should be considered as the current working directory. It is accessible to rules by calling `context.getCwd()` (see [The Context Object](./working-with-rules#the-context-object)). If `cwd` is `undefined`, it will be normalized to `process.cwd()` if the global `process` object is defined (for example, in the Node.js runtime) , or `undefined` otherwise. +* `cwd` - Path to a directory that should be considered as the current working directory. It is accessible to rules by calling `context.getCwd()` (see [The Context Object](./custom-rules#the-context-object)). If `cwd` is `undefined`, it will be normalized to `process.cwd()` if the global `process` object is defined (for example, in the Node.js runtime) , or `undefined` otherwise. For example: @@ -554,7 +554,7 @@ The information available for each linting message is: * `endColumn` - the end column of the range on which the error occurred (this property is omitted if it's not range). * `endLine` - the end line of the range on which the error occurred (this property is omitted if it's not range). * `fix` - an object describing the fix for the problem (this property is omitted if no fix is available). -* `suggestions` - an array of objects describing possible lint fixes for editors to programmatically enable (see details in the [Working with Rules docs](./working-with-rules#providing-suggestions)). +* `suggestions` - an array of objects describing possible lint fixes for editors to programmatically enable (see details in the [Working with Rules docs](./custom-rules#providing-suggestions)). You can get the suppressed messages from the previous run by `getSuppressedMessages()` method. If there is not a previous run, `getSuppressedMessage()` will return an empty list. @@ -766,7 +766,7 @@ const ruleTester = new RuleTester({ parserOptions: { ecmaVersion: 2015 } }); The `RuleTester#run()` method is used to run the tests. It should be passed the following arguments: * The name of the rule (string) -* The rule object itself (see ["working with rules"](./working-with-rules)) +* The rule object itself (see ["working with rules"](./custom-rules)) * An object containing `valid` and `invalid` properties, each of which is an array containing test cases. A test case is an object with the following properties: diff --git a/docs/src/extend/working-with-rules-deprecated.md b/docs/src/extend/working-with-rules-deprecated.md index 817ae94f174..d924600678f 100644 --- a/docs/src/extend/working-with-rules-deprecated.md +++ b/docs/src/extend/working-with-rules-deprecated.md @@ -3,7 +3,7 @@ title: Working with Rules (Deprecated) --- -**Note:** This page covers the deprecated rule format for ESLint <= 2.13.1. [This is the most recent rule format](./working-with-rules). +**Note:** This page covers the deprecated rule format for ESLint <= 2.13.1. [This is the most recent rule format](./custom-rules). Each rule in ESLint has two files named with its identifier (for example, `no-extra-semi`). diff --git a/docs/src/maintain/-issues b/docs/src/maintain/-issues new file mode 100644 index 00000000000..e69de29bb2d diff --git a/docs/src/maintain/governance.md b/docs/src/maintain/governance.md index 0adc26efcb3..743d2afab58 100644 --- a/docs/src/maintain/governance.md +++ b/docs/src/maintain/governance.md @@ -37,7 +37,7 @@ Website Team Members are community members who have shown that they are committe * Must submit pull requests for all changes. * Have their work reviewed by Reviewers and TSC members before acceptance into the repository. * May label and close website-related issues (see [Managing Issues](issues)) -* May merge some pull requests (see [Managing Pull Requests](pullrequests)) +* May merge some pull requests (see [Managing Pull Requests](manage-pull-requests)) To become a Website Team Member: @@ -60,7 +60,7 @@ Committers: * Must submit pull requests for all changes. * Have their work reviewed by TSC members before acceptance into the repository. * May label and close issues (see [Managing Issues](issues)) -* May merge some pull requests (see [Managing Pull Requests](pullrequests)) +* May merge some pull requests (see [Managing Pull Requests](manage-pull-requests)) To become a Committer: diff --git a/docs/src/maintain/index.md b/docs/src/maintain/index.md index 6e96eccf6c9..1ce00777a24 100644 --- a/docs/src/maintain/index.md +++ b/docs/src/maintain/index.md @@ -9,15 +9,15 @@ eleventyNavigation: This guide is intended for those who work as part of the ESLint project team. -## [Managing Issues](issues) +## [Managing Issues](manage-issues) Describes how to deal with issues when they're opened, when interacting with users, and how to close them effectively. -## [Reviewing Pull Requests](pullrequests) +## [Reviewing Pull Requests](manage-pull-requests) Describes how to review incoming pull requests. -## [Managing Releases](releases) +## [Managing Releases](manage-releases) Describes how to do an ESLint project release. diff --git a/docs/src/maintain/issues.md b/docs/src/maintain/manage-issues.md similarity index 100% rename from docs/src/maintain/issues.md rename to docs/src/maintain/manage-issues.md diff --git a/docs/src/maintain/pullrequests.md b/docs/src/maintain/manage-pull-requests.md similarity index 100% rename from docs/src/maintain/pullrequests.md rename to docs/src/maintain/manage-pull-requests.md diff --git a/docs/src/maintain/releases.md b/docs/src/maintain/manage-releases.md similarity index 100% rename from docs/src/maintain/releases.md rename to docs/src/maintain/manage-releases.md diff --git a/docs/src/use/command-line-interface.md b/docs/src/use/command-line-interface.md index fa0ae714c6c..4048ba5c994 100644 --- a/docs/src/use/command-line-interface.md +++ b/docs/src/use/command-line-interface.md @@ -404,7 +404,7 @@ npx eslint --no-ignore file.js This option allows you to specify patterns of files to ignore (in addition to those in `.eslintignore`). -* **Argument Type**: String. The supported syntax is the same as for [`.eslintignore` files](configuring/ignoring-code#the-eslintignore-file), which use the same patterns as the [`.gitignore` specification](https://git-scm.com/docs/gitignore). You should quote your patterns in order to avoid shell interpretation of glob patterns. +* **Argument Type**: String. The supported syntax is the same as for [`.eslintignore` files](configuring/ignore#the-eslintignore-file), which use the same patterns as the [`.gitignore` specification](https://git-scm.com/docs/gitignore). You should quote your patterns in order to avoid shell interpretation of glob patterns. * **Multiple Arguments**: Yes ##### `--ignore-pattern` example diff --git a/docs/src/use/configure/configuration-files.md b/docs/src/use/configure/configuration-files.md index 307e138adcc..13866ac6611 100644 --- a/docs/src/use/configure/configuration-files.md +++ b/docs/src/use/configure/configuration-files.md @@ -279,7 +279,7 @@ module.exports = { ### Using a configuration from a plugin -A [plugin](../../extend/working-with-plugins) is an npm package that can add various extensions to ESLint. A plugin can perform numerous functions, including but not limited to adding new rules and exporting [shareable configurations](../../extend/working-with-plugins#configs-in-plugins). Make sure the package has been installed in a directory where ESLint can require it. +A [plugin](../../extend/plugins) is an npm package that can add various extensions to ESLint. A plugin can perform numerous functions, including but not limited to adding new rules and exporting [shareable configurations](../../extend/plugins#configs-in-plugins). Make sure the package has been installed in a directory where ESLint can require it. The `plugins` [property value](./plugins#configure-plugins) can omit the `eslint-plugin-` prefix of the package name. diff --git a/docs/src/use/configure/ignoring-code.md b/docs/src/use/configure/ignore-code.md similarity index 98% rename from docs/src/use/configure/ignoring-code.md rename to docs/src/use/configure/ignore-code.md index 739b84a8a13..f48003cd258 100644 --- a/docs/src/use/configure/ignoring-code.md +++ b/docs/src/use/configure/ignore-code.md @@ -16,7 +16,7 @@ You can ignore files in the following ways: ## `ignorePatterns` in Config Files -You can tell ESLint to ignore specific files and directories using `ignorePatterns` in your config files. `ignorePatterns` patterns follow the same rules as `.eslintignore`. Please see the [`.eslintignore` file documentation](./ignoring-code#the-eslintignore-file) to learn more. +You can tell ESLint to ignore specific files and directories using `ignorePatterns` in your config files. `ignorePatterns` patterns follow the same rules as `.eslintignore`. Please see the [`.eslintignore` file documentation](./ignore#the-eslintignore-file) to learn more. ```json { diff --git a/docs/src/use/configure/index.md b/docs/src/use/configure/index.md index c71ccbf18b1..796981bbc4f 100644 --- a/docs/src/use/configure/index.md +++ b/docs/src/use/configure/index.md @@ -53,8 +53,8 @@ All of these options give you fine-grained control over how ESLint treats your c [**Ignoring Code**](ignoring-code) -* [`ignorePatterns` in Config Files](./ignoring-code#ignorepatterns-in-config-files) -* [The `.eslintignore` File](./ignoring-code#the-eslintignore-file) -* [Using an Alternate File](./ignoring-code#using-an-alternate-file) -* [Using eslintIgnore in package.json](./ignoring-code#using-eslintignore-in-packagejson) -* [Ignored File Warnings](./ignoring-code#ignored-file-warnings) +* [`ignorePatterns` in Config Files](./ignore#ignorepatterns-in-config-files) +* [The `.eslintignore` File](./ignore#the-eslintignore-file) +* [Using an Alternate File](./ignore#using-an-alternate-file) +* [Using eslintIgnore in package.json](./ignore#using-eslintignore-in-packagejson) +* [Ignored File Warnings](./ignore#ignored-file-warnings) diff --git a/docs/src/use/configure/plugins.md b/docs/src/use/configure/plugins.md index 153d90294bb..5303625bdbd 100644 --- a/docs/src/use/configure/plugins.md +++ b/docs/src/use/configure/plugins.md @@ -167,7 +167,7 @@ ESLint checks the file path of named code blocks then ignores those if any `over By default, ESLint uses [Espree](https://github.com/eslint/espree) as its parser. You can optionally specify that a different parser should be used in your configuration file if the parser meets the following requirements: 1. It must be a Node module loadable from the config file where the parser is used. Usually, this means you should install the parser package separately using npm. -1. It must conform to the [parser interface](../../extend/working-with-custom-parsers). +1. It must conform to the [parser interface](../../extend/custom-parsers). Note that even with these compatibilities, there are no guarantees that an external parser works correctly with ESLint. ESLint does not fix bugs related to incompatibilities with other parsers. diff --git a/docs/src/use/getting-started.md b/docs/src/use/getting-started.md index 5c25b009267..1f63b8c1a9c 100644 --- a/docs/src/use/getting-started.md +++ b/docs/src/use/getting-started.md @@ -148,5 +148,5 @@ Before you begin, you must already have a `package.json` file. If you don't, mak * Learn about [advanced configuration](configuring/) of ESLint. * Get familiar with the [command line options](command-line-interface). * Explore [ESLint integrations](integrations) into other tools like editors, build systems, and more. -* Can't find just the right rule? Make your own [custom rule](../extend/working-with-rules). +* Can't find just the right rule? Make your own [custom rule](../extend/custom-rules). * Make ESLint even better by [contributing](../contribute/). diff --git a/docs/src/use/migrating-to-5.0.0.md b/docs/src/use/migrating-to-5.0.0.md index 35b1b60cfef..3656e3c41c9 100644 --- a/docs/src/use/migrating-to-5.0.0.md +++ b/docs/src/use/migrating-to-5.0.0.md @@ -221,7 +221,7 @@ Previously, the `context.getScope()` method changed its behavior based on the `p Additionally, `context.getScope()` incorrectly returned the parent scope of the proper scope on `CatchClause` (in ES5), `ForStatement` (in ≧ES2015), `ForInStatement` (in ≧ES2015), `ForOfStatement`, and `WithStatement` nodes. -In ESLint v5, the `context.getScope()` method has the same behavior regardless of `parserOptions.ecmaVersion` and returns the proper scope. See [the documentation](../extend/working-with-rules#contextgetscope) for more details on which scopes are returned. +In ESLint v5, the `context.getScope()` method has the same behavior regardless of `parserOptions.ecmaVersion` and returns the proper scope. See [the documentation](../extend/custom-rules#contextgetscope) for more details on which scopes are returned. **To address:** If you have written a custom rule that uses the `context.getScope()` method in node handlers, you may need to update it to account for the modified scope information. diff --git a/docs/src/use/migrating-to-8.0.0.md b/docs/src/use/migrating-to-8.0.0.md index cd26c232e83..b43f7b84ac0 100644 --- a/docs/src/use/migrating-to-8.0.0.md +++ b/docs/src/use/migrating-to-8.0.0.md @@ -120,7 +120,7 @@ Four new rules have been enabled in the `eslint:recommended` preset. ## Rules require `meta.hasSuggestions` to provide suggestions -In ESLint v7.0.0, rules that [provided suggestions](../extend/working-with-rules#providing-suggestions) did not need to let ESLint know. In v8.0.0, rules providing suggestions need to set their `meta.hasSuggestions` to `true`. This informs ESLint that the rule intends to provide suggestions. Without this property, any attempt to provide a suggestion will result in an error. +In ESLint v7.0.0, rules that [provided suggestions](../extend/custom-rules#providing-suggestions) did not need to let ESLint know. In v8.0.0, rules providing suggestions need to set their `meta.hasSuggestions` to `true`. This informs ESLint that the rule intends to provide suggestions. Without this property, any attempt to provide a suggestion will result in an error. **To address:** If your rule provides suggestions, add `meta.hasSuggestions` to the object, such as: @@ -168,7 +168,7 @@ The [eslint-plugin/require-meta-fixable](https://github.com/not-an-aardvark/esli The [eslint-plugin/prefer-object-rule](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/prefer-object-rule.md) rule can automatically fix and enforce that your rules are written with the object format instead of the deprecated function format. -See the [rule documentation](../extend/working-with-rules) for more information on writing rules. +See the [rule documentation](../extend/custom-rules) for more information on writing rules. **Related issue(s):** [#13349](https://github.com/eslint/eslint/issues/13349) @@ -178,7 +178,7 @@ Back in ESLint v4.0.0, we deprecated `SourceCode#getComments()`, but we neglecte The `SourceCode#getComments()` method will be removed in v9.0.0. -**To address:** If your rule uses `SourceCode#getComments()`, please use [`SourceCode#getCommentsBefore()`, `SourceCode#getCommentsAfter()`, or `SourceCode#getCommentsInside()`](../extend/working-with-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside). +**To address:** If your rule uses `SourceCode#getComments()`, please use [`SourceCode#getCommentsBefore()`, `SourceCode#getCommentsAfter()`, or `SourceCode#getCommentsInside()`](../extend/custom-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside). **Related issue(s):** [#14744](https://github.com/eslint/eslint/issues/14744) From 9bf5924b36dd1655339125e9895e7471eb9a30d5 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 14 Dec 2022 22:21:32 -0500 Subject: [PATCH 04/41] Fix /use/ links --- docs/package.json | 1 + docs/parse-results.js | 61 + docs/results.txt | 6497 +++++++++++++++++ docs/src/_data/links.json | 6 +- docs/src/_data/rules.json | 4 +- .../components/rule-categories.macro.html | 4 +- docs/src/extend/custom-formatters.md | 2 +- docs/src/extend/custom-rules.md | 16 +- docs/src/extend/index.md | 8 +- docs/src/extend/nodejs-api.md | 4 +- docs/src/extend/plugins.md | 6 +- .../extend/working-with-rules-deprecated.md | 10 +- docs/src/maintain/-issues | 0 docs/src/rules/id-denylist.md | 2 +- docs/src/rules/no-global-assign.md | 4 +- docs/src/rules/no-implicit-globals.md | 4 +- docs/src/rules/no-native-reassign.md | 4 +- docs/src/rules/no-undef.md | 4 +- docs/src/rules/rest-spread-spacing.md | 2 +- docs/src/rules/space-after-keywords.md | 2 +- docs/src/rules/space-before-keywords.md | 2 +- docs/src/rules/space-return-throw-case.md | 2 +- docs/src/rules/strict.md | 8 +- docs/src/use/command-line-interface.md | 2 +- docs/src/use/configure/configuration-files.md | 4 +- docs/src/use/migrating-to-6.0.0.md | 4 +- docs/src/use/migrating-to-7.0.0.md | 2 +- 27 files changed, 6612 insertions(+), 53 deletions(-) create mode 100644 docs/parse-results.js create mode 100644 docs/results.txt delete mode 100644 docs/src/maintain/-issues diff --git a/docs/package.json b/docs/package.json index bce43092f77..dbb2a9fba66 100644 --- a/docs/package.json +++ b/docs/package.json @@ -39,6 +39,7 @@ "markdown-it": "^12.2.0", "markdown-it-anchor": "^8.1.2", "markdown-it-container": "^3.0.0", + "markdown-link-check": "^3.10.3", "netlify-cli": "^10.3.1", "npm-run-all": "^4.1.5", "postcss-html": "^1.5.0", diff --git a/docs/parse-results.js b/docs/parse-results.js new file mode 100644 index 00000000000..1cf4c01c8b6 --- /dev/null +++ b/docs/parse-results.js @@ -0,0 +1,61 @@ +/* eslint-disable indent */ +"use strict"; + +const markdownLinkCheck = require("markdown-link-check"); +const path = require("path"); +const fs = require("fs"); +const process = require("process"); + +/** + * Recurse through file tree getting file names + * @param {string} startPath path to file + * @param {string} filter only check file names that end with this extension + * @param {string[]} matchingFiles used to recursively add file names + * @returns {string[]} all the matching files in directories and subdirectories + */ +function fromDir(startPath, filter, matchingFiles = []) { + + + if (!fs.existsSync(startPath)) { + console.log("no dir ", startPath); + return; + } + + const files = fs.readdirSync(startPath); + + for (let i = 0; i < files.length; i++) { + const filename = path.join(startPath, files[i]); + const stat = fs.lstatSync(filename); + + if (stat.isDirectory()) { + fromDir(filename, filter, matchingFiles); // recurse + } else if (filename.endsWith(filter)) { + matchingFiles.push(filename); + } + } + + return matchingFiles; +} + +const files = fromDir("src", ".md"); + +const fileResults = {}; + +files.forEach(fileName => { + const fileContents = fs.readFileSync(fileName, { encoding: "utf-8" }); + console.log(fileName); + + const lintResults = markdownLinkCheck(fileContents, + { ignorePatterns: [{ pattern: /\.svg/u }], baseUrl: path.join(process.cwd(), "src") }, + (err, results) => { + if (err) { + console.error('Error', err); + + } + fileResults[fileName] = results; + }); +}); + +console.log(fileResults); + + diff --git a/docs/results.txt b/docs/results.txt new file mode 100644 index 00000000000..ba72e541a1f --- /dev/null +++ b/docs/results.txt @@ -0,0 +1,6497 @@ +FILE: src//extend/shareable-configs.md + [✓] https://www.npmjs.com/ + [✓] https://docs.npmjs.com/getting-started/creating-node-modules + [✓] https://docs.npmjs.com/misc/scope + [✓] https://docs.npmjs.com/getting-started/publishing-npm-packages + [✓] https://docs.npmjs.com/files/package.json#peerdependencies + [✓] https://docs.npmjs.com/misc/developers + + 6 links checked. + +FILE: src//extend/custom-parsers.md + [✖] ./scope-manager-interface + [✓] https://github.com/eslint/eslint-scope + [✓] https://github.com/eslint/eslint-visitor-keys#evkkeys + [✓] https://github.com/typescript-eslint/typescript-eslint + [✓] https://github.com/estree/estree + [✓] https://github.com/estree/estree/blob/25834f7247d44d3156030f8e8a2d07644d771fdb/es5.md#node-objects + + 6 links checked. + + ERROR: 1 dead links found! + [✖] ./scope-manager-interface → Status: 400 + +FILE: src//extend/custom-formatters.md + [✓] https://www.npmjs.com/search?q=eslint-formatter + [✖] https://github.com/estree/estree/blob/master/spec.md#node-objects + [✖] nodejs-api#-new-eslintoptions + [✖] working-with-rules + [✖] ../users/formatters/ + [✓] https://www.iterm2.com/ + [✓] http://guake-project.org/ + + 7 links checked. + + ERROR: 4 dead links found! + [✖] https://github.com/estree/estree/blob/master/spec.md#node-objects → Status: 404 + [✖] nodejs-api#-new-eslintoptions → Status: 400 + [✖] working-with-rules → Status: 400 + [✖] ../users/formatters/ → Status: 400 + +FILE: src//extend/nodejs-api.md + [✓] #linter + [✖] #-eslintlintfilespatterns + [✖] ../users/configuring/ + [✖] #-eslintlinttextcode-options + [✖] #-lintresult-type + [✖] ../users/formatters/ + [✓] https://www.npmjs.com/search?q=eslintformatter + [✖] #-loadedformatter-type + [✖] #-lintmessage-type + [✖] #-suppressedlintmessage-type + [✖] #-editinfo-type + [✖] #-eslintloadformatternameorpath + [✓] https://github.com/estree/estree + [✓] #eslint-class + [✖] ./custom-rules#the-context-object + [✓] https://eslint.org/demo + [✖] working-with-plugins#processors-in-plugins + [✖] ./custom-rules#providing-suggestions + [✖] working-with-custom-parsers + [✖] ./custom-rules + [✓] #testing-errors-with-messageid + [✓] #testing-suggestions + [✓] https://mochajs.org/ + + 23 links checked. + + ERROR: 15 dead links found! + [✖] #-eslintlintfilespatterns → Status: 404 + [✖] ../users/configuring/ → Status: 400 + [✖] #-eslintlinttextcode-options → Status: 404 + [✖] #-lintresult-type → Status: 404 + [✖] ../users/formatters/ → Status: 400 + [✖] #-loadedformatter-type → Status: 404 + [✖] #-lintmessage-type → Status: 404 + [✖] #-suppressedlintmessage-type → Status: 404 + [✖] #-editinfo-type → Status: 404 + [✖] #-eslintloadformatternameorpath → Status: 404 + [✖] ./custom-rules#the-context-object → Status: 400 + [✖] working-with-plugins#processors-in-plugins → Status: 400 + [✖] ./custom-rules#providing-suggestions → Status: 400 + [✖] working-with-custom-parsers → Status: 400 + [✖] ./custom-rules → Status: 400 + +FILE: src//extend/custom-rules.md + [✖] ./custom-rules-deprecated + [✓] ../rules/ + [✖] ../users/configuring/configuration-files#extending-configuration-files + [✖] ../users/command-line-interface#--fix + [✓] #options-schemas + [✖] ../users/configuring/rules#configuring-rules + [✓] https://github.com/estree/estree + [✖] ./selectors + [✖] ./code-path-analysis + [✖] ../rules/array-callback-return + [✖] ../users/configuring/language-options#specifying-parser-options + [✓] #contextoptions + [✖] ../users/configuring/configuration-files#adding-shared-settings + [✖] ./nodejs-api#linter + [✖] ./scope-manager-interface#variable-interface + [✖] ./scope-manager-interface#scope-interface + [✓] #contextgetsourcecode + [✖] ../rules/no-unused-vars + [✓] #contextreport + [✓] ./scope-manager-interface.md#scope-interface + [✖] ./scope-manager-interface#reference-interface + [✖] ./scope-manager-interface#definition-interface + [✓] https://github.com/eslint/eslint/blob/main/lib/rules/no-shadow.js + [✖] ../rules/no-shadow + [✓] https://github.com/eslint/eslint/blob/main/lib/rules/no-redeclare.js + [✖] ../rules/no-redeclare + [✓] #using-message-placeholders + [✓] #applying-fixes + [✓] #rule-basics + [✖] ../rules/quotes + [✓] #suggestion-messageids + [✓] #messageids + [✖] ./scope-manager-interface#scopemanager-interface + [✓] https://json-schema.org/ + [✓] https://json-schema.org/learn/ + [✓] https://json-schema.org/understanding-json-schema/ + [✖] nodejs-api#ruletester + [✖] ../users/configuring/ + [✖] ../users/command-line-interface + + 39 links checked. + + ERROR: 22 dead links found! + [✖] ./custom-rules-deprecated → Status: 400 + [✖] ../users/configuring/configuration-files#extending-configuration-files → Status: 400 + [✖] ../users/command-line-interface#--fix → Status: 400 + [✖] ../users/configuring/rules#configuring-rules → Status: 400 + [✖] ./selectors → Status: 400 + [✖] ./code-path-analysis → Status: 400 + [✖] ../rules/array-callback-return → Status: 400 + [✖] ../users/configuring/language-options#specifying-parser-options → Status: 400 + [✖] ../users/configuring/configuration-files#adding-shared-settings → Status: 400 + [✖] ./nodejs-api#linter → Status: 400 + [✖] ./scope-manager-interface#variable-interface → Status: 400 + [✖] ./scope-manager-interface#scope-interface → Status: 400 + [✖] ../rules/no-unused-vars → Status: 400 + [✖] ./scope-manager-interface#reference-interface → Status: 400 + [✖] ./scope-manager-interface#definition-interface → Status: 400 + [✖] ../rules/no-shadow → Status: 400 + [✖] ../rules/no-redeclare → Status: 400 + [✖] ../rules/quotes → Status: 400 + [✖] ./scope-manager-interface#scopemanager-interface → Status: 400 + [✖] nodejs-api#ruletester → Status: 400 + [✖] ../users/configuring/ → Status: 400 + [✖] ../users/command-line-interface → Status: 400 + +FILE: src//extend/index.md + [✖] source-code + [✖] development-environment + [✖] unit-tests + [✖] working-with-rules + [✖] working-with-plugins + [✖] working-with-custom-parsers + [✖] nodejs-api + [✖] contributing/ + + 8 links checked. + + ERROR: 8 dead links found! + [✖] source-code → Status: 400 + [✖] development-environment → Status: 400 + [✖] unit-tests → Status: 400 + [✖] working-with-rules → Status: 400 + [✖] working-with-plugins → Status: 400 + [✖] working-with-custom-parsers → Status: 400 + [✖] nodejs-api → Status: 400 + [✖] contributing/ → Status: 400 + +FILE: src//extend/plugins.md + [✓] https://www.npmjs.com/package/generator-eslint + [✖] ../users/command-line-interface#--ext + [✖] ../users/configuring/plugins#specify-a-processor + [✖] ../users/configuring/plugins#configure-plugins + [✖] nodejs-api#ruletester + [✓] https://www.npmjs.com/package/eslint + [✓] https://www.npmjs.com/package/eslint-plugin-eslint-plugin + [✓] https://www.npmjs.com/package/eslint-plugin-node + [✓] https://docs.npmjs.com/misc/developers + + 9 links checked. + + ERROR: 4 dead links found! + [✖] ../users/command-line-interface#--ext → Status: 400 + [✖] ../users/configuring/plugins#specify-a-processor → Status: 400 + [✖] ../users/configuring/plugins#configure-plugins → Status: 400 + [✖] nodejs-api#ruletester → Status: 400 + +FILE: src//extend/selectors.md + [✓] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors + [✓] #known-issues + [✓] https://github.com/estools/esquery + [✖] ../rules/no-restricted-syntax + [✓] https://github.com/estools/esquery/issues/68 + + 5 links checked. + + ERROR: 1 dead links found! + [✖] ../rules/no-restricted-syntax → Status: 400 + +FILE: src//extend/scope-manager-interface.md + [✓] https://github.com/eslint/eslint-scope + [✓] https://github.com/estools/escope + + 2 links checked. + +FILE: src//extend/working-with-rules-deprecated.md + [✖] ./custom-rules + [✓] #options-schemas + [✖] ../users/configuring/rules#configuring-rules + [✓] https://github.com/estree/estree + [✖] ./code-path-analysis + [✖] ../rules/array-callback-return + [✖] ../users/configuring/language-options#specifying-parser-options + [✖] ../rules/no-unused-vars + [✓] http://json-schema.org/ + [✖] http://json-schema.org/examples.html + [✓] http://spacetelescope.github.io/understanding-json-schema/ + [✖] ../users/configuring/ + [✖] ../users/command-line-interface + + 13 links checked. + + ERROR: 9 dead links found! + [✖] ./custom-rules → Status: 400 + [✖] ../users/configuring/rules#configuring-rules → Status: 400 + [✖] ./code-path-analysis → Status: 400 + [✖] ../rules/array-callback-return → Status: 400 + [✖] ../users/configuring/language-options#specifying-parser-options → Status: 400 + [✖] ../rules/no-unused-vars → Status: 400 + [✖] http://json-schema.org/examples.html → Status: 404 + [✖] ../users/configuring/ → Status: 400 + [✖] ../users/command-line-interface → Status: 400 + +FILE: src//library/buttons.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/rule-list.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/code-blocks.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/link-card.md + [✓] https://blog.izs.me/2010/12/an-open-letter-to-javascript-leaders-regarding/ + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get + + 2 links checked. + +FILE: src//library/rule.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/theme-switcher.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/alert.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/code-tabs.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/related-rules.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/language-switcher.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/social-icons.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/version-switcher.md + No hyperlinks found! + + 0 links checked. + +FILE: src//library/rule-categories.md + [✓] ../rules/ + + 1 links checked. + +FILE: src//about/index.md + [✓] https://en.wikipedia.org/wiki/Lint_(software) + [✓] https://npmjs.org/ + + 2 links checked. + +FILE: src//use/migrating-to-6.0.0.md + [✖] #drop-node-6 + [✖] #eslint-recommended-changes + [✖] #package-loading-simplification + [✖] #espree-validation + [✖] #rule-config-validating + [✖] #no-redeclare-updates + [✖] #comma-dangle-updates + [✖] #no-confusing-arrow-updates + [✖] #overrides-dotfiles + [✖] #overrides-precedence + [✖] #globals-validation + [✖] #experimental-object-rest-spread + [✖] #unicode-regexes + [✖] #plugin-documentation + [✖] #rule-tester-defaults + [✖] #rule-tester-parser + [✖] #eslintExplicitGlobalComment + [✖] #linter-parsers + [✓] https://github.com/eslint/eslint/issues/11456 + [✖] ../users/configuring#using-eslintrecommended + [✖] ../rules/no-async-promise-executor + [✖] ../rules/no-misleading-character-class + [✖] ../rules/no-prototype-builtins + [✖] ../rules/no-shadow-restricted-names + [✖] ../rules/no-useless-catch + [✖] ../rules/no-with + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with + [✖] ../rules/require-atomic-updates + [✖] ../rules/no-console + [✓] https://github.com/eslint/eslint/issues/10768 + [✓] https://github.com/eslint/eslint/issues/10873 + [✓] https://github.com/lerna/lerna + [✓] https://yarnpkg.com/lang/en/docs/pnp/ + [✖] ./command-line-interface#--resolve-plugins-relative-to + [✓] https://github.com/eslint/eslint/issues/10125 + [✓] https://github.com/eslint/rfcs/pull/7 + [✓] https://github.com/eslint/eslint/issues/9687 + [✓] https://github.com/eslint/espree/issues/384 + [✓] https://github.com/eslint/eslint/issues/9505 + [✖] ../rules/no-redeclare + [✓] https://github.com/eslint/eslint/issues/11370 + [✓] https://github.com/eslint/eslint/issues/11405 + [✖] ../rules/comma-dangle + [✓] https://github.com/eslint/eslint/issues/11502 + [✖] ../rules/no-confusing-arrow + [✓] https://github.com/eslint/eslint/issues/11503 + [✖] ../users/configuring#configuration-based-on-glob-patterns + [✓] https://github.com/eslint/eslint/issues/11201 + [✓] https://github.com/eslint/eslint/issues/11510 + [✓] https://github.com/eslint/eslint/issues/9990 + [✖] ../rules/max-len + [✓] https://mathiasbynens.be/notes/es6-unicode-regex + [✓] https://github.com/eslint/eslint/issues/11423 + [✓] https://github.com/eslint/generator-eslint + [✓] https://github.com/eslint/eslint/issues/11473 + [✓] https://github.com/eslint/eslint/issues/11728 + [✓] https://github.com/eslint/rfcs/pull/17 + [✖] ../extend/nodejs-api#linterdefineparser + + 58 links checked. + + ERROR: 34 dead links found! + [✖] #drop-node-6 → Status: 404 + [✖] #eslint-recommended-changes → Status: 404 + [✖] #package-loading-simplification → Status: 404 + [✖] #espree-validation → Status: 404 + [✖] #rule-config-validating → Status: 404 + [✖] #no-redeclare-updates → Status: 404 + [✖] #comma-dangle-updates → Status: 404 + [✖] #no-confusing-arrow-updates → Status: 404 + [✖] #overrides-dotfiles → Status: 404 + [✖] #overrides-precedence → Status: 404 + [✖] #globals-validation → Status: 404 + [✖] #experimental-object-rest-spread → Status: 404 + [✖] #unicode-regexes → Status: 404 + [✖] #plugin-documentation → Status: 404 + [✖] #rule-tester-defaults → Status: 404 + [✖] #rule-tester-parser → Status: 404 + [✖] #eslintExplicitGlobalComment → Status: 404 + [✖] #linter-parsers → Status: 404 + [✖] ../users/configuring#using-eslintrecommended → Status: 400 + [✖] ../rules/no-async-promise-executor → Status: 400 + [✖] ../rules/no-misleading-character-class → Status: 400 + [✖] ../rules/no-prototype-builtins → Status: 400 + [✖] ../rules/no-shadow-restricted-names → Status: 400 + [✖] ../rules/no-useless-catch → Status: 400 + [✖] ../rules/no-with → Status: 400 + [✖] ../rules/require-atomic-updates → Status: 400 + [✖] ../rules/no-console → Status: 400 + [✖] ./command-line-interface#--resolve-plugins-relative-to → Status: 400 + [✖] ../rules/no-redeclare → Status: 400 + [✖] ../rules/comma-dangle → Status: 400 + [✖] ../rules/no-confusing-arrow → Status: 400 + [✖] ../users/configuring#configuration-based-on-glob-patterns → Status: 400 + [✖] ../rules/max-len → Status: 400 + [✖] ../extend/nodejs-api#linterdefineparser → Status: 400 + +FILE: src//use/rule-deprecation.md + No hyperlinks found! + + 0 links checked. + +FILE: src//use/migrating-to-4.0.0.md + [✖] #eslint-recommended-changes + [✖] #indent-rewrite + [✖] #config-validation + [✖] #eslintignore-patterns + [✖] #padded-blocks-defaults + [✖] #space-before-function-paren-defaults + [✖] #no-multi-spaces-eol-comments + [✖] #scoped-plugin-resolution + [✖] #rule-tester-validation + [✖] #comment-attachment + [✖] #event-comments + [✖] #shebangs + [✖] #global-property + [✖] #report-locations + [✖] #exposed-es2015-classes + [✖] configuring#using-eslintrecommended + [✖] ../rules/no-compare-neg-zero + [✖] ../rules/no-useless-escape + [✖] ../rules/indent + [✖] ../rules/indent-legacy + [✖] ../rules/padded-blocks + [✖] ../rules/space-before-function-paren + [✖] ../rules/no-multi-spaces + + 23 links checked. + + ERROR: 23 dead links found! + [✖] #eslint-recommended-changes → Status: 404 + [✖] #indent-rewrite → Status: 404 + [✖] #config-validation → Status: 404 + [✖] #eslintignore-patterns → Status: 404 + [✖] #padded-blocks-defaults → Status: 404 + [✖] #space-before-function-paren-defaults → Status: 404 + [✖] #no-multi-spaces-eol-comments → Status: 404 + [✖] #scoped-plugin-resolution → Status: 404 + [✖] #rule-tester-validation → Status: 404 + [✖] #comment-attachment → Status: 404 + [✖] #event-comments → Status: 404 + [✖] #shebangs → Status: 404 + [✖] #global-property → Status: 404 + [✖] #report-locations → Status: 404 + [✖] #exposed-es2015-classes → Status: 404 + [✖] configuring#using-eslintrecommended → Status: 400 + [✖] ../rules/no-compare-neg-zero → Status: 400 + [✖] ../rules/no-useless-escape → Status: 400 + [✖] ../rules/indent → Status: 400 + [✖] ../rules/indent-legacy → Status: 400 + [✖] ../rules/padded-blocks → Status: 400 + [✖] ../rules/space-before-function-paren → Status: 400 + [✖] ../rules/no-multi-spaces → Status: 400 + +FILE: src//use/migrating-to-8.0.0.md + [✖] #drop-old-node + [✖] #removed-formatters + [✖] #comma-dangle + [✖] #directives + [✖] #eslint-recommended + [✖] #suggestions + [✖] #fixes + [✖] #get-comments + [✖] #ast-format + [✖] #remove-cliengine + [✖] #remove-linter + [✖] #remove-lib + [✓] https://github.com/eslint/eslint/issues/14023 + [✓] https://github.com/fregante/eslint-formatter-codeframe + [✓] https://github.com/fregante/eslint-formatter-table + [✓] https://github.com/eslint/eslint/issues/14277 + [✓] https://github.com/eslint/eslint/pull/14316 + [✓] https://github.com/eslint/eslint/issues/13739 + [✓] https://github.com/eslint/eslint/issues/11815 + [✖] ../rules/no-loss-of-precision + [✖] ../rules/no-nonoctal-decimal-escape + [✖] ../rules/no-unsafe-optional-chaining + [✖] ../rules/no-useless-backreference + [✓] https://github.com/eslint/eslint/issues/14673 + [✖] ../extend/custom-rules#providing-suggestions + [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/require-meta-has-suggestions.md + [✓] https://github.com/eslint/eslint/issues/14312 + [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/require-meta-fixable.md + [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/prefer-object-rule.md + [✖] ../extend/custom-rules + [✓] https://github.com/eslint/eslint/issues/13349 + [✖] ../extend/custom-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside + [✓] https://github.com/eslint/eslint/issues/14744 + [✓] https://github.com/eslint/eslint/pull/14591#issuecomment-887733070 + [✖] ../extend/nodejs-api#eslint-class + [✓] https://github.com/eslint/rfcs/tree/main/designs/2021-package-exports + [✓] https://github.com/eslint/eslint/pull/14716 + [✓] https://github.com/eslint/eslint/issues/13654 + + 38 links checked. + + ERROR: 20 dead links found! + [✖] #drop-old-node → Status: 404 + [✖] #removed-formatters → Status: 404 + [✖] #comma-dangle → Status: 404 + [✖] #directives → Status: 404 + [✖] #eslint-recommended → Status: 404 + [✖] #suggestions → Status: 404 + [✖] #fixes → Status: 404 + [✖] #get-comments → Status: 404 + [✖] #ast-format → Status: 404 + [✖] #remove-cliengine → Status: 404 + [✖] #remove-linter → Status: 404 + [✖] #remove-lib → Status: 404 + [✖] ../rules/no-loss-of-precision → Status: 400 + [✖] ../rules/no-nonoctal-decimal-escape → Status: 400 + [✖] ../rules/no-unsafe-optional-chaining → Status: 400 + [✖] ../rules/no-useless-backreference → Status: 400 + [✖] ../extend/custom-rules#providing-suggestions → Status: 400 + [✖] ../extend/custom-rules → Status: 400 + [✖] ../extend/custom-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside → Status: 400 + [✖] ../extend/nodejs-api#eslint-class → Status: 400 + +FILE: src//use/configure/configuration-files-new.md + [✓] #configuration-objects + [✓] https://www.npmjs.com/package/minimatch + [✓] https://www.npmjs.com/package/@babel/eslint-parser + [✖] ../../rules/semi + + 4 links checked. + + ERROR: 1 dead links found! + [✖] ../../rules/semi → Status: 400 + +FILE: src//use/configure/index.md + [✖] ./configuration-files#configuration-file-formats + [✓] https://docs.npmjs.com/files/package.json + [✖] ../command-line-interface + [✖] ./language-options#specifying-environments + [✖] ./language-options#specifying-globals + [✖] rules + [✖] plugins + [✖] configuration-files + [✖] ./configuration-files#using-configuration-files + [✖] ./configuration-files#adding-shared-settings + [✖] ./configuration-files#cascading-and-hierarchy + [✖] ./configuration-files#extending-configuration-files + [✖] ./configuration-files#configuration-based-on-glob-patterns + [✖] ./configuration-files#personal-configuration-files-deprecated + [✖] language-options + [✖] ./language-options#specifying-parser-options + [✖] ./rules#configuring-rules + [✖] ./rules#disabling-rules + [✖] ./plugins#configure-plugins + [✖] ./plugins#specify-a-processor + [✖] ./plugins#configure-a-parser + [✖] ignoring-code + [✖] ./ignore#ignorepatterns-in-config-files + [✖] ./ignore#the-eslintignore-file + [✖] ./ignore#using-an-alternate-file + [✖] ./ignore#using-eslintignore-in-packagejson + [✖] ./ignore#ignored-file-warnings + + 27 links checked. + + ERROR: 26 dead links found! + [✖] ./configuration-files#configuration-file-formats → Status: 400 + [✖] ../command-line-interface → Status: 400 + [✖] ./language-options#specifying-environments → Status: 400 + [✖] ./language-options#specifying-globals → Status: 400 + [✖] rules → Status: 400 + [✖] plugins → Status: 400 + [✖] configuration-files → Status: 400 + [✖] ./configuration-files#using-configuration-files → Status: 400 + [✖] ./configuration-files#adding-shared-settings → Status: 400 + [✖] ./configuration-files#cascading-and-hierarchy → Status: 400 + [✖] ./configuration-files#extending-configuration-files → Status: 400 + [✖] ./configuration-files#configuration-based-on-glob-patterns → Status: 400 + [✖] ./configuration-files#personal-configuration-files-deprecated → Status: 400 + [✖] language-options → Status: 400 + [✖] ./language-options#specifying-parser-options → Status: 400 + [✖] ./rules#configuring-rules → Status: 400 + [✖] ./rules#disabling-rules → Status: 400 + [✖] ./plugins#configure-plugins → Status: 400 + [✖] ./plugins#specify-a-processor → Status: 400 + [✖] ./plugins#configure-a-parser → Status: 400 + [✖] ignoring-code → Status: 400 + [✖] ./ignore#ignorepatterns-in-config-files → Status: 400 + [✖] ./ignore#the-eslintignore-file → Status: 400 + [✖] ./ignore#using-an-alternate-file → Status: 400 + [✖] ./ignore#using-eslintignore-in-packagejson → Status: 400 + [✖] ./ignore#ignored-file-warnings → Status: 400 + +FILE: src//use/configure/plugins.md + [✓] https://github.com/eslint/espree + [✖] ../../extend/custom-parsers + [✓] https://www.npmjs.com/package/esprima + [✓] https://www.npmjs.com/package/@babel/eslint-parser + [✓] https://babeljs.io + [✓] https://www.npmjs.com/package/@typescript-eslint/parser + + 6 links checked. + + ERROR: 1 dead links found! + [✖] ../../extend/custom-parsers → Status: 400 + +FILE: src//use/configure/configuration-files.md + [✓] #cascading-and-hierarchy + [✖] ../command-line-interface#--no-eslintrc + [✖] ../../users/command-line-interface#-c---config + [✓] https://nodejs.org/api/os.html#os_os_homedir + [✖] configuration-files#personal-configuration-files-deprecated + [✖] ../../extend/shareable-configs + [✓] ../../rules/ + [✖] ../../extend/plugins + [✖] ../../extend/plugins#configs-in-plugins + [✖] ./plugins#configure-plugins + [✓] #using-configuration-files + [✖] ../../rules/quotes + [✖] ../command-line-interface#--fix + [✓] https://github.com/isaacs/minimatch + [✖] ../command-line-interface#--ext + [✖] ../command-line-interface#-c---config + [✓] https://github.com/eslint/rfcs/pull/28 + [✓] https://github.com/eslint/rfcs/pull/32 + [✖] ../command-line-interface#--resolve-plugins-relative-to + + 19 links checked. + + ERROR: 12 dead links found! + [✖] ../command-line-interface#--no-eslintrc → Status: 400 + [✖] ../../users/command-line-interface#-c---config → Status: 400 + [✖] configuration-files#personal-configuration-files-deprecated → Status: 400 + [✖] ../../extend/shareable-configs → Status: 400 + [✖] ../../extend/plugins → Status: 400 + [✖] ../../extend/plugins#configs-in-plugins → Status: 400 + [✖] ./plugins#configure-plugins → Status: 400 + [✖] ../../rules/quotes → Status: 400 + [✖] ../command-line-interface#--fix → Status: 400 + [✖] ../command-line-interface#--ext → Status: 400 + [✖] ../command-line-interface#-c---config → Status: 400 + [✖] ../command-line-interface#--resolve-plugins-relative-to → Status: 400 + +FILE: src//use/configure/rules.md + [✓] ../../rules/ + [✖] ../../rules/eqeqeq + [✖] ../../rules/curly + [✖] ../../rules/quotes + [✖] ../command-line-interface#--no-inline-config + [✖] ../command-line-interface#--report-unused-disable-directives + + 6 links checked. + + ERROR: 5 dead links found! + [✖] ../../rules/eqeqeq → Status: 400 + [✖] ../../rules/curly → Status: 400 + [✖] ../../rules/quotes → Status: 400 + [✖] ../command-line-interface#--no-inline-config → Status: 400 + [✖] ../command-line-interface#--report-unused-disable-directives → Status: 400 + +FILE: src//use/configure/ignore-code.md + [✖] ./ignore#the-eslintignore-file + [✓] https://github.com/kaelzhang/node-ignore + [✖] ../command-line-interface#--ignore-pattern + [✓] https://git-scm.com/docs/gitignore + + 4 links checked. + + ERROR: 2 dead links found! + [✖] ./ignore#the-eslintignore-file → Status: 400 + [✖] ../command-line-interface#--ignore-pattern → Status: 400 + +FILE: src//use/configure/language-options.md + [✓] https://github.com/amdjs/amdjs-api/wiki/AMD + [✖] ../command-line-interface + [✓] https://github.com/yannickcr/eslint-plugin-react + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode + [✓] https://facebook.github.io/jsx/ + + 5 links checked. + + ERROR: 1 dead links found! + [✖] ../command-line-interface → Status: 400 + +FILE: src//use/integrations.md + [✖] ../contribute/pull-requests + [✓] https://github.com/roadhump/SublimeLinter-eslint + [✓] https://github.com/albertosantini/sublimetext-buildnext + [✓] https://github.com/w0rp/ale + [✓] https://github.com/vim-syntastic/syntastic/tree/master/syntax_checkers/javascript + [✓] http://www.flycheck.org/ + [✓] http://www.flycheck.org/en/latest/languages.html#javascript + [✓] https://dev.eclipse.org/mhonarc/lists/orion-dev/msg02718.html + [✓] https://github.com/angelozerr/tern.java/wiki/Tern-Linter-ESLint + [✓] https://github.com/ryanfitzer/eslint.tmbundle + [✓] https://github.com/natesilva/javascript-eslint.tmbundle + [✖] https://atom.io/packages/linter-eslint + [✓] https://atom.io/packages/fast-eslint-8 + [✓] https://www.jetbrains.com/help/webstorm/eslint.html + [✓] https://learn.microsoft.com/en-us/visualstudio/javascript/linting-javascript?view=vs-2022 + [✓] https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint + [✓] https://github.com/brackets-userland/brackets-eslint + [✓] https://www.npmjs.com/package/grunt-eslint + [✓] https://www.npmjs.com/package/gulp-eslint + [✓] https://www.npmjs.com/package/mimosa-eslint + [✓] https://www.npmjs.com/package/broccoli-eslint + [✓] https://www.npmjs.com/package/eslintify + [✓] https://www.npmjs.com/package/eslint-webpack-plugin + [✓] https://www.npmjs.com/package/@rollup/plugin-eslint + [✓] https://www.npmjs.com/package/ember-cli-eslint + [✓] https://www.npmjs.com/package/sails-hook-lint + [✓] https://www.npmjs.com/package/sails-eslint + [✓] https://www.npmjs.com/package/@start/plugin-lib-eslint + [✓] https://www.npmjs.com/package/eslint-brunch + [✓] https://www.npmjs.com/package/eslint-watch + [✓] https://github.com/codeclimate/codeclimate + [✓] https://github.com/IanVS/eslint-nibble + [✓] https://coderwall.com/p/zq8jlq/eslint-pre-commit-hook + [✓] https://gist.github.com/dahjelle/8ddedf0aebd488208a9a7c829f19b9e8 + [✓] https://github.com/brigade/overcommit + [✓] https://nvuillam.github.io/mega-linter + [✖] https://nvuillam.github.io/mega-linter/descriptors/javascript_eslint/ + [✓] https://www.npmjs.com/package/mocha-eslint + [✓] https://github.com/dustinspecker/awesome-eslint + + 39 links checked. + + ERROR: 3 dead links found! + [✖] ../contribute/pull-requests → Status: 400 + [✖] https://atom.io/packages/linter-eslint → Status: 500 + [✖] https://nvuillam.github.io/mega-linter/descriptors/javascript_eslint/ → Status: 404 + +FILE: src//use/command-line-interface.md + [✖] getting-started + [✓] https://docs.npmjs.com/cli/v8/commands/npx + [✓] https://yarnpkg.com/ + [✓] https://pnpm.io/ + [✓] #--ignore-pattern + [✖] configuring/ + [✖] configuring/language-options#specifying-environments + [✖] ../rules/no-undef + [✓] https://github.com/gkz/levn#levn-- + [✓] #--no-eslintrc + [✓] #--fix-dry-run + [✖] ./configuring/configuration-files-new + [✖] configuring/ignore#the-eslintignore-file + [✓] https://git-scm.com/docs/gitignore + [✓] formatters/ + [✓] formatters/#stylish + [✓] #--max-warnings + + 17 links checked. + + ERROR: 6 dead links found! + [✖] getting-started → Status: 400 + [✖] configuring/ → Status: 400 + [✖] configuring/language-options#specifying-environments → Status: 400 + [✖] ../rules/no-undef → Status: 400 + [✖] ./configuring/configuration-files-new → Status: 400 + [✖] configuring/ignore#the-eslintignore-file → Status: 400 + +FILE: src//use/migrating-to-2.0.0.md + [✖] ./migrating-to-1.0.0 + [✖] ../rules/no-arrow-condition + [✖] ../rules/no-confusing-arrow + [✖] ../rules/no-constant-condition + [✖] ../rules/no-empty-label + [✖] ../rules/no-labels + [✖] ../rules/space-after-keywords + [✖] ../rules/keyword-spacing + [✖] ../rules/space-before-keywords + [✖] ../rules/space-return-throw-case + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-arrow-functions + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-octal-and-binary-literals + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-block-bindings + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-default-parameters + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-destructuring-assignment + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-iterables-and-for-of + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-generators + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-computed-property-names + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-duplicate-object-literal-properties + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-method-initializer-shorthand + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-property-initializer-shorthand + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-regular-expression-u-flag + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-regular-expression-y-flag + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-rest-parameters + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-spread-operator + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-template-strings + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-escaping-non-bmp-characters + [✖] ../rules/constructor-super + [✖] ../rules/no-case-declarations + [✖] ../rules/no-class-assign + [✖] ../rules/no-const-assign + [✖] ../rules/no-dupe-class-members + [✖] ../rules/no-empty-pattern + [✖] ../rules/no-new-symbol + [✖] ../rules/no-self-assign + [✖] ../rules/no-this-before-super + [✖] ../rules/no-unexpected-multiline + [✖] ../rules/no-unused-labels + [✓] https://estools.github.io/escope/ + [✖] ../rules/no-multiple-empty-lines + [✖] ../rules/func-style + [✖] ../rules/strict + + 42 links checked. + + ERROR: 24 dead links found! + [✖] ./migrating-to-1.0.0 → Status: 400 + [✖] ../rules/no-arrow-condition → Status: 400 + [✖] ../rules/no-confusing-arrow → Status: 400 + [✖] ../rules/no-constant-condition → Status: 400 + [✖] ../rules/no-empty-label → Status: 400 + [✖] ../rules/no-labels → Status: 400 + [✖] ../rules/space-after-keywords → Status: 400 + [✖] ../rules/keyword-spacing → Status: 400 + [✖] ../rules/space-before-keywords → Status: 400 + [✖] ../rules/space-return-throw-case → Status: 400 + [✖] ../rules/constructor-super → Status: 400 + [✖] ../rules/no-case-declarations → Status: 400 + [✖] ../rules/no-class-assign → Status: 400 + [✖] ../rules/no-const-assign → Status: 400 + [✖] ../rules/no-dupe-class-members → Status: 400 + [✖] ../rules/no-empty-pattern → Status: 400 + [✖] ../rules/no-new-symbol → Status: 400 + [✖] ../rules/no-self-assign → Status: 400 + [✖] ../rules/no-this-before-super → Status: 400 + [✖] ../rules/no-unexpected-multiline → Status: 400 + [✖] ../rules/no-unused-labels → Status: 400 + [✖] ../rules/no-multiple-empty-lines → Status: 400 + [✖] ../rules/func-style → Status: 400 + [✖] ../rules/strict → Status: 400 + +FILE: src//use/formatters/index.md + [✓] https://github.com/eslint/eslint/edit/main/templates/formatter-examples.md.ejs + [✓] #checkstyle + [✓] #compact + [✓] #html + [✓] #jslint-xml + [✓] #json-with-metadata + [✓] #json + [✓] #junit + [✓] #stylish + [✓] #tap + [✓] #unix + [✓] #visualstudio + [✓] html-formatter-example.html + + 13 links checked. + +FILE: src//use/getting-started.md + [✓] https://github.com/eslint/espree + [✓] https://nodejs.org/en/ + [✖] migrating-to-1.0.0 + [✓] ../rules + [✖] configuring/ + [✓] https://www.npmjs.com/search?q=eslint-config + [✖] command-line-interface + [✖] integrations + [✖] ../extend/custom-rules + [✓] ../contribute/ + + 10 links checked. + + ERROR: 5 dead links found! + [✖] migrating-to-1.0.0 → Status: 400 + [✖] configuring/ → Status: 400 + [✖] command-line-interface → Status: 400 + [✖] integrations → Status: 400 + [✖] ../extend/custom-rules → Status: 400 + +FILE: src//use/index.md + [✓] ../extend/ + [✖] getting-started + [✓] ../rules/ + [✖] configuring/ + [✖] command-line-interface + [✖] integrations + [✖] rule-deprecation + [✖] migrating-to-1.0.0 + [✖] migrating-to-2.0.0 + [✖] migrating-to-3.0.0 + [✖] migrating-to-4.0.0 + [✖] migrating-to-5.0.0 + [✖] migrating-to-6.0.0 + [✖] migrating-to-7.0.0 + [✖] migrating-to-8.0.0 + + 15 links checked. + + ERROR: 13 dead links found! + [✖] getting-started → Status: 400 + [✖] configuring/ → Status: 400 + [✖] command-line-interface → Status: 400 + [✖] integrations → Status: 400 + [✖] rule-deprecation → Status: 400 + [✖] migrating-to-1.0.0 → Status: 400 + [✖] migrating-to-2.0.0 → Status: 400 + [✖] migrating-to-3.0.0 → Status: 400 + [✖] migrating-to-4.0.0 → Status: 400 + [✖] migrating-to-5.0.0 → Status: 400 + [✖] migrating-to-6.0.0 → Status: 400 + [✖] migrating-to-7.0.0 → Status: 400 + [✖] migrating-to-8.0.0 → Status: 400 + +FILE: src//use/migrating-to-7.0.0.md + [✖] #drop-node-8 + [✖] #additional-lint-targets + [✖] #base-path-change + [✖] #plugin-loading-change + [✖] #runtime-deprecation-on-personal-config-files + [✖] #default-ignore-patterns + [✖] #description-in-directive-comments + [✖] #deprecate-node-rules + [✖] #rules-strict + [✖] #eslint-recommended + [✖] #rule-tester-strict + [✖] #deprecate-cliengine + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-drop-node8/README.md + [✓] https://github.com/eslint/eslint/pull/12700 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-additional-lint-targets/README.md + [✓] https://github.com/eslint/eslint/pull/12677 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-changing-base-path-in-config-files-that-cli-options-specify/README.md + [✓] https://github.com/eslint/eslint/pull/12887 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-plugin-loading-improvement/README.md + [✓] https://github.com/eslint/eslint/pull/12922 + [✓] https://eslint.org/blog/2019/11/eslint-v6.7.0-released + [✓] https://github.com/eslint/rfcs/tree/master/designs/2019-deprecating-personal-config/README.md + [✓] https://github.com/eslint/eslint/pull/12678 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-update-default-ignore-patterns/README.md + [✓] https://github.com/eslint/eslint/pull/12888 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-description-in-directive-comments/README.md + [✓] https://github.com/eslint/eslint/pull/12699 + [✓] https://github.com/mysticatea/eslint-plugin-node + [✖] ../users/rule-deprecation + [✖] ../rules/callback-return + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/callback-return.md + [✖] ../rules/global-require + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/global-require.md + [✖] ../rules/handle-callback-err + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/handle-callback-err.md + [✖] ../rules/no-mixed-requires + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-mixed-requires.md + [✖] ../rules/no-new-require + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-new-require.md + [✖] ../rules/no-path-concat + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-path-concat.md + [✖] ../rules/no-process-env + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-process-env.md + [✖] ../rules/no-process-exit + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-process-exit.md + [✖] ../rules/no-restricted-modules + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-restricted-require.md + [✖] ../rules/no-sync + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-sync.md + [✓] https://github.com/eslint/eslint/pull/12898 + [✖] ../rules/accessor-pairs + [✖] ../rules/array-callback-return + [✖] ../rules/computed-property-spacing + [✖] ../rules/func-names + [✖] ../rules/no-extra-parens + [✖] ../rules/no-dupe-class-members + [✖] ../rules/no-magic-numbers + [✖] ../rules/radix + [✖] ../rules/use-isnan + [✖] ../rules/yoda + [✓] https://github.com/eslint/eslint/pull/12490 + [✓] https://github.com/eslint/eslint/pull/12608 + [✓] https://github.com/eslint/eslint/pull/12670 + [✓] https://github.com/eslint/eslint/pull/12701 + [✓] https://github.com/eslint/eslint/pull/12765 + [✓] https://github.com/eslint/eslint/pull/12837 + [✓] https://github.com/eslint/eslint/pull/12913 + [✓] https://github.com/eslint/eslint/pull/12915 + [✓] https://github.com/eslint/eslint/pull/12919 + [✖] ../rules/no-dupe-else-if + [✖] ../rules/no-import-assign + [✖] ../rules/no-setter-return + [✓] https://github.com/eslint/eslint/pull/12920 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-rule-tester-improvements/README.md + [✓] https://github.com/eslint/eslint/pull/12096 + [✓] https://github.com/eslint/eslint/pull/12955 + [✖] ../extend/nodejs-api#cliengine + [✖] ../extend/nodejs-api#eslint-class + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-move-to-async-api/README.md + [✓] https://github.com/eslint/eslint/pull/12939 + + 80 links checked. + + ERROR: 38 dead links found! + [✖] #drop-node-8 → Status: 404 + [✖] #additional-lint-targets → Status: 404 + [✖] #base-path-change → Status: 404 + [✖] #plugin-loading-change → Status: 404 + [✖] #runtime-deprecation-on-personal-config-files → Status: 404 + [✖] #default-ignore-patterns → Status: 404 + [✖] #description-in-directive-comments → Status: 404 + [✖] #deprecate-node-rules → Status: 404 + [✖] #rules-strict → Status: 404 + [✖] #eslint-recommended → Status: 404 + [✖] #rule-tester-strict → Status: 404 + [✖] #deprecate-cliengine → Status: 404 + [✖] ../users/rule-deprecation → Status: 400 + [✖] ../rules/callback-return → Status: 400 + [✖] ../rules/global-require → Status: 400 + [✖] ../rules/handle-callback-err → Status: 400 + [✖] ../rules/no-mixed-requires → Status: 400 + [✖] ../rules/no-new-require → Status: 400 + [✖] ../rules/no-path-concat → Status: 400 + [✖] ../rules/no-process-env → Status: 400 + [✖] ../rules/no-process-exit → Status: 400 + [✖] ../rules/no-restricted-modules → Status: 400 + [✖] ../rules/no-sync → Status: 400 + [✖] ../rules/accessor-pairs → Status: 400 + [✖] ../rules/array-callback-return → Status: 400 + [✖] ../rules/computed-property-spacing → Status: 400 + [✖] ../rules/func-names → Status: 400 + [✖] ../rules/no-extra-parens → Status: 400 + [✖] ../rules/no-dupe-class-members → Status: 400 + [✖] ../rules/no-magic-numbers → Status: 400 + [✖] ../rules/radix → Status: 400 + [✖] ../rules/use-isnan → Status: 400 + [✖] ../rules/yoda → Status: 400 + [✖] ../rules/no-dupe-else-if → Status: 400 + [✖] ../rules/no-import-assign → Status: 400 + [✖] ../rules/no-setter-return → Status: 400 + [✖] ../extend/nodejs-api#cliengine → Status: 400 + [✖] ../extend/nodejs-api#eslint-class → Status: 400 + +FILE: src//use/migrating-from-jscs.md + [✓] https://eslint.org/blog/2016/04/welcoming-jscs-to-eslint + [✖] ../extend/shareable-configs + [✓] #converting-presets + [✓] https://github.com/brenolf/polyjuice + [✓] #disabling-rules-inline + [✓] https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base + [✓] https://github.com/google/eslint-config-google + [✓] https://github.com/markelog/eslint-config-grunt + [✓] https://github.com/jamespamplin/eslint-config-idiomatic + [✓] https://github.com/jquery/eslint-config-jquery + [✓] https://github.com/zz85/mrdoobapproves + [✓] https://github.com/pdehaan/eslint-config-node-style-guide + [✓] https://github.com/wikimedia/eslint-config-wikimedia + [✓] https://github.com/WordPress-Coding-Standards/eslint-config-wordpress + + 14 links checked. + + ERROR: 1 dead links found! + [✖] ../extend/shareable-configs → Status: 400 + +FILE: src//use/migrating-to-5.0.0.md + [✖] #drop-node-4 + [✖] #eslint-recommended-changes + [✖] #experimental-object-rest-spread + [✖] #nonexistent-files + [✖] #rule-default-changes + [✖] #deprecated-globals + [✖] #empty-files + [✖] #scoped-plugins + [✖] #multiline-directives + [✖] #parent-before-rules + [✖] #spread-operators + [✖] #rest-operators + [✖] #jsx-text-nodes + [✖] #context-get-scope + [✖] #no-context-linter + [✖] #rule-tester-equality + [✖] #required-report-messages + [✖] #source-property + [✖] #exit-code-two + [✖] #non-enumerable-linter + [✖] configuring#using-eslintrecommended + [✖] ../rules/for-direction + [✖] ../rules/getter-return + [✓] https://developers.google.com/web/updates/2017/06/object-rest-spread + [✓] https://github.com/tc39/proposal-async-iteration + [✖] ../rules/no-restricted-syntax + [✖] ../extend/nodejs-api#cliengineexecuteonfiles + [✖] ../rules/object-curly-newline + [✖] ../rules/no-self-assign + [✖] ../rules/no-undef + [✖] configuring#ignoring-files-and-directories + [✓] https://docs.npmjs.com/misc/scope + [✖] ../extend/custom-rules#contextgetscope + [✖] command-line-interface#--report-unused-disable-directives + [✖] /blog/2016/10/eslint-v3.8.0-released#additional-property-on-linting-results + [✖] ../extend/nodejs-api#linter-1 + [✖] ../extend/nodejs-api#linter + + 37 links checked. + + ERROR: 34 dead links found! + [✖] #drop-node-4 → Status: 404 + [✖] #eslint-recommended-changes → Status: 404 + [✖] #experimental-object-rest-spread → Status: 404 + [✖] #nonexistent-files → Status: 404 + [✖] #rule-default-changes → Status: 404 + [✖] #deprecated-globals → Status: 404 + [✖] #empty-files → Status: 404 + [✖] #scoped-plugins → Status: 404 + [✖] #multiline-directives → Status: 404 + [✖] #parent-before-rules → Status: 404 + [✖] #spread-operators → Status: 404 + [✖] #rest-operators → Status: 404 + [✖] #jsx-text-nodes → Status: 404 + [✖] #context-get-scope → Status: 404 + [✖] #no-context-linter → Status: 404 + [✖] #rule-tester-equality → Status: 404 + [✖] #required-report-messages → Status: 404 + [✖] #source-property → Status: 404 + [✖] #exit-code-two → Status: 404 + [✖] #non-enumerable-linter → Status: 404 + [✖] configuring#using-eslintrecommended → Status: 400 + [✖] ../rules/for-direction → Status: 400 + [✖] ../rules/getter-return → Status: 400 + [✖] ../rules/no-restricted-syntax → Status: 400 + [✖] ../extend/nodejs-api#cliengineexecuteonfiles → Status: 400 + [✖] ../rules/object-curly-newline → Status: 400 + [✖] ../rules/no-self-assign → Status: 400 + [✖] ../rules/no-undef → Status: 400 + [✖] configuring#ignoring-files-and-directories → Status: 400 + [✖] ../extend/custom-rules#contextgetscope → Status: 400 + [✖] command-line-interface#--report-unused-disable-directives → Status: 400 + [✖] /blog/2016/10/eslint-v3.8.0-released#additional-property-on-linting-results → Status: 400 + [✖] ../extend/nodejs-api#linter-1 → Status: 400 + [✖] ../extend/nodejs-api#linter → Status: 400 + +FILE: src//use/migrating-to-1.0.0.md + [✖] ../rules/no-alert + [✖] ../rules/no-array-constructor + [✖] ../rules/no-caller + [✖] ../rules/no-catch-shadow + [✖] ../rules/no-empty-label + [✖] ../rules/no-eval + [✖] ../rules/no-extend-native + [✖] ../rules/no-extra-bind + [✖] ../rules/no-extra-strict + [✖] ../rules/no-implied-eval + [✖] ../rules/no-iterator + [✖] ../rules/no-label-var + [✖] ../rules/no-labels + [✖] ../rules/no-lone-blocks + [✖] ../rules/no-loop-func + [✖] ../rules/no-multi-spaces + [✖] ../rules/no-multi-str + [✖] ../rules/no-native-reassign + [✖] ../rules/no-new + [✖] ../rules/no-new-func + [✖] ../rules/no-new-object + [✖] ../rules/no-new-wrappers + [✖] ../rules/no-octal-escape + [✖] ../rules/no-process-exit + [✖] ../rules/no-proto + [✖] ../rules/no-return-assign + [✖] ../rules/no-script-url + [✖] ../rules/no-sequences + [✖] ../rules/no-shadow + [✖] ../rules/no-shadow-restricted-names + [✖] ../rules/no-spaced-func + [✖] ../rules/no-trailing-spaces + [✖] ../rules/no-undef-init + [✖] ../rules/no-underscore-dangle + [✖] ../rules/no-unused-expressions + [✖] ../rules/no-use-before-define + [✖] ../rules/no-with + [✖] ../rules/no-wrap-func + [✖] ../rules/camelcase + [✖] ../rules/comma-spacing + [✖] ../rules/consistent-return + [✖] ../rules/curly + [✖] ../rules/dot-notation + [✖] ../rules/eol-last + [✖] ../rules/eqeqeq + [✖] ../rules/key-spacing + [✖] ../rules/new-cap + [✖] ../rules/new-parens + [✖] ../rules/quotes + [✖] ../rules/semi + [✖] ../rules/semi-spacing + [✖] ../rules/space-infix-ops + [✖] ../rules/space-return-throw-case + [✖] ../rules/space-unary-ops + [✖] ../rules/strict + [✖] ../rules/yoda + [✓] https://github.com/eslint/eslint/commit/e3e9dbd9876daf4bdeb4e15f8a76a9d5e6e03e39#diff-b01a5cfd9361ca9280a460fd6bb8edbbL1 + [✖] ../rules/generator-star + [✖] ../rules/generator-star-spacing + [✖] ../rules/global-strict + [✖] ../rules/no-comma-dangle + [✖] ../rules/comma-dangle + [✖] ../rules/no-empty-class + [✖] ../rules/no-empty-character-class + [✖] ../rules/no-reserved-keys + [✖] ../rules/quote-props + [✖] ../rules/no-space-before-semi + [✖] ../rules/no-extra-parens + [✖] ../rules/space-after-function-name + [✖] ../rules/space-before-function-paren + [✖] ../rules/space-before-function-parentheses + [✖] ../rules/space-in-brackets + [✖] ../rules/object-curly-spacing + [✖] ../rules/array-bracket-spacing + [✖] ../rules/space-unary-word-ops + [✖] ../rules/spaced-line-comment + [✖] ../rules/spaced-comment + + 77 links checked. + + ERROR: 76 dead links found! + [✖] ../rules/no-alert → Status: 400 + [✖] ../rules/no-array-constructor → Status: 400 + [✖] ../rules/no-caller → Status: 400 + [✖] ../rules/no-catch-shadow → Status: 400 + [✖] ../rules/no-empty-label → Status: 400 + [✖] ../rules/no-eval → Status: 400 + [✖] ../rules/no-extend-native → Status: 400 + [✖] ../rules/no-extra-bind → Status: 400 + [✖] ../rules/no-extra-strict → Status: 400 + [✖] ../rules/no-implied-eval → Status: 400 + [✖] ../rules/no-iterator → Status: 400 + [✖] ../rules/no-label-var → Status: 400 + [✖] ../rules/no-labels → Status: 400 + [✖] ../rules/no-lone-blocks → Status: 400 + [✖] ../rules/no-loop-func → Status: 400 + [✖] ../rules/no-multi-spaces → Status: 400 + [✖] ../rules/no-multi-str → Status: 400 + [✖] ../rules/no-native-reassign → Status: 400 + [✖] ../rules/no-new → Status: 400 + [✖] ../rules/no-new-func → Status: 400 + [✖] ../rules/no-new-object → Status: 400 + [✖] ../rules/no-new-wrappers → Status: 400 + [✖] ../rules/no-octal-escape → Status: 400 + [✖] ../rules/no-process-exit → Status: 400 + [✖] ../rules/no-proto → Status: 400 + [✖] ../rules/no-return-assign → Status: 400 + [✖] ../rules/no-script-url → Status: 400 + [✖] ../rules/no-sequences → Status: 400 + [✖] ../rules/no-shadow → Status: 400 + [✖] ../rules/no-shadow-restricted-names → Status: 400 + [✖] ../rules/no-spaced-func → Status: 400 + [✖] ../rules/no-trailing-spaces → Status: 400 + [✖] ../rules/no-undef-init → Status: 400 + [✖] ../rules/no-underscore-dangle → Status: 400 + [✖] ../rules/no-unused-expressions → Status: 400 + [✖] ../rules/no-use-before-define → Status: 400 + [✖] ../rules/no-with → Status: 400 + [✖] ../rules/no-wrap-func → Status: 400 + [✖] ../rules/camelcase → Status: 400 + [✖] ../rules/comma-spacing → Status: 400 + [✖] ../rules/consistent-return → Status: 400 + [✖] ../rules/curly → Status: 400 + [✖] ../rules/dot-notation → Status: 400 + [✖] ../rules/eol-last → Status: 400 + [✖] ../rules/eqeqeq → Status: 400 + [✖] ../rules/key-spacing → Status: 400 + [✖] ../rules/new-cap → Status: 400 + [✖] ../rules/new-parens → Status: 400 + [✖] ../rules/quotes → Status: 400 + [✖] ../rules/semi → Status: 400 + [✖] ../rules/semi-spacing → Status: 400 + [✖] ../rules/space-infix-ops → Status: 400 + [✖] ../rules/space-return-throw-case → Status: 400 + [✖] ../rules/space-unary-ops → Status: 400 + [✖] ../rules/strict → Status: 400 + [✖] ../rules/yoda → Status: 400 + [✖] ../rules/generator-star → Status: 400 + [✖] ../rules/generator-star-spacing → Status: 400 + [✖] ../rules/global-strict → Status: 400 + [✖] ../rules/no-comma-dangle → Status: 400 + [✖] ../rules/comma-dangle → Status: 400 + [✖] ../rules/no-empty-class → Status: 400 + [✖] ../rules/no-empty-character-class → Status: 400 + [✖] ../rules/no-reserved-keys → Status: 400 + [✖] ../rules/quote-props → Status: 400 + [✖] ../rules/no-space-before-semi → Status: 400 + [✖] ../rules/no-extra-parens → Status: 400 + [✖] ../rules/space-after-function-name → Status: 400 + [✖] ../rules/space-before-function-paren → Status: 400 + [✖] ../rules/space-before-function-parentheses → Status: 400 + [✖] ../rules/space-in-brackets → Status: 400 + [✖] ../rules/object-curly-spacing → Status: 400 + [✖] ../rules/array-bracket-spacing → Status: 400 + [✖] ../rules/space-unary-word-ops → Status: 400 + [✖] ../rules/spaced-line-comment → Status: 400 + [✖] ../rules/spaced-comment → Status: 400 + +FILE: src//use/core-concepts.md + [✖] ../rules/semi + [✓] #plugins + [✓] ../rules/ + [✖] ./configuring/configuration-files + [✓] https://www.npmjs.com/package/eslint-config-airbnb-base + [✖] ./configuring/configuration-files#using-a-shareable-configuration-package + [✓] https://www.npmjs.com/package/@angular-eslint/eslint-plugin + [✖] ./configuring/plugins + [✓] https://github.com/eslint/espree + [✖] npmjs.com/package/@typescript-eslint/parser + [✓] https://github.com/typescript-eslint/typescript-eslint + [✓] https://github.com/eslint/eslint-plugin-markdown + [✓] ./formatters/ + [✖] ./integrations + [✖] ./command-line-interface + [✖] ../extend/nodejs-api + + 16 links checked. + + ERROR: 8 dead links found! + [✖] ../rules/semi → Status: 400 + [✖] ./configuring/configuration-files → Status: 400 + [✖] ./configuring/configuration-files#using-a-shareable-configuration-package → Status: 400 + [✖] ./configuring/plugins → Status: 400 + [✖] npmjs.com/package/@typescript-eslint/parser → Status: 400 + [✖] ./integrations → Status: 400 + [✖] ./command-line-interface → Status: 400 + [✖] ../extend/nodejs-api → Status: 400 + +FILE: src//use/migrating-to-3.0.0.md + [✓] https://github.com/nodejs/Release + [✖] ../rules/no-unsafe-finally + [✖] ../rules/no-native-reassign + [✖] ../rules/require-yield + [✖] ../rules/comma-dangle + [✓] https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support + [✖] ../rules/complexity + + 7 links checked. + + ERROR: 5 dead links found! + [✖] ../rules/no-unsafe-finally → Status: 400 + [✖] ../rules/no-native-reassign → Status: 400 + [✖] ../rules/require-yield → Status: 400 + [✖] ../rules/comma-dangle → Status: 400 + [✖] ../rules/complexity → Status: 400 + +FILE: src//maintain/governance.md + [✓] https://eslint.org/ + [✓] ../contribute/ + [✖] issues + [✖] manage-pull-requests + [✓] ./ + [✓] https://eslint.org/chat + [✓] https://en.wikipedia.org/wiki/Consensus-seeking_decision-making + [✓] https://github.com/yui/yui3/wiki/Contributor-Model + [✓] https://github.com/nodejs/node/blob/master/GOVERNANCE.md + [✓] https://creativecommons.org/licenses/by-sa/2.0/uk/ + + 10 links checked. + + ERROR: 2 dead links found! + [✖] issues → Status: 400 + [✖] manage-pull-requests → Status: 400 + +FILE: src//maintain/manage-pull-requests.md + No hyperlinks found! + + 0 links checked. + +FILE: src//maintain/index.md + [✖] manage-issues + [✖] manage-pull-requests + [✖] manage-releases + [✖] governance + [✖] working-groups + + 5 links checked. + + ERROR: 5 dead links found! + [✖] manage-issues → Status: 400 + [✖] manage-pull-requests → Status: 400 + [✖] manage-releases → Status: 400 + [✖] governance → Status: 400 + [✖] working-groups → Status: 400 + +FILE: src//maintain/manage-releases.md + [✓] https://semver.org/ + [✓] https://github.com/eslint/eslint/issues/8138 + + 2 links checked. + +FILE: src//maintain/working-groups.md + [✓] https://eslint.org/team + + 1 links checked. + +FILE: src//maintain/manage-issues.md + [✓] https://github.com/orgs/eslint/projects/2 + [✖] https://docs.github.com/en/free-pro-team@latest/discussions/managing-discussions-for-your-community/moderating-discussions#converting-an-issue-to-a-discussion + [✓] #championing-issues + [✓] #consensus + + 4 links checked. + + ERROR: 1 dead links found! + [✖] https://docs.github.com/en/free-pro-team@latest/discussions/managing-discussions-for-your-community/moderating-discussions#converting-an-issue-to-a-discussion → Status: 403 + +FILE: src//contribute/package-json-conventions.md + [✖] https://github.com/eslint/eslint/edit/main/docs/src/extend/package-json-conventions.md + [✓] https://docs.npmjs.com/cli/v8/using-npm/scripts#life-cycle-scripts + + 2 links checked. + + ERROR: 1 dead links found! + [✖] https://github.com/eslint/eslint/edit/main/docs/src/extend/package-json-conventions.md → Status: 404 + +FILE: src//contribute/propose-new-rule.md + [✖] pull-requests + [✓] https://github.com/eslint/eslint/issues/new/choose + [✖] ../custom-rules + [✖] ../plugins + + 4 links checked. + + ERROR: 3 dead links found! + [✖] pull-requests → Status: 400 + [✖] ../custom-rules → Status: 400 + [✖] ../plugins → Status: 400 + +FILE: src//contribute/propose-rule-change.md + [✖] pull-requests + [✓] https://github.com/eslint/eslint/issues/new/choose + [✖] propose-new-rule#core-rule-guidelines + + 3 links checked. + + ERROR: 2 dead links found! + [✖] pull-requests → Status: 400 + [✖] propose-new-rule#core-rule-guidelines → Status: 400 + +FILE: src//contribute/code-conventions.md + [✓] https://www.npmjs.com/package/eslint-config-eslint + [✓] ../rules/ + [✖] ./package-json-conventions + + 3 links checked. + + ERROR: 1 dead links found! + [✖] ./package-json-conventions → Status: 400 + +FILE: src//contribute/request-change.md + [✓] https://github.com/eslint/eslint/issues/new/choose + [✓] https://groups.google.com/group/eslint + [✓] https://eslint.org/chat + + 3 links checked. + +FILE: src//contribute/code-path-analysis.md + [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-unreachable.js + [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-fallthrough.js + [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/consistent-return.js + [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/constructor-super.js + [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-this-before-super.js + [✓] ../assets/images/code-path-analysis/helo.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-while-1.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-while-2.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-while-3.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-for-1.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-for-2.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-for-3.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-for-4.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-for-5.svg + [✓] ../assets/images/code-path-analysis/example-hello-world.svg + [✓] ../assets/images/code-path-analysis/example-ifstatement.svg + [✓] ../assets/images/code-path-analysis/example-ifstatement-chain.svg + [✓] ../assets/images/code-path-analysis/example-switchstatement.svg + [✓] ../assets/images/code-path-analysis/example-switchstatement-has-default.svg + [✓] ../assets/images/code-path-analysis/example-trystatement-try-catch.svg + [✓] ../assets/images/code-path-analysis/example-trystatement-try-finally.svg + [✓] ../assets/images/code-path-analysis/example-trystatement-try-catch-finally.svg + [✓] ../assets/images/code-path-analysis/example-whilestatement.svg + [✓] ../assets/images/code-path-analysis/example-dowhilestatement.svg + [✓] ../assets/images/code-path-analysis/example-forstatement.svg + [✓] ../assets/images/code-path-analysis/example-forstatement-for-ever.svg + [✓] ../assets/images/code-path-analysis/example-forinstatement.svg + [✓] ../assets/images/code-path-analysis/example-when-there-is-a-function-g.svg + [✓] ../assets/images/code-path-analysis/example-when-there-is-a-function-f.svg + + 29 links checked. + +FILE: src//contribute/work-on-issue.md + [✓] https://github.com/eslint/eslint/issues + [✖] ../../maintain/issues#when-an-issue-is-opened + [✓] https://github.com/eslint/eslint/labels/good%20first%20issue + [✓] https://github.com/eslint/eslint/labels/help%20wanted + [✓] https://github.com/eslint/eslint/labels/accepted + [✖] ../../maintain/issues#types-of-issues + [✓] https://www.bountysource.com/teams/eslint/issues + + 7 links checked. + + ERROR: 2 dead links found! + [✖] ../../maintain/issues#when-an-issue-is-opened → Status: 400 + [✖] ../../maintain/issues#types-of-issues → Status: 400 + +FILE: src//contribute/unit-tests.md + [✓] https://mochajs.org/ + [✓] https://mochajs.org/#command-line-usage + + 2 links checked. + +FILE: src//contribute/architecture/index.md + [✓] ../../assets/images/architecture/dependency.svg + + 1 links checked. + +FILE: src//contribute/pull-requests.md + [✖] ../development-environment + [✖] work-on-issue + [✖] #step1 + [✖] #step2 + [✖] #step3 + [✖] #step4 + [✖] #step5 + [✖] #step6 + [✖] #step7 + [✖] ../code-conventions + [✓] https://www.conventionalcommits.org/ + [✖] work-on-issue#issue-labels + [✖] https://help.github.com/articles/creating-a-pull-request + [✓] https://cla.openjsf.org/ + [✖] https://help.github.com/articles/resolving-merge-conflicts-after-a-git-rebase/ + + 15 links checked. + + ERROR: 13 dead links found! + [✖] ../development-environment → Status: 400 + [✖] work-on-issue → Status: 400 + [✖] #step1 → Status: 404 + [✖] #step2 → Status: 404 + [✖] #step3 → Status: 404 + [✖] #step4 → Status: 404 + [✖] #step5 → Status: 404 + [✖] #step6 → Status: 404 + [✖] #step7 → Status: 404 + [✖] ../code-conventions → Status: 400 + [✖] work-on-issue#issue-labels → Status: 400 + [✖] https://help.github.com/articles/creating-a-pull-request → Status: 403 + [✖] https://help.github.com/articles/resolving-merge-conflicts-after-a-git-rebase/ → Status: 403 + +FILE: src//contribute/index.md + [✓] https://eslint.org/conduct + [✖] report-bug + [✖] propose-new-rule + [✖] propose-rule-change + [✖] request-change + [✓] https://hackerone.com/eslint + [✖] work-on-issue + [✖] pull-requests + + 8 links checked. + + ERROR: 6 dead links found! + [✖] report-bug → Status: 400 + [✖] propose-new-rule → Status: 400 + [✖] propose-rule-change → Status: 400 + [✖] request-change → Status: 400 + [✖] work-on-issue → Status: 400 + [✖] pull-requests → Status: 400 + +FILE: src//contribute/source-code.md + [✓] https://github.com/eslint/eslint + [✓] https://git-scm.com/ + [✖] https://help.github.com/articles/set-up-git/ + [✖] https://help.github.com/articles/fork-a-repo/ + [✓] https://nodejs.org + [✓] https://www.npmjs.com/ + + 6 links checked. + + ERROR: 2 dead links found! + [✖] https://help.github.com/articles/set-up-git/ → Status: 403 + [✖] https://help.github.com/articles/fork-a-repo/ → Status: 403 + +FILE: src//contribute/report-bugs.md + [✓] https://github.com/eslint/eslint/issues/new/choose + [✖] pull-requests + [✓] https://groups.google.com/group/eslint + [✓] https://eslint.org/chat + + 4 links checked. + + ERROR: 1 dead links found! + [✖] pull-requests → Status: 400 + +FILE: src//contribute/development-environment.md + [✓] https://nodejs.org/ + [✓] https://www.npmjs.com/ + [✓] https://github.com/eslint/eslint + [✖] https://help.github.com/articles/fork-a-repo + [✓] https://yeoman.io + [✓] https://github.com/eslint/generator-eslint + [✖] contributing/pull-requests + + 7 links checked. + + ERROR: 2 dead links found! + [✖] https://help.github.com/articles/fork-a-repo → Status: 403 + [✖] contributing/pull-requests → Status: 400 + +FILE: src//rules/comma-spacing.md + [✓] https://www.crockford.com/code.html + [✓] https://dojotoolkit.org/reference-guide/1.9/developer/styleguide.html + [✖] array-bracket-spacing + [✖] object-curly-spacing + [✖] space-in-parens + + 5 links checked. + + ERROR: 3 dead links found! + [✖] array-bracket-spacing → Status: 400 + [✖] object-curly-spacing → Status: 400 + [✖] space-in-parens → Status: 400 + +FILE: src//rules/no-multiple-empty-lines.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-underscore-dangle.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-regex-spaces.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/prefer-rest-params.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-template-curly-in-string.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/sort-imports.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/prefer-destructuring.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment + [✓] https://2ality.com/2015/01/es6-destructuring.html + [✖] #further-reading + + 3 links checked. + + ERROR: 1 dead links found! + [✖] #further-reading → Status: 404 + +FILE: src//rules/space-after-function-name.md + [✖] space-before-function-paren + + 1 links checked. + + ERROR: 1 dead links found! + [✖] space-before-function-paren → Status: 400 + +FILE: src//rules/no-octal-escape.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/max-depth.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-dupe-args.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-misleading-character-class.md + [✓] http://www.unicode.org/L2/L1999/UnicodeData.html#General%20Category + + 1 links checked. + +FILE: src//rules/no-useless-computed-key.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-sync.md + [✓] https://github.com/mysticatea/eslint-plugin-node + + 1 links checked. + +FILE: src//rules/no-return-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/require-await.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-dupe-class-members.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-with.md + [✓] https://web.archive.org/web/20200717110117/https://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/ + + 1 links checked. + +FILE: src//rules/constructor-super.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-empty-static-block.md + [✓] https://github.com/tc39/proposal-class-static-block + + 1 links checked. + +FILE: src//rules/no-negated-condition.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-script-url.md + [✓] https://stackoverflow.com/questions/13497971/what-is-the-matter-with-script-targeted-urls + + 1 links checked. + +FILE: src//rules/grouped-accessor-pairs.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes + [✖] accessor-pairs + [✖] no-dupe-keys + [✖] no-dupe-class-members + + 6 links checked. + + ERROR: 3 dead links found! + [✖] accessor-pairs → Status: 400 + [✖] no-dupe-keys → Status: 400 + [✖] no-dupe-class-members → Status: 400 + +FILE: src//rules/object-property-newline.md + [✓] https://jscs-dev.github.io/rule/requireObjectKeysOnNewLine + + 1 links checked. + +FILE: src//rules/generator-star.md + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-generators + [✖] generator-star-spacing + + 2 links checked. + + ERROR: 1 dead links found! + [✖] generator-star-spacing → Status: 400 + +FILE: src//rules/no-multi-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/one-var-declaration-per-line.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/require-jsdoc.md + [✓] https://eslint.org/blog/2018/11/jsdoc-end-of-life + [✖] http://usejsdoc.org + + 2 links checked. + + ERROR: 1 dead links found! + [✖] http://usejsdoc.org → Status: 0 + +FILE: src//rules/max-classes-per-file.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-bitwise.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/unicode-bom.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-delete-var.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-useless-return.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/wrap-regex.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-restricted-globals.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/dot-location.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/new-cap.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/max-nested-callbacks.md + [✓] http://book.mixu.net/node/ch7.html + [✓] https://web.archive.org/web/20220104141150/https://howtonode.org/control-flow + [✓] https://web.archive.org/web/20220127215850/https://howtonode.org/control-flow-part-ii + + 3 links checked. + +FILE: src//rules/lines-around-directive.md + [✖] padding-line-between-statements + [✓] https://www.ecma-international.org/ecma-262/7.0/#directive-prologue + [✖] padded-blocks + [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesAfterUseStrict + [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesAfterUseStrict + + 5 links checked. + + ERROR: 2 dead links found! + [✖] padding-line-between-statements → Status: 400 + [✖] padded-blocks → Status: 400 + +FILE: src//rules/no-multi-str.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/max-statements-per-line.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-unused-private-class-members.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-promise-executor-return.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise + + 1 links checked. + +FILE: src//rules/multiline-ternary.md + [✖] operator-linebreak + [✓] https://jscs-dev.github.io/rule/requireMultiLineTernary + + 2 links checked. + + ERROR: 1 dead links found! + [✖] operator-linebreak → Status: 400 + +FILE: src//rules/no-undefined.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined + [✓] https://javascriptweblog.wordpress.com/2010/08/16/understanding-undefined-and-preventing-referenceerrors/ + [✓] https://es5.github.io/#x15.1.1.3 + [✖] no-global-assign + [✖] no-shadow-restricted-names + + 5 links checked. + + ERROR: 2 dead links found! + [✖] no-global-assign → Status: 400 + [✖] no-shadow-restricted-names → Status: 400 + +FILE: src//rules/max-lines.md + [✓] https://web.archive.org/web/20160725154648/http://www.mind2b.com/component/content/article/24-software-module-size-and-file-size + [✓] https://jscs-dev.github.io/rule/maximumNumberOfLines + + 2 links checked. + +FILE: src//rules/no-continue.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/indent.md + [✖] ../extend/selectors + [✓] https://github.com/estree/estree + [✓] https://astexplorer.net/ + [✓] https://jscs-dev.github.io/rule/validateIndentation + + 4 links checked. + + ERROR: 1 dead links found! + [✖] ../extend/selectors → Status: 400 + +FILE: src//rules/no-func-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-iterator.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators + [✓] https://kangax.github.io/es5-compat-table/es6/#Iterators + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features#Object_methods + + 3 links checked. + +FILE: src//rules/no-mixed-spaces-and-tabs.md + [✓] https://www.emacswiki.org/emacs/SmartTabs + + 1 links checked. + +FILE: src//rules/no-else-return.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/getter-return.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-accessor-properties + + 2 links checked. + +FILE: src//rules/no-empty.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-shadow-restricted-names.md + [✓] https://es5.github.io/#x15.1.1 + [✓] https://es5.github.io/#C + + 2 links checked. + +FILE: src//rules/no-import-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-this-before-super.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/prefer-object-spread.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/comma-style.md + [✓] https://gist.github.com/isaacs/357981 + [✓] https://github.com/estree/estree + [✓] https://astexplorer.net/ + + 3 links checked. + +FILE: src//rules/generator-star-spacing.md + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-generators + + 1 links checked. + +FILE: src//rules/no-useless-catch.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/prefer-const.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-extra-parens.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence + [✖] wrap-regex + [✖] wrap-iife + [✖] arrow-parens + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp + + 5 links checked. + + ERROR: 3 dead links found! + [✖] wrap-regex → Status: 400 + [✖] wrap-iife → Status: 400 + [✖] arrow-parens → Status: 400 + +FILE: src//rules/no-console.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/space-in-parens.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/space-before-function-parentheses.md + [✖] space-before-function-paren + + 1 links checked. + + ERROR: 1 dead links found! + [✖] space-before-function-paren → Status: 400 + +FILE: src//rules/no-return-await.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function + [✓] https://jakearchibald.com/2017/await-vs-return-vs-return-await/ + + 2 links checked. + +FILE: src//rules/no-class-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-inline-comments.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp + + 1 links checked. + +FILE: src//rules/no-trailing-spaces.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-self-compare.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN + + 1 links checked. + +FILE: src//rules/no-arrow-condition.md + [✖] no-confusing-arrow + [✖] no-constant-condition + + 2 links checked. + + ERROR: 2 dead links found! + [✖] no-confusing-arrow → Status: 400 + [✖] no-constant-condition → Status: 400 + +FILE: src//rules/object-curly-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-redeclare.md + [✖] no-shadow + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-shadow → Status: 400 + +FILE: src//rules/global-require.md + [✓] https://github.com/mysticatea/eslint-plugin-node + + 1 links checked. + +FILE: src//rules/prefer-arrow-callback.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions + + 1 links checked. + +FILE: src//rules/no-unneeded-ternary.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/rest-spread-spacing.md + [✓] https://github.com/tc39/proposal-object-rest-spread + [✖] ../users/configuring#specifying-parser-options + + 2 links checked. + + ERROR: 1 dead links found! + [✖] ../users/configuring#specifying-parser-options → Status: 400 + +FILE: src//rules/no-mixed-requires.md + [✓] https://github.com/mysticatea/eslint-plugin-node + [✓] https://nodejs.org/api/modules.html#modules_core_modules + [✓] https://nodejs.org/api/modules.html#modules_file_modules + [✓] https://nodejs.org/api/modules.html#modules_loading_from_node_modules_folders + [✓] https://github.com/umdjs/umd + + 5 links checked. + +FILE: src//rules/array-bracket-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-tabs.md + [✓] https://jscs-dev.github.io/rule/disallowTabs + + 1 links checked. + +FILE: src//rules/arrow-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/func-names.md + [✓] https://web.archive.org/web/20201112040809/http://markdaggett.com/blog/2013/02/15/functions-explained/ + [✓] https://2ality.com/2015/09/function-names-es6.html + [✓] https://jscs-dev.github.io/rule/requireAnonymousFunctions + [✓] https://jscs-dev.github.io/rule/disallowAnonymousFunctions + + 4 links checked. + +FILE: src//rules/no-restricted-imports.md + [✓] https://github.com/nodejs/node/tree/master/lib + + 1 links checked. + +FILE: src//rules/no-debugger.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger + + 1 links checked. + +FILE: src//rules/max-statements.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/prefer-spread.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/new-parens.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/keyword-spacing.md + [✖] space-before-function-paren + + 1 links checked. + + ERROR: 1 dead links found! + [✖] space-before-function-paren → Status: 400 + +FILE: src//rules/no-lone-blocks.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-use-before-define.md + [✓] #variables + + 1 links checked. + +FILE: src//rules/id-blacklist.md + [✖] id-denylist + + 1 links checked. + + ERROR: 1 dead links found! + [✖] id-denylist → Status: 400 + +FILE: src//rules/space-after-keywords.md + [✖] keyword-spacing + [✖] ../users/command-line-interface#--fix + + 2 links checked. + + ERROR: 2 dead links found! + [✖] keyword-spacing → Status: 400 + [✖] ../users/command-line-interface#--fix → Status: 400 + +FILE: src//rules/no-invalid-this.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/quote-props.md + [✓] https://kangax.github.io/compat-table/es5/#Reserved_words_as_property_names + [✓] https://mathiasbynens.be/notes/javascript-properties + + 2 links checked. + +FILE: src//rules/no-void.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void + [✓] https://oreilly.com/javascript/excerpts/javascript-good-parts/bad-parts.html + + 2 links checked. + +FILE: src//rules/space-before-keywords.md + [✖] keyword-spacing + [✖] ../users/command-line-interface#--fix + [✖] block-spacing + + 3 links checked. + + ERROR: 3 dead links found! + [✖] keyword-spacing → Status: 400 + [✖] ../users/command-line-interface#--fix → Status: 400 + [✖] block-spacing → Status: 400 + +FILE: src//rules/no-process-env.md + [✓] https://stackoverflow.com/questions/5869216/how-to-store-node-js-deployment-settings-configuration-files + [✓] https://blog.benhall.me.uk/2012/02/storing-application-config-data-in/ + [✓] https://github.com/mysticatea/eslint-plugin-node + + 3 links checked. + +FILE: src//rules/no-confusing-arrow.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-empty-function.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/semi.md + [✓] https://blog.izs.me/2010/12/an-open-letter-to-javascript-leaders-regarding/ + [✓] https://web.archive.org/web/20200420230322/http://inimino.org/~inimino/blog/javascript_semicolons + [✖] no-unreachable + [✖] no-unexpected-multiline + + 4 links checked. + + ERROR: 2 dead links found! + [✖] no-unreachable → Status: 400 + [✖] no-unexpected-multiline → Status: 400 + +FILE: src//rules/no-useless-constructor.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-unexpected-multiline.md + [✖] ./semi + [✖] semi + + 2 links checked. + + ERROR: 2 dead links found! + [✖] ./semi → Status: 400 + [✖] semi → Status: 400 + +FILE: src//rules/no-new-func.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-restricted-exports.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-unused-expressions.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-unsafe-negation.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/in + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof + + 2 links checked. + +FILE: src//rules/no-async-promise-executor.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-restricted-syntax.md + [✓] https://github.com/estree/estree + [✓] https://github.com/eslint/eslint-visitor-keys/blob/main/lib/visitor-keys.js + [✓] https://astexplorer.net/ + [✖] ../extend/selectors + + 4 links checked. + + ERROR: 1 dead links found! + [✖] ../extend/selectors → Status: 400 + +FILE: src//rules/no-implicit-coercion.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/camelcase.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/init-declarations.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/line-comment-position.md + [✓] https://jscs-dev.github.io/rule/validateCommentPosition + + 1 links checked. + +FILE: src//rules/no-await-in-loop.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/jsx-quotes.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-comma-dangle.md + [✖] comma-dangle + + 1 links checked. + + ERROR: 1 dead links found! + [✖] comma-dangle → Status: 400 + +FILE: src//rules/default-param-last.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/key-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/default-case.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/symbol-description.md + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-symbol-description + + 1 links checked. + +FILE: src//rules/block-scoped-var.md + [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var#var_hoisting + + 2 links checked. + +FILE: src//rules/callback-return.md + [✓] https://github.com/maxogden/art-of-node#callbacks + [✓] https://web.archive.org/web/20171224042620/https://docs.nodejitsu.com/articles/errors/what-are-the-error-conventions/ + [✓] https://github.com/mysticatea/eslint-plugin-node + + 3 links checked. + +FILE: src//rules/no-undef-init.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/space-before-blocks.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-new-require.md + [✓] https://github.com/mysticatea/eslint-plugin-node + + 1 links checked. + +FILE: src//rules/require-yield.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/template-curly-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-unreachable.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/valid-typeof.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof + + 1 links checked. + +FILE: src//rules/no-invalid-regexp.md + [✓] https://es5.github.io/#x7.8.5 + + 1 links checked. + +FILE: src//rules/newline-per-chained-call.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-empty-class.md + [✖] no-empty-character-class + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-empty-character-class → Status: 400 + +FILE: src//rules/no-catch-shadow.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-prototype-builtins.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-empty-label.md + [✖] no-labels + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-labels → Status: 400 + +FILE: src//rules/no-useless-call.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-unsafe-optional-chaining.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/id-length.md + [✓] https://unicode.org/reports/tr29/#Default_Grapheme_Cluster_Table + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length + + 2 links checked. + +FILE: src//rules/no-global-assign.md + [✖] ../users/configuring#specifying-environments + [✖] ../users/configuring#specifying-globals + + 2 links checked. + + ERROR: 2 dead links found! + [✖] ../users/configuring#specifying-environments → Status: 400 + [✖] ../users/configuring#specifying-globals → Status: 400 + +FILE: src//rules/accessor-pairs.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects + [✖] no-dupe-keys + [✖] no-dupe-class-members + + 5 links checked. + + ERROR: 2 dead links found! + [✖] no-dupe-keys → Status: 400 + [✖] no-dupe-class-members → Status: 400 + +FILE: src//rules/no-path-concat.md + [✓] https://github.com/mysticatea/eslint-plugin-node + + 1 links checked. + +FILE: src//rules/require-atomic-updates.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/block-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-inner-declarations.md + [✓] https://code.google.com/p/esprima/issues/detail?id=422 + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-block-bindings + [✓] https://bugzilla.mozilla.org/show_bug.cgi?id=585536 + [✖] block-scoped-var + + 4 links checked. + + ERROR: 1 dead links found! + [✖] block-scoped-var → Status: 400 + +FILE: src//rules/operator-assignment.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/quotes.md + [✖] no-restricted-syntax + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-restricted-syntax → Status: 400 + +FILE: src//rules/no-nested-ternary.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-extra-boolean-cast.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-spaced-func.md + [✖] func-call-spacing + + 1 links checked. + + ERROR: 1 dead links found! + [✖] func-call-spacing → Status: 400 + +FILE: src//rules/no-caller.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/consistent-return.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/switch-colon-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-duplicate-imports.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/prefer-template.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-loss-of-precision.md + [✓] https://en.wikipedia.org/wiki/IEEE_754 + + 1 links checked. + +FILE: src//rules/no-plusplus.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-unsafe-finally.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-throw-literal.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-labels.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/prefer-reflect.md + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflection + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.apply + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-function.prototype.apply + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-function.prototype.call + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.deleteproperty + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-delete-operator-runtime-semantics-evaluation + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.getownpropertydescriptor + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.getownpropertydescriptor + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.getprototypeof + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.getprototypeof + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.setprototypeof + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.setprototypeof + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.preventextensions + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.preventextensions + [✖] no-delete-var + + 15 links checked. + + ERROR: 1 dead links found! + [✖] no-delete-var → Status: 400 + +FILE: src//rules/logical-assignment-operators.md + [✖] ./operator-assignment + + 1 links checked. + + ERROR: 1 dead links found! + [✖] ./operator-assignment → Status: 400 + +FILE: src//rules/no-useless-backreference.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions + + 1 links checked. + +FILE: src//rules/max-lines-per-function.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/radix.md + [✓] https://davidwalsh.name/parseint-radix + + 1 links checked. + +FILE: src//rules/no-space-before-semi.md + [✖] semi-spacing + + 1 links checked. + + ERROR: 1 dead links found! + [✖] semi-spacing → Status: 400 + +FILE: src//rules/no-constant-binary-expression.md + [✓] https://eslint.org/blog/2022/07/interesting-bugs-caught-by-no-constant-binary-expression/ + + 1 links checked. + +FILE: src//rules/brace-style.md + [✓] https://en.wikipedia.org/wiki/Indent_style + [✓] https://en.wikipedia.org/wiki/Indent_style#Allman_style + + 2 links checked. + +FILE: src//rules/no-control-regex.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-sparse-arrays.md + [✓] https://www.nczonline.net/blog/2007/09/09/inconsistent-array-literals/ + + 1 links checked. + +FILE: src//rules/no-unused-vars.md + [✓] https://github.com/tc39/proposal-object-rest-spread + + 1 links checked. + +FILE: src//rules/linebreak-style.md + [✓] https://git-scm.com/ + [✓] https://git-scm.com/docs/gitattributes + [✓] https://jscs-dev.github.io/rule/validateLineBreaks + + 3 links checked. + +FILE: src//rules/prefer-numeric-literals.md + [✓] https://jscs-dev.github.io/rule/requireNumericLiterals + + 1 links checked. + +FILE: src//rules/no-alert.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/func-style.md + [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html + + 1 links checked. + +FILE: src//rules/capitalized-comments.md + [✓] https://jscs-dev.github.io/rule/requireCapitalizedComments + [✓] https://jscs-dev.github.io/rule/disallowCapitalizedComments + + 2 links checked. + +FILE: src//rules/no-sequences.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-whitespace-before-property.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-duplicate-case.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/object-shorthand.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer + + 1 links checked. + +FILE: src//rules/yoda.md + [✓] https://en.wikipedia.org/wiki/Yoda_conditions + [✓] http://thomas.tuerke.net/on/design/?with=1249091668#msg1146181680 + + 2 links checked. + +FILE: src//rules/prefer-regex-literals.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp + + 2 links checked. + +FILE: src//rules/no-restricted-modules.md + [✓] https://github.com/mysticatea/eslint-plugin-node + [✓] https://github.com/nodejs/node/tree/master/lib + + 2 links checked. + +FILE: src//rules/no-constructor-return.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/sort-keys.md + [✓] https://jscs-dev.github.io/rule/validateOrderInObjectKeys + + 1 links checked. + +FILE: src//rules/template-tag-spacing.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_template_literals + [✓] https://exploringjs.com/es6/ch_template-literals.html#_examples-of-using-tagged-template-literals + [✖] #further-reading + + 3 links checked. + + ERROR: 1 dead links found! + [✖] #further-reading → Status: 404 + +FILE: src//rules/no-reserved-keys.md + [✓] https://kangax.github.io/compat-table/es5/#Reserved_words_as_property_names + [✖] quote-props + + 2 links checked. + + ERROR: 1 dead links found! + [✖] quote-props → Status: 400 + +FILE: src//rules/no-cond-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-unreachable-loop.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/eqeqeq.md + [✓] https://www.ecma-international.org/ecma-262/5.1/#sec-11.9.3 + + 1 links checked. + +FILE: src//rules/no-proto.md + [✓] https://johnresig.com/blog/objectgetprototypeof/ + + 1 links checked. + +FILE: src//rules/no-process-exit.md + [✓] https://github.com/mysticatea/eslint-plugin-node + [✓] https://nodejs.org/api/process.html#process_process_exitcode + + 2 links checked. + +FILE: src//rules/id-denylist.md + [✖] ../users/configuring/rules + + 1 links checked. + + ERROR: 1 dead links found! + [✖] ../users/configuring/rules → Status: 400 + +FILE: src//rules/newline-after-var.md + [✖] padding-line-between-statements + + 1 links checked. + + ERROR: 1 dead links found! + [✖] padding-line-between-statements → Status: 400 + +FILE: src//rules/no-extra-bind.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind + [✓] https://www.smashingmagazine.com/2014/01/understanding-javascript-function-prototype-bind/ + + 2 links checked. + +FILE: src//rules/comma-dangle.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/prefer-exponentiation-operator.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation + [✓] https://bugs.chromium.org/p/v8/issues/detail?id=5848 + + 2 links checked. + +FILE: src//rules/no-nonoctal-decimal-escape.md + [✓] https://tc39.es/ecma262/#prod-annexB-NonOctalDecimalEscapeSequence + + 1 links checked. + +FILE: src//rules/no-mixed-operators.md + [✖] no-extra-parens + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-extra-parens → Status: 400 + +FILE: src//rules/no-new-object.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-octal.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-magic-numbers.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length + + 1 links checked. + +FILE: src//rules/eol-last.md + [✖] no-multiple-empty-lines + [✖] no-trailing-spaces + + 2 links checked. + + ERROR: 2 dead links found! + [✖] no-multiple-empty-lines → Status: 400 + [✖] no-trailing-spaces → Status: 400 + +FILE: src//rules/arrow-body-style.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/space-before-function-paren.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-unmodified-loop-condition.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-param-reassign.md + [✓] https://spin.atomicobject.com/2011/04/10/javascript-don-t-reassign-your-function-arguments/ + + 1 links checked. + +FILE: src//rules/global-strict.md + [✖] strict + + 1 links checked. + + ERROR: 1 dead links found! + [✖] strict → Status: 400 + +FILE: src//rules/no-unused-labels.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-negated-in-lhs.md + [✖] no-unsafe-negation + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-unsafe-negation → Status: 400 + +FILE: src//rules/vars-on-top.md + [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var#var_hoisting + [✓] https://danhough.com/blog/single-var-pattern-rant/ + [✓] https://benalman.com/news/2012/05/multiple-var-statements-javascript/ + + 4 links checked. + +FILE: src//rules/no-extend-native.md + No hyperlinks found! + + 0 links checked. + +FILE: src//rules/no-ex-assign.md + [✓] https://bocoup.com/blog/the-catch-with-try-catch + + 1 links checked. + +FILE: src//rules/use-isnan.md +^C +➜ docs git:(ia_updates) ✗ find src -name \*.md -print0 | xargs -0 -n1 markdown-link-check + +FILE: src/extend/shareable-configs.md + [✓] https://www.npmjs.com/ + [✓] https://docs.npmjs.com/getting-started/creating-node-modules + [✓] https://docs.npmjs.com/misc/scope + [✓] https://docs.npmjs.com/getting-started/publishing-npm-packages + [✓] https://docs.npmjs.com/files/package.json#peerdependencies + [✓] https://docs.npmjs.com/misc/developers + + 6 links checked. + +FILE: src/extend/custom-parsers.md + [✖] ./scope-manager-interface + [✓] https://github.com/eslint/eslint-scope + [✓] https://github.com/eslint/eslint-visitor-keys#evkkeys + [✓] https://github.com/typescript-eslint/typescript-eslint + [✓] https://github.com/estree/estree + [✓] https://github.com/estree/estree/blob/25834f7247d44d3156030f8e8a2d07644d771fdb/es5.md#node-objects + + 6 links checked. + + ERROR: 1 dead links found! + [✖] ./scope-manager-interface → Status: 400 + +FILE: src/extend/custom-formatters.md + [✓] https://www.npmjs.com/search?q=eslint-formatter + [✖] https://github.com/estree/estree/blob/master/spec.md#node-objects + [✖] nodejs-api#-new-eslintoptions + [✖] working-with-rules + [✖] ../users/formatters/ + [✓] https://www.iterm2.com/ + [✓] http://guake-project.org/ + + 7 links checked. + + ERROR: 4 dead links found! + [✖] https://github.com/estree/estree/blob/master/spec.md#node-objects → Status: 404 + [✖] nodejs-api#-new-eslintoptions → Status: 400 + [✖] working-with-rules → Status: 400 + [✖] ../users/formatters/ → Status: 400 + +FILE: src/extend/nodejs-api.md + [✓] #linter + [✖] #-eslintlintfilespatterns + [✖] ../users/configuring/ + [✖] #-eslintlinttextcode-options + [✖] #-lintresult-type + [✖] ../users/formatters/ + [✓] https://www.npmjs.com/search?q=eslintformatter + [✖] #-loadedformatter-type + [✖] #-lintmessage-type + [✖] #-suppressedlintmessage-type + [✖] #-editinfo-type + [✖] #-eslintloadformatternameorpath + [✓] https://github.com/estree/estree + [✓] #eslint-class + [✖] ./custom-rules#the-context-object + [✓] https://eslint.org/demo + [✖] working-with-plugins#processors-in-plugins + [✖] ./custom-rules#providing-suggestions + [✖] working-with-custom-parsers + [✖] ./custom-rules + [✓] #testing-errors-with-messageid + [✓] #testing-suggestions + [✓] https://mochajs.org/ + + 23 links checked. + + ERROR: 15 dead links found! + [✖] #-eslintlintfilespatterns → Status: 404 + [✖] ../users/configuring/ → Status: 400 + [✖] #-eslintlinttextcode-options → Status: 404 + [✖] #-lintresult-type → Status: 404 + [✖] ../users/formatters/ → Status: 400 + [✖] #-loadedformatter-type → Status: 404 + [✖] #-lintmessage-type → Status: 404 + [✖] #-suppressedlintmessage-type → Status: 404 + [✖] #-editinfo-type → Status: 404 + [✖] #-eslintloadformatternameorpath → Status: 404 + [✖] ./custom-rules#the-context-object → Status: 400 + [✖] working-with-plugins#processors-in-plugins → Status: 400 + [✖] ./custom-rules#providing-suggestions → Status: 400 + [✖] working-with-custom-parsers → Status: 400 + [✖] ./custom-rules → Status: 400 + +FILE: src/extend/custom-rules.md + [✖] ./custom-rules-deprecated + [✓] ../rules/ + [✖] ../users/configuring/configuration-files#extending-configuration-files + [✖] ../users/command-line-interface#--fix + [✓] #options-schemas + [✖] ../users/configuring/rules#configuring-rules + [✓] https://github.com/estree/estree + [✖] ./selectors + [✖] ./code-path-analysis + [✖] ../rules/array-callback-return + [✖] ../users/configuring/language-options#specifying-parser-options + [✓] #contextoptions + [✖] ../users/configuring/configuration-files#adding-shared-settings + [✖] ./nodejs-api#linter + [✖] ./scope-manager-interface#variable-interface + [✖] ./scope-manager-interface#scope-interface + [✓] #contextgetsourcecode + [✖] ../rules/no-unused-vars + [✓] #contextreport + [✓] ./scope-manager-interface.md#scope-interface + [✖] ./scope-manager-interface#reference-interface + [✖] ./scope-manager-interface#definition-interface + [✓] https://github.com/eslint/eslint/blob/main/lib/rules/no-shadow.js + [✖] ../rules/no-shadow + [✓] https://github.com/eslint/eslint/blob/main/lib/rules/no-redeclare.js + [✖] ../rules/no-redeclare + [✓] #using-message-placeholders + [✓] #applying-fixes + [✓] #rule-basics + [✖] ../rules/quotes + [✓] #suggestion-messageids + [✓] #messageids + [✖] ./scope-manager-interface#scopemanager-interface + [✓] https://json-schema.org/ + [✓] https://json-schema.org/learn/ + [✓] https://json-schema.org/understanding-json-schema/ + [✖] nodejs-api#ruletester + [✖] ../users/configuring/ + [✖] ../users/command-line-interface + + 39 links checked. + + ERROR: 22 dead links found! + [✖] ./custom-rules-deprecated → Status: 400 + [✖] ../users/configuring/configuration-files#extending-configuration-files → Status: 400 + [✖] ../users/command-line-interface#--fix → Status: 400 + [✖] ../users/configuring/rules#configuring-rules → Status: 400 + [✖] ./selectors → Status: 400 + [✖] ./code-path-analysis → Status: 400 + [✖] ../rules/array-callback-return → Status: 400 + [✖] ../users/configuring/language-options#specifying-parser-options → Status: 400 + [✖] ../users/configuring/configuration-files#adding-shared-settings → Status: 400 + [✖] ./nodejs-api#linter → Status: 400 + [✖] ./scope-manager-interface#variable-interface → Status: 400 + [✖] ./scope-manager-interface#scope-interface → Status: 400 + [✖] ../rules/no-unused-vars → Status: 400 + [✖] ./scope-manager-interface#reference-interface → Status: 400 + [✖] ./scope-manager-interface#definition-interface → Status: 400 + [✖] ../rules/no-shadow → Status: 400 + [✖] ../rules/no-redeclare → Status: 400 + [✖] ../rules/quotes → Status: 400 + [✖] ./scope-manager-interface#scopemanager-interface → Status: 400 + [✖] nodejs-api#ruletester → Status: 400 + [✖] ../users/configuring/ → Status: 400 + [✖] ../users/command-line-interface → Status: 400 + +FILE: src/extend/index.md + [✖] source-code + [✖] development-environment + [✖] unit-tests + [✖] custom-rules + [✖] custom-plugins + [✖] custom-parsers + [✖] nodejs-api + [✖] contribute/ + + 8 links checked. + + ERROR: 8 dead links found! + [✖] source-code → Status: 400 + [✖] development-environment → Status: 400 + [✖] unit-tests → Status: 400 + [✖] custom-rules → Status: 400 + [✖] custom-plugins → Status: 400 + [✖] custom-parsers → Status: 400 + [✖] nodejs-api → Status: 400 + [✖] contribute/ → Status: 400 + +FILE: src/extend/plugins.md + [✓] https://www.npmjs.com/package/generator-eslint + [✖] ../users/command-line-interface#--ext + [✖] ../users/configuring/plugins#specify-a-processor + [✖] ../users/configuring/plugins#configure-plugins + [✖] nodejs-api#ruletester + [✓] https://www.npmjs.com/package/eslint + [✓] https://www.npmjs.com/package/eslint-plugin-eslint-plugin + [✓] https://www.npmjs.com/package/eslint-plugin-node + [✓] https://docs.npmjs.com/misc/developers + + 9 links checked. + + ERROR: 4 dead links found! + [✖] ../users/command-line-interface#--ext → Status: 400 + [✖] ../users/configuring/plugins#specify-a-processor → Status: 400 + [✖] ../users/configuring/plugins#configure-plugins → Status: 400 + [✖] nodejs-api#ruletester → Status: 400 + +FILE: src/extend/selectors.md + [✓] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors + [✓] #known-issues + [✓] https://github.com/estools/esquery + [✖] ../rules/no-restricted-syntax + [✓] https://github.com/estools/esquery/issues/68 + + 5 links checked. + + ERROR: 1 dead links found! + [✖] ../rules/no-restricted-syntax → Status: 400 + +FILE: src/extend/scope-manager-interface.md + [✓] https://github.com/eslint/eslint-scope + [✓] https://github.com/estools/escope + + 2 links checked. + +FILE: src/extend/working-with-rules-deprecated.md + [✖] ./custom-rules + [✓] #options-schemas + [✖] ../users/configuring/rules#configuring-rules + [✓] https://github.com/estree/estree + [✖] ./code-path-analysis + [✖] ../rules/array-callback-return + [✖] ../users/configuring/language-options#specifying-parser-options + [✖] ../rules/no-unused-vars + [✓] http://json-schema.org/ + [✖] http://json-schema.org/examples.html + [✓] http://spacetelescope.github.io/understanding-json-schema/ + [✖] ../users/configuring/ + [✖] ../users/command-line-interface + + 13 links checked. + + ERROR: 9 dead links found! + [✖] ./custom-rules → Status: 400 + [✖] ../users/configuring/rules#configuring-rules → Status: 400 + [✖] ./code-path-analysis → Status: 400 + [✖] ../rules/array-callback-return → Status: 400 + [✖] ../users/configuring/language-options#specifying-parser-options → Status: 400 + [✖] ../rules/no-unused-vars → Status: 400 + [✖] http://json-schema.org/examples.html → Status: 404 + [✖] ../users/configuring/ → Status: 400 + [✖] ../users/command-line-interface → Status: 400 + +FILE: src/library/buttons.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/rule-list.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/code-blocks.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/link-card.md + [✓] https://blog.izs.me/2010/12/an-open-letter-to-javascript-leaders-regarding/ + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get + + 2 links checked. + +FILE: src/library/rule.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/theme-switcher.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/alert.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/code-tabs.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/related-rules.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/language-switcher.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/social-icons.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/version-switcher.md + No hyperlinks found! + + 0 links checked. + +FILE: src/library/rule-categories.md + [✓] ../rules/ + + 1 links checked. + +FILE: src/about/index.md + [✓] https://en.wikipedia.org/wiki/Lint_(software) + [✓] https://npmjs.org/ + + 2 links checked. + +FILE: src/use/migrating-to-6.0.0.md + [✖] #drop-node-6 + [✖] #eslint-recommended-changes + [✖] #package-loading-simplification + [✖] #espree-validation + [✖] #rule-config-validating + [✖] #no-redeclare-updates + [✖] #comma-dangle-updates + [✖] #no-confusing-arrow-updates + [✖] #overrides-dotfiles + [✖] #overrides-precedence + [✖] #globals-validation + [✖] #experimental-object-rest-spread + [✖] #unicode-regexes + [✖] #plugin-documentation + [✖] #rule-tester-defaults + [✖] #rule-tester-parser + [✖] #eslintExplicitGlobalComment + [✖] #linter-parsers + [✓] https://github.com/eslint/eslint/issues/11456 + [✖] ../users/configuring#using-eslintrecommended + [✖] ../rules/no-async-promise-executor + [✖] ../rules/no-misleading-character-class + [✖] ../rules/no-prototype-builtins + [✖] ../rules/no-shadow-restricted-names + [✖] ../rules/no-useless-catch + [✖] ../rules/no-with + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with + [✖] ../rules/require-atomic-updates + [✖] ../rules/no-console + [✓] https://github.com/eslint/eslint/issues/10768 + [✓] https://github.com/eslint/eslint/issues/10873 + [✓] https://github.com/lerna/lerna + [✓] https://yarnpkg.com/lang/en/docs/pnp/ + [✖] ./command-line-interface#--resolve-plugins-relative-to + [✓] https://github.com/eslint/eslint/issues/10125 + [✓] https://github.com/eslint/rfcs/pull/7 + [✓] https://github.com/eslint/eslint/issues/9687 + [✓] https://github.com/eslint/espree/issues/384 + [✓] https://github.com/eslint/eslint/issues/9505 + [✖] ../rules/no-redeclare + [✓] https://github.com/eslint/eslint/issues/11370 + [✓] https://github.com/eslint/eslint/issues/11405 + [✖] ../rules/comma-dangle + [✓] https://github.com/eslint/eslint/issues/11502 + [✖] ../rules/no-confusing-arrow + [✓] https://github.com/eslint/eslint/issues/11503 + [✖] ../users/configuring#configuration-based-on-glob-patterns + [✓] https://github.com/eslint/eslint/issues/11201 + [✓] https://github.com/eslint/eslint/issues/11510 + [✓] https://github.com/eslint/eslint/issues/9990 + [✖] ../rules/max-len + [✓] https://mathiasbynens.be/notes/es6-unicode-regex + [✓] https://github.com/eslint/eslint/issues/11423 + [✓] https://github.com/eslint/generator-eslint + [✓] https://github.com/eslint/eslint/issues/11473 + [✓] https://github.com/eslint/eslint/issues/11728 + [✓] https://github.com/eslint/rfcs/pull/17 + [✖] ../extend/nodejs-api#linterdefineparser + + 58 links checked. + + ERROR: 34 dead links found! + [✖] #drop-node-6 → Status: 404 + [✖] #eslint-recommended-changes → Status: 404 + [✖] #package-loading-simplification → Status: 404 + [✖] #espree-validation → Status: 404 + [✖] #rule-config-validating → Status: 404 + [✖] #no-redeclare-updates → Status: 404 + [✖] #comma-dangle-updates → Status: 404 + [✖] #no-confusing-arrow-updates → Status: 404 + [✖] #overrides-dotfiles → Status: 404 + [✖] #overrides-precedence → Status: 404 + [✖] #globals-validation → Status: 404 + [✖] #experimental-object-rest-spread → Status: 404 + [✖] #unicode-regexes → Status: 404 + [✖] #plugin-documentation → Status: 404 + [✖] #rule-tester-defaults → Status: 404 + [✖] #rule-tester-parser → Status: 404 + [✖] #eslintExplicitGlobalComment → Status: 404 + [✖] #linter-parsers → Status: 404 + [✖] ../users/configuring#using-eslintrecommended → Status: 400 + [✖] ../rules/no-async-promise-executor → Status: 400 + [✖] ../rules/no-misleading-character-class → Status: 400 + [✖] ../rules/no-prototype-builtins → Status: 400 + [✖] ../rules/no-shadow-restricted-names → Status: 400 + [✖] ../rules/no-useless-catch → Status: 400 + [✖] ../rules/no-with → Status: 400 + [✖] ../rules/require-atomic-updates → Status: 400 + [✖] ../rules/no-console → Status: 400 + [✖] ./command-line-interface#--resolve-plugins-relative-to → Status: 400 + [✖] ../rules/no-redeclare → Status: 400 + [✖] ../rules/comma-dangle → Status: 400 + [✖] ../rules/no-confusing-arrow → Status: 400 + [✖] ../users/configuring#configuration-based-on-glob-patterns → Status: 400 + [✖] ../rules/max-len → Status: 400 + [✖] ../extend/nodejs-api#linterdefineparser → Status: 400 + +FILE: src/use/rule-deprecation.md + No hyperlinks found! + + 0 links checked. + +FILE: src/use/migrating-to-4.0.0.md + [✖] #eslint-recommended-changes + [✖] #indent-rewrite + [✖] #config-validation + [✖] #eslintignore-patterns + [✖] #padded-blocks-defaults + [✖] #space-before-function-paren-defaults + [✖] #no-multi-spaces-eol-comments + [✖] #scoped-plugin-resolution + [✖] #rule-tester-validation + [✖] #comment-attachment + [✖] #event-comments + [✖] #shebangs + [✖] #global-property + [✖] #report-locations + [✖] #exposed-es2015-classes + [✖] configuring#using-eslintrecommended + [✖] ../rules/no-compare-neg-zero + [✖] ../rules/no-useless-escape + [✖] ../rules/indent + [✖] ../rules/indent-legacy + [✖] ../rules/padded-blocks + [✖] ../rules/space-before-function-paren + [✖] ../rules/no-multi-spaces + + 23 links checked. + + ERROR: 23 dead links found! + [✖] #eslint-recommended-changes → Status: 404 + [✖] #indent-rewrite → Status: 404 + [✖] #config-validation → Status: 404 + [✖] #eslintignore-patterns → Status: 404 + [✖] #padded-blocks-defaults → Status: 404 + [✖] #space-before-function-paren-defaults → Status: 404 + [✖] #no-multi-spaces-eol-comments → Status: 404 + [✖] #scoped-plugin-resolution → Status: 404 + [✖] #rule-tester-validation → Status: 404 + [✖] #comment-attachment → Status: 404 + [✖] #event-comments → Status: 404 + [✖] #shebangs → Status: 404 + [✖] #global-property → Status: 404 + [✖] #report-locations → Status: 404 + [✖] #exposed-es2015-classes → Status: 404 + [✖] configuring#using-eslintrecommended → Status: 400 + [✖] ../rules/no-compare-neg-zero → Status: 400 + [✖] ../rules/no-useless-escape → Status: 400 + [✖] ../rules/indent → Status: 400 + [✖] ../rules/indent-legacy → Status: 400 + [✖] ../rules/padded-blocks → Status: 400 + [✖] ../rules/space-before-function-paren → Status: 400 + [✖] ../rules/no-multi-spaces → Status: 400 + +FILE: src/use/migrating-to-8.0.0.md + [✖] #drop-old-node + [✖] #removed-formatters + [✖] #comma-dangle + [✖] #directives + [✖] #eslint-recommended + [✖] #suggestions + [✖] #fixes + [✖] #get-comments + [✖] #ast-format + [✖] #remove-cliengine + [✖] #remove-linter + [✖] #remove-lib + [✓] https://github.com/eslint/eslint/issues/14023 + [✓] https://github.com/fregante/eslint-formatter-codeframe + [✓] https://github.com/fregante/eslint-formatter-table + [✓] https://github.com/eslint/eslint/issues/14277 + [✓] https://github.com/eslint/eslint/pull/14316 + [✓] https://github.com/eslint/eslint/issues/13739 + [✓] https://github.com/eslint/eslint/issues/11815 + [✖] ../rules/no-loss-of-precision + [✖] ../rules/no-nonoctal-decimal-escape + [✖] ../rules/no-unsafe-optional-chaining + [✖] ../rules/no-useless-backreference + [✓] https://github.com/eslint/eslint/issues/14673 + [✖] ../extend/custom-rules#providing-suggestions + [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/require-meta-has-suggestions.md + [✓] https://github.com/eslint/eslint/issues/14312 + [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/require-meta-fixable.md + [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/prefer-object-rule.md + [✖] ../extend/custom-rules + [✓] https://github.com/eslint/eslint/issues/13349 + [✖] ../extend/custom-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside + [✓] https://github.com/eslint/eslint/issues/14744 + [✓] https://github.com/eslint/eslint/pull/14591#issuecomment-887733070 + [✖] ../extend/nodejs-api#eslint-class + [✓] https://github.com/eslint/rfcs/tree/main/designs/2021-package-exports + [✓] https://github.com/eslint/eslint/pull/14716 + [✓] https://github.com/eslint/eslint/issues/13654 + + 38 links checked. + + ERROR: 20 dead links found! + [✖] #drop-old-node → Status: 404 + [✖] #removed-formatters → Status: 404 + [✖] #comma-dangle → Status: 404 + [✖] #directives → Status: 404 + [✖] #eslint-recommended → Status: 404 + [✖] #suggestions → Status: 404 + [✖] #fixes → Status: 404 + [✖] #get-comments → Status: 404 + [✖] #ast-format → Status: 404 + [✖] #remove-cliengine → Status: 404 + [✖] #remove-linter → Status: 404 + [✖] #remove-lib → Status: 404 + [✖] ../rules/no-loss-of-precision → Status: 400 + [✖] ../rules/no-nonoctal-decimal-escape → Status: 400 + [✖] ../rules/no-unsafe-optional-chaining → Status: 400 + [✖] ../rules/no-useless-backreference → Status: 400 + [✖] ../extend/custom-rules#providing-suggestions → Status: 400 + [✖] ../extend/custom-rules → Status: 400 + [✖] ../extend/custom-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside → Status: 400 + [✖] ../extend/nodejs-api#eslint-class → Status: 400 + +FILE: src/use/configure/configuration-files-new.md + [✓] #configuration-objects + [✓] https://www.npmjs.com/package/minimatch + [✓] https://www.npmjs.com/package/@babel/eslint-parser + [✖] ../../rules/semi + + 4 links checked. + + ERROR: 1 dead links found! + [✖] ../../rules/semi → Status: 400 + +FILE: src/use/configure/index.md + [✖] ./configuration-files#configuration-file-formats + [✓] https://docs.npmjs.com/files/package.json + [✖] ../command-line-interface + [✖] ./language-options#specifying-environments + [✖] ./language-options#specifying-globals + [✖] rules + [✖] plugins + [✖] configuration-files + [✖] ./configuration-files#using-configuration-files + [✖] ./configuration-files#adding-shared-settings + [✖] ./configuration-files#cascading-and-hierarchy + [✖] ./configuration-files#extending-configuration-files + [✖] ./configuration-files#configuration-based-on-glob-patterns + [✖] ./configuration-files#personal-configuration-files-deprecated + [✖] language-options + [✖] ./language-options#specifying-parser-options + [✖] ./rules#configuring-rules + [✖] ./rules#disabling-rules + [✖] ./plugins#configure-plugins + [✖] ./plugins#specify-a-processor + [✖] ./plugins#configure-a-parser + [✖] ignoring-code + [✖] ./ignore#ignorepatterns-in-config-files + [✖] ./ignore#the-eslintignore-file + [✖] ./ignore#using-an-alternate-file + [✖] ./ignore#using-eslintignore-in-packagejson + [✖] ./ignore#ignored-file-warnings + + 27 links checked. + + ERROR: 26 dead links found! + [✖] ./configuration-files#configuration-file-formats → Status: 400 + [✖] ../command-line-interface → Status: 400 + [✖] ./language-options#specifying-environments → Status: 400 + [✖] ./language-options#specifying-globals → Status: 400 + [✖] rules → Status: 400 + [✖] plugins → Status: 400 + [✖] configuration-files → Status: 400 + [✖] ./configuration-files#using-configuration-files → Status: 400 + [✖] ./configuration-files#adding-shared-settings → Status: 400 + [✖] ./configuration-files#cascading-and-hierarchy → Status: 400 + [✖] ./configuration-files#extending-configuration-files → Status: 400 + [✖] ./configuration-files#configuration-based-on-glob-patterns → Status: 400 + [✖] ./configuration-files#personal-configuration-files-deprecated → Status: 400 + [✖] language-options → Status: 400 + [✖] ./language-options#specifying-parser-options → Status: 400 + [✖] ./rules#configuring-rules → Status: 400 + [✖] ./rules#disabling-rules → Status: 400 + [✖] ./plugins#configure-plugins → Status: 400 + [✖] ./plugins#specify-a-processor → Status: 400 + [✖] ./plugins#configure-a-parser → Status: 400 + [✖] ignoring-code → Status: 400 + [✖] ./ignore#ignorepatterns-in-config-files → Status: 400 + [✖] ./ignore#the-eslintignore-file → Status: 400 + [✖] ./ignore#using-an-alternate-file → Status: 400 + [✖] ./ignore#using-eslintignore-in-packagejson → Status: 400 + [✖] ./ignore#ignored-file-warnings → Status: 400 + +FILE: src/use/configure/plugins.md + [✓] https://github.com/eslint/espree + [✖] ../../extend/custom-parsers + [✓] https://www.npmjs.com/package/esprima + [✓] https://www.npmjs.com/package/@babel/eslint-parser + [✓] https://babeljs.io + [✓] https://www.npmjs.com/package/@typescript-eslint/parser + + 6 links checked. + + ERROR: 1 dead links found! + [✖] ../../extend/custom-parsers → Status: 400 + +FILE: src/use/configure/configuration-files.md + [✓] #cascading-and-hierarchy + [✖] ../command-line-interface#--no-eslintrc + [✖] ../../users/command-line-interface#-c---config + [✓] https://nodejs.org/api/os.html#os_os_homedir + [✖] configuration-files#personal-configuration-files-deprecated + [✖] ../../extend/shareable-configs + [✓] ../../rules/ + [✖] ../../extend/plugins + [✖] ../../extend/plugins#configs-in-plugins + [✖] ./plugins#configure-plugins + [✓] #using-configuration-files + [✖] ../../rules/quotes + [✖] ../command-line-interface#--fix + [✓] https://github.com/isaacs/minimatch + [✖] ../command-line-interface#--ext + [✖] ../command-line-interface#-c---config + [✓] https://github.com/eslint/rfcs/pull/28 + [✓] https://github.com/eslint/rfcs/pull/32 + [✖] ../command-line-interface#--resolve-plugins-relative-to + + 19 links checked. + + ERROR: 12 dead links found! + [✖] ../command-line-interface#--no-eslintrc → Status: 400 + [✖] ../../users/command-line-interface#-c---config → Status: 400 + [✖] configuration-files#personal-configuration-files-deprecated → Status: 400 + [✖] ../../extend/shareable-configs → Status: 400 + [✖] ../../extend/plugins → Status: 400 + [✖] ../../extend/plugins#configs-in-plugins → Status: 400 + [✖] ./plugins#configure-plugins → Status: 400 + [✖] ../../rules/quotes → Status: 400 + [✖] ../command-line-interface#--fix → Status: 400 + [✖] ../command-line-interface#--ext → Status: 400 + [✖] ../command-line-interface#-c---config → Status: 400 + [✖] ../command-line-interface#--resolve-plugins-relative-to → Status: 400 + +FILE: src/use/configure/rules.md + [✓] ../../rules/ + [✖] ../../rules/eqeqeq + [✖] ../../rules/curly + [✖] ../../rules/quotes + [✖] ../command-line-interface#--no-inline-config + [✖] ../command-line-interface#--report-unused-disable-directives + + 6 links checked. + + ERROR: 5 dead links found! + [✖] ../../rules/eqeqeq → Status: 400 + [✖] ../../rules/curly → Status: 400 + [✖] ../../rules/quotes → Status: 400 + [✖] ../command-line-interface#--no-inline-config → Status: 400 + [✖] ../command-line-interface#--report-unused-disable-directives → Status: 400 + +FILE: src/use/configure/ignore-code.md + [✖] ./ignore#the-eslintignore-file + [✓] https://github.com/kaelzhang/node-ignore + [✖] ../command-line-interface#--ignore-pattern + [✓] https://git-scm.com/docs/gitignore + + 4 links checked. + + ERROR: 2 dead links found! + [✖] ./ignore#the-eslintignore-file → Status: 400 + [✖] ../command-line-interface#--ignore-pattern → Status: 400 + +FILE: src/use/configure/language-options.md + [✓] https://github.com/amdjs/amdjs-api/wiki/AMD + [✖] ../command-line-interface + [✓] https://github.com/yannickcr/eslint-plugin-react + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode + [✓] https://facebook.github.io/jsx/ + + 5 links checked. + + ERROR: 1 dead links found! + [✖] ../command-line-interface → Status: 400 + +FILE: src/use/integrations.md + [✖] ../contribute/pull-requests + [✓] https://github.com/roadhump/SublimeLinter-eslint + [✓] https://github.com/albertosantini/sublimetext-buildnext + [✓] https://github.com/w0rp/ale + [✓] https://github.com/vim-syntastic/syntastic/tree/master/syntax_checkers/javascript + [✓] http://www.flycheck.org/ + [✓] http://www.flycheck.org/en/latest/languages.html#javascript + [✓] https://dev.eclipse.org/mhonarc/lists/orion-dev/msg02718.html + [✓] https://github.com/angelozerr/tern.java/wiki/Tern-Linter-ESLint + [✓] https://github.com/ryanfitzer/eslint.tmbundle + [✓] https://github.com/natesilva/javascript-eslint.tmbundle + [✖] https://atom.io/packages/linter-eslint + [✓] https://atom.io/packages/fast-eslint-8 + [✓] https://www.jetbrains.com/help/webstorm/eslint.html + [✓] https://learn.microsoft.com/en-us/visualstudio/javascript/linting-javascript?view=vs-2022 + [✓] https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint + [✓] https://github.com/brackets-userland/brackets-eslint + [✓] https://www.npmjs.com/package/grunt-eslint + [✓] https://www.npmjs.com/package/gulp-eslint + [✓] https://www.npmjs.com/package/mimosa-eslint + [✓] https://www.npmjs.com/package/broccoli-eslint + [✓] https://www.npmjs.com/package/eslintify + [✓] https://www.npmjs.com/package/eslint-webpack-plugin + [✓] https://www.npmjs.com/package/@rollup/plugin-eslint + [✓] https://www.npmjs.com/package/ember-cli-eslint + [✓] https://www.npmjs.com/package/sails-hook-lint + [✓] https://www.npmjs.com/package/sails-eslint + [✓] https://www.npmjs.com/package/@start/plugin-lib-eslint + [✓] https://www.npmjs.com/package/eslint-brunch + [✓] https://www.npmjs.com/package/eslint-watch + [✓] https://github.com/codeclimate/codeclimate + [✓] https://github.com/IanVS/eslint-nibble + [✓] https://coderwall.com/p/zq8jlq/eslint-pre-commit-hook + [✓] https://gist.github.com/dahjelle/8ddedf0aebd488208a9a7c829f19b9e8 + [✓] https://github.com/brigade/overcommit + [✓] https://nvuillam.github.io/mega-linter + [✖] https://nvuillam.github.io/mega-linter/descriptors/javascript_eslint/ + [✓] https://www.npmjs.com/package/mocha-eslint + [✓] https://github.com/dustinspecker/awesome-eslint + + 39 links checked. + + ERROR: 3 dead links found! + [✖] ../contribute/pull-requests → Status: 400 + [✖] https://atom.io/packages/linter-eslint → Status: 500 + [✖] https://nvuillam.github.io/mega-linter/descriptors/javascript_eslint/ → Status: 404 + +FILE: src/use/command-line-interface.md + [✖] getting-started + [✓] https://docs.npmjs.com/cli/v8/commands/npx + [✓] https://yarnpkg.com/ + [✓] https://pnpm.io/ + [✓] #--ignore-pattern + [✖] configuring/ + [✖] configuring/language-options#specifying-environments + [✖] ../rules/no-undef + [✓] https://github.com/gkz/levn#levn-- + [✓] #--no-eslintrc + [✓] #--fix-dry-run + [✖] ./configuring/configuration-files-new + [✖] configuring/ignore#the-eslintignore-file + [✓] https://git-scm.com/docs/gitignore + [✓] formatters/ + [✓] formatters/#stylish + [✓] #--max-warnings + + 17 links checked. + + ERROR: 6 dead links found! + [✖] getting-started → Status: 400 + [✖] configuring/ → Status: 400 + [✖] configuring/language-options#specifying-environments → Status: 400 + [✖] ../rules/no-undef → Status: 400 + [✖] ./configuring/configuration-files-new → Status: 400 + [✖] configuring/ignore#the-eslintignore-file → Status: 400 + +FILE: src/use/migrating-to-2.0.0.md + [✖] ./migrating-to-1.0.0 + [✖] ../rules/no-arrow-condition + [✖] ../rules/no-confusing-arrow + [✖] ../rules/no-constant-condition + [✖] ../rules/no-empty-label + [✖] ../rules/no-labels + [✖] ../rules/space-after-keywords + [✖] ../rules/keyword-spacing + [✖] ../rules/space-before-keywords + [✖] ../rules/space-return-throw-case + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-arrow-functions + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-octal-and-binary-literals + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-block-bindings + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-default-parameters + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-destructuring-assignment + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-iterables-and-for-of + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-generators + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-computed-property-names + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-duplicate-object-literal-properties + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-method-initializer-shorthand + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-property-initializer-shorthand + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-regular-expression-u-flag + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-regular-expression-y-flag + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-rest-parameters + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-spread-operator + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-template-strings + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-escaping-non-bmp-characters + [✖] ../rules/constructor-super + [✖] ../rules/no-case-declarations + [✖] ../rules/no-class-assign + [✖] ../rules/no-const-assign + [✖] ../rules/no-dupe-class-members + [✖] ../rules/no-empty-pattern + [✖] ../rules/no-new-symbol + [✖] ../rules/no-self-assign + [✖] ../rules/no-this-before-super + [✖] ../rules/no-unexpected-multiline + [✖] ../rules/no-unused-labels + [✓] https://estools.github.io/escope/ + [✖] ../rules/no-multiple-empty-lines + [✖] ../rules/func-style + [✖] ../rules/strict + + 42 links checked. + + ERROR: 24 dead links found! + [✖] ./migrating-to-1.0.0 → Status: 400 + [✖] ../rules/no-arrow-condition → Status: 400 + [✖] ../rules/no-confusing-arrow → Status: 400 + [✖] ../rules/no-constant-condition → Status: 400 + [✖] ../rules/no-empty-label → Status: 400 + [✖] ../rules/no-labels → Status: 400 + [✖] ../rules/space-after-keywords → Status: 400 + [✖] ../rules/keyword-spacing → Status: 400 + [✖] ../rules/space-before-keywords → Status: 400 + [✖] ../rules/space-return-throw-case → Status: 400 + [✖] ../rules/constructor-super → Status: 400 + [✖] ../rules/no-case-declarations → Status: 400 + [✖] ../rules/no-class-assign → Status: 400 + [✖] ../rules/no-const-assign → Status: 400 + [✖] ../rules/no-dupe-class-members → Status: 400 + [✖] ../rules/no-empty-pattern → Status: 400 + [✖] ../rules/no-new-symbol → Status: 400 + [✖] ../rules/no-self-assign → Status: 400 + [✖] ../rules/no-this-before-super → Status: 400 + [✖] ../rules/no-unexpected-multiline → Status: 400 + [✖] ../rules/no-unused-labels → Status: 400 + [✖] ../rules/no-multiple-empty-lines → Status: 400 + [✖] ../rules/func-style → Status: 400 + [✖] ../rules/strict → Status: 400 + +FILE: src/use/formatters/index.md + [✓] https://github.com/eslint/eslint/edit/main/templates/formatter-examples.md.ejs + [✓] #checkstyle + [✓] #compact + [✓] #html + [✓] #jslint-xml + [✓] #json-with-metadata + [✓] #json + [✓] #junit + [✓] #stylish + [✓] #tap + [✓] #unix + [✓] #visualstudio + [✓] html-formatter-example.html + + 13 links checked. + +FILE: src/use/getting-started.md + [✓] https://github.com/eslint/espree + [✓] https://nodejs.org/en/ + [✖] migrating-to-1.0.0 + [✓] ../rules + [✖] configuring/ + [✓] https://www.npmjs.com/search?q=eslint-config + [✖] command-line-interface + [✖] integrations + [✖] ../extend/custom-rules + [✓] ../contribute/ + + 10 links checked. + + ERROR: 5 dead links found! + [✖] migrating-to-1.0.0 → Status: 400 + [✖] configuring/ → Status: 400 + [✖] command-line-interface → Status: 400 + [✖] integrations → Status: 400 + [✖] ../extend/custom-rules → Status: 400 + +FILE: src/use/index.md + [✓] ../extend/ + [✖] getting-started + [✓] ../rules/ + [✖] configuring/ + [✖] command-line-interface + [✖] integrations + [✖] rule-deprecation + [✖] migrating-to-1.0.0 + [✖] migrating-to-2.0.0 + [✖] migrating-to-3.0.0 + [✖] migrating-to-4.0.0 + [✖] migrating-to-5.0.0 + [✖] migrating-to-6.0.0 + [✖] migrating-to-7.0.0 + [✖] migrating-to-8.0.0 + + 15 links checked. + + ERROR: 13 dead links found! + [✖] getting-started → Status: 400 + [✖] configuring/ → Status: 400 + [✖] command-line-interface → Status: 400 + [✖] integrations → Status: 400 + [✖] rule-deprecation → Status: 400 + [✖] migrating-to-1.0.0 → Status: 400 + [✖] migrating-to-2.0.0 → Status: 400 + [✖] migrating-to-3.0.0 → Status: 400 + [✖] migrating-to-4.0.0 → Status: 400 + [✖] migrating-to-5.0.0 → Status: 400 + [✖] migrating-to-6.0.0 → Status: 400 + [✖] migrating-to-7.0.0 → Status: 400 + [✖] migrating-to-8.0.0 → Status: 400 + +FILE: src/use/migrating-to-7.0.0.md + [✖] #drop-node-8 + [✖] #additional-lint-targets + [✖] #base-path-change + [✖] #plugin-loading-change + [✖] #runtime-deprecation-on-personal-config-files + [✖] #default-ignore-patterns + [✖] #description-in-directive-comments + [✖] #deprecate-node-rules + [✖] #rules-strict + [✖] #eslint-recommended + [✖] #rule-tester-strict + [✖] #deprecate-cliengine + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-drop-node8/README.md + [✓] https://github.com/eslint/eslint/pull/12700 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-additional-lint-targets/README.md + [✓] https://github.com/eslint/eslint/pull/12677 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-changing-base-path-in-config-files-that-cli-options-specify/README.md + [✓] https://github.com/eslint/eslint/pull/12887 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-plugin-loading-improvement/README.md + [✓] https://github.com/eslint/eslint/pull/12922 + [✓] https://eslint.org/blog/2019/11/eslint-v6.7.0-released + [✓] https://github.com/eslint/rfcs/tree/master/designs/2019-deprecating-personal-config/README.md + [✓] https://github.com/eslint/eslint/pull/12678 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-update-default-ignore-patterns/README.md + [✓] https://github.com/eslint/eslint/pull/12888 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-description-in-directive-comments/README.md + [✓] https://github.com/eslint/eslint/pull/12699 + [✓] https://github.com/mysticatea/eslint-plugin-node + [✖] ../users/rule-deprecation + [✖] ../rules/callback-return + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/callback-return.md + [✖] ../rules/global-require + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/global-require.md + [✖] ../rules/handle-callback-err + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/handle-callback-err.md + [✖] ../rules/no-mixed-requires + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-mixed-requires.md + [✖] ../rules/no-new-require + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-new-require.md + [✖] ../rules/no-path-concat + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-path-concat.md + [✖] ../rules/no-process-env + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-process-env.md + [✖] ../rules/no-process-exit + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-process-exit.md + [✖] ../rules/no-restricted-modules + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-restricted-require.md + [✖] ../rules/no-sync + [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-sync.md + [✓] https://github.com/eslint/eslint/pull/12898 + [✖] ../rules/accessor-pairs + [✖] ../rules/array-callback-return + [✖] ../rules/computed-property-spacing + [✖] ../rules/func-names + [✖] ../rules/no-extra-parens + [✖] ../rules/no-dupe-class-members + [✖] ../rules/no-magic-numbers + [✖] ../rules/radix + [✖] ../rules/use-isnan + [✖] ../rules/yoda + [✓] https://github.com/eslint/eslint/pull/12490 + [✓] https://github.com/eslint/eslint/pull/12608 + [✓] https://github.com/eslint/eslint/pull/12670 + [✓] https://github.com/eslint/eslint/pull/12701 + [✓] https://github.com/eslint/eslint/pull/12765 + [✓] https://github.com/eslint/eslint/pull/12837 + [✓] https://github.com/eslint/eslint/pull/12913 + [✓] https://github.com/eslint/eslint/pull/12915 + [✓] https://github.com/eslint/eslint/pull/12919 + [✖] ../rules/no-dupe-else-if + [✖] ../rules/no-import-assign + [✖] ../rules/no-setter-return + [✓] https://github.com/eslint/eslint/pull/12920 + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-rule-tester-improvements/README.md + [✓] https://github.com/eslint/eslint/pull/12096 + [✓] https://github.com/eslint/eslint/pull/12955 + [✖] ../extend/nodejs-api#cliengine + [✖] ../extend/nodejs-api#eslint-class + [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-move-to-async-api/README.md + [✓] https://github.com/eslint/eslint/pull/12939 + + 80 links checked. + + ERROR: 38 dead links found! + [✖] #drop-node-8 → Status: 404 + [✖] #additional-lint-targets → Status: 404 + [✖] #base-path-change → Status: 404 + [✖] #plugin-loading-change → Status: 404 + [✖] #runtime-deprecation-on-personal-config-files → Status: 404 + [✖] #default-ignore-patterns → Status: 404 + [✖] #description-in-directive-comments → Status: 404 + [✖] #deprecate-node-rules → Status: 404 + [✖] #rules-strict → Status: 404 + [✖] #eslint-recommended → Status: 404 + [✖] #rule-tester-strict → Status: 404 + [✖] #deprecate-cliengine → Status: 404 + [✖] ../users/rule-deprecation → Status: 400 + [✖] ../rules/callback-return → Status: 400 + [✖] ../rules/global-require → Status: 400 + [✖] ../rules/handle-callback-err → Status: 400 + [✖] ../rules/no-mixed-requires → Status: 400 + [✖] ../rules/no-new-require → Status: 400 + [✖] ../rules/no-path-concat → Status: 400 + [✖] ../rules/no-process-env → Status: 400 + [✖] ../rules/no-process-exit → Status: 400 + [✖] ../rules/no-restricted-modules → Status: 400 + [✖] ../rules/no-sync → Status: 400 + [✖] ../rules/accessor-pairs → Status: 400 + [✖] ../rules/array-callback-return → Status: 400 + [✖] ../rules/computed-property-spacing → Status: 400 + [✖] ../rules/func-names → Status: 400 + [✖] ../rules/no-extra-parens → Status: 400 + [✖] ../rules/no-dupe-class-members → Status: 400 + [✖] ../rules/no-magic-numbers → Status: 400 + [✖] ../rules/radix → Status: 400 + [✖] ../rules/use-isnan → Status: 400 + [✖] ../rules/yoda → Status: 400 + [✖] ../rules/no-dupe-else-if → Status: 400 + [✖] ../rules/no-import-assign → Status: 400 + [✖] ../rules/no-setter-return → Status: 400 + [✖] ../extend/nodejs-api#cliengine → Status: 400 + [✖] ../extend/nodejs-api#eslint-class → Status: 400 + +FILE: src/use/migrating-from-jscs.md + [✓] https://eslint.org/blog/2016/04/welcoming-jscs-to-eslint + [✖] ../extend/shareable-configs + [✓] #converting-presets + [✓] https://github.com/brenolf/polyjuice + [✓] #disabling-rules-inline + [✓] https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base + [✓] https://github.com/google/eslint-config-google + [✓] https://github.com/markelog/eslint-config-grunt + [✓] https://github.com/jamespamplin/eslint-config-idiomatic + [✓] https://github.com/jquery/eslint-config-jquery + [✓] https://github.com/zz85/mrdoobapproves + [✓] https://github.com/pdehaan/eslint-config-node-style-guide + [✓] https://github.com/wikimedia/eslint-config-wikimedia + [✓] https://github.com/WordPress-Coding-Standards/eslint-config-wordpress + + 14 links checked. + + ERROR: 1 dead links found! + [✖] ../extend/shareable-configs → Status: 400 + +FILE: src/use/migrating-to-5.0.0.md + [✖] #drop-node-4 + [✖] #eslint-recommended-changes + [✖] #experimental-object-rest-spread + [✖] #nonexistent-files + [✖] #rule-default-changes + [✖] #deprecated-globals + [✖] #empty-files + [✖] #scoped-plugins + [✖] #multiline-directives + [✖] #parent-before-rules + [✖] #spread-operators + [✖] #rest-operators + [✖] #jsx-text-nodes + [✖] #context-get-scope + [✖] #no-context-linter + [✖] #rule-tester-equality + [✖] #required-report-messages + [✖] #source-property + [✖] #exit-code-two + [✖] #non-enumerable-linter + [✖] configuring#using-eslintrecommended + [✖] ../rules/for-direction + [✖] ../rules/getter-return + [✓] https://developers.google.com/web/updates/2017/06/object-rest-spread + [✓] https://github.com/tc39/proposal-async-iteration + [✖] ../rules/no-restricted-syntax + [✖] ../extend/nodejs-api#cliengineexecuteonfiles + [✖] ../rules/object-curly-newline + [✖] ../rules/no-self-assign + [✖] ../rules/no-undef + [✖] configuring#ignoring-files-and-directories + [✓] https://docs.npmjs.com/misc/scope + [✖] ../extend/custom-rules#contextgetscope + [✖] command-line-interface#--report-unused-disable-directives + [✖] /blog/2016/10/eslint-v3.8.0-released#additional-property-on-linting-results + [✖] ../extend/nodejs-api#linter-1 + [✖] ../extend/nodejs-api#linter + + 37 links checked. + + ERROR: 34 dead links found! + [✖] #drop-node-4 → Status: 404 + [✖] #eslint-recommended-changes → Status: 404 + [✖] #experimental-object-rest-spread → Status: 404 + [✖] #nonexistent-files → Status: 404 + [✖] #rule-default-changes → Status: 404 + [✖] #deprecated-globals → Status: 404 + [✖] #empty-files → Status: 404 + [✖] #scoped-plugins → Status: 404 + [✖] #multiline-directives → Status: 404 + [✖] #parent-before-rules → Status: 404 + [✖] #spread-operators → Status: 404 + [✖] #rest-operators → Status: 404 + [✖] #jsx-text-nodes → Status: 404 + [✖] #context-get-scope → Status: 404 + [✖] #no-context-linter → Status: 404 + [✖] #rule-tester-equality → Status: 404 + [✖] #required-report-messages → Status: 404 + [✖] #source-property → Status: 404 + [✖] #exit-code-two → Status: 404 + [✖] #non-enumerable-linter → Status: 404 + [✖] configuring#using-eslintrecommended → Status: 400 + [✖] ../rules/for-direction → Status: 400 + [✖] ../rules/getter-return → Status: 400 + [✖] ../rules/no-restricted-syntax → Status: 400 + [✖] ../extend/nodejs-api#cliengineexecuteonfiles → Status: 400 + [✖] ../rules/object-curly-newline → Status: 400 + [✖] ../rules/no-self-assign → Status: 400 + [✖] ../rules/no-undef → Status: 400 + [✖] configuring#ignoring-files-and-directories → Status: 400 + [✖] ../extend/custom-rules#contextgetscope → Status: 400 + [✖] command-line-interface#--report-unused-disable-directives → Status: 400 + [✖] /blog/2016/10/eslint-v3.8.0-released#additional-property-on-linting-results → Status: 400 + [✖] ../extend/nodejs-api#linter-1 → Status: 400 + [✖] ../extend/nodejs-api#linter → Status: 400 + +FILE: src/use/migrating-to-1.0.0.md + [✖] ../rules/no-alert + [✖] ../rules/no-array-constructor + [✖] ../rules/no-caller + [✖] ../rules/no-catch-shadow + [✖] ../rules/no-empty-label + [✖] ../rules/no-eval + [✖] ../rules/no-extend-native + [✖] ../rules/no-extra-bind + [✖] ../rules/no-extra-strict + [✖] ../rules/no-implied-eval + [✖] ../rules/no-iterator + [✖] ../rules/no-label-var + [✖] ../rules/no-labels + [✖] ../rules/no-lone-blocks + [✖] ../rules/no-loop-func + [✖] ../rules/no-multi-spaces + [✖] ../rules/no-multi-str + [✖] ../rules/no-native-reassign + [✖] ../rules/no-new + [✖] ../rules/no-new-func + [✖] ../rules/no-new-object + [✖] ../rules/no-new-wrappers + [✖] ../rules/no-octal-escape + [✖] ../rules/no-process-exit + [✖] ../rules/no-proto + [✖] ../rules/no-return-assign + [✖] ../rules/no-script-url + [✖] ../rules/no-sequences + [✖] ../rules/no-shadow + [✖] ../rules/no-shadow-restricted-names + [✖] ../rules/no-spaced-func + [✖] ../rules/no-trailing-spaces + [✖] ../rules/no-undef-init + [✖] ../rules/no-underscore-dangle + [✖] ../rules/no-unused-expressions + [✖] ../rules/no-use-before-define + [✖] ../rules/no-with + [✖] ../rules/no-wrap-func + [✖] ../rules/camelcase + [✖] ../rules/comma-spacing + [✖] ../rules/consistent-return + [✖] ../rules/curly + [✖] ../rules/dot-notation + [✖] ../rules/eol-last + [✖] ../rules/eqeqeq + [✖] ../rules/key-spacing + [✖] ../rules/new-cap + [✖] ../rules/new-parens + [✖] ../rules/quotes + [✖] ../rules/semi + [✖] ../rules/semi-spacing + [✖] ../rules/space-infix-ops + [✖] ../rules/space-return-throw-case + [✖] ../rules/space-unary-ops + [✖] ../rules/strict + [✖] ../rules/yoda + [✓] https://github.com/eslint/eslint/commit/e3e9dbd9876daf4bdeb4e15f8a76a9d5e6e03e39#diff-b01a5cfd9361ca9280a460fd6bb8edbbL1 + [✖] ../rules/generator-star + [✖] ../rules/generator-star-spacing + [✖] ../rules/global-strict + [✖] ../rules/no-comma-dangle + [✖] ../rules/comma-dangle + [✖] ../rules/no-empty-class + [✖] ../rules/no-empty-character-class + [✖] ../rules/no-reserved-keys + [✖] ../rules/quote-props + [✖] ../rules/no-space-before-semi + [✖] ../rules/no-extra-parens + [✖] ../rules/space-after-function-name + [✖] ../rules/space-before-function-paren + [✖] ../rules/space-before-function-parentheses + [✖] ../rules/space-in-brackets + [✖] ../rules/object-curly-spacing + [✖] ../rules/array-bracket-spacing + [✖] ../rules/space-unary-word-ops + [✖] ../rules/spaced-line-comment + [✖] ../rules/spaced-comment + + 77 links checked. + + ERROR: 76 dead links found! + [✖] ../rules/no-alert → Status: 400 + [✖] ../rules/no-array-constructor → Status: 400 + [✖] ../rules/no-caller → Status: 400 + [✖] ../rules/no-catch-shadow → Status: 400 + [✖] ../rules/no-empty-label → Status: 400 + [✖] ../rules/no-eval → Status: 400 + [✖] ../rules/no-extend-native → Status: 400 + [✖] ../rules/no-extra-bind → Status: 400 + [✖] ../rules/no-extra-strict → Status: 400 + [✖] ../rules/no-implied-eval → Status: 400 + [✖] ../rules/no-iterator → Status: 400 + [✖] ../rules/no-label-var → Status: 400 + [✖] ../rules/no-labels → Status: 400 + [✖] ../rules/no-lone-blocks → Status: 400 + [✖] ../rules/no-loop-func → Status: 400 + [✖] ../rules/no-multi-spaces → Status: 400 + [✖] ../rules/no-multi-str → Status: 400 + [✖] ../rules/no-native-reassign → Status: 400 + [✖] ../rules/no-new → Status: 400 + [✖] ../rules/no-new-func → Status: 400 + [✖] ../rules/no-new-object → Status: 400 + [✖] ../rules/no-new-wrappers → Status: 400 + [✖] ../rules/no-octal-escape → Status: 400 + [✖] ../rules/no-process-exit → Status: 400 + [✖] ../rules/no-proto → Status: 400 + [✖] ../rules/no-return-assign → Status: 400 + [✖] ../rules/no-script-url → Status: 400 + [✖] ../rules/no-sequences → Status: 400 + [✖] ../rules/no-shadow → Status: 400 + [✖] ../rules/no-shadow-restricted-names → Status: 400 + [✖] ../rules/no-spaced-func → Status: 400 + [✖] ../rules/no-trailing-spaces → Status: 400 + [✖] ../rules/no-undef-init → Status: 400 + [✖] ../rules/no-underscore-dangle → Status: 400 + [✖] ../rules/no-unused-expressions → Status: 400 + [✖] ../rules/no-use-before-define → Status: 400 + [✖] ../rules/no-with → Status: 400 + [✖] ../rules/no-wrap-func → Status: 400 + [✖] ../rules/camelcase → Status: 400 + [✖] ../rules/comma-spacing → Status: 400 + [✖] ../rules/consistent-return → Status: 400 + [✖] ../rules/curly → Status: 400 + [✖] ../rules/dot-notation → Status: 400 + [✖] ../rules/eol-last → Status: 400 + [✖] ../rules/eqeqeq → Status: 400 + [✖] ../rules/key-spacing → Status: 400 + [✖] ../rules/new-cap → Status: 400 + [✖] ../rules/new-parens → Status: 400 + [✖] ../rules/quotes → Status: 400 + [✖] ../rules/semi → Status: 400 + [✖] ../rules/semi-spacing → Status: 400 + [✖] ../rules/space-infix-ops → Status: 400 + [✖] ../rules/space-return-throw-case → Status: 400 + [✖] ../rules/space-unary-ops → Status: 400 + [✖] ../rules/strict → Status: 400 + [✖] ../rules/yoda → Status: 400 + [✖] ../rules/generator-star → Status: 400 + [✖] ../rules/generator-star-spacing → Status: 400 + [✖] ../rules/global-strict → Status: 400 + [✖] ../rules/no-comma-dangle → Status: 400 + [✖] ../rules/comma-dangle → Status: 400 + [✖] ../rules/no-empty-class → Status: 400 + [✖] ../rules/no-empty-character-class → Status: 400 + [✖] ../rules/no-reserved-keys → Status: 400 + [✖] ../rules/quote-props → Status: 400 + [✖] ../rules/no-space-before-semi → Status: 400 + [✖] ../rules/no-extra-parens → Status: 400 + [✖] ../rules/space-after-function-name → Status: 400 + [✖] ../rules/space-before-function-paren → Status: 400 + [✖] ../rules/space-before-function-parentheses → Status: 400 + [✖] ../rules/space-in-brackets → Status: 400 + [✖] ../rules/object-curly-spacing → Status: 400 + [✖] ../rules/array-bracket-spacing → Status: 400 + [✖] ../rules/space-unary-word-ops → Status: 400 + [✖] ../rules/spaced-line-comment → Status: 400 + [✖] ../rules/spaced-comment → Status: 400 + +FILE: src/use/core-concepts.md + [✖] ../rules/semi + [✓] #plugins + [✓] ../rules/ + [✖] ./configuring/configuration-files + [✓] https://www.npmjs.com/package/eslint-config-airbnb-base + [✖] ./configuring/configuration-files#using-a-shareable-configuration-package + [✓] https://www.npmjs.com/package/@angular-eslint/eslint-plugin + [✖] ./configuring/plugins + [✓] https://github.com/eslint/espree + [✖] npmjs.com/package/@typescript-eslint/parser + [✓] https://github.com/typescript-eslint/typescript-eslint + [✓] https://github.com/eslint/eslint-plugin-markdown + [✓] ./formatters/ + [✖] ./integrations + [✖] ./command-line-interface + [✖] ../extend/nodejs-api + + 16 links checked. + + ERROR: 8 dead links found! + [✖] ../rules/semi → Status: 400 + [✖] ./configuring/configuration-files → Status: 400 + [✖] ./configuring/configuration-files#using-a-shareable-configuration-package → Status: 400 + [✖] ./configuring/plugins → Status: 400 + [✖] npmjs.com/package/@typescript-eslint/parser → Status: 400 + [✖] ./integrations → Status: 400 + [✖] ./command-line-interface → Status: 400 + [✖] ../extend/nodejs-api → Status: 400 + +FILE: src/use/migrating-to-3.0.0.md + [✓] https://github.com/nodejs/Release + [✖] ../rules/no-unsafe-finally + [✖] ../rules/no-native-reassign + [✖] ../rules/require-yield + [✖] ../rules/comma-dangle + [✓] https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support + [✖] ../rules/complexity + + 7 links checked. + + ERROR: 5 dead links found! + [✖] ../rules/no-unsafe-finally → Status: 400 + [✖] ../rules/no-native-reassign → Status: 400 + [✖] ../rules/require-yield → Status: 400 + [✖] ../rules/comma-dangle → Status: 400 + [✖] ../rules/complexity → Status: 400 + +FILE: src/maintain/governance.md + [✓] https://eslint.org/ + [✓] ../contribute/ + [✖] issues + [✖] manage-pull-requests + [✓] ./ + [✓] https://eslint.org/chat + [✓] https://en.wikipedia.org/wiki/Consensus-seeking_decision-making + [✓] https://github.com/yui/yui3/wiki/Contributor-Model + [✓] https://github.com/nodejs/node/blob/master/GOVERNANCE.md + [✓] https://creativecommons.org/licenses/by-sa/2.0/uk/ + + 10 links checked. + + ERROR: 2 dead links found! + [✖] issues → Status: 400 + [✖] manage-pull-requests → Status: 400 + +FILE: src/maintain/manage-pull-requests.md + No hyperlinks found! + + 0 links checked. + +FILE: src/maintain/index.md + [✖] manage-issues + [✖] manage-pull-requests + [✖] manage-releases + [✖] governance + [✖] working-groups + + 5 links checked. + + ERROR: 5 dead links found! + [✖] manage-issues → Status: 400 + [✖] manage-pull-requests → Status: 400 + [✖] manage-releases → Status: 400 + [✖] governance → Status: 400 + [✖] working-groups → Status: 400 + +FILE: src/maintain/manage-releases.md + [✓] https://semver.org/ + [✓] https://github.com/eslint/eslint/issues/8138 + + 2 links checked. + +FILE: src/maintain/working-groups.md + [✓] https://eslint.org/team + + 1 links checked. + +FILE: src/maintain/manage-issues.md + [✓] https://github.com/orgs/eslint/projects/2 + [✖] https://docs.github.com/en/free-pro-team@latest/discussions/managing-discussions-for-your-community/moderating-discussions#converting-an-issue-to-a-discussion + [✓] #championing-issues + [✓] #consensus + + 4 links checked. + + ERROR: 1 dead links found! + [✖] https://docs.github.com/en/free-pro-team@latest/discussions/managing-discussions-for-your-community/moderating-discussions#converting-an-issue-to-a-discussion → Status: 403 + +FILE: src/contribute/package-json-conventions.md + [✖] https://github.com/eslint/eslint/edit/main/docs/src/extend/package-json-conventions.md + [✓] https://docs.npmjs.com/cli/v8/using-npm/scripts#life-cycle-scripts + + 2 links checked. + + ERROR: 1 dead links found! + [✖] https://github.com/eslint/eslint/edit/main/docs/src/extend/package-json-conventions.md → Status: 404 + +FILE: src/contribute/propose-new-rule.md + [✖] pull-requests + [✓] https://github.com/eslint/eslint/issues/new/choose + [✖] ../custom-rules + [✖] ../plugins + + 4 links checked. + + ERROR: 3 dead links found! + [✖] pull-requests → Status: 400 + [✖] ../custom-rules → Status: 400 + [✖] ../plugins → Status: 400 + +FILE: src/contribute/propose-rule-change.md + [✖] pull-requests + [✓] https://github.com/eslint/eslint/issues/new/choose + [✖] propose-new-rule#core-rule-guidelines + + 3 links checked. + + ERROR: 2 dead links found! + [✖] pull-requests → Status: 400 + [✖] propose-new-rule#core-rule-guidelines → Status: 400 + +FILE: src/contribute/code-conventions.md + [✓] https://www.npmjs.com/package/eslint-config-eslint + [✓] ../rules/ + [✖] ./package-json-conventions + + 3 links checked. + + ERROR: 1 dead links found! + [✖] ./package-json-conventions → Status: 400 + +FILE: src/contribute/request-change.md + [✓] https://github.com/eslint/eslint/issues/new/choose + [✓] https://groups.google.com/group/eslint + [✓] https://eslint.org/chat + + 3 links checked. + +FILE: src/contribute/code-path-analysis.md + [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-unreachable.js + [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-fallthrough.js + [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/consistent-return.js + [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/constructor-super.js + [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-this-before-super.js + [✓] ../assets/images/code-path-analysis/helo.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-while-1.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-while-2.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-while-3.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-for-1.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-for-2.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-for-3.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-for-4.svg + [✓] ../assets/images/code-path-analysis/loop-event-example-for-5.svg + [✓] ../assets/images/code-path-analysis/example-hello-world.svg + [✓] ../assets/images/code-path-analysis/example-ifstatement.svg + [✓] ../assets/images/code-path-analysis/example-ifstatement-chain.svg + [✓] ../assets/images/code-path-analysis/example-switchstatement.svg + [✓] ../assets/images/code-path-analysis/example-switchstatement-has-default.svg + [✓] ../assets/images/code-path-analysis/example-trystatement-try-catch.svg + [✓] ../assets/images/code-path-analysis/example-trystatement-try-finally.svg + [✓] ../assets/images/code-path-analysis/example-trystatement-try-catch-finally.svg + [✓] ../assets/images/code-path-analysis/example-whilestatement.svg + [✓] ../assets/images/code-path-analysis/example-dowhilestatement.svg + [✓] ../assets/images/code-path-analysis/example-forstatement.svg + [✓] ../assets/images/code-path-analysis/example-forstatement-for-ever.svg + [✓] ../assets/images/code-path-analysis/example-forinstatement.svg + [✓] ../assets/images/code-path-analysis/example-when-there-is-a-function-g.svg + [✓] ../assets/images/code-path-analysis/example-when-there-is-a-function-f.svg + + 29 links checked. + +FILE: src/contribute/work-on-issue.md + [✓] https://github.com/eslint/eslint/issues + [✖] ../../maintain/issues#when-an-issue-is-opened + [✓] https://github.com/eslint/eslint/labels/good%20first%20issue + [✓] https://github.com/eslint/eslint/labels/help%20wanted + [✓] https://github.com/eslint/eslint/labels/accepted + [✖] ../../maintain/issues#types-of-issues + [✓] https://www.bountysource.com/teams/eslint/issues + + 7 links checked. + + ERROR: 2 dead links found! + [✖] ../../maintain/issues#when-an-issue-is-opened → Status: 400 + [✖] ../../maintain/issues#types-of-issues → Status: 400 + +FILE: src/contribute/unit-tests.md + [✓] https://mochajs.org/ + [✓] https://mochajs.org/#command-line-usage + + 2 links checked. + +FILE: src/contribute/architecture/index.md + [✓] ../../assets/images/architecture/dependency.svg + + 1 links checked. + +FILE: src/contribute/pull-requests.md + [✖] ../development-environment + [✖] work-on-issue + [✖] #step1 + [✖] #step2 + [✖] #step3 + [✖] #step4 + [✖] #step5 + [✖] #step6 + [✖] #step7 + [✖] ../code-conventions + [✓] https://www.conventionalcommits.org/ + [✖] work-on-issue#issue-labels + [✖] https://help.github.com/articles/creating-a-pull-request + [✓] https://cla.openjsf.org/ + [✖] https://help.github.com/articles/resolving-merge-conflicts-after-a-git-rebase/ + + 15 links checked. + + ERROR: 13 dead links found! + [✖] ../development-environment → Status: 400 + [✖] work-on-issue → Status: 400 + [✖] #step1 → Status: 404 + [✖] #step2 → Status: 404 + [✖] #step3 → Status: 404 + [✖] #step4 → Status: 404 + [✖] #step5 → Status: 404 + [✖] #step6 → Status: 404 + [✖] #step7 → Status: 404 + [✖] ../code-conventions → Status: 400 + [✖] work-on-issue#issue-labels → Status: 400 + [✖] https://help.github.com/articles/creating-a-pull-request → Status: 403 + [✖] https://help.github.com/articles/resolving-merge-conflicts-after-a-git-rebase/ → Status: 403 + +FILE: src/contribute/index.md + [✓] https://eslint.org/conduct + [✖] report-bug + [✖] propose-new-rule + [✖] propose-rule-change + [✖] request-change + [✓] https://hackerone.com/eslint + [✖] work-on-issue + [✖] pull-requests + + 8 links checked. + + ERROR: 6 dead links found! + [✖] report-bug → Status: 400 + [✖] propose-new-rule → Status: 400 + [✖] propose-rule-change → Status: 400 + [✖] request-change → Status: 400 + [✖] work-on-issue → Status: 400 + [✖] pull-requests → Status: 400 + +FILE: src/contribute/source-code.md + [✓] https://github.com/eslint/eslint + [✓] https://git-scm.com/ + [✖] https://help.github.com/articles/set-up-git/ + [✖] https://help.github.com/articles/fork-a-repo/ + [✓] https://nodejs.org + [✓] https://www.npmjs.com/ + + 6 links checked. + + ERROR: 2 dead links found! + [✖] https://help.github.com/articles/set-up-git/ → Status: 403 + [✖] https://help.github.com/articles/fork-a-repo/ → Status: 403 + +FILE: src/contribute/report-bugs.md + [✓] https://github.com/eslint/eslint/issues/new/choose + [✖] pull-requests + [✓] https://groups.google.com/group/eslint + [✓] https://eslint.org/chat + + 4 links checked. + + ERROR: 1 dead links found! + [✖] pull-requests → Status: 400 + +FILE: src/contribute/development-environment.md + [✓] https://nodejs.org/ + [✓] https://www.npmjs.com/ + [✓] https://github.com/eslint/eslint + [✖] https://help.github.com/articles/fork-a-repo + [✓] https://yeoman.io + [✓] https://github.com/eslint/generator-eslint + [✖] contributing/pull-requests + + 7 links checked. + + ERROR: 2 dead links found! + [✖] https://help.github.com/articles/fork-a-repo → Status: 403 + [✖] contributing/pull-requests → Status: 400 + +FILE: src/rules/comma-spacing.md + [✓] https://www.crockford.com/code.html + [✓] https://dojotoolkit.org/reference-guide/1.9/developer/styleguide.html + [✖] array-bracket-spacing + [✖] object-curly-spacing + [✖] space-in-parens + + 5 links checked. + + ERROR: 3 dead links found! + [✖] array-bracket-spacing → Status: 400 + [✖] object-curly-spacing → Status: 400 + [✖] space-in-parens → Status: 400 + +FILE: src/rules/no-multiple-empty-lines.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-underscore-dangle.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-regex-spaces.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-rest-params.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-template-curly-in-string.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/sort-imports.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-destructuring.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment + [✓] https://2ality.com/2015/01/es6-destructuring.html + [✖] #further-reading + + 3 links checked. + + ERROR: 1 dead links found! + [✖] #further-reading → Status: 404 + +FILE: src/rules/space-after-function-name.md + [✖] space-before-function-paren + + 1 links checked. + + ERROR: 1 dead links found! + [✖] space-before-function-paren → Status: 400 + +FILE: src/rules/no-octal-escape.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/max-depth.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-dupe-args.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-misleading-character-class.md + [✓] http://www.unicode.org/L2/L1999/UnicodeData.html#General%20Category + + 1 links checked. + +FILE: src/rules/no-useless-computed-key.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-sync.md + [✓] https://github.com/mysticatea/eslint-plugin-node + + 1 links checked. + +FILE: src/rules/no-return-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/require-await.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-dupe-class-members.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-with.md + [✓] https://web.archive.org/web/20200717110117/https://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/ + + 1 links checked. + +FILE: src/rules/constructor-super.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-empty-static-block.md + [✓] https://github.com/tc39/proposal-class-static-block + + 1 links checked. + +FILE: src/rules/no-negated-condition.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-script-url.md + [✓] https://stackoverflow.com/questions/13497971/what-is-the-matter-with-script-targeted-urls + + 1 links checked. + +FILE: src/rules/grouped-accessor-pairs.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes + [✖] accessor-pairs + [✖] no-dupe-keys + [✖] no-dupe-class-members + + 6 links checked. + + ERROR: 3 dead links found! + [✖] accessor-pairs → Status: 400 + [✖] no-dupe-keys → Status: 400 + [✖] no-dupe-class-members → Status: 400 + +FILE: src/rules/object-property-newline.md + [✓] https://jscs-dev.github.io/rule/requireObjectKeysOnNewLine + + 1 links checked. + +FILE: src/rules/generator-star.md + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-generators + [✖] generator-star-spacing + + 2 links checked. + + ERROR: 1 dead links found! + [✖] generator-star-spacing → Status: 400 + +FILE: src/rules/no-multi-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/one-var-declaration-per-line.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/require-jsdoc.md + [✓] https://eslint.org/blog/2018/11/jsdoc-end-of-life + [✖] http://usejsdoc.org + + 2 links checked. + + ERROR: 1 dead links found! + [✖] http://usejsdoc.org → Status: 0 + +FILE: src/rules/max-classes-per-file.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-bitwise.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/unicode-bom.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-delete-var.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-useless-return.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/wrap-regex.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-restricted-globals.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/dot-location.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/new-cap.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/max-nested-callbacks.md + [✓] http://book.mixu.net/node/ch7.html + [✓] https://web.archive.org/web/20220104141150/https://howtonode.org/control-flow + [✓] https://web.archive.org/web/20220127215850/https://howtonode.org/control-flow-part-ii + + 3 links checked. + +FILE: src/rules/lines-around-directive.md + [✖] padding-line-between-statements + [✓] https://www.ecma-international.org/ecma-262/7.0/#directive-prologue + [✖] padded-blocks + [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesAfterUseStrict + [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesAfterUseStrict + + 5 links checked. + + ERROR: 2 dead links found! + [✖] padding-line-between-statements → Status: 400 + [✖] padded-blocks → Status: 400 + +FILE: src/rules/no-multi-str.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/max-statements-per-line.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-unused-private-class-members.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-promise-executor-return.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise + + 1 links checked. + +FILE: src/rules/multiline-ternary.md + [✖] operator-linebreak + [✓] https://jscs-dev.github.io/rule/requireMultiLineTernary + + 2 links checked. + + ERROR: 1 dead links found! + [✖] operator-linebreak → Status: 400 + +FILE: src/rules/no-undefined.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined + [✓] https://javascriptweblog.wordpress.com/2010/08/16/understanding-undefined-and-preventing-referenceerrors/ + [✓] https://es5.github.io/#x15.1.1.3 + [✖] no-global-assign + [✖] no-shadow-restricted-names + + 5 links checked. + + ERROR: 2 dead links found! + [✖] no-global-assign → Status: 400 + [✖] no-shadow-restricted-names → Status: 400 + +FILE: src/rules/max-lines.md + [✓] https://web.archive.org/web/20160725154648/http://www.mind2b.com/component/content/article/24-software-module-size-and-file-size + [✓] https://jscs-dev.github.io/rule/maximumNumberOfLines + + 2 links checked. + +FILE: src/rules/no-continue.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/indent.md + [✖] ../extend/selectors + [✓] https://github.com/estree/estree + [✓] https://astexplorer.net/ + [✓] https://jscs-dev.github.io/rule/validateIndentation + + 4 links checked. + + ERROR: 1 dead links found! + [✖] ../extend/selectors → Status: 400 + +FILE: src/rules/no-func-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-iterator.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators + [✓] https://kangax.github.io/es5-compat-table/es6/#Iterators + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features#Object_methods + + 3 links checked. + +FILE: src/rules/no-mixed-spaces-and-tabs.md + [✓] https://www.emacswiki.org/emacs/SmartTabs + + 1 links checked. + +FILE: src/rules/no-else-return.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/getter-return.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-accessor-properties + + 2 links checked. + +FILE: src/rules/no-empty.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-shadow-restricted-names.md + [✓] https://es5.github.io/#x15.1.1 + [✓] https://es5.github.io/#C + + 2 links checked. + +FILE: src/rules/no-import-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-this-before-super.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-object-spread.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/comma-style.md + [✓] https://gist.github.com/isaacs/357981 + [✓] https://github.com/estree/estree + [✓] https://astexplorer.net/ + + 3 links checked. + +FILE: src/rules/generator-star-spacing.md + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-generators + + 1 links checked. + +FILE: src/rules/no-useless-catch.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-const.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-extra-parens.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence + [✖] wrap-regex + [✖] wrap-iife + [✖] arrow-parens + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp + + 5 links checked. + + ERROR: 3 dead links found! + [✖] wrap-regex → Status: 400 + [✖] wrap-iife → Status: 400 + [✖] arrow-parens → Status: 400 + +FILE: src/rules/no-console.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/space-in-parens.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/space-before-function-parentheses.md + [✖] space-before-function-paren + + 1 links checked. + + ERROR: 1 dead links found! + [✖] space-before-function-paren → Status: 400 + +FILE: src/rules/no-return-await.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function + [✓] https://jakearchibald.com/2017/await-vs-return-vs-return-await/ + + 2 links checked. + +FILE: src/rules/no-class-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-inline-comments.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp + + 1 links checked. + +FILE: src/rules/no-trailing-spaces.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-self-compare.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN + + 1 links checked. + +FILE: src/rules/no-arrow-condition.md + [✖] no-confusing-arrow + [✖] no-constant-condition + + 2 links checked. + + ERROR: 2 dead links found! + [✖] no-confusing-arrow → Status: 400 + [✖] no-constant-condition → Status: 400 + +FILE: src/rules/object-curly-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-redeclare.md + [✖] no-shadow + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-shadow → Status: 400 + +FILE: src/rules/global-require.md + [✓] https://github.com/mysticatea/eslint-plugin-node + + 1 links checked. + +FILE: src/rules/prefer-arrow-callback.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions + + 1 links checked. + +FILE: src/rules/no-unneeded-ternary.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/rest-spread-spacing.md + [✓] https://github.com/tc39/proposal-object-rest-spread + [✖] ../users/configuring#specifying-parser-options + + 2 links checked. + + ERROR: 1 dead links found! + [✖] ../users/configuring#specifying-parser-options → Status: 400 + +FILE: src/rules/no-mixed-requires.md + [✓] https://github.com/mysticatea/eslint-plugin-node + [✓] https://nodejs.org/api/modules.html#modules_core_modules + [✓] https://nodejs.org/api/modules.html#modules_file_modules + [✓] https://nodejs.org/api/modules.html#modules_loading_from_node_modules_folders + [✓] https://github.com/umdjs/umd + + 5 links checked. + +FILE: src/rules/array-bracket-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-tabs.md + [✓] https://jscs-dev.github.io/rule/disallowTabs + + 1 links checked. + +FILE: src/rules/arrow-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/func-names.md + [✓] https://web.archive.org/web/20201112040809/http://markdaggett.com/blog/2013/02/15/functions-explained/ + [✓] https://2ality.com/2015/09/function-names-es6.html + [✓] https://jscs-dev.github.io/rule/requireAnonymousFunctions + [✓] https://jscs-dev.github.io/rule/disallowAnonymousFunctions + + 4 links checked. + +FILE: src/rules/no-restricted-imports.md + [✓] https://github.com/nodejs/node/tree/master/lib + + 1 links checked. + +FILE: src/rules/no-debugger.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger + + 1 links checked. + +FILE: src/rules/max-statements.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-spread.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/new-parens.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/keyword-spacing.md + [✖] space-before-function-paren + + 1 links checked. + + ERROR: 1 dead links found! + [✖] space-before-function-paren → Status: 400 + +FILE: src/rules/no-lone-blocks.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-use-before-define.md + [✓] #variables + + 1 links checked. + +FILE: src/rules/id-blacklist.md + [✖] id-denylist + + 1 links checked. + + ERROR: 1 dead links found! + [✖] id-denylist → Status: 400 + +FILE: src/rules/space-after-keywords.md + [✖] keyword-spacing + [✖] ../users/command-line-interface#--fix + + 2 links checked. + + ERROR: 2 dead links found! + [✖] keyword-spacing → Status: 400 + [✖] ../users/command-line-interface#--fix → Status: 400 + +FILE: src/rules/no-invalid-this.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/quote-props.md + [✓] https://kangax.github.io/compat-table/es5/#Reserved_words_as_property_names + [✓] https://mathiasbynens.be/notes/javascript-properties + + 2 links checked. + +FILE: src/rules/no-void.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void + [✓] https://oreilly.com/javascript/excerpts/javascript-good-parts/bad-parts.html + + 2 links checked. + +FILE: src/rules/space-before-keywords.md + [✖] keyword-spacing + [✖] ../users/command-line-interface#--fix + [✖] block-spacing + + 3 links checked. + + ERROR: 3 dead links found! + [✖] keyword-spacing → Status: 400 + [✖] ../users/command-line-interface#--fix → Status: 400 + [✖] block-spacing → Status: 400 + +FILE: src/rules/no-process-env.md + [✓] https://stackoverflow.com/questions/5869216/how-to-store-node-js-deployment-settings-configuration-files + [✓] https://blog.benhall.me.uk/2012/02/storing-application-config-data-in/ + [✓] https://github.com/mysticatea/eslint-plugin-node + + 3 links checked. + +FILE: src/rules/no-confusing-arrow.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-empty-function.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/semi.md + [✓] https://blog.izs.me/2010/12/an-open-letter-to-javascript-leaders-regarding/ + [✓] https://web.archive.org/web/20200420230322/http://inimino.org/~inimino/blog/javascript_semicolons + [✖] no-unreachable + [✖] no-unexpected-multiline + + 4 links checked. + + ERROR: 2 dead links found! + [✖] no-unreachable → Status: 400 + [✖] no-unexpected-multiline → Status: 400 + +FILE: src/rules/no-useless-constructor.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-unexpected-multiline.md + [✖] ./semi + [✖] semi + + 2 links checked. + + ERROR: 2 dead links found! + [✖] ./semi → Status: 400 + [✖] semi → Status: 400 + +FILE: src/rules/no-new-func.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-restricted-exports.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-unused-expressions.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-unsafe-negation.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/in + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof + + 2 links checked. + +FILE: src/rules/no-async-promise-executor.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-restricted-syntax.md + [✓] https://github.com/estree/estree + [✓] https://github.com/eslint/eslint-visitor-keys/blob/main/lib/visitor-keys.js + [✓] https://astexplorer.net/ + [✖] ../extend/selectors + + 4 links checked. + + ERROR: 1 dead links found! + [✖] ../extend/selectors → Status: 400 + +FILE: src/rules/no-implicit-coercion.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/camelcase.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/init-declarations.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/line-comment-position.md + [✓] https://jscs-dev.github.io/rule/validateCommentPosition + + 1 links checked. + +FILE: src/rules/no-await-in-loop.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/jsx-quotes.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-comma-dangle.md + [✖] comma-dangle + + 1 links checked. + + ERROR: 1 dead links found! + [✖] comma-dangle → Status: 400 + +FILE: src/rules/default-param-last.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/key-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/default-case.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/symbol-description.md + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-symbol-description + + 1 links checked. + +FILE: src/rules/block-scoped-var.md + [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var#var_hoisting + + 2 links checked. + +FILE: src/rules/callback-return.md + [✓] https://github.com/maxogden/art-of-node#callbacks + [✓] https://web.archive.org/web/20171224042620/https://docs.nodejitsu.com/articles/errors/what-are-the-error-conventions/ + [✓] https://github.com/mysticatea/eslint-plugin-node + + 3 links checked. + +FILE: src/rules/no-undef-init.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/space-before-blocks.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-new-require.md + [✓] https://github.com/mysticatea/eslint-plugin-node + + 1 links checked. + +FILE: src/rules/require-yield.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/template-curly-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-unreachable.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/valid-typeof.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof + + 1 links checked. + +FILE: src/rules/no-invalid-regexp.md + [✓] https://es5.github.io/#x7.8.5 + + 1 links checked. + +FILE: src/rules/newline-per-chained-call.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-empty-class.md + [✖] no-empty-character-class + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-empty-character-class → Status: 400 + +FILE: src/rules/no-catch-shadow.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-prototype-builtins.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-empty-label.md + [✖] no-labels + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-labels → Status: 400 + +FILE: src/rules/no-useless-call.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-unsafe-optional-chaining.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/id-length.md + [✓] https://unicode.org/reports/tr29/#Default_Grapheme_Cluster_Table + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length + + 2 links checked. + +FILE: src/rules/no-global-assign.md + [✖] ../users/configuring#specifying-environments + [✖] ../users/configuring#specifying-globals + + 2 links checked. + + ERROR: 2 dead links found! + [✖] ../users/configuring#specifying-environments → Status: 400 + [✖] ../users/configuring#specifying-globals → Status: 400 + +FILE: src/rules/accessor-pairs.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects + [✖] no-dupe-keys + [✖] no-dupe-class-members + + 5 links checked. + + ERROR: 2 dead links found! + [✖] no-dupe-keys → Status: 400 + [✖] no-dupe-class-members → Status: 400 + +FILE: src/rules/no-path-concat.md + [✓] https://github.com/mysticatea/eslint-plugin-node + + 1 links checked. + +FILE: src/rules/require-atomic-updates.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/block-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-inner-declarations.md + [✓] https://code.google.com/p/esprima/issues/detail?id=422 + [✓] https://leanpub.com/understandinges6/read#leanpub-auto-block-bindings + [✓] https://bugzilla.mozilla.org/show_bug.cgi?id=585536 + [✖] block-scoped-var + + 4 links checked. + + ERROR: 1 dead links found! + [✖] block-scoped-var → Status: 400 + +FILE: src/rules/operator-assignment.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/quotes.md + [✖] no-restricted-syntax + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-restricted-syntax → Status: 400 + +FILE: src/rules/no-nested-ternary.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-extra-boolean-cast.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-spaced-func.md + [✖] func-call-spacing + + 1 links checked. + + ERROR: 1 dead links found! + [✖] func-call-spacing → Status: 400 + +FILE: src/rules/no-caller.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/consistent-return.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/switch-colon-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-duplicate-imports.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-template.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-loss-of-precision.md + [✓] https://en.wikipedia.org/wiki/IEEE_754 + + 1 links checked. + +FILE: src/rules/no-plusplus.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-unsafe-finally.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-throw-literal.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-labels.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-reflect.md + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflection + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.apply + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-function.prototype.apply + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-function.prototype.call + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.deleteproperty + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-delete-operator-runtime-semantics-evaluation + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.getownpropertydescriptor + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.getownpropertydescriptor + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.getprototypeof + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.getprototypeof + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.setprototypeof + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.setprototypeof + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.preventextensions + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.preventextensions + [✖] no-delete-var + + 15 links checked. + + ERROR: 1 dead links found! + [✖] no-delete-var → Status: 400 + +FILE: src/rules/logical-assignment-operators.md + [✖] ./operator-assignment + + 1 links checked. + + ERROR: 1 dead links found! + [✖] ./operator-assignment → Status: 400 + +FILE: src/rules/no-useless-backreference.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions + + 1 links checked. + +FILE: src/rules/max-lines-per-function.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/radix.md + [✓] https://davidwalsh.name/parseint-radix + + 1 links checked. + +FILE: src/rules/no-space-before-semi.md + [✖] semi-spacing + + 1 links checked. + + ERROR: 1 dead links found! + [✖] semi-spacing → Status: 400 + +FILE: src/rules/no-constant-binary-expression.md + [✓] https://eslint.org/blog/2022/07/interesting-bugs-caught-by-no-constant-binary-expression/ + + 1 links checked. + +FILE: src/rules/brace-style.md + [✓] https://en.wikipedia.org/wiki/Indent_style + [✓] https://en.wikipedia.org/wiki/Indent_style#Allman_style + + 2 links checked. + +FILE: src/rules/no-control-regex.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-sparse-arrays.md + [✓] https://www.nczonline.net/blog/2007/09/09/inconsistent-array-literals/ + + 1 links checked. + +FILE: src/rules/no-unused-vars.md + [✓] https://github.com/tc39/proposal-object-rest-spread + + 1 links checked. + +FILE: src/rules/linebreak-style.md + [✓] https://git-scm.com/ + [✓] https://git-scm.com/docs/gitattributes + [✓] https://jscs-dev.github.io/rule/validateLineBreaks + + 3 links checked. + +FILE: src/rules/prefer-numeric-literals.md + [✓] https://jscs-dev.github.io/rule/requireNumericLiterals + + 1 links checked. + +FILE: src/rules/no-alert.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/func-style.md + [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html + + 1 links checked. + +FILE: src/rules/capitalized-comments.md + [✓] https://jscs-dev.github.io/rule/requireCapitalizedComments + [✓] https://jscs-dev.github.io/rule/disallowCapitalizedComments + + 2 links checked. + +FILE: src/rules/no-sequences.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-whitespace-before-property.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-duplicate-case.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/object-shorthand.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer + + 1 links checked. + +FILE: src/rules/yoda.md + [✓] https://en.wikipedia.org/wiki/Yoda_conditions + [✓] http://thomas.tuerke.net/on/design/?with=1249091668#msg1146181680 + + 2 links checked. + +FILE: src/rules/prefer-regex-literals.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp + + 2 links checked. + +FILE: src/rules/no-restricted-modules.md + [✓] https://github.com/mysticatea/eslint-plugin-node + [✓] https://github.com/nodejs/node/tree/master/lib + + 2 links checked. + +FILE: src/rules/no-constructor-return.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/sort-keys.md + [✓] https://jscs-dev.github.io/rule/validateOrderInObjectKeys + + 1 links checked. + +FILE: src/rules/template-tag-spacing.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_template_literals + [✓] https://exploringjs.com/es6/ch_template-literals.html#_examples-of-using-tagged-template-literals + [✖] #further-reading + + 3 links checked. + + ERROR: 1 dead links found! + [✖] #further-reading → Status: 404 + +FILE: src/rules/no-reserved-keys.md + [✓] https://kangax.github.io/compat-table/es5/#Reserved_words_as_property_names + [✖] quote-props + + 2 links checked. + + ERROR: 1 dead links found! + [✖] quote-props → Status: 400 + +FILE: src/rules/no-cond-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-unreachable-loop.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/eqeqeq.md + [✓] https://www.ecma-international.org/ecma-262/5.1/#sec-11.9.3 + + 1 links checked. + +FILE: src/rules/no-proto.md + [✓] https://johnresig.com/blog/objectgetprototypeof/ + + 1 links checked. + +FILE: src/rules/no-process-exit.md + [✓] https://github.com/mysticatea/eslint-plugin-node + [✓] https://nodejs.org/api/process.html#process_process_exitcode + + 2 links checked. + +FILE: src/rules/id-denylist.md + [✖] ../users/configuring/rules + + 1 links checked. + + ERROR: 1 dead links found! + [✖] ../users/configuring/rules → Status: 400 + +FILE: src/rules/newline-after-var.md + [✖] padding-line-between-statements + + 1 links checked. + + ERROR: 1 dead links found! + [✖] padding-line-between-statements → Status: 400 + +FILE: src/rules/no-extra-bind.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind + [✓] https://www.smashingmagazine.com/2014/01/understanding-javascript-function-prototype-bind/ + + 2 links checked. + +FILE: src/rules/comma-dangle.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-exponentiation-operator.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation + [✓] https://bugs.chromium.org/p/v8/issues/detail?id=5848 + + 2 links checked. + +FILE: src/rules/no-nonoctal-decimal-escape.md + [✓] https://tc39.es/ecma262/#prod-annexB-NonOctalDecimalEscapeSequence + + 1 links checked. + +FILE: src/rules/no-mixed-operators.md + [✖] no-extra-parens + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-extra-parens → Status: 400 + +FILE: src/rules/no-new-object.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-octal.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-magic-numbers.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length + + 1 links checked. + +FILE: src/rules/eol-last.md + [✖] no-multiple-empty-lines + [✖] no-trailing-spaces + + 2 links checked. + + ERROR: 2 dead links found! + [✖] no-multiple-empty-lines → Status: 400 + [✖] no-trailing-spaces → Status: 400 + +FILE: src/rules/arrow-body-style.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/space-before-function-paren.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-unmodified-loop-condition.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-param-reassign.md + [✓] https://spin.atomicobject.com/2011/04/10/javascript-don-t-reassign-your-function-arguments/ + + 1 links checked. + +FILE: src/rules/global-strict.md + [✖] strict + + 1 links checked. + + ERROR: 1 dead links found! + [✖] strict → Status: 400 + +FILE: src/rules/no-unused-labels.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-negated-in-lhs.md + [✖] no-unsafe-negation + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-unsafe-negation → Status: 400 + +FILE: src/rules/vars-on-top.md + [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var#var_hoisting + [✓] https://danhough.com/blog/single-var-pattern-rant/ + [✓] https://benalman.com/news/2012/05/multiple-var-statements-javascript/ + + 4 links checked. + +FILE: src/rules/no-extend-native.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-ex-assign.md + [✓] https://bocoup.com/blog/the-catch-with-try-catch + + 1 links checked. + +FILE: src/rules/use-isnan.md + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.indexof + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.lastindexof + + 2 links checked. + +FILE: src/rules/handle-callback-err.md + [✓] https://github.com/maxogden/art-of-node#callbacks + [✓] https://web.archive.org/web/20171224042620/https://docs.nodejitsu.com/articles/errors/what-are-the-error-conventions/ + [✓] https://github.com/mysticatea/eslint-plugin-node + + 3 links checked. + +FILE: src/rules/no-obj-calls.md + [✓] https://es5.github.io/#x15.8 + [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect-object + [✓] https://www.ecma-international.org/ecma-262/8.0/index.html#sec-atomics-object + [✓] https://tc39.es/ecma402/#intl-object + + 4 links checked. + +FILE: src/rules/no-dupe-else-if.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-case-declarations.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-warning-comments.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-self-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-ternary.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/spaced-line-comment.md + [✖] spaced-comment + + 1 links checked. + + ERROR: 1 dead links found! + [✖] spaced-comment → Status: 400 + +FILE: src/rules/no-label-var.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-eq-null.md + [✖] ./eqeqeq + + 1 links checked. + + ERROR: 1 dead links found! + [✖] ./eqeqeq → Status: 400 + +FILE: src/rules/no-shadow.md + [✓] https://en.wikipedia.org/wiki/Variable_shadowing + + 1 links checked. + +FILE: src/rules/no-new-wrappers.md + [✓] https://www.inkling.com/read/javascript-definitive-guide-david-flanagan-6th/chapter-3/wrapper-objects + + 1 links checked. + +FILE: src/rules/no-implicit-globals.md + [✓] https://benalman.com/news/2010/11/immediately-invoked-function-expression/ + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Undeclared_var + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#Temporal_dead_zone + [✖] ../users/configuring#specifying-environments + [✖] ../users/configuring#specifying-globals + [✖] ./no-unused-vars + [✖] ./no-unused-vars#exported + + 7 links checked. + + ERROR: 4 dead links found! + [✖] ../users/configuring#specifying-environments → Status: 400 + [✖] ../users/configuring#specifying-globals → Status: 400 + [✖] ./no-unused-vars → Status: 400 + [✖] ./no-unused-vars#exported → Status: 400 + +FILE: src/rules/func-call-spacing.md + [✓] https://jscs-dev.github.io/rule/disallowSpacesInCallExpression + [✓] https://jscs-dev.github.io/rule/requireSpacesInCallExpression + + 2 links checked. + +FILE: src/rules/default-case-last.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch + [✖] default-case + + 2 links checked. + + ERROR: 1 dead links found! + [✖] default-case → Status: 400 + +FILE: src/rules/spaced-comment.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/padded-blocks.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-native-reassign.md + [✖] no-global-assign + [✖] ../users/configuring#specifying-environments + [✖] ../users/configuring#specifying-globals + + 3 links checked. + + ERROR: 3 dead links found! + [✖] no-global-assign → Status: 400 + [✖] ../users/configuring#specifying-environments → Status: 400 + [✖] ../users/configuring#specifying-globals → Status: 400 + +FILE: src/rules/func-name-matching.md + [✓] https://jscs-dev.github.io/rule/requireMatchingFunctionName + + 1 links checked. + +FILE: src/rules/max-params.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-object-has-own.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn + [✖] no-prototype-builtins + + 2 links checked. + + ERROR: 1 dead links found! + [✖] no-prototype-builtins → Status: 400 + +FILE: src/rules/no-multi-spaces.md + [✓] https://github.com/estree/estree + [✓] https://astexplorer.net/ + [✖] key-spacing + + 3 links checked. + + ERROR: 1 dead links found! + [✖] key-spacing → Status: 400 + +FILE: src/rules/no-useless-concat.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/multiline-comment-style.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-constant-condition.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-wrap-func.md + [✖] no-extra-parens + + 1 links checked. + + ERROR: 1 dead links found! + [✖] no-extra-parens → Status: 400 + +FILE: src/rules/no-eval.md + [✓] https://ericlippert.com/2003/11/01/eval-is-evil-part-one/ + [✓] https://javascriptweblog.wordpress.com/2010/04/19/how-evil-is-eval/ + + 2 links checked. + +FILE: src/rules/no-loop-func.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/array-element-newline.md + [✓] https://jscs-dev.github.io/rule/validateNewlineAfterArrayElements + + 1 links checked. + +FILE: src/rules/no-useless-rename.md + [✓] https://jscs-dev.github.io/rule/disallowIdenticalDestructuringNames + + 1 links checked. + +FILE: src/rules/for-direction.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-restricted-properties.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-empty-pattern.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/space-unary-word-ops.md + [✖] space-unary-ops + + 1 links checked. + + ERROR: 1 dead links found! + [✖] space-unary-ops → Status: 400 + +FILE: src/rules/operator-linebreak.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/yield-star-spacing.md + [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-generators + + 1 links checked. + +FILE: src/rules/require-unicode-regexp.md + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-regular-expressions-patterns + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode + + 2 links checked. + +FILE: src/rules/no-new.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/valid-jsdoc.md + [✓] https://jsdoc.app + [✓] https://eslint.org/blog/2018/11/jsdoc-end-of-life + [✖] http://usejsdoc.org + + 3 links checked. + + ERROR: 1 dead links found! + [✖] http://usejsdoc.org → Status: 0 + +FILE: src/rules/semi-style.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-named-capture-group.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/curly.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-dupe-keys.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/space-unary-ops.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-fallthrough.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/function-paren-newline.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/nonblock-statement-body-position.md + [✓] https://jscs-dev.github.io/rule/requireNewlineBeforeSingleStatementsInIf + [✖] curly + + 2 links checked. + + ERROR: 1 dead links found! + [✖] curly → Status: 400 + +FILE: src/rules/no-const-assign.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-lonely-if.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/array-callback-return.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.from + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.every + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.filter + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.find + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.findindex + [✓] https://tc39.es/ecma262/#sec-array.prototype.findlast + [✓] https://tc39.es/ecma262/#sec-array.prototype.findlastindex + [✓] https://www.ecma-international.org/ecma-262/10.0/#sec-array.prototype.flatmap + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.foreach + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.map + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.reduce + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.reduceright + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.some + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.sort + + 15 links checked. + +FILE: src/rules/no-empty-character-class.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/indent-legacy.md + [✖] indent + [✓] https://jscs-dev.github.io/rule/validateIndentation + + 2 links checked. + + ERROR: 1 dead links found! + [✖] indent → Status: 400 + +FILE: src/rules/no-implied-eval.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/max-len.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/lines-between-class-members.md + [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesAfterBlocks + [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesAfterBlocks + + 2 links checked. + +FILE: src/rules/no-array-constructor.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-div-regex.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-irregular-whitespace.md + [✓] https://es5.github.io/#x7.2 + [✓] https://web.archive.org/web/20200414142829/http://timelessrepo.com/json-isnt-a-javascript-subset + + 2 links checked. + +FILE: src/rules/strict.md + [✖] ../users/configuring/language-options#specifying-parser-options + [✓] #function + [✖] no-unused-expressions + [✖] ../users/configuring/language-options#specifying-environments + [✖] ../users/configuring/rules#disabling-rules + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode#Differences_from_non-strict_to_strict + + 6 links checked. + + ERROR: 4 dead links found! + [✖] ../users/configuring/language-options#specifying-parser-options → Status: 400 + [✖] no-unused-expressions → Status: 400 + [✖] ../users/configuring/language-options#specifying-environments → Status: 400 + [✖] ../users/configuring/rules#disabling-rules → Status: 400 + +FILE: src/rules/space-infix-ops.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/prefer-promise-reject-errors.md + [✓] http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-rejected-with-a-non-error + [✖] no-throw-literal#known-limitations + [✖] no-throw-literal + + 3 links checked. + + ERROR: 2 dead links found! + [✖] no-throw-literal#known-limitations → Status: 400 + [✖] no-throw-literal → Status: 400 + +FILE: src/rules/no-useless-escape.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/wrap-iife.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/computed-property-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/space-in-brackets.md + [✖] object-curly-spacing + [✖] array-bracket-spacing + + 2 links checked. + + ERROR: 2 dead links found! + [✖] object-curly-spacing → Status: 400 + [✖] array-bracket-spacing → Status: 400 + +FILE: src/rules/array-bracket-newline.md + [✓] https://jscs-dev.github.io/rule/validateNewlineAfterArrayElements + + 1 links checked. + +FILE: src/rules/no-undef.md + [✖] ../users/configuring/language-options#using-configuration-files-1 + [✖] no-global-assign + [✖] no-redeclare + [✖] ../users/configuring/language-options#specifying-environments + [✓] http://jshint.com/ + [✓] http://www.jslint.com + + 6 links checked. + + ERROR: 4 dead links found! + [✖] ../users/configuring/language-options#using-configuration-files-1 → Status: 400 + [✖] no-global-assign → Status: 400 + [✖] no-redeclare → Status: 400 + [✖] ../users/configuring/language-options#specifying-environments → Status: 400 + +FILE: src/rules/no-extra-label.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/one-var.md + [✓] https://jscs-dev.github.io/rule/disallowMultipleVarDecl + [✓] https://jscs-dev.github.io/rule/requireMultipleVarDecl + + 2 links checked. + +FILE: src/rules/consistent-this.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-floating-decimal.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/newline-before-return.md + [✖] padding-line-between-statements + + 1 links checked. + + ERROR: 1 dead links found! + [✖] padding-line-between-statements → Status: 400 + +FILE: src/rules/function-call-argument-newline.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-new-symbol.md + [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-symbol-objects + + 1 links checked. + +FILE: src/rules/no-compare-neg-zero.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-extra-semi.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/padding-line-between-statements.md + [✖] newline-before-return + [✖] newline-after-var + [✖] lines-around-directive + [✓] https://jscs-dev.github.io/rule/requirePaddingNewLineAfterVariableDeclaration + [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesAfterBlocks + [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesAfterBlocks + [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesAfterUseStrict + [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesAfterUseStrict + [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesBeforeExport + [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesBeforeExport + [✓] https://jscs-dev.github.io/rule/requirePaddingNewlinesBeforeKeywords + [✓] https://jscs-dev.github.io/rule/disallowPaddingNewlinesBeforeKeywords + + 12 links checked. + + ERROR: 3 dead links found! + [✖] newline-before-return → Status: 400 + [✖] newline-after-var → Status: 400 + [✖] lines-around-directive → Status: 400 + +FILE: src/rules/no-extra-strict.md + [✓] https://es5.github.io/#C + [✖] strict + + 2 links checked. + + ERROR: 1 dead links found! + [✖] strict → Status: 400 + +FILE: src/rules/dot-notation.md + [✓] https://en.wikipedia.org/wiki/Snake_case + + 1 links checked. + +FILE: src/rules/sort-vars.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-var.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/implicit-arrow-linebreak.md + [✖] arrow-body-style + + 1 links checked. + + ERROR: 1 dead links found! + [✖] arrow-body-style → Status: 400 + +FILE: src/rules/no-buffer-constructor.md + [✓] https://nodejs.org/api/buffer.html + [✓] https://github.com/ChALkeR/notes/blob/master/Lets-fix-Buffer-API.md + [✓] https://github.com/nodejs/node/issues/4660 + [✓] https://github.com/mysticatea/eslint-plugin-node + + 4 links checked. + +FILE: src/rules/arrow-parens.md + [✓] https://github.com/airbnb/javascript#arrows--one-arg-parens + + 1 links checked. + +FILE: src/rules/no-new-native-nonconstructor.md + [✓] https://tc39.es/ecma262/#sec-symbol-constructor + [✓] https://tc39.es/ecma262/#sec-bigint-constructor + + 2 links checked. + +FILE: src/rules/class-methods-use-this.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/static + + 2 links checked. + +FILE: src/rules/object-curly-newline.md + [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesInObjects + [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesInObjects + + 2 links checked. + +FILE: src/rules/semi-spacing.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/no-setter-return.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set + + 1 links checked. + +FILE: src/rules/space-return-throw-case.md + [✖] keyword-spacing + [✖] ../users/command-line-interface#--fix + + 2 links checked. + + ERROR: 2 dead links found! + [✖] keyword-spacing → Status: 400 + [✖] ../users/command-line-interface#--fix → Status: 400 + +FILE: src/rules/lines-around-comment.md + [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp + + 1 links checked. + +FILE: src/rules/id-match.md + No hyperlinks found! + + 0 links checked. + +FILE: src/rules/complexity.md + [✓] https://en.wikipedia.org/wiki/Cyclomatic_complexity + [✓] https://ariya.io/2012/12/complexity-analysis-of-javascript-code + [✓] https://craftsmanshipforsoftware.com/2015/05/25/complexity-for-javascript/ + [✓] https://web.archive.org/web/20160808115119/http://jscomplexity.org/complexity + [✓] https://github.com/eslint/eslint/issues/4808#issuecomment-167795140 + + 5 links checked. + +FILE: src/rules/guard-for-in.md + [✓] https://javascriptweblog.wordpress.com/2011/01/04/exploring-javascript-for-in-loops/ + [✓] https://2ality.com/2012/01/objects-as-maps.html + [✖] no-prototype-builtins + + 3 links checked. + + ERROR: 1 dead links found! + [✖] no-prototype-builtins → Status: 400 + +FILE: src/pages/languages.md + No hyperlinks found! + + 0 links checked. + +FILE: src/pages/versions.md + No hyperlinks found! + + 0 links checked. + +FILE: src/pages/index.md + [✖] user-guide/ + [✖] developer-guide/ + [✖] maintainer-guide/ + + 3 links checked. + + ERROR: 3 dead links found! + [✖] user-guide/ → Status: 400 + [✖] developer-guide/ → Status: 400 + [✖] maintainer-guide/ → Status: 400 + +FILE: src/pages/rules.md + No hyperlinks found! + + 0 links checked. diff --git a/docs/src/_data/links.json b/docs/src/_data/links.json index 0c47bcdf067..4a5d8a9f5d7 100644 --- a/docs/src/_data/links.json +++ b/docs/src/_data/links.json @@ -8,13 +8,13 @@ "blog": "/blog", "docs": "/docs/latest/", "playground": "/play", - "getStarted": "/docs/latest/users/getting-started", + "getStarted": "/docs/latest/use/getting-started", "sponsors": "/sponsors", "branding": "/branding", "store": "https://eslint.threadless.com", "team": "/team", - "configuring": "https://eslint.org/docs/users/configuring/", - "fixProblems": "https://eslint.org/docs/users/command-line-interface#fix-problems", + "configuring": "https://eslint.org/docs/use/configuring/", + "fixProblems": "https://eslint.org/docs/use/command-line-interface#fix-problems", "donate": "/donate", "openCollective": "https://opencollective.com/eslint", "githubSponsors": "https://github.com/sponsors/eslint" diff --git a/docs/src/_data/rules.json b/docs/src/_data/rules.json index 5e3317aa32a..5b9d2e21ff3 100644 --- a/docs/src/_data/rules.json +++ b/docs/src/_data/rules.json @@ -1893,7 +1893,7 @@ ], "deprecated": { "name": "Deprecated", - "description": "These rules have been deprecated in accordance with the deprecation policy, and replaced by newer rules:", + "description": "These rules have been deprecated in accordance with the deprecation policy, and replaced by newer rules:", "rules": [ { "name": "callback-return", @@ -2009,7 +2009,7 @@ }, "removed": { "name": "Removed", - "description": "These rules from older versions of ESLint (before the deprecation policy existed) have been replaced by newer rules:", + "description": "These rules from older versions of ESLint (before the deprecation policy existed) have been replaced by newer rules:", "rules": [ { "removed": "generator-star", diff --git a/docs/src/_includes/components/rule-categories.macro.html b/docs/src/_includes/components/rule-categories.macro.html index 1ba854bed16..7186b2303a4 100644 --- a/docs/src/_includes/components/rule-categories.macro.html +++ b/docs/src/_includes/components/rule-categories.macro.html @@ -5,7 +5,7 @@
Recommended

- The "extends": "eslint:recommended" property in a configuration file enables this rule + The "extends": "eslint:recommended" property in a configuration file enables this rule

{%- endif -%} @@ -13,7 +13,7 @@
🔧 Fixable

- Some problems reported by this rule are automatically fixable by the --fix command line option + Some problems reported by this rule are automatically fixable by the --fix command line option

{%- endif -%} diff --git a/docs/src/extend/custom-formatters.md b/docs/src/extend/custom-formatters.md index 3fdc3de01b0..0861ecde6f8 100644 --- a/docs/src/extend/custom-formatters.md +++ b/docs/src/extend/custom-formatters.md @@ -376,7 +376,7 @@ error semi ### Complex Argument Passing -If you find the custom formatter pattern doesn't provide enough options for the way you'd like to format ESLint results, the best option is to use ESLint's built-in [JSON formatter](../users/formatters/) and pipe the output to a second program. For example: +If you find the custom formatter pattern doesn't provide enough options for the way you'd like to format ESLint results, the best option is to use ESLint's built-in [JSON formatter](../use/formatters/) and pipe the output to a second program. For example: ```bash eslint -f json src/ | your-program-that-reads-JSON --option diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index ed3e906ef1b..06bf8ea59b6 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -67,12 +67,12 @@ The source file for a rule exports an object with the following properties. * `docs` (object) is required for core rules of ESLint: * `description` (string) provides the short description of the rule in the [rules index](../rules/) - * `recommended` (boolean) is whether the `"extends": "eslint:recommended"` property in a [configuration file](../users/configuring/configuration-files#extending-configuration-files) enables the rule + * `recommended` (boolean) is whether the `"extends": "eslint:recommended"` property in a [configuration file](../use/configuring/configuration-files#extending-configuration-files) enables the rule * `url` (string) specifies the URL at which the full documentation can be accessed (enabling code editors to provide a helpful link on highlighted rule violations) In a custom rule or plugin, you can omit `docs` or include any properties that you need in it. -* `fixable` (string) is either `"code"` or `"whitespace"` if the `--fix` option on the [command line](../users/command-line-interface#--fix) automatically fixes problems reported by the rule +* `fixable` (string) is either `"code"` or `"whitespace"` if the `--fix` option on the [command line](../use/command-line-interface#--fix) automatically fixes problems reported by the rule **Important:** the `fixable` property is mandatory for fixable rules. If this property isn't specified, ESLint will throw an error whenever the rule attempts to produce a fix. Omit the `fixable` property if the rule is not fixable. @@ -80,7 +80,7 @@ The source file for a rule exports an object with the following properties. **Important:** the `hasSuggestions` property is mandatory for rules that provide suggestions. If this property isn't set to `true`, ESLint will throw an error whenever the rule attempts to produce a suggestion. Omit the `hasSuggestions` property if the rule does not provide suggestions. -* `schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../users/configuring/rules#configuring-rules) +* `schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../use/configuring/rules#configuring-rules) * `deprecated` (boolean) indicates whether the rule has been deprecated. You may omit the `deprecated` property if the rule has not been deprecated. @@ -127,10 +127,10 @@ module.exports = { The `context` object contains additional functionality that is helpful for rules to do their jobs. As the name implies, the `context` object contains information that is relevant to the context of the rule. The `context` object has the following properties: -* `parserOptions` - the parser options configured for this run (more details [here](../users/configuring/language-options#specifying-parser-options)). +* `parserOptions` - the parser options configured for this run (more details [here](../use/configuring/language-options#specifying-parser-options)). * `id` - the rule ID. -* `options` - an array of the [configured options](../users/configuring/rules#configuring-rules) for this rule. This array does not include the rule severity. For more information, see [here](#contextoptions). -* `settings` - the [shared settings](../users/configuring/configuration-files#adding-shared-settings) from configuration. +* `options` - an array of the [configured options](../use/configuring/rules#configuring-rules) for this rule. This array does not include the rule severity. For more information, see [here](#contextoptions). +* `settings` - the [shared settings](../use/configuring/configuration-files#adding-shared-settings) from configuration. * `parserPath` - the name of the `parser` from configuration. * `parserServices` - an object containing parser-provided services for rules. The default parser does not provide any services. However, if a rule is intended to be used with a custom parser, it could use `parserServices` to access anything provided by that parser. (For example, a TypeScript parser could provide the ability to get the computed type of a given node.) @@ -796,5 +796,5 @@ The thing that makes ESLint different from other linters is the ability to defin Runtime rules are written in the same format as all other rules. Create your rule as you would any other and then follow these steps: 1. Place all of your runtime rules in the same directory (e.g., `eslint_rules`). -2. Create a [configuration file](../users/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `"warn"` or `"error"` in the configuration file. -3. Run the [command line interface](../users/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. +2. Create a [configuration file](../use/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `"warn"` or `"error"` in the configuration file. +3. Run the [command line interface](../use/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. diff --git a/docs/src/extend/index.md b/docs/src/extend/index.md index 66b76b12bce..dbcee9d27f0 100644 --- a/docs/src/extend/index.md +++ b/docs/src/extend/index.md @@ -33,15 +33,15 @@ Developing for ESLint is a bit different than running it on the command line. Th There are a lot of unit tests included with ESLint to make sure that we're keeping on top of code quality. This section explains how to run the unit tests. -## Section 4: [Working with Rules](working-with-rules) +## Section 4: [Working with Rules](custom-rules) You're finally ready to start working with rules. You may want to fix an existing rule or create a new one. This section explains how to do all of that. -## Section 5: [Working with Plugins](working-with-plugins) +## Section 5: [Working with Plugins](custom-plugins) You've developed library-specific rules for ESLint and you want to share them with the community. You can publish an ESLint plugin on npm. -## Section 6: [Working with Custom Parsers](working-with-custom-parsers) +## Section 6: [Working with Custom Parsers](custom-parsers) If you aren't going to use the default parser of ESLint, this section explains about using custom parsers. @@ -49,6 +49,6 @@ If you aren't going to use the default parser of ESLint, this section explains a If you're interested in writing a tool that uses ESLint, then you can use the Node.js API to get programmatic access to functionality. -## Section 8: [Contributing](contributing/) +## Section 8: [Contributing](contribute/) Once you've made changes that you want to share with the community, the next step is to submit those changes back via a pull request. diff --git a/docs/src/extend/nodejs-api.md b/docs/src/extend/nodejs-api.md index 0ae91d20284..cf6db563780 100644 --- a/docs/src/extend/nodejs-api.md +++ b/docs/src/extend/nodejs-api.md @@ -917,8 +917,8 @@ ruleTester.run("my-rule", myRule, { --- -[configuration object]: ../users/configuring/ -[builtin-formatters]: ../users/formatters/ +[configuration object]: ../use/configuring/ +[builtin-formatters]: ../use/formatters/ [third-party-formatters]: https://www.npmjs.com/search?q=eslintformatter [eslint-lintfiles]: #-eslintlintfilespatterns [eslint-linttext]: #-eslintlinttextcode-options diff --git a/docs/src/extend/plugins.md b/docs/src/extend/plugins.md index dd4740a4248..abc49612a65 100644 --- a/docs/src/extend/plugins.md +++ b/docs/src/extend/plugins.md @@ -92,7 +92,7 @@ module.exports = { **The `preprocess` method** takes the file contents and filename as arguments, and returns an array of code blocks to lint. The code blocks will be linted separately but still be registered to the filename. -A code block has two properties `text` and `filename`; the `text` property is the content of the block and the `filename` property is the name of the block. Name of the block can be anything, but should include the file extension, that would tell the linter how to process the current block. The linter will check [`--ext` CLI option](../users/command-line-interface#--ext) to see if the current block should be linted, and resolve `overrides` configs to check how to process the current block. +A code block has two properties `text` and `filename`; the `text` property is the content of the block and the `filename` property is the name of the block. Name of the block can be anything, but should include the file extension, that would tell the linter how to process the current block. The linter will check [`--ext` CLI option](../use/command-line-interface#--ext) to see if the current block should be linted, and resolve `overrides` configs to check how to process the current block. It's up to the plugin to decide if it needs to return just one part, or multiple pieces. For example in the case of processing `.html` files, you might want to return just one item in the array by combining all scripts, but for `.md` file where each JavaScript block might be independent, you can return multiple items. @@ -144,7 +144,7 @@ overrides: processor: a-plugin/markdown ``` -See [Specifying Processor](../users/configuring/plugins#specify-a-processor) for details. +See [Specifying Processor](../use/configuring/plugins#specify-a-processor) for details. #### File Extension-named Processor @@ -205,7 +205,7 @@ If the example plugin above were called `eslint-plugin-myPlugin`, the `myConfig` ``` -**Note:** Please note that configuration will not enable any of the plugin's rules by default, and instead should be treated as a standalone config. This means that you must specify your plugin name in the `plugins` array as well as any rules you want to enable that are part of the plugin. Any plugin rules must be prefixed with the short or long plugin name. See [Configuring Plugins](../users/configuring/plugins#configure-plugins) for more information. +**Note:** Please note that configuration will not enable any of the plugin's rules by default, and instead should be treated as a standalone config. This means that you must specify your plugin name in the `plugins` array as well as any rules you want to enable that are part of the plugin. Any plugin rules must be prefixed with the short or long plugin name. See [Configuring Plugins](../use/configuring/plugins#configure-plugins) for more information. ### Peer Dependency diff --git a/docs/src/extend/working-with-rules-deprecated.md b/docs/src/extend/working-with-rules-deprecated.md index d924600678f..84e4d7c308c 100644 --- a/docs/src/extend/working-with-rules-deprecated.md +++ b/docs/src/extend/working-with-rules-deprecated.md @@ -37,7 +37,7 @@ module.exports.schema = []; // no options ## Rule Basics -`schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../users/configuring/rules#configuring-rules) +`schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../use/configuring/rules#configuring-rules) `create` (function) returns an object with methods that ESLint calls to "visit" nodes while traversing the abstract syntax tree (AST as defined by [ESTree](https://github.com/estree/estree)) of JavaScript code: @@ -77,7 +77,7 @@ module.exports = function(context) { The `context` object contains additional functionality that is helpful for rules to do their jobs. As the name implies, the `context` object contains information that is relevant to the context of the rule. The `context` object has the following properties: -* `parserOptions` - the parser options configured for this run (more details [here](../users/configuring/language-options#specifying-parser-options)). +* `parserOptions` - the parser options configured for this run (more details [here](../use/configuring/language-options#specifying-parser-options)). * `id` - the rule ID. * `options` - an array of rule options. * `settings` - the `settings` from configuration. @@ -481,7 +481,7 @@ valid: [ ] ``` -The options available and the expected syntax for `parserOptions` is the same as those used in [configuration](../users/configuring/language-options#specifying-parser-options). +The options available and the expected syntax for `parserOptions` is the same as those used in [configuration](../use/configuring/language-options#specifying-parser-options). ### Write Several Tests @@ -576,5 +576,5 @@ The thing that makes ESLint different from other linters is the ability to defin Runtime rules are written in the same format as all other rules. Create your rule as you would any other and then follow these steps: 1. Place all of your runtime rules in the same directory (i.e., `eslint_rules`). -2. Create a [configuration file](../users/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `1` or `2` in the configuration file. -3. Run the [command line interface](../users/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. +2. Create a [configuration file](../use/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `1` or `2` in the configuration file. +3. Run the [command line interface](../use/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. diff --git a/docs/src/maintain/-issues b/docs/src/maintain/-issues deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/docs/src/rules/id-denylist.md b/docs/src/rules/id-denylist.md index 6ee40a859c0..9fa9678c1f1 100644 --- a/docs/src/rules/id-denylist.md +++ b/docs/src/rules/id-denylist.md @@ -37,7 +37,7 @@ For example, to restrict the use of common generic identifiers: } ``` -**Note:** The first element of the array is for the rule severity (see [configuring rules](../users/configuring/rules). The other elements in the array are the identifiers that you want to disallow. +**Note:** The first element of the array is for the rule severity (see [configuring rules](../use/configuring/rules). The other elements in the array are the identifiers that you want to disallow. Examples of **incorrect** code for this rule with sample `"data", "callback"` restricted identifiers: diff --git a/docs/src/rules/no-global-assign.md b/docs/src/rules/no-global-assign.md index 1cc0e61434f..69649d2f77d 100644 --- a/docs/src/rules/no-global-assign.md +++ b/docs/src/rules/no-global-assign.md @@ -23,8 +23,8 @@ This rule disallows modifications to read-only global variables. ESLint has the capability to configure global variables as read-only. -* [Specifying Environments](../users/configuring#specifying-environments) -* [Specifying Globals](../users/configuring#specifying-globals) +* [Specifying Environments](../use/configuring#specifying-environments) +* [Specifying Globals](../use/configuring#specifying-globals) Examples of **incorrect** code for this rule: diff --git a/docs/src/rules/no-implicit-globals.md b/docs/src/rules/no-implicit-globals.md index 8df364688c2..8e0477a46aa 100644 --- a/docs/src/rules/no-implicit-globals.md +++ b/docs/src/rules/no-implicit-globals.md @@ -122,8 +122,8 @@ A read-only global variable can be a built-in ES global (e.g. `Array`), an envir (e.g. `window` in the browser environment), or a global variable defined as `readonly` in the configuration file or in a `/*global */` comment. -* [Specifying Environments](../users/configuring#specifying-environments) -* [Specifying Globals](../users/configuring#specifying-globals) +* [Specifying Environments](../use/configuring#specifying-environments) +* [Specifying Globals](../use/configuring#specifying-globals) Examples of **incorrect** code for this rule: diff --git a/docs/src/rules/no-native-reassign.md b/docs/src/rules/no-native-reassign.md index 4124addb255..021f76279ec 100644 --- a/docs/src/rules/no-native-reassign.md +++ b/docs/src/rules/no-native-reassign.md @@ -24,8 +24,8 @@ This rule disallows modifications to read-only global variables. ESLint has the capability to configure global variables as read-only. -* [Specifying Environments](../users/configuring#specifying-environments) -* [Specifying Globals](../users/configuring#specifying-globals) +* [Specifying Environments](../use/configuring#specifying-environments) +* [Specifying Globals](../use/configuring#specifying-globals) Examples of **incorrect** code for this rule: diff --git a/docs/src/rules/no-undef.md b/docs/src/rules/no-undef.md index 60ecc4e83a0..323b9ca1230 100644 --- a/docs/src/rules/no-undef.md +++ b/docs/src/rules/no-undef.md @@ -12,7 +12,7 @@ This rule can help you locate potential ReferenceErrors resulting from misspelli ## Rule Details -Any reference to an undeclared variable causes a warning, unless the variable is explicitly mentioned in a `/*global ...*/` comment, or specified in the [`globals` key in the configuration file](../users/configuring/language-options#using-configuration-files-1). A common use case for these is if you intentionally use globals that are defined elsewhere (e.g. in a script sourced from HTML). +Any reference to an undeclared variable causes a warning, unless the variable is explicitly mentioned in a `/*global ...*/` comment, or specified in the [`globals` key in the configuration file](../use/configuring/language-options#using-configuration-files-1). A common use case for these is if you intentionally use globals that are defined elsewhere (e.g. in a script sourced from HTML). Examples of **incorrect** code for this rule: @@ -96,7 +96,7 @@ if(typeof a === "string"){} ## Environments -For convenience, ESLint provides shortcuts that pre-define global variables exposed by popular libraries and runtime environments. This rule supports these environments, as listed in [Specifying Environments](../users/configuring/language-options#specifying-environments). A few examples are given below. +For convenience, ESLint provides shortcuts that pre-define global variables exposed by popular libraries and runtime environments. This rule supports these environments, as listed in [Specifying Environments](../use/configuring/language-options#specifying-environments). A few examples are given below. ### browser diff --git a/docs/src/rules/rest-spread-spacing.md b/docs/src/rules/rest-spread-spacing.md index d05fe15e46d..52de82d1724 100644 --- a/docs/src/rules/rest-spread-spacing.md +++ b/docs/src/rules/rest-spread-spacing.md @@ -58,7 +58,7 @@ This rule aims to enforce consistent spacing between rest and spread operators a } ``` -Please read the user guide's section on [configuring parser options](../users/configuring#specifying-parser-options) to learn more. +Please read the user guide's section on [configuring parser options](../use/configuring#specifying-parser-options) to learn more. ## Options diff --git a/docs/src/rules/space-after-keywords.md b/docs/src/rules/space-after-keywords.md index 41beb04fff5..7f5d63d9986 100644 --- a/docs/src/rules/space-after-keywords.md +++ b/docs/src/rules/space-after-keywords.md @@ -7,7 +7,7 @@ Enforces consistent spacing after keywords. (removed) This rule was **removed** in ESLint v2.0 and replaced by the [keyword-spacing](keyword-spacing) rule. -(fixable) The `--fix` option on the [command line](../users/command-line-interface#--fix) automatically fixed problems reported by this rule. +(fixable) The `--fix` option on the [command line](../use/command-line-interface#--fix) automatically fixed problems reported by this rule. Some style guides will require or disallow spaces following the certain keywords. diff --git a/docs/src/rules/space-before-keywords.md b/docs/src/rules/space-before-keywords.md index f926b64a604..9c2f7358109 100644 --- a/docs/src/rules/space-before-keywords.md +++ b/docs/src/rules/space-before-keywords.md @@ -13,7 +13,7 @@ Enforces consistent spacing before keywords. (removed) This rule was **removed** in ESLint v2.0 and **replaced** by the [keyword-spacing](keyword-spacing) rule. -(fixable) The `--fix` option on the [command line](../users/command-line-interface#--fix) automatically fixed problems reported by this rule. +(fixable) The `--fix` option on the [command line](../use/command-line-interface#--fix) automatically fixed problems reported by this rule. Keywords are syntax elements of JavaScript, such as `function` and `if`. These identifiers have special meaning to the language and so often appear in a different color in code editors. As an important part of the language, style guides often refer to the spacing that should be used around keywords. For example, you might have a style guide that says keywords should be always be preceded by spaces, which would mean `if-else` statements must look like this: diff --git a/docs/src/rules/space-return-throw-case.md b/docs/src/rules/space-return-throw-case.md index 5bc8c7302f8..8a9242280ab 100644 --- a/docs/src/rules/space-return-throw-case.md +++ b/docs/src/rules/space-return-throw-case.md @@ -7,7 +7,7 @@ Requires spaces after `return`, `throw`, and `case` keywords. (removed) This rule was **removed** in ESLint v2.0 and **replaced** by the [keyword-spacing](keyword-spacing) rule. -(fixable) The `--fix` option on the [command line](../users/command-line-interface#--fix) automatically fixed problems reported by this rule. +(fixable) The `--fix` option on the [command line](../use/command-line-interface#--fix) automatically fixed problems reported by this rule. Require spaces following `return`, `throw`, and `case`. diff --git a/docs/src/rules/strict.md b/docs/src/rules/strict.md index eb0f742c88f..5bc31018096 100644 --- a/docs/src/rules/strict.md +++ b/docs/src/rules/strict.md @@ -47,7 +47,7 @@ In **ECMAScript** modules, which always have strict mode semantics, the directiv This rule requires or disallows strict mode directives. -This rule disallows strict mode directives, no matter which option is specified, if ESLint configuration specifies either of the following as [parser options](../users/configuring/language-options#specifying-parser-options): +This rule disallows strict mode directives, no matter which option is specified, if ESLint configuration specifies either of the following as [parser options](../use/configuring/language-options#specifying-parser-options): * `"sourceType": "module"` that is, files are **ECMAScript** modules * `"impliedStrict": true` property in the `ecmaFeatures` object @@ -73,8 +73,8 @@ This rule has a string option: The `"safe"` option corresponds to the `"global"` option if ESLint considers a file to be a **Node.js** or **CommonJS** module because the configuration specifies either of the following: -* `node` or `commonjs` [environments](../users/configuring/language-options#specifying-environments) -* `"globalReturn": true` property in the `ecmaFeatures` object of [parser options](../users/configuring/language-options#specifying-parser-options) +* `node` or `commonjs` [environments](../use/configuring/language-options#specifying-environments) +* `"globalReturn": true` property in the `ecmaFeatures` object of [parser options](../use/configuring/language-options#specifying-parser-options) Otherwise the `"safe"` option corresponds to the `"function"` option. Note that if `"globalReturn": false` is explicitly specified in the configuration, the `"safe"` option will correspond to the `"function"` option regardless of the specified environment. @@ -340,4 +340,4 @@ function foo() { ## When Not To Use It -In a codebase that has both strict and non-strict code, either turn this rule off, or [selectively disable it](../users/configuring/rules#disabling-rules) where necessary. For example, functions referencing `arguments.callee` are invalid in strict mode. A [full list of strict mode differences](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode#Differences_from_non-strict_to_strict) is available on MDN. +In a codebase that has both strict and non-strict code, either turn this rule off, or [selectively disable it](../use/configuring/rules#disabling-rules) where necessary. For example, functions referencing `arguments.callee` are invalid in strict mode. A [full list of strict mode differences](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode#Differences_from_non-strict_to_strict) is available on MDN. diff --git a/docs/src/use/command-line-interface.md b/docs/src/use/command-line-interface.md index 4048ba5c994..88292fdde5f 100644 --- a/docs/src/use/command-line-interface.md +++ b/docs/src/use/command-line-interface.md @@ -628,7 +628,7 @@ If the directory for the cache does not exist make sure you add a trailing `/` o ##### `--cache-location` example ```shell -npx eslint "src/**/*.js" --cache --cache-location "/Users/user/.eslintcache/" +npx eslint "src/**/*.js" --cache --cache-location "/use/user/.eslintcache/" ``` #### `--cache-strategy` diff --git a/docs/src/use/configure/configuration-files.md b/docs/src/use/configure/configuration-files.md index 13866ac6611..25eeea0567b 100644 --- a/docs/src/use/configure/configuration-files.md +++ b/docs/src/use/configure/configuration-files.md @@ -41,7 +41,7 @@ The second way to use configuration files is to save the file wherever you would eslint -c myconfig.json myfiletotest.js ``` -If you are using one configuration file and want ESLint to ignore any `.eslintrc.*` files, make sure to use [`--no-eslintrc`](../command-line-interface#--no-eslintrc) along with the [`--config`](../../users/command-line-interface#-c---config) flag. +If you are using one configuration file and want ESLint to ignore any `.eslintrc.*` files, make sure to use [`--no-eslintrc`](../command-line-interface#--no-eslintrc) along with the [`--config`](../../use/command-line-interface#-c---config) flag. Here's an example JSON configuration file that uses the `typescript-eslint` parser to support TypeScript syntax: @@ -390,7 +390,7 @@ In your `.eslintrc.json`: Here is how overrides work in a configuration file: -* The patterns are applied against the file path relative to the directory of the config file. For example, if your config file has the path `/Users/john/workspace/any-project/.eslintrc.js` and the file you want to lint has the path `/Users/john/workspace/any-project/lib/util.js`, then the pattern provided in `.eslintrc.js` is executed against the relative path `lib/util.js`. +* The patterns are applied against the file path relative to the directory of the config file. For example, if your config file has the path `/use/john/workspace/any-project/.eslintrc.js` and the file you want to lint has the path `/use/john/workspace/any-project/lib/util.js`, then the pattern provided in `.eslintrc.js` is executed against the relative path `lib/util.js`. * Glob pattern overrides have higher precedence than the regular configuration in the same config file. Multiple overrides within the same config are applied in order. That is, the last override block in a config file always has the highest precedence. * A glob specific configuration works almost the same as any other ESLint config. Override blocks can contain any configuration options that are valid in a regular config, with the exception of `root` and `ignorePatterns`. * A glob specific configuration can have an `extends` setting, but the `root` property in the extended configs is ignored. The `ignorePatterns` property in the extended configs is used only for the files the glob specific configuration matched. diff --git a/docs/src/use/migrating-to-6.0.0.md b/docs/src/use/migrating-to-6.0.0.md index a8d774a7a9c..c593052c748 100644 --- a/docs/src/use/migrating-to-6.0.0.md +++ b/docs/src/use/migrating-to-6.0.0.md @@ -51,7 +51,7 @@ As of April 2019, Node.js 6 will be at EOL and will no longer be receiving secur ## `eslint:recommended` has been updated -The following rules have been added to the [`eslint:recommended`](../users/configuring#using-eslintrecommended) config: +The following rules have been added to the [`eslint:recommended`](../use/configuring#using-eslintrecommended) config: * [`no-async-promise-executor`](../rules/no-async-promise-executor) disallows using an `async` function as the argument to the `Promise` constructor, which is usually a bug. * [`no-misleading-character-class`](../rules/no-misleading-character-class) reports character classes in regular expressions that might not behave as expected. @@ -195,7 +195,7 @@ The default options for the [`no-confusing-arrow`](../rules/no-confusing-arrow) Due to a bug, the glob patterns in a `files` list in an `overrides` section of a config file would never match dotfiles, making it impossible to have overrides apply to files starting with a dot. This bug has been fixed in ESLint v6. -**To address:** If you don't want dotfiles to be matched by an override, consider adding something like `excludedFiles: [".*"]` to that `overrides` section. See the [documentation](../users/configuring#configuration-based-on-glob-patterns) for more details. +**To address:** If you don't want dotfiles to be matched by an override, consider adding something like `excludedFiles: [".*"]` to that `overrides` section. See the [documentation](../use/configuring#configuration-based-on-glob-patterns) for more details. **Related issue(s):** [eslint/eslint#11201](https://github.com/eslint/eslint/issues/11201) diff --git a/docs/src/use/migrating-to-7.0.0.md b/docs/src/use/migrating-to-7.0.0.md index bc7a3e80a66..b0446c16acd 100644 --- a/docs/src/use/migrating-to-7.0.0.md +++ b/docs/src/use/migrating-to-7.0.0.md @@ -147,7 +147,7 @@ To allow for the colocation of comments that provide context with the directive, The ten Node.js/CommonJS rules in core have been deprecated and moved to the [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) plugin. -**To address:** As per [our deprecation policy](../users/rule-deprecation), the deprecated rules will remain in core for the foreseeable future and are still available for use. However, we will no longer be updating or fixing any bugs in those rules. To use a supported version of the rules, we recommend using the corresponding rules in the plugin instead. +**To address:** As per [our deprecation policy](../use/rule-deprecation), the deprecated rules will remain in core for the foreseeable future and are still available for use. However, we will no longer be updating or fixing any bugs in those rules. To use a supported version of the rules, we recommend using the corresponding rules in the plugin instead. | Deprecated Rules | Replacement | | :--------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------ | From e9c650d29a42ed4b70ed07618f581406ec8334ae Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 14 Dec 2022 22:28:54 -0500 Subject: [PATCH 05/41] allow crawling --- docs/src/static/robots.njk | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/src/static/robots.njk b/docs/src/static/robots.njk index a6bf2474790..bbeb6b0f2eb 100644 --- a/docs/src/static/robots.njk +++ b/docs/src/static/robots.njk @@ -4,4 +4,3 @@ permalink: robots.txt eleventyExcludeFromCollections: true --- User-agent: * -Disallow: / From 7f6eba4a16dd65097696f52a4f7b5884a0e16d23 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 14 Dec 2022 22:32:05 -0500 Subject: [PATCH 06/41] trigger deploy --- docs/src/extend/custom-rules.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index 06bf8ea59b6..5a9bd105e62 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -798,3 +798,5 @@ Runtime rules are written in the same format as all other rules. Create your rul 1. Place all of your runtime rules in the same directory (e.g., `eslint_rules`). 2. Create a [configuration file](../use/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `"warn"` or `"error"` in the configuration file. 3. Run the [command line interface](../use/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. + +TODO: Delete From 5b80404827bc32690a4f08dd4798ce7438f47004 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 14 Dec 2022 22:40:24 -0500 Subject: [PATCH 07/41] Additional fixes --- docs/src/_data/links.json | 2 +- .../_includes/components/rule-categories.macro.html | 2 +- docs/src/extend/custom-rules.md | 12 ++++++------ docs/src/extend/nodejs-api.md | 2 +- docs/src/extend/plugins.md | 4 ++-- docs/src/extend/working-with-rules-deprecated.md | 8 ++++---- docs/src/pages/index.md | 13 ++++++++----- docs/src/rules/id-denylist.md | 2 +- docs/src/rules/no-global-assign.md | 4 ++-- docs/src/rules/no-implicit-globals.md | 4 ++-- docs/src/rules/no-native-reassign.md | 4 ++-- docs/src/rules/no-undef.md | 4 ++-- docs/src/rules/rest-spread-spacing.md | 2 +- docs/src/rules/strict.md | 8 ++++---- docs/src/use/command-line-interface.md | 2 +- docs/src/use/core-concepts.md | 6 +++--- docs/src/use/migrating-to-6.0.0.md | 4 ++-- 17 files changed, 43 insertions(+), 40 deletions(-) diff --git a/docs/src/_data/links.json b/docs/src/_data/links.json index 4a5d8a9f5d7..27857a1897d 100644 --- a/docs/src/_data/links.json +++ b/docs/src/_data/links.json @@ -13,7 +13,7 @@ "branding": "/branding", "store": "https://eslint.threadless.com", "team": "/team", - "configuring": "https://eslint.org/docs/use/configuring/", + "configuring": "https://eslint.org/docs/use/configure/", "fixProblems": "https://eslint.org/docs/use/command-line-interface#fix-problems", "donate": "/donate", "openCollective": "https://opencollective.com/eslint", diff --git a/docs/src/_includes/components/rule-categories.macro.html b/docs/src/_includes/components/rule-categories.macro.html index 7186b2303a4..193f6def64e 100644 --- a/docs/src/_includes/components/rule-categories.macro.html +++ b/docs/src/_includes/components/rule-categories.macro.html @@ -5,7 +5,7 @@
Recommended

- The "extends": "eslint:recommended" property in a configuration file enables this rule + The "extends": "eslint:recommended" property in a configuration file enables this rule

{%- endif -%} diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index 5a9bd105e62..70b8aacb67d 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -67,7 +67,7 @@ The source file for a rule exports an object with the following properties. * `docs` (object) is required for core rules of ESLint: * `description` (string) provides the short description of the rule in the [rules index](../rules/) - * `recommended` (boolean) is whether the `"extends": "eslint:recommended"` property in a [configuration file](../use/configuring/configuration-files#extending-configuration-files) enables the rule + * `recommended` (boolean) is whether the `"extends": "eslint:recommended"` property in a [configuration file](../use/configure/configuration-files#extending-configuration-files) enables the rule * `url` (string) specifies the URL at which the full documentation can be accessed (enabling code editors to provide a helpful link on highlighted rule violations) In a custom rule or plugin, you can omit `docs` or include any properties that you need in it. @@ -80,7 +80,7 @@ The source file for a rule exports an object with the following properties. **Important:** the `hasSuggestions` property is mandatory for rules that provide suggestions. If this property isn't set to `true`, ESLint will throw an error whenever the rule attempts to produce a suggestion. Omit the `hasSuggestions` property if the rule does not provide suggestions. -* `schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../use/configuring/rules#configuring-rules) +* `schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../use/configure/rules#configuring-rules) * `deprecated` (boolean) indicates whether the rule has been deprecated. You may omit the `deprecated` property if the rule has not been deprecated. @@ -127,10 +127,10 @@ module.exports = { The `context` object contains additional functionality that is helpful for rules to do their jobs. As the name implies, the `context` object contains information that is relevant to the context of the rule. The `context` object has the following properties: -* `parserOptions` - the parser options configured for this run (more details [here](../use/configuring/language-options#specifying-parser-options)). +* `parserOptions` - the parser options configured for this run (more details [here](../use/configure/language-options#specifying-parser-options)). * `id` - the rule ID. -* `options` - an array of the [configured options](../use/configuring/rules#configuring-rules) for this rule. This array does not include the rule severity. For more information, see [here](#contextoptions). -* `settings` - the [shared settings](../use/configuring/configuration-files#adding-shared-settings) from configuration. +* `options` - an array of the [configured options](../use/configure/rules#configuring-rules) for this rule. This array does not include the rule severity. For more information, see [here](#contextoptions). +* `settings` - the [shared settings](../use/configure/configuration-files#adding-shared-settings) from configuration. * `parserPath` - the name of the `parser` from configuration. * `parserServices` - an object containing parser-provided services for rules. The default parser does not provide any services. However, if a rule is intended to be used with a custom parser, it could use `parserServices` to access anything provided by that parser. (For example, a TypeScript parser could provide the ability to get the computed type of a given node.) @@ -796,7 +796,7 @@ The thing that makes ESLint different from other linters is the ability to defin Runtime rules are written in the same format as all other rules. Create your rule as you would any other and then follow these steps: 1. Place all of your runtime rules in the same directory (e.g., `eslint_rules`). -2. Create a [configuration file](../use/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `"warn"` or `"error"` in the configuration file. +2. Create a [configuration file](../use/configure/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `"warn"` or `"error"` in the configuration file. 3. Run the [command line interface](../use/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. TODO: Delete diff --git a/docs/src/extend/nodejs-api.md b/docs/src/extend/nodejs-api.md index cf6db563780..93c477fb6b7 100644 --- a/docs/src/extend/nodejs-api.md +++ b/docs/src/extend/nodejs-api.md @@ -917,7 +917,7 @@ ruleTester.run("my-rule", myRule, { --- -[configuration object]: ../use/configuring/ +[configuration object]: ../use/configure/ [builtin-formatters]: ../use/formatters/ [third-party-formatters]: https://www.npmjs.com/search?q=eslintformatter [eslint-lintfiles]: #-eslintlintfilespatterns diff --git a/docs/src/extend/plugins.md b/docs/src/extend/plugins.md index abc49612a65..42c8322ad38 100644 --- a/docs/src/extend/plugins.md +++ b/docs/src/extend/plugins.md @@ -144,7 +144,7 @@ overrides: processor: a-plugin/markdown ``` -See [Specifying Processor](../use/configuring/plugins#specify-a-processor) for details. +See [Specifying Processor](../use/configure/plugins#specify-a-processor) for details. #### File Extension-named Processor @@ -205,7 +205,7 @@ If the example plugin above were called `eslint-plugin-myPlugin`, the `myConfig` ``` -**Note:** Please note that configuration will not enable any of the plugin's rules by default, and instead should be treated as a standalone config. This means that you must specify your plugin name in the `plugins` array as well as any rules you want to enable that are part of the plugin. Any plugin rules must be prefixed with the short or long plugin name. See [Configuring Plugins](../use/configuring/plugins#configure-plugins) for more information. +**Note:** Please note that configuration will not enable any of the plugin's rules by default, and instead should be treated as a standalone config. This means that you must specify your plugin name in the `plugins` array as well as any rules you want to enable that are part of the plugin. Any plugin rules must be prefixed with the short or long plugin name. See [Configuring Plugins](../use/configure/plugins#configure-plugins) for more information. ### Peer Dependency diff --git a/docs/src/extend/working-with-rules-deprecated.md b/docs/src/extend/working-with-rules-deprecated.md index 84e4d7c308c..fc0f873f93f 100644 --- a/docs/src/extend/working-with-rules-deprecated.md +++ b/docs/src/extend/working-with-rules-deprecated.md @@ -37,7 +37,7 @@ module.exports.schema = []; // no options ## Rule Basics -`schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../use/configuring/rules#configuring-rules) +`schema` (array) specifies the [options](#options-schemas) so ESLint can prevent invalid [rule configurations](../use/configure/rules#configuring-rules) `create` (function) returns an object with methods that ESLint calls to "visit" nodes while traversing the abstract syntax tree (AST as defined by [ESTree](https://github.com/estree/estree)) of JavaScript code: @@ -77,7 +77,7 @@ module.exports = function(context) { The `context` object contains additional functionality that is helpful for rules to do their jobs. As the name implies, the `context` object contains information that is relevant to the context of the rule. The `context` object has the following properties: -* `parserOptions` - the parser options configured for this run (more details [here](../use/configuring/language-options#specifying-parser-options)). +* `parserOptions` - the parser options configured for this run (more details [here](../use/configure/language-options#specifying-parser-options)). * `id` - the rule ID. * `options` - an array of rule options. * `settings` - the `settings` from configuration. @@ -481,7 +481,7 @@ valid: [ ] ``` -The options available and the expected syntax for `parserOptions` is the same as those used in [configuration](../use/configuring/language-options#specifying-parser-options). +The options available and the expected syntax for `parserOptions` is the same as those used in [configuration](../use/configure/language-options#specifying-parser-options). ### Write Several Tests @@ -576,5 +576,5 @@ The thing that makes ESLint different from other linters is the ability to defin Runtime rules are written in the same format as all other rules. Create your rule as you would any other and then follow these steps: 1. Place all of your runtime rules in the same directory (i.e., `eslint_rules`). -2. Create a [configuration file](../use/configuring/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `1` or `2` in the configuration file. +2. Create a [configuration file](../use/configure/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `1` or `2` in the configuration file. 3. Run the [command line interface](../use/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. diff --git a/docs/src/pages/index.md b/docs/src/pages/index.md index 5f1b6933af7..58a3cb012e2 100644 --- a/docs/src/pages/index.md +++ b/docs/src/pages/index.md @@ -5,16 +5,19 @@ permalink: /index.html Welcome to our documentation pages! What would you like to view? -## [User Guide](user-guide/) +## [User Guide](use/) Intended for end users of ESLint. Contains information about core rules, configuration, command line options, formatters, and integrations, as well as guides for migrating from earlier versions of ESLint. -## [Developer Guide](developer-guide/) +## [Extender Guide](extend/) -Intended for contributors to ESLint and people who wish to extend ESLint. Contains information about contributing to ESLint; creating custom -rules, configurations, plugins, and formatters; and information about our architecture and Node.js API. +Intended for people who wish to extend ESLint. Contains information about creating custom rules, configurations, plugins, and formatters; and information about our Node.js API. -## [Maintainer Guide](maintainer-guide/) +## [Contributor Guide](contribute/) + +Intended for contributors to ESLint. Contains information about contributing to ESLint, architecture, and project setup. + +## [Maintainer Guide](maintain/) Intended for maintainers of ESLint. diff --git a/docs/src/rules/id-denylist.md b/docs/src/rules/id-denylist.md index 9fa9678c1f1..8be84183274 100644 --- a/docs/src/rules/id-denylist.md +++ b/docs/src/rules/id-denylist.md @@ -37,7 +37,7 @@ For example, to restrict the use of common generic identifiers: } ``` -**Note:** The first element of the array is for the rule severity (see [configuring rules](../use/configuring/rules). The other elements in the array are the identifiers that you want to disallow. +**Note:** The first element of the array is for the rule severity (see [configuring rules](../use/configure/rules). The other elements in the array are the identifiers that you want to disallow. Examples of **incorrect** code for this rule with sample `"data", "callback"` restricted identifiers: diff --git a/docs/src/rules/no-global-assign.md b/docs/src/rules/no-global-assign.md index 69649d2f77d..dcdd05d519e 100644 --- a/docs/src/rules/no-global-assign.md +++ b/docs/src/rules/no-global-assign.md @@ -23,8 +23,8 @@ This rule disallows modifications to read-only global variables. ESLint has the capability to configure global variables as read-only. -* [Specifying Environments](../use/configuring#specifying-environments) -* [Specifying Globals](../use/configuring#specifying-globals) +* [Specifying Environments](../use/configure#specifying-environments) +* [Specifying Globals](../use/configure#specifying-globals) Examples of **incorrect** code for this rule: diff --git a/docs/src/rules/no-implicit-globals.md b/docs/src/rules/no-implicit-globals.md index 8e0477a46aa..1e5c5fad723 100644 --- a/docs/src/rules/no-implicit-globals.md +++ b/docs/src/rules/no-implicit-globals.md @@ -122,8 +122,8 @@ A read-only global variable can be a built-in ES global (e.g. `Array`), an envir (e.g. `window` in the browser environment), or a global variable defined as `readonly` in the configuration file or in a `/*global */` comment. -* [Specifying Environments](../use/configuring#specifying-environments) -* [Specifying Globals](../use/configuring#specifying-globals) +* [Specifying Environments](../use/configure#specifying-environments) +* [Specifying Globals](../use/configure#specifying-globals) Examples of **incorrect** code for this rule: diff --git a/docs/src/rules/no-native-reassign.md b/docs/src/rules/no-native-reassign.md index 021f76279ec..c2c658f7705 100644 --- a/docs/src/rules/no-native-reassign.md +++ b/docs/src/rules/no-native-reassign.md @@ -24,8 +24,8 @@ This rule disallows modifications to read-only global variables. ESLint has the capability to configure global variables as read-only. -* [Specifying Environments](../use/configuring#specifying-environments) -* [Specifying Globals](../use/configuring#specifying-globals) +* [Specifying Environments](../use/configure#specifying-environments) +* [Specifying Globals](../use/configure#specifying-globals) Examples of **incorrect** code for this rule: diff --git a/docs/src/rules/no-undef.md b/docs/src/rules/no-undef.md index 323b9ca1230..0bc7a28279f 100644 --- a/docs/src/rules/no-undef.md +++ b/docs/src/rules/no-undef.md @@ -12,7 +12,7 @@ This rule can help you locate potential ReferenceErrors resulting from misspelli ## Rule Details -Any reference to an undeclared variable causes a warning, unless the variable is explicitly mentioned in a `/*global ...*/` comment, or specified in the [`globals` key in the configuration file](../use/configuring/language-options#using-configuration-files-1). A common use case for these is if you intentionally use globals that are defined elsewhere (e.g. in a script sourced from HTML). +Any reference to an undeclared variable causes a warning, unless the variable is explicitly mentioned in a `/*global ...*/` comment, or specified in the [`globals` key in the configuration file](../use/configure/language-options#using-configuration-files-1). A common use case for these is if you intentionally use globals that are defined elsewhere (e.g. in a script sourced from HTML). Examples of **incorrect** code for this rule: @@ -96,7 +96,7 @@ if(typeof a === "string"){} ## Environments -For convenience, ESLint provides shortcuts that pre-define global variables exposed by popular libraries and runtime environments. This rule supports these environments, as listed in [Specifying Environments](../use/configuring/language-options#specifying-environments). A few examples are given below. +For convenience, ESLint provides shortcuts that pre-define global variables exposed by popular libraries and runtime environments. This rule supports these environments, as listed in [Specifying Environments](../use/configure/language-options#specifying-environments). A few examples are given below. ### browser diff --git a/docs/src/rules/rest-spread-spacing.md b/docs/src/rules/rest-spread-spacing.md index 52de82d1724..b27b5378d23 100644 --- a/docs/src/rules/rest-spread-spacing.md +++ b/docs/src/rules/rest-spread-spacing.md @@ -58,7 +58,7 @@ This rule aims to enforce consistent spacing between rest and spread operators a } ``` -Please read the user guide's section on [configuring parser options](../use/configuring#specifying-parser-options) to learn more. +Please read the user guide's section on [configuring parser options](../use/configure#specifying-parser-options) to learn more. ## Options diff --git a/docs/src/rules/strict.md b/docs/src/rules/strict.md index 5bc31018096..c559b00710d 100644 --- a/docs/src/rules/strict.md +++ b/docs/src/rules/strict.md @@ -47,7 +47,7 @@ In **ECMAScript** modules, which always have strict mode semantics, the directiv This rule requires or disallows strict mode directives. -This rule disallows strict mode directives, no matter which option is specified, if ESLint configuration specifies either of the following as [parser options](../use/configuring/language-options#specifying-parser-options): +This rule disallows strict mode directives, no matter which option is specified, if ESLint configuration specifies either of the following as [parser options](../use/configure/language-options#specifying-parser-options): * `"sourceType": "module"` that is, files are **ECMAScript** modules * `"impliedStrict": true` property in the `ecmaFeatures` object @@ -73,8 +73,8 @@ This rule has a string option: The `"safe"` option corresponds to the `"global"` option if ESLint considers a file to be a **Node.js** or **CommonJS** module because the configuration specifies either of the following: -* `node` or `commonjs` [environments](../use/configuring/language-options#specifying-environments) -* `"globalReturn": true` property in the `ecmaFeatures` object of [parser options](../use/configuring/language-options#specifying-parser-options) +* `node` or `commonjs` [environments](../use/configure/language-options#specifying-environments) +* `"globalReturn": true` property in the `ecmaFeatures` object of [parser options](../use/configure/language-options#specifying-parser-options) Otherwise the `"safe"` option corresponds to the `"function"` option. Note that if `"globalReturn": false` is explicitly specified in the configuration, the `"safe"` option will correspond to the `"function"` option regardless of the specified environment. @@ -340,4 +340,4 @@ function foo() { ## When Not To Use It -In a codebase that has both strict and non-strict code, either turn this rule off, or [selectively disable it](../use/configuring/rules#disabling-rules) where necessary. For example, functions referencing `arguments.callee` are invalid in strict mode. A [full list of strict mode differences](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode#Differences_from_non-strict_to_strict) is available on MDN. +In a codebase that has both strict and non-strict code, either turn this rule off, or [selectively disable it](../use/configure/rules#disabling-rules) where necessary. For example, functions referencing `arguments.callee` are invalid in strict mode. A [full list of strict mode differences](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode#Differences_from_non-strict_to_strict) is available on MDN. diff --git a/docs/src/use/command-line-interface.md b/docs/src/use/command-line-interface.md index 88292fdde5f..b00e531b954 100644 --- a/docs/src/use/command-line-interface.md +++ b/docs/src/use/command-line-interface.md @@ -379,7 +379,7 @@ This option allows you to specify the file to use as your `.eslintignore`. * **Multiple Arguments**: No * **Default Value**: By default, ESLint looks for `.eslintignore` in the current working directory. -**Note:** `--ignore-path` is not supported when using [flat configuration](./configuring/configuration-files-new) (`eslint.config.js`). +**Note:** `--ignore-path` is not supported when using [flat configuration](./configure/configuration-files-new) (`eslint.config.js`). ##### `--ignore-path` example diff --git a/docs/src/use/core-concepts.md b/docs/src/use/core-concepts.md index c8ca4fdf7c4..931c1f5c613 100644 --- a/docs/src/use/core-concepts.md +++ b/docs/src/use/core-concepts.md @@ -27,7 +27,7 @@ For more information, refer to [Rules](../rules/). An ESLint configuration file is a place where you put the configuration for ESLint in your project. You can include built-in rules, how you want them enforced, plugins with custom rules, shareable configurations, which files you want rules to apply to, and more. -For more information, refer to [Configuration Files](./configuring/configuration-files). +For more information, refer to [Configuration Files](./configure/configuration-files). ## Shareable Configurations @@ -35,7 +35,7 @@ Shareable configurations are ESLint configurations that are shared via npm. Often shareable configurations are used to enforce style guides using ESLint's built-in rules. For example the sharable configuration [eslint-config-airbnb-base](https://www.npmjs.com/package/eslint-config-airbnb-base) implements the popular Airbnb JavaScript style guide. -For more information, refer to [Using a shareable configuration package](./configuring/configuration-files#using-a-shareable-configuration-package). +For more information, refer to [Using a shareable configuration package](./configure/configuration-files#using-a-shareable-configuration-package). ## Plugins @@ -43,7 +43,7 @@ An ESLint plugin is an npm module that can contain a set of ESLint rules, config A popular use case for plugins is to enforce best practices for a framework. For example, [@angular-eslint/eslint-plugin](https://www.npmjs.com/package/@angular-eslint/eslint-plugin) contains best practices for using the Angular framework. -For more information, refer to [Configuring Plugins](./configuring/plugins). +For more information, refer to [Configuring Plugins](./configure/plugins). ## Parsers diff --git a/docs/src/use/migrating-to-6.0.0.md b/docs/src/use/migrating-to-6.0.0.md index c593052c748..9cc10825e45 100644 --- a/docs/src/use/migrating-to-6.0.0.md +++ b/docs/src/use/migrating-to-6.0.0.md @@ -51,7 +51,7 @@ As of April 2019, Node.js 6 will be at EOL and will no longer be receiving secur ## `eslint:recommended` has been updated -The following rules have been added to the [`eslint:recommended`](../use/configuring#using-eslintrecommended) config: +The following rules have been added to the [`eslint:recommended`](../use/configure#using-eslintrecommended) config: * [`no-async-promise-executor`](../rules/no-async-promise-executor) disallows using an `async` function as the argument to the `Promise` constructor, which is usually a bug. * [`no-misleading-character-class`](../rules/no-misleading-character-class) reports character classes in regular expressions that might not behave as expected. @@ -195,7 +195,7 @@ The default options for the [`no-confusing-arrow`](../rules/no-confusing-arrow) Due to a bug, the glob patterns in a `files` list in an `overrides` section of a config file would never match dotfiles, making it impossible to have overrides apply to files starting with a dot. This bug has been fixed in ESLint v6. -**To address:** If you don't want dotfiles to be matched by an override, consider adding something like `excludedFiles: [".*"]` to that `overrides` section. See the [documentation](../use/configuring#configuration-based-on-glob-patterns) for more details. +**To address:** If you don't want dotfiles to be matched by an override, consider adding something like `excludedFiles: [".*"]` to that `overrides` section. See the [documentation](../use/configure#configuration-based-on-glob-patterns) for more details. **Related issue(s):** [eslint/eslint#11201](https://github.com/eslint/eslint/issues/11201) From 68e78a8f138aa4c740242ff9fa0dcdc70107a651 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Thu, 15 Dec 2022 20:54:33 -0500 Subject: [PATCH 08/41] Remove todo --- docs/src/extend/custom-rules.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index 70b8aacb67d..1c83d6b5f6d 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -798,5 +798,3 @@ Runtime rules are written in the same format as all other rules. Create your rul 1. Place all of your runtime rules in the same directory (e.g., `eslint_rules`). 2. Create a [configuration file](../use/configure/) and specify your rule ID error level under the `rules` key. Your rule will not run unless it has a value of `"warn"` or `"error"` in the configuration file. 3. Run the [command line interface](../use/command-line-interface) using the `--rulesdir` option to specify the location of your runtime rules. - -TODO: Delete From a1064de5aa8d0046181d9192a9c4dcef1beeb79b Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Thu, 15 Dec 2022 21:08:00 -0500 Subject: [PATCH 09/41] more link fixes --- docs/src/contribute/index.md | 2 +- docs/src/contribute/pull-requests.md | 10 +++++----- docs/src/contribute/work-on-issue.md | 2 +- docs/src/extend/index.md | 6 +++--- docs/src/extend/unit-tests | 0 docs/src/use/command-line-interface.md | 6 +++--- docs/src/use/configure/ignore-code.md | 2 +- docs/src/use/configure/index.md | 12 ++++++------ docs/src/use/getting-started.md | 4 ++-- docs/src/use/index.md | 2 +- 10 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 docs/src/extend/unit-tests diff --git a/docs/src/contribute/index.md b/docs/src/contribute/index.md index a6a3ec96d81..8e5a76ce029 100644 --- a/docs/src/contribute/index.md +++ b/docs/src/contribute/index.md @@ -16,7 +16,7 @@ This guide is intended for anyone who wants to contribute to an ESLint project. ESLint welcomes contributions from everyone and adheres to the [OpenJS Foundation Code of Conduct](https://eslint.org/conduct). We kindly request that you read over our code of conduct before contributing. -## [Bug Reporting](report-bug) +## [Bug Reporting](report-bugs) Think you found a problem? We'd love to hear about it. This section explains how to submit a bug, the type of information we need to properly verify it, and the overall process. diff --git a/docs/src/contribute/pull-requests.md b/docs/src/contribute/pull-requests.md index b8313e1ece5..ca478f521eb 100644 --- a/docs/src/contribute/pull-requests.md +++ b/docs/src/contribute/pull-requests.md @@ -9,8 +9,8 @@ If you want to contribute to an ESLint repo, please use a GitHub pull request. T If you'd like to work on a pull request and you've never submitted code before, follow these steps: -1. Set up a [development environment](../development-environment). -1. If you want to implement a breaking change or a change to the core, ensure there's an issue that describes what you're doing and the issue has been accepted. You can create a new issue or just indicate you're [working on an existing issue](work-on-issue). Bug fixes, documentation changes, and other pull requests do not require an issue. +1. Set up a [development environment](./development-environment). +1. If you want to implement a breaking change or a change to the core, ensure there's an issue that describes what you're doing and the issue has been accepted. You can create a new issue or just indicate you're [working on an existing issue](./work-on-issue). Bug fixes, documentation changes, and other pull requests do not require an issue. After that, you're ready to start working on code. @@ -42,7 +42,7 @@ You should do all of your development for the issue in this branch. ### Step 2: Make your changes -Make the changes to the code and tests, following the [code conventions](../code-conventions) as you go. Once you have finished, commit the changes to your branch: +Make the changes to the code and tests, following the [code conventions](./code-conventions) as you go. Once you have finished, commit the changes to your branch: ```shell git add -A @@ -119,7 +119,7 @@ With your code ready to go, this is a good time to double-check your submission * Make separate pull requests for unrelated changes. Large pull requests with multiple unrelated changes may be closed without merging. * All changes must be accompanied by tests, even if the feature you're working on previously had no tests. * All user-facing changes must be accompanied by appropriate documentation. -* Follow the [Code Conventions](../code-conventions). +* Follow the [Code Conventions](./code-conventions). ### Step 6: Push your changes @@ -179,7 +179,7 @@ The commit messages in subsequent commits do not need to be in any specific form ### Rebasing -If your code is out-of-date, we might ask you to rebase. That means we want you to apply your changes on top of the latest upstream code. Make sure you have set up a [development environment](../development-environment) and then you can rebase using these commands: +If your code is out-of-date, we might ask you to rebase. That means we want you to apply your changes on top of the latest upstream code. Make sure you have set up a [development environment](./development-environment) and then you can rebase using these commands: ```shell git fetch upstream diff --git a/docs/src/contribute/work-on-issue.md b/docs/src/contribute/work-on-issue.md index 2e985b822c8..f61cda20a2c 100644 --- a/docs/src/contribute/work-on-issue.md +++ b/docs/src/contribute/work-on-issue.md @@ -10,7 +10,7 @@ Our public [issues tracker](https://github.com/eslint/eslint/issues) lists all o We use labels to indicate the status of issues. The most complete documentation on the labels is found in the [Maintainer Guide](../../maintain/issues#when-an-issue-is-opened), but most contributors should find the information on this page sufficient. The most important questions that labels can help you, as a contributor, answer are: 1. Is this issue available for me to work on? If you have little or no experience contributing to ESLint, the [`good first issue`](https://github.com/eslint/eslint/labels/good%20first%20issue) label marks appropriate issues. Otherwise, the [`help wanted`](https://github.com/eslint/eslint/labels/help%20wanted) label is an invitation to work on the issue. If you have more experience, you can try working on other issues labeled [`accepted`](https://github.com/eslint/eslint/labels/accepted). Conversely, issues not yet ready to work on are labeled `triage`, `evaluating`, and/or `needs bikeshedding`, and issues that cannot currently be worked on because of something else, such as a bug in a dependency, are labeled `blocked`. -1. What is this issue about? Labels describing the nature of issues include `bug`, `enhancement`, `feature`, `question`, `rule`, `documentation`, `core`, `build`, `cli`, `infrastructure`, `breaking`, and `chore`. These are documented in the [Maintainer Guide](../../maintain/issues#types-of-issues). +1. What is this issue about? Labels describing the nature of issues include `bug`, `enhancement`, `feature`, `question`, `rule`, `documentation`, `core`, `build`, `cli`, `infrastructure`, `breaking`, and `chore`. These are documented in the [Maintainer Guide](../maintain/manage-issues#types-of-issues). 1. What is the priority of this issue? Because we have a lot of issues, we prioritize certain issues above others. The following is the list of priorities, from highest to lowest: 1. **Bugs** - problems with the project are actively affecting users. We want to get these resolved as quickly as possible. diff --git a/docs/src/extend/index.md b/docs/src/extend/index.md index dbcee9d27f0..2f1ec212c70 100644 --- a/docs/src/extend/index.md +++ b/docs/src/extend/index.md @@ -21,15 +21,15 @@ In order to work with ESLint as a developer, it's recommended that: If that sounds like you, then continue reading to get started. -## Section 1: Get the [Source Code](source-code) +## Section 1: Get the [Source Code](../contribute/source-code) Before you can get started, you'll need to get a copy of the ESLint source code. This section explains how to do that and a little about the source code structure. -## Section 2: Set up a [Development Environment](development-environment) +## Section 2: Set up a [Development Environment](../contribute/development-environment) Developing for ESLint is a bit different than running it on the command line. This section shows you how to set up a development environment and get you ready to write code. -## Section 3: Run the [Unit Tests](unit-tests) +## Section 3: Run the [Unit Tests](../contribute/unit-tests) There are a lot of unit tests included with ESLint to make sure that we're keeping on top of code quality. This section explains how to run the unit tests. diff --git a/docs/src/extend/unit-tests b/docs/src/extend/unit-tests new file mode 100644 index 00000000000..e69de29bb2d diff --git a/docs/src/use/command-line-interface.md b/docs/src/use/command-line-interface.md index b00e531b954..e5db0356b1f 100644 --- a/docs/src/use/command-line-interface.md +++ b/docs/src/use/command-line-interface.md @@ -132,7 +132,7 @@ npx eslint --no-eslintrc file.js #### `-c`, `--config` -This option allows you to specify an additional configuration file for ESLint (see [Configuring ESLint](configuring/) for more). +This option allows you to specify an additional configuration file for ESLint (see [Configuring ESLint](configure/) for more). * **Argument Type**: String. Path to file. * **Multiple Arguments**: No @@ -154,7 +154,7 @@ This option enables specific environments. * **Argument Type**: String. One of the available environments. * **Multiple Arguments**: Yes -Details about the global variables defined by each environment are available in the [Specifying Environments](configuring/language-options#specifying-environments) documentation. This option only enables environments. It does not disable environments set in other configuration files. To specify multiple environments, separate them using commas, or use the option multiple times. +Details about the global variables defined by each environment are available in the [Specifying Environments](configure/language-options#specifying-environments) documentation. This option only enables environments. It does not disable environments set in other configuration files. To specify multiple environments, separate them using commas, or use the option multiple times. ##### `--env` example @@ -404,7 +404,7 @@ npx eslint --no-ignore file.js This option allows you to specify patterns of files to ignore (in addition to those in `.eslintignore`). -* **Argument Type**: String. The supported syntax is the same as for [`.eslintignore` files](configuring/ignore#the-eslintignore-file), which use the same patterns as the [`.gitignore` specification](https://git-scm.com/docs/gitignore). You should quote your patterns in order to avoid shell interpretation of glob patterns. +* **Argument Type**: String. The supported syntax is the same as for [`.eslintignore` files](configure/ignore-code#the-eslintignore-file), which use the same patterns as the [`.gitignore` specification](https://git-scm.com/docs/gitignore). You should quote your patterns in order to avoid shell interpretation of glob patterns. * **Multiple Arguments**: Yes ##### `--ignore-pattern` example diff --git a/docs/src/use/configure/ignore-code.md b/docs/src/use/configure/ignore-code.md index f48003cd258..298f24d9cdf 100644 --- a/docs/src/use/configure/ignore-code.md +++ b/docs/src/use/configure/ignore-code.md @@ -16,7 +16,7 @@ You can ignore files in the following ways: ## `ignorePatterns` in Config Files -You can tell ESLint to ignore specific files and directories using `ignorePatterns` in your config files. `ignorePatterns` patterns follow the same rules as `.eslintignore`. Please see the [`.eslintignore` file documentation](./ignore#the-eslintignore-file) to learn more. +You can tell ESLint to ignore specific files and directories using `ignorePatterns` in your config files. `ignorePatterns` patterns follow the same rules as `.eslintignore`. Please see the [`.eslintignore` file documentation](./ignore-code#the-eslintignore-file) to learn more. ```json { diff --git a/docs/src/use/configure/index.md b/docs/src/use/configure/index.md index 796981bbc4f..4ffce8611b0 100644 --- a/docs/src/use/configure/index.md +++ b/docs/src/use/configure/index.md @@ -51,10 +51,10 @@ All of these options give you fine-grained control over how ESLint treats your c * [Specifying Processors](./plugins#specify-a-processor) * [Configuring Parsers](./plugins#configure-a-parser) -[**Ignoring Code**](ignoring-code) +[**Ignoring Code**](ignore-code) -* [`ignorePatterns` in Config Files](./ignore#ignorepatterns-in-config-files) -* [The `.eslintignore` File](./ignore#the-eslintignore-file) -* [Using an Alternate File](./ignore#using-an-alternate-file) -* [Using eslintIgnore in package.json](./ignore#using-eslintignore-in-packagejson) -* [Ignored File Warnings](./ignore#ignored-file-warnings) +* [`ignorePatterns` in Config Files](./ignore-code#ignorepatterns-in-config-files) +* [The `.eslintignore` File](./ignore-code#the-eslintignore-file) +* [Using an Alternate File](./ignore-code#using-an-alternate-file) +* [Using eslintIgnore in package.json](./ignore-code#using-eslintignore-in-packagejson) +* [Ignored File Warnings](./ignore-code#ignored-file-warnings) diff --git a/docs/src/use/getting-started.md b/docs/src/use/getting-started.md index 1f63b8c1a9c..8004da23a2c 100644 --- a/docs/src/use/getting-started.md +++ b/docs/src/use/getting-started.md @@ -81,7 +81,7 @@ The names `"semi"` and `"quotes"` are the names of [rules](../rules) in ESLint. * `"warn"` or `1` - turn the rule on as a warning (doesn't affect exit code) * `"error"` or `2` - turn the rule on as an error (exit code will be 1) -The three error levels allow you fine-grained control over how ESLint applies rules (for more configuration options and details, see the [configuration docs](configuring/)). +The three error levels allow you fine-grained control over how ESLint applies rules (for more configuration options and details, see the [configuration docs](configure/)). Your `.eslintrc.{js,yml,json}` configuration file will also include the line: @@ -145,7 +145,7 @@ Before you begin, you must already have a `package.json` file. If you don't, mak ## Next Steps -* Learn about [advanced configuration](configuring/) of ESLint. +* Learn about [advanced configuration](configure/) of ESLint. * Get familiar with the [command line options](command-line-interface). * Explore [ESLint integrations](integrations) into other tools like editors, build systems, and more. * Can't find just the right rule? Make your own [custom rule](../extend/custom-rules). diff --git a/docs/src/use/index.md b/docs/src/use/index.md index 4d9019c75ef..af77636e012 100644 --- a/docs/src/use/index.md +++ b/docs/src/use/index.md @@ -16,7 +16,7 @@ Want to skip ahead and just start using ESLint? This section gives a high-level ESLint has a lot of rules that you can configure to fine-tune it to your project. This section is an exhaustive list of every rule and link to each rule's documentation. -## [Configuring](configuring/) +## [Configuring](configure/) Once you've got ESLint running, you'll probably want to adjust the configuration to better suit your project. This section explains all the different ways you can configure ESLint. From 281fecc6fbaab3803249e627aa26e7682db4727b Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Thu, 15 Dec 2022 21:09:40 -0500 Subject: [PATCH 10/41] Fix link --- docs/src/contribute/development-environment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/contribute/development-environment.md b/docs/src/contribute/development-environment.md index f55da6ac845..6a0d2951fd3 100644 --- a/docs/src/contribute/development-environment.md +++ b/docs/src/contribute/development-environment.md @@ -71,7 +71,7 @@ The testing takes a few minutes to complete. If any tests fail, that likely mean ### Workflow -Once you have your development environment installed, you can make and submit changes to the ESLint source files. Doing this successfully requires careful adherence to our [pull-request submission workflow](contributing/pull-requests). +Once you have your development environment installed, you can make and submit changes to the ESLint source files. Doing this successfully requires careful adherence to our [pull-request submission workflow](./pull-requests). ### Build Scripts From 8d95d71581a73c745b6f7472db9e88b2e50ec1c3 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Thu, 15 Dec 2022 21:24:38 -0500 Subject: [PATCH 11/41] fix more broken links --- docs/src/contribute/propose-new-rule.md | 2 +- docs/src/extend/custom-formatters.md | 2 +- docs/src/extend/custom-rules.md | 2 +- docs/src/extend/index.md | 2 +- docs/src/extend/nodejs-api.md | 6 +++--- docs/src/maintain/governance.md | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/src/contribute/propose-new-rule.md b/docs/src/contribute/propose-new-rule.md index b758fbf1d9f..f540f5b8117 100644 --- a/docs/src/contribute/propose-new-rule.md +++ b/docs/src/contribute/propose-new-rule.md @@ -42,4 +42,4 @@ The ESLint team doesn't implement new rules that are suggested by users because ## Alternative: Creating Your Own Rules -Remember that ESLint is completely pluggable, which means you can create your own rules and distribute them using plugins. We did this on purpose because we don't want to be the gatekeepers for all possible rules. Even if we don't accept a rule into the core, that doesn't mean you can't have the exact rule that you want. See the [working with rules](../custom-rules) and [working with plugins](../plugins) documentation for more information. +Remember that ESLint is completely pluggable, which means you can create your own rules and distribute them using plugins. We did this on purpose because we don't want to be the gatekeepers for all possible rules. Even if we don't accept a rule into the core, that doesn't mean you can't have the exact rule that you want. See the [working with rules](../extend/custom-rules) and [working with plugins](../extend/plugins) documentation for more information. diff --git a/docs/src/extend/custom-formatters.md b/docs/src/extend/custom-formatters.md index 0861ecde6f8..82e74ed8622 100644 --- a/docs/src/extend/custom-formatters.md +++ b/docs/src/extend/custom-formatters.md @@ -132,7 +132,7 @@ The formatter function receives an object as the second argument. The object has * `cwd` ... The current working directory. This value comes from the `cwd` constructor option of the [ESLint](nodejs-api#-new-eslintoptions) class. * `maxWarningsExceeded` (optional): If `--max-warnings` was set and the number of warnings exceeded the limit, this property's value will be an object containing two properties: `maxWarnings`, the value of the `--max-warnings` option, and `foundWarnings`, the number of lint warnings. -* `rulesMeta` ... The `meta` property values of rules. See the [Working with Rules](working-with-rules) page for more information about rules. +* `rulesMeta` ... The `meta` property values of rules. See the [Working with Rules](custom-rules) page for more information about rules. For example, here's what the object would look like if one rule, `no-extra-semi`, had been run: diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index 1c83d6b5f6d..4eea6732d5c 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -377,7 +377,7 @@ Best practices for fixes: Note: Making fixes as small as possible is a best practice, but in some cases it may be correct to extend the range of the fix in order to intentionally prevent other rules from making fixes in a surrounding range in the same pass. For instance, if replacement text declares a new variable, it can be useful to prevent other changes in the scope of the variable as they might cause name collisions. -The following example replaces `node` and also ensures that no other fixes will be applied in the range of `node.parent` in the same pass: +The following exam∑ple replaces `node` and also ensures that no other fixes will be applied in the range of `node.parent` in the same pass: ```js context.report({ diff --git a/docs/src/extend/index.md b/docs/src/extend/index.md index 2f1ec212c70..f83f0c7d480 100644 --- a/docs/src/extend/index.md +++ b/docs/src/extend/index.md @@ -49,6 +49,6 @@ If you aren't going to use the default parser of ESLint, this section explains a If you're interested in writing a tool that uses ESLint, then you can use the Node.js API to get programmatic access to functionality. -## Section 8: [Contributing](contribute/) +## Section 8: [Contributing](../contribute/) Once you've made changes that you want to share with the community, the next step is to submit those changes back via a pull request. diff --git a/docs/src/extend/nodejs-api.md b/docs/src/extend/nodejs-api.md index 93c477fb6b7..d5996157c72 100644 --- a/docs/src/extend/nodejs-api.md +++ b/docs/src/extend/nodejs-api.md @@ -489,8 +489,8 @@ The most important method on `Linter` is `verify()`, which initiates linting of * **Note**: If you want to lint text and have your configuration be read and processed, use [`ESLint#lintFiles()`][eslint-lintfiles] or [`ESLint#lintText()`][eslint-linttext] instead. * `options` - (optional) Additional options for this run. * `filename` - (optional) the filename to associate with the source code. - * `preprocess` - (optional) A function that [Processors in Plugins](working-with-plugins#processors-in-plugins) documentation describes as the `preprocess` method. - * `postprocess` - (optional) A function that [Processors in Plugins](working-with-plugins#processors-in-plugins) documentation describes as the `postprocess` method. + * `preprocess` - (optional) A function that [Processors in Plugins](plugins#processors-in-plugins) documentation describes as the `preprocess` method. + * `postprocess` - (optional) A function that [Processors in Plugins](plugins#processors-in-plugins) documentation describes as the `postprocess` method. * `filterCodeBlock` - (optional) A function that decides which code blocks the linter should adopt. The function receives two arguments. The first argument is the virtual filename of a code block. The second argument is the text of the code block. If the function returned `true` then the linter adopts the code block. If the function was omitted, the linter adopts only `*.js` code blocks. If you provided a `filterCodeBlock` function, it overrides this default behavior, so the linter doesn't adopt `*.js` code blocks automatically. * `disableFixes` - (optional) when set to `true`, the linter doesn't make either the `fix` or `suggestions` property of the lint result. * `allowInlineConfig` - (optional) set to `false` to disable inline comments from changing ESLint rules. @@ -686,7 +686,7 @@ Map { ### Linter#defineParser Each instance of `Linter` holds a map of custom parsers. If you want to define a parser programmatically, you can add this function -with the name of the parser as first argument and the [parser object](working-with-custom-parsers) as second argument. The default `"espree"` parser will already be loaded for every `Linter` instance. +with the name of the parser as first argument and the [parser object](custom-parsers) as second argument. The default `"espree"` parser will already be loaded for every `Linter` instance. ```js const Linter = require("eslint").Linter; diff --git a/docs/src/maintain/governance.md b/docs/src/maintain/governance.md index 743d2afab58..d407cc1af23 100644 --- a/docs/src/maintain/governance.md +++ b/docs/src/maintain/governance.md @@ -36,7 +36,7 @@ Website Team Members are community members who have shown that they are committe * Are expected to delete their public branches when they are no longer necessary. * Must submit pull requests for all changes. * Have their work reviewed by Reviewers and TSC members before acceptance into the repository. -* May label and close website-related issues (see [Managing Issues](issues)) +* May label and close website-related issues (see [Managing Issues](manage-issues)) * May merge some pull requests (see [Managing Pull Requests](manage-pull-requests)) To become a Website Team Member: From e7a53b514c55cbc64bac76c15a5f378b6ceaeec4 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Thu, 15 Dec 2022 21:41:42 -0500 Subject: [PATCH 12/41] fix more broken links --- ...ng-with-rules-deprecated.md => custom-rules-deprecated.md} | 4 ++-- docs/src/extend/custom-rules.md | 4 ++-- docs/src/extend/index.md | 2 +- docs/src/maintain/governance.md | 2 +- docs/src/use/migrating-to-4.0.0.md | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) rename docs/src/extend/{working-with-rules-deprecated.md => custom-rules-deprecated.md} (99%) diff --git a/docs/src/extend/working-with-rules-deprecated.md b/docs/src/extend/custom-rules-deprecated.md similarity index 99% rename from docs/src/extend/working-with-rules-deprecated.md rename to docs/src/extend/custom-rules-deprecated.md index fc0f873f93f..d8e2037fd1e 100644 --- a/docs/src/extend/working-with-rules-deprecated.md +++ b/docs/src/extend/custom-rules-deprecated.md @@ -43,7 +43,7 @@ module.exports.schema = []; // no options * if a key is a node type, ESLint calls that **visitor** function while going **down** the tree * if a key is a node type plus `:exit`, ESLint calls that **visitor** function while going **up** the tree -* if a key is an event name, ESLint calls that **handler** function for [code path analysis](./code-path-analysis) +* if a key is an event name, ESLint calls that **handler** function for [code path analysis](../contribute/code-path-analysis) A rule can use the current node and its surrounding tree to report or fix problems. @@ -327,7 +327,7 @@ Keep in mind that comments are technically not a part of the AST and are only at ESLint analyzes code paths while traversing AST. You can access that code path objects with five events related to code paths. -[details here](./code-path-analysis) +[details here](../contribute/code-path-analysis) ## Rule Unit Tests diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index 4eea6732d5c..6ff74f647d3 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -90,7 +90,7 @@ The source file for a rule exports an object with the following properties. * if a key is a node type or a [selector](./selectors), ESLint calls that **visitor** function while going **down** the tree * if a key is a node type or a [selector](./selectors) plus `:exit`, ESLint calls that **visitor** function while going **up** the tree -* if a key is an event name, ESLint calls that **handler** function for [code path analysis](./code-path-analysis) +* if a key is an event name, ESLint calls that **handler** function for [code path analysis](../contribute/code-path-analysis) A rule can use the current node and its surrounding tree to report or fix problems. @@ -708,7 +708,7 @@ Shebangs are represented by tokens of type `"Shebang"`. They are treated as comm ESLint analyzes code paths while traversing AST. You can access that code path objects with five events related to code paths. -[details here](./code-path-analysis) +[details here](../contribute/code-path-analysis) ## Rule Unit Tests diff --git a/docs/src/extend/index.md b/docs/src/extend/index.md index f83f0c7d480..753fb7f48dc 100644 --- a/docs/src/extend/index.md +++ b/docs/src/extend/index.md @@ -37,7 +37,7 @@ There are a lot of unit tests included with ESLint to make sure that we're keepi You're finally ready to start working with rules. You may want to fix an existing rule or create a new one. This section explains how to do all of that. -## Section 5: [Working with Plugins](custom-plugins) +## Section 5: [Working with Plugins](plugins) You've developed library-specific rules for ESLint and you want to share them with the community. You can publish an ESLint plugin on npm. diff --git a/docs/src/maintain/governance.md b/docs/src/maintain/governance.md index d407cc1af23..6d18cab2fe2 100644 --- a/docs/src/maintain/governance.md +++ b/docs/src/maintain/governance.md @@ -59,7 +59,7 @@ Committers: * Are expected to delete their public branches when they are no longer necessary. * Must submit pull requests for all changes. * Have their work reviewed by TSC members before acceptance into the repository. -* May label and close issues (see [Managing Issues](issues)) +* May label and close issues (see [Managing Issues](manage-issues)) * May merge some pull requests (see [Managing Pull Requests](manage-pull-requests)) To become a Committer: diff --git a/docs/src/use/migrating-to-4.0.0.md b/docs/src/use/migrating-to-4.0.0.md index d1267270d43..81051a71b05 100644 --- a/docs/src/use/migrating-to-4.0.0.md +++ b/docs/src/use/migrating-to-4.0.0.md @@ -35,7 +35,7 @@ The lists below are ordered roughly by the number of users each change is expect ## `eslint:recommended` changes -Two new rules have been added to the [`eslint:recommended`](configuring#using-eslintrecommended) config: +Two new rules have been added to the [`eslint:recommended`](configure#using-eslintrecommended) config: * [`no-compare-neg-zero`](../rules/no-compare-neg-zero) disallows comparisons to `-0` * [`no-useless-escape`](../rules/no-useless-escape) disallows uselessly-escaped characters in strings and regular expressions From aeedea420aac55606b6fd1af2d220e78538b6719 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Sat, 17 Dec 2022 12:27:50 -0500 Subject: [PATCH 13/41] remove noindex --- docs/src/_includes/layouts/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/_includes/layouts/base.html b/docs/src/_includes/layouts/base.html index 13779e5dd86..48bc14d2c95 100644 --- a/docs/src/_includes/layouts/base.html +++ b/docs/src/_includes/layouts/base.html @@ -5,7 +5,7 @@ {% if NOINDEX %} - + {% endif %} {% if title %} {% set page_title = title %} From b8823fb97b2eb6e1dc8ef7a1a35ad2f6f89d2b63 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Sat, 17 Dec 2022 12:37:49 -0500 Subject: [PATCH 14/41] Fix broken link --- docs/src/extend/custom-rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index 6ff74f647d3..cd6638756a8 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -163,7 +163,7 @@ This method returns the scope of the current node. It is a useful method for fin #### Scope types -The following table contains a list of AST node types and the scope type that they correspond to. For more information about the scope types, refer to the [`Scope` object documentation](./scope-manager-interface.md#scope-interface). +The following table contains a list of AST node types and the scope type that they correspond to. For more information about the scope types, refer to the [`Scope` object documentation](./scope-manager-interface#scope-interface). | AST Node Type | Scope Type | |:--------------------------|:-----------| From 3c6b81066945dd58f5a8c29ee62a3ab8c1077740 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Sat, 17 Dec 2022 12:44:36 -0500 Subject: [PATCH 15/41] fix broken link --- docs/src/contribute/work-on-issue.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/contribute/work-on-issue.md b/docs/src/contribute/work-on-issue.md index f61cda20a2c..216224b0dd4 100644 --- a/docs/src/contribute/work-on-issue.md +++ b/docs/src/contribute/work-on-issue.md @@ -7,7 +7,7 @@ Our public [issues tracker](https://github.com/eslint/eslint/issues) lists all o ## Issue Labels -We use labels to indicate the status of issues. The most complete documentation on the labels is found in the [Maintainer Guide](../../maintain/issues#when-an-issue-is-opened), but most contributors should find the information on this page sufficient. The most important questions that labels can help you, as a contributor, answer are: +We use labels to indicate the status of issues. The most complete documentation on the labels is found in the [Maintainer Guide](../maintain/manage-issues#when-an-issue-is-opened), but most contributors should find the information on this page sufficient. The most important questions that labels can help you, as a contributor, answer are: 1. Is this issue available for me to work on? If you have little or no experience contributing to ESLint, the [`good first issue`](https://github.com/eslint/eslint/labels/good%20first%20issue) label marks appropriate issues. Otherwise, the [`help wanted`](https://github.com/eslint/eslint/labels/help%20wanted) label is an invitation to work on the issue. If you have more experience, you can try working on other issues labeled [`accepted`](https://github.com/eslint/eslint/labels/accepted). Conversely, issues not yet ready to work on are labeled `triage`, `evaluating`, and/or `needs bikeshedding`, and issues that cannot currently be worked on because of something else, such as a bug in a dependency, are labeled `blocked`. 1. What is this issue about? Labels describing the nature of issues include `bug`, `enhancement`, `feature`, `question`, `rule`, `documentation`, `core`, `build`, `cli`, `infrastructure`, `breaking`, and `chore`. These are documented in the [Maintainer Guide](../maintain/manage-issues#types-of-issues). From 4f652fc208c1945b85ec92828c476e23989daf6d Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Tue, 20 Dec 2022 21:24:23 -0500 Subject: [PATCH 16/41] remove unused files --- docs/package.json | 2 +- docs/parse-results.js | 61 - docs/results.txt | 6497 ----------------------------------------- 3 files changed, 1 insertion(+), 6559 deletions(-) delete mode 100644 docs/parse-results.js delete mode 100644 docs/results.txt diff --git a/docs/package.json b/docs/package.json index dbb2a9fba66..5423914e0bc 100644 --- a/docs/package.json +++ b/docs/package.json @@ -39,7 +39,6 @@ "markdown-it": "^12.2.0", "markdown-it-anchor": "^8.1.2", "markdown-it-container": "^3.0.0", - "markdown-link-check": "^3.10.3", "netlify-cli": "^10.3.1", "npm-run-all": "^4.1.5", "postcss-html": "^1.5.0", @@ -55,3 +54,4 @@ "node": ">=14.0.0" } } + diff --git a/docs/parse-results.js b/docs/parse-results.js deleted file mode 100644 index 1cf4c01c8b6..00000000000 --- a/docs/parse-results.js +++ /dev/null @@ -1,61 +0,0 @@ -/* eslint-disable indent */ -"use strict"; - -const markdownLinkCheck = require("markdown-link-check"); -const path = require("path"); -const fs = require("fs"); -const process = require("process"); - -/** - * Recurse through file tree getting file names - * @param {string} startPath path to file - * @param {string} filter only check file names that end with this extension - * @param {string[]} matchingFiles used to recursively add file names - * @returns {string[]} all the matching files in directories and subdirectories - */ -function fromDir(startPath, filter, matchingFiles = []) { - - - if (!fs.existsSync(startPath)) { - console.log("no dir ", startPath); - return; - } - - const files = fs.readdirSync(startPath); - - for (let i = 0; i < files.length; i++) { - const filename = path.join(startPath, files[i]); - const stat = fs.lstatSync(filename); - - if (stat.isDirectory()) { - fromDir(filename, filter, matchingFiles); // recurse - } else if (filename.endsWith(filter)) { - matchingFiles.push(filename); - } - } - - return matchingFiles; -} - -const files = fromDir("src", ".md"); - -const fileResults = {}; - -files.forEach(fileName => { - const fileContents = fs.readFileSync(fileName, { encoding: "utf-8" }); - console.log(fileName); - - const lintResults = markdownLinkCheck(fileContents, - { ignorePatterns: [{ pattern: /\.svg/u }], baseUrl: path.join(process.cwd(), "src") }, - (err, results) => { - if (err) { - console.error('Error', err); - - } - fileResults[fileName] = results; - }); -}); - -console.log(fileResults); - - diff --git a/docs/results.txt b/docs/results.txt deleted file mode 100644 index ba72e541a1f..00000000000 --- a/docs/results.txt +++ /dev/null @@ -1,6497 +0,0 @@ -FILE: src//extend/shareable-configs.md - [✓] https://www.npmjs.com/ - [✓] https://docs.npmjs.com/getting-started/creating-node-modules - [✓] https://docs.npmjs.com/misc/scope - [✓] https://docs.npmjs.com/getting-started/publishing-npm-packages - [✓] https://docs.npmjs.com/files/package.json#peerdependencies - [✓] https://docs.npmjs.com/misc/developers - - 6 links checked. - -FILE: src//extend/custom-parsers.md - [✖] ./scope-manager-interface - [✓] https://github.com/eslint/eslint-scope - [✓] https://github.com/eslint/eslint-visitor-keys#evkkeys - [✓] https://github.com/typescript-eslint/typescript-eslint - [✓] https://github.com/estree/estree - [✓] https://github.com/estree/estree/blob/25834f7247d44d3156030f8e8a2d07644d771fdb/es5.md#node-objects - - 6 links checked. - - ERROR: 1 dead links found! - [✖] ./scope-manager-interface → Status: 400 - -FILE: src//extend/custom-formatters.md - [✓] https://www.npmjs.com/search?q=eslint-formatter - [✖] https://github.com/estree/estree/blob/master/spec.md#node-objects - [✖] nodejs-api#-new-eslintoptions - [✖] working-with-rules - [✖] ../users/formatters/ - [✓] https://www.iterm2.com/ - [✓] http://guake-project.org/ - - 7 links checked. - - ERROR: 4 dead links found! - [✖] https://github.com/estree/estree/blob/master/spec.md#node-objects → Status: 404 - [✖] nodejs-api#-new-eslintoptions → Status: 400 - [✖] working-with-rules → Status: 400 - [✖] ../users/formatters/ → Status: 400 - -FILE: src//extend/nodejs-api.md - [✓] #linter - [✖] #-eslintlintfilespatterns - [✖] ../users/configuring/ - [✖] #-eslintlinttextcode-options - [✖] #-lintresult-type - [✖] ../users/formatters/ - [✓] https://www.npmjs.com/search?q=eslintformatter - [✖] #-loadedformatter-type - [✖] #-lintmessage-type - [✖] #-suppressedlintmessage-type - [✖] #-editinfo-type - [✖] #-eslintloadformatternameorpath - [✓] https://github.com/estree/estree - [✓] #eslint-class - [✖] ./custom-rules#the-context-object - [✓] https://eslint.org/demo - [✖] working-with-plugins#processors-in-plugins - [✖] ./custom-rules#providing-suggestions - [✖] working-with-custom-parsers - [✖] ./custom-rules - [✓] #testing-errors-with-messageid - [✓] #testing-suggestions - [✓] https://mochajs.org/ - - 23 links checked. - - ERROR: 15 dead links found! - [✖] #-eslintlintfilespatterns → Status: 404 - [✖] ../users/configuring/ → Status: 400 - [✖] #-eslintlinttextcode-options → Status: 404 - [✖] #-lintresult-type → Status: 404 - [✖] ../users/formatters/ → Status: 400 - [✖] #-loadedformatter-type → Status: 404 - [✖] #-lintmessage-type → Status: 404 - [✖] #-suppressedlintmessage-type → Status: 404 - [✖] #-editinfo-type → Status: 404 - [✖] #-eslintloadformatternameorpath → Status: 404 - [✖] ./custom-rules#the-context-object → Status: 400 - [✖] working-with-plugins#processors-in-plugins → Status: 400 - [✖] ./custom-rules#providing-suggestions → Status: 400 - [✖] working-with-custom-parsers → Status: 400 - [✖] ./custom-rules → Status: 400 - -FILE: src//extend/custom-rules.md - [✖] ./custom-rules-deprecated - [✓] ../rules/ - [✖] ../users/configuring/configuration-files#extending-configuration-files - [✖] ../users/command-line-interface#--fix - [✓] #options-schemas - [✖] ../users/configuring/rules#configuring-rules - [✓] https://github.com/estree/estree - [✖] ./selectors - [✖] ./code-path-analysis - [✖] ../rules/array-callback-return - [✖] ../users/configuring/language-options#specifying-parser-options - [✓] #contextoptions - [✖] ../users/configuring/configuration-files#adding-shared-settings - [✖] ./nodejs-api#linter - [✖] ./scope-manager-interface#variable-interface - [✖] ./scope-manager-interface#scope-interface - [✓] #contextgetsourcecode - [✖] ../rules/no-unused-vars - [✓] #contextreport - [✓] ./scope-manager-interface.md#scope-interface - [✖] ./scope-manager-interface#reference-interface - [✖] ./scope-manager-interface#definition-interface - [✓] https://github.com/eslint/eslint/blob/main/lib/rules/no-shadow.js - [✖] ../rules/no-shadow - [✓] https://github.com/eslint/eslint/blob/main/lib/rules/no-redeclare.js - [✖] ../rules/no-redeclare - [✓] #using-message-placeholders - [✓] #applying-fixes - [✓] #rule-basics - [✖] ../rules/quotes - [✓] #suggestion-messageids - [✓] #messageids - [✖] ./scope-manager-interface#scopemanager-interface - [✓] https://json-schema.org/ - [✓] https://json-schema.org/learn/ - [✓] https://json-schema.org/understanding-json-schema/ - [✖] nodejs-api#ruletester - [✖] ../users/configuring/ - [✖] ../users/command-line-interface - - 39 links checked. - - ERROR: 22 dead links found! - [✖] ./custom-rules-deprecated → Status: 400 - [✖] ../users/configuring/configuration-files#extending-configuration-files → Status: 400 - [✖] ../users/command-line-interface#--fix → Status: 400 - [✖] ../users/configuring/rules#configuring-rules → Status: 400 - [✖] ./selectors → Status: 400 - [✖] ./code-path-analysis → Status: 400 - [✖] ../rules/array-callback-return → Status: 400 - [✖] ../users/configuring/language-options#specifying-parser-options → Status: 400 - [✖] ../users/configuring/configuration-files#adding-shared-settings → Status: 400 - [✖] ./nodejs-api#linter → Status: 400 - [✖] ./scope-manager-interface#variable-interface → Status: 400 - [✖] ./scope-manager-interface#scope-interface → Status: 400 - [✖] ../rules/no-unused-vars → Status: 400 - [✖] ./scope-manager-interface#reference-interface → Status: 400 - [✖] ./scope-manager-interface#definition-interface → Status: 400 - [✖] ../rules/no-shadow → Status: 400 - [✖] ../rules/no-redeclare → Status: 400 - [✖] ../rules/quotes → Status: 400 - [✖] ./scope-manager-interface#scopemanager-interface → Status: 400 - [✖] nodejs-api#ruletester → Status: 400 - [✖] ../users/configuring/ → Status: 400 - [✖] ../users/command-line-interface → Status: 400 - -FILE: src//extend/index.md - [✖] source-code - [✖] development-environment - [✖] unit-tests - [✖] working-with-rules - [✖] working-with-plugins - [✖] working-with-custom-parsers - [✖] nodejs-api - [✖] contributing/ - - 8 links checked. - - ERROR: 8 dead links found! - [✖] source-code → Status: 400 - [✖] development-environment → Status: 400 - [✖] unit-tests → Status: 400 - [✖] working-with-rules → Status: 400 - [✖] working-with-plugins → Status: 400 - [✖] working-with-custom-parsers → Status: 400 - [✖] nodejs-api → Status: 400 - [✖] contributing/ → Status: 400 - -FILE: src//extend/plugins.md - [✓] https://www.npmjs.com/package/generator-eslint - [✖] ../users/command-line-interface#--ext - [✖] ../users/configuring/plugins#specify-a-processor - [✖] ../users/configuring/plugins#configure-plugins - [✖] nodejs-api#ruletester - [✓] https://www.npmjs.com/package/eslint - [✓] https://www.npmjs.com/package/eslint-plugin-eslint-plugin - [✓] https://www.npmjs.com/package/eslint-plugin-node - [✓] https://docs.npmjs.com/misc/developers - - 9 links checked. - - ERROR: 4 dead links found! - [✖] ../users/command-line-interface#--ext → Status: 400 - [✖] ../users/configuring/plugins#specify-a-processor → Status: 400 - [✖] ../users/configuring/plugins#configure-plugins → Status: 400 - [✖] nodejs-api#ruletester → Status: 400 - -FILE: src//extend/selectors.md - [✓] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors - [✓] #known-issues - [✓] https://github.com/estools/esquery - [✖] ../rules/no-restricted-syntax - [✓] https://github.com/estools/esquery/issues/68 - - 5 links checked. - - ERROR: 1 dead links found! - [✖] ../rules/no-restricted-syntax → Status: 400 - -FILE: src//extend/scope-manager-interface.md - [✓] https://github.com/eslint/eslint-scope - [✓] https://github.com/estools/escope - - 2 links checked. - -FILE: src//extend/working-with-rules-deprecated.md - [✖] ./custom-rules - [✓] #options-schemas - [✖] ../users/configuring/rules#configuring-rules - [✓] https://github.com/estree/estree - [✖] ./code-path-analysis - [✖] ../rules/array-callback-return - [✖] ../users/configuring/language-options#specifying-parser-options - [✖] ../rules/no-unused-vars - [✓] http://json-schema.org/ - [✖] http://json-schema.org/examples.html - [✓] http://spacetelescope.github.io/understanding-json-schema/ - [✖] ../users/configuring/ - [✖] ../users/command-line-interface - - 13 links checked. - - ERROR: 9 dead links found! - [✖] ./custom-rules → Status: 400 - [✖] ../users/configuring/rules#configuring-rules → Status: 400 - [✖] ./code-path-analysis → Status: 400 - [✖] ../rules/array-callback-return → Status: 400 - [✖] ../users/configuring/language-options#specifying-parser-options → Status: 400 - [✖] ../rules/no-unused-vars → Status: 400 - [✖] http://json-schema.org/examples.html → Status: 404 - [✖] ../users/configuring/ → Status: 400 - [✖] ../users/command-line-interface → Status: 400 - -FILE: src//library/buttons.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/rule-list.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/code-blocks.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/link-card.md - [✓] https://blog.izs.me/2010/12/an-open-letter-to-javascript-leaders-regarding/ - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get - - 2 links checked. - -FILE: src//library/rule.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/theme-switcher.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/alert.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/code-tabs.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/related-rules.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/language-switcher.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/social-icons.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/version-switcher.md - No hyperlinks found! - - 0 links checked. - -FILE: src//library/rule-categories.md - [✓] ../rules/ - - 1 links checked. - -FILE: src//about/index.md - [✓] https://en.wikipedia.org/wiki/Lint_(software) - [✓] https://npmjs.org/ - - 2 links checked. - -FILE: src//use/migrating-to-6.0.0.md - [✖] #drop-node-6 - [✖] #eslint-recommended-changes - [✖] #package-loading-simplification - [✖] #espree-validation - [✖] #rule-config-validating - [✖] #no-redeclare-updates - [✖] #comma-dangle-updates - [✖] #no-confusing-arrow-updates - [✖] #overrides-dotfiles - [✖] #overrides-precedence - [✖] #globals-validation - [✖] #experimental-object-rest-spread - [✖] #unicode-regexes - [✖] #plugin-documentation - [✖] #rule-tester-defaults - [✖] #rule-tester-parser - [✖] #eslintExplicitGlobalComment - [✖] #linter-parsers - [✓] https://github.com/eslint/eslint/issues/11456 - [✖] ../users/configuring#using-eslintrecommended - [✖] ../rules/no-async-promise-executor - [✖] ../rules/no-misleading-character-class - [✖] ../rules/no-prototype-builtins - [✖] ../rules/no-shadow-restricted-names - [✖] ../rules/no-useless-catch - [✖] ../rules/no-with - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with - [✖] ../rules/require-atomic-updates - [✖] ../rules/no-console - [✓] https://github.com/eslint/eslint/issues/10768 - [✓] https://github.com/eslint/eslint/issues/10873 - [✓] https://github.com/lerna/lerna - [✓] https://yarnpkg.com/lang/en/docs/pnp/ - [✖] ./command-line-interface#--resolve-plugins-relative-to - [✓] https://github.com/eslint/eslint/issues/10125 - [✓] https://github.com/eslint/rfcs/pull/7 - [✓] https://github.com/eslint/eslint/issues/9687 - [✓] https://github.com/eslint/espree/issues/384 - [✓] https://github.com/eslint/eslint/issues/9505 - [✖] ../rules/no-redeclare - [✓] https://github.com/eslint/eslint/issues/11370 - [✓] https://github.com/eslint/eslint/issues/11405 - [✖] ../rules/comma-dangle - [✓] https://github.com/eslint/eslint/issues/11502 - [✖] ../rules/no-confusing-arrow - [✓] https://github.com/eslint/eslint/issues/11503 - [✖] ../users/configuring#configuration-based-on-glob-patterns - [✓] https://github.com/eslint/eslint/issues/11201 - [✓] https://github.com/eslint/eslint/issues/11510 - [✓] https://github.com/eslint/eslint/issues/9990 - [✖] ../rules/max-len - [✓] https://mathiasbynens.be/notes/es6-unicode-regex - [✓] https://github.com/eslint/eslint/issues/11423 - [✓] https://github.com/eslint/generator-eslint - [✓] https://github.com/eslint/eslint/issues/11473 - [✓] https://github.com/eslint/eslint/issues/11728 - [✓] https://github.com/eslint/rfcs/pull/17 - [✖] ../extend/nodejs-api#linterdefineparser - - 58 links checked. - - ERROR: 34 dead links found! - [✖] #drop-node-6 → Status: 404 - [✖] #eslint-recommended-changes → Status: 404 - [✖] #package-loading-simplification → Status: 404 - [✖] #espree-validation → Status: 404 - [✖] #rule-config-validating → Status: 404 - [✖] #no-redeclare-updates → Status: 404 - [✖] #comma-dangle-updates → Status: 404 - [✖] #no-confusing-arrow-updates → Status: 404 - [✖] #overrides-dotfiles → Status: 404 - [✖] #overrides-precedence → Status: 404 - [✖] #globals-validation → Status: 404 - [✖] #experimental-object-rest-spread → Status: 404 - [✖] #unicode-regexes → Status: 404 - [✖] #plugin-documentation → Status: 404 - [✖] #rule-tester-defaults → Status: 404 - [✖] #rule-tester-parser → Status: 404 - [✖] #eslintExplicitGlobalComment → Status: 404 - [✖] #linter-parsers → Status: 404 - [✖] ../users/configuring#using-eslintrecommended → Status: 400 - [✖] ../rules/no-async-promise-executor → Status: 400 - [✖] ../rules/no-misleading-character-class → Status: 400 - [✖] ../rules/no-prototype-builtins → Status: 400 - [✖] ../rules/no-shadow-restricted-names → Status: 400 - [✖] ../rules/no-useless-catch → Status: 400 - [✖] ../rules/no-with → Status: 400 - [✖] ../rules/require-atomic-updates → Status: 400 - [✖] ../rules/no-console → Status: 400 - [✖] ./command-line-interface#--resolve-plugins-relative-to → Status: 400 - [✖] ../rules/no-redeclare → Status: 400 - [✖] ../rules/comma-dangle → Status: 400 - [✖] ../rules/no-confusing-arrow → Status: 400 - [✖] ../users/configuring#configuration-based-on-glob-patterns → Status: 400 - [✖] ../rules/max-len → Status: 400 - [✖] ../extend/nodejs-api#linterdefineparser → Status: 400 - -FILE: src//use/rule-deprecation.md - No hyperlinks found! - - 0 links checked. - -FILE: src//use/migrating-to-4.0.0.md - [✖] #eslint-recommended-changes - [✖] #indent-rewrite - [✖] #config-validation - [✖] #eslintignore-patterns - [✖] #padded-blocks-defaults - [✖] #space-before-function-paren-defaults - [✖] #no-multi-spaces-eol-comments - [✖] #scoped-plugin-resolution - [✖] #rule-tester-validation - [✖] #comment-attachment - [✖] #event-comments - [✖] #shebangs - [✖] #global-property - [✖] #report-locations - [✖] #exposed-es2015-classes - [✖] configuring#using-eslintrecommended - [✖] ../rules/no-compare-neg-zero - [✖] ../rules/no-useless-escape - [✖] ../rules/indent - [✖] ../rules/indent-legacy - [✖] ../rules/padded-blocks - [✖] ../rules/space-before-function-paren - [✖] ../rules/no-multi-spaces - - 23 links checked. - - ERROR: 23 dead links found! - [✖] #eslint-recommended-changes → Status: 404 - [✖] #indent-rewrite → Status: 404 - [✖] #config-validation → Status: 404 - [✖] #eslintignore-patterns → Status: 404 - [✖] #padded-blocks-defaults → Status: 404 - [✖] #space-before-function-paren-defaults → Status: 404 - [✖] #no-multi-spaces-eol-comments → Status: 404 - [✖] #scoped-plugin-resolution → Status: 404 - [✖] #rule-tester-validation → Status: 404 - [✖] #comment-attachment → Status: 404 - [✖] #event-comments → Status: 404 - [✖] #shebangs → Status: 404 - [✖] #global-property → Status: 404 - [✖] #report-locations → Status: 404 - [✖] #exposed-es2015-classes → Status: 404 - [✖] configuring#using-eslintrecommended → Status: 400 - [✖] ../rules/no-compare-neg-zero → Status: 400 - [✖] ../rules/no-useless-escape → Status: 400 - [✖] ../rules/indent → Status: 400 - [✖] ../rules/indent-legacy → Status: 400 - [✖] ../rules/padded-blocks → Status: 400 - [✖] ../rules/space-before-function-paren → Status: 400 - [✖] ../rules/no-multi-spaces → Status: 400 - -FILE: src//use/migrating-to-8.0.0.md - [✖] #drop-old-node - [✖] #removed-formatters - [✖] #comma-dangle - [✖] #directives - [✖] #eslint-recommended - [✖] #suggestions - [✖] #fixes - [✖] #get-comments - [✖] #ast-format - [✖] #remove-cliengine - [✖] #remove-linter - [✖] #remove-lib - [✓] https://github.com/eslint/eslint/issues/14023 - [✓] https://github.com/fregante/eslint-formatter-codeframe - [✓] https://github.com/fregante/eslint-formatter-table - [✓] https://github.com/eslint/eslint/issues/14277 - [✓] https://github.com/eslint/eslint/pull/14316 - [✓] https://github.com/eslint/eslint/issues/13739 - [✓] https://github.com/eslint/eslint/issues/11815 - [✖] ../rules/no-loss-of-precision - [✖] ../rules/no-nonoctal-decimal-escape - [✖] ../rules/no-unsafe-optional-chaining - [✖] ../rules/no-useless-backreference - [✓] https://github.com/eslint/eslint/issues/14673 - [✖] ../extend/custom-rules#providing-suggestions - [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/require-meta-has-suggestions.md - [✓] https://github.com/eslint/eslint/issues/14312 - [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/require-meta-fixable.md - [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/prefer-object-rule.md - [✖] ../extend/custom-rules - [✓] https://github.com/eslint/eslint/issues/13349 - [✖] ../extend/custom-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside - [✓] https://github.com/eslint/eslint/issues/14744 - [✓] https://github.com/eslint/eslint/pull/14591#issuecomment-887733070 - [✖] ../extend/nodejs-api#eslint-class - [✓] https://github.com/eslint/rfcs/tree/main/designs/2021-package-exports - [✓] https://github.com/eslint/eslint/pull/14716 - [✓] https://github.com/eslint/eslint/issues/13654 - - 38 links checked. - - ERROR: 20 dead links found! - [✖] #drop-old-node → Status: 404 - [✖] #removed-formatters → Status: 404 - [✖] #comma-dangle → Status: 404 - [✖] #directives → Status: 404 - [✖] #eslint-recommended → Status: 404 - [✖] #suggestions → Status: 404 - [✖] #fixes → Status: 404 - [✖] #get-comments → Status: 404 - [✖] #ast-format → Status: 404 - [✖] #remove-cliengine → Status: 404 - [✖] #remove-linter → Status: 404 - [✖] #remove-lib → Status: 404 - [✖] ../rules/no-loss-of-precision → Status: 400 - [✖] ../rules/no-nonoctal-decimal-escape → Status: 400 - [✖] ../rules/no-unsafe-optional-chaining → Status: 400 - [✖] ../rules/no-useless-backreference → Status: 400 - [✖] ../extend/custom-rules#providing-suggestions → Status: 400 - [✖] ../extend/custom-rules → Status: 400 - [✖] ../extend/custom-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside → Status: 400 - [✖] ../extend/nodejs-api#eslint-class → Status: 400 - -FILE: src//use/configure/configuration-files-new.md - [✓] #configuration-objects - [✓] https://www.npmjs.com/package/minimatch - [✓] https://www.npmjs.com/package/@babel/eslint-parser - [✖] ../../rules/semi - - 4 links checked. - - ERROR: 1 dead links found! - [✖] ../../rules/semi → Status: 400 - -FILE: src//use/configure/index.md - [✖] ./configuration-files#configuration-file-formats - [✓] https://docs.npmjs.com/files/package.json - [✖] ../command-line-interface - [✖] ./language-options#specifying-environments - [✖] ./language-options#specifying-globals - [✖] rules - [✖] plugins - [✖] configuration-files - [✖] ./configuration-files#using-configuration-files - [✖] ./configuration-files#adding-shared-settings - [✖] ./configuration-files#cascading-and-hierarchy - [✖] ./configuration-files#extending-configuration-files - [✖] ./configuration-files#configuration-based-on-glob-patterns - [✖] ./configuration-files#personal-configuration-files-deprecated - [✖] language-options - [✖] ./language-options#specifying-parser-options - [✖] ./rules#configuring-rules - [✖] ./rules#disabling-rules - [✖] ./plugins#configure-plugins - [✖] ./plugins#specify-a-processor - [✖] ./plugins#configure-a-parser - [✖] ignoring-code - [✖] ./ignore#ignorepatterns-in-config-files - [✖] ./ignore#the-eslintignore-file - [✖] ./ignore#using-an-alternate-file - [✖] ./ignore#using-eslintignore-in-packagejson - [✖] ./ignore#ignored-file-warnings - - 27 links checked. - - ERROR: 26 dead links found! - [✖] ./configuration-files#configuration-file-formats → Status: 400 - [✖] ../command-line-interface → Status: 400 - [✖] ./language-options#specifying-environments → Status: 400 - [✖] ./language-options#specifying-globals → Status: 400 - [✖] rules → Status: 400 - [✖] plugins → Status: 400 - [✖] configuration-files → Status: 400 - [✖] ./configuration-files#using-configuration-files → Status: 400 - [✖] ./configuration-files#adding-shared-settings → Status: 400 - [✖] ./configuration-files#cascading-and-hierarchy → Status: 400 - [✖] ./configuration-files#extending-configuration-files → Status: 400 - [✖] ./configuration-files#configuration-based-on-glob-patterns → Status: 400 - [✖] ./configuration-files#personal-configuration-files-deprecated → Status: 400 - [✖] language-options → Status: 400 - [✖] ./language-options#specifying-parser-options → Status: 400 - [✖] ./rules#configuring-rules → Status: 400 - [✖] ./rules#disabling-rules → Status: 400 - [✖] ./plugins#configure-plugins → Status: 400 - [✖] ./plugins#specify-a-processor → Status: 400 - [✖] ./plugins#configure-a-parser → Status: 400 - [✖] ignoring-code → Status: 400 - [✖] ./ignore#ignorepatterns-in-config-files → Status: 400 - [✖] ./ignore#the-eslintignore-file → Status: 400 - [✖] ./ignore#using-an-alternate-file → Status: 400 - [✖] ./ignore#using-eslintignore-in-packagejson → Status: 400 - [✖] ./ignore#ignored-file-warnings → Status: 400 - -FILE: src//use/configure/plugins.md - [✓] https://github.com/eslint/espree - [✖] ../../extend/custom-parsers - [✓] https://www.npmjs.com/package/esprima - [✓] https://www.npmjs.com/package/@babel/eslint-parser - [✓] https://babeljs.io - [✓] https://www.npmjs.com/package/@typescript-eslint/parser - - 6 links checked. - - ERROR: 1 dead links found! - [✖] ../../extend/custom-parsers → Status: 400 - -FILE: src//use/configure/configuration-files.md - [✓] #cascading-and-hierarchy - [✖] ../command-line-interface#--no-eslintrc - [✖] ../../users/command-line-interface#-c---config - [✓] https://nodejs.org/api/os.html#os_os_homedir - [✖] configuration-files#personal-configuration-files-deprecated - [✖] ../../extend/shareable-configs - [✓] ../../rules/ - [✖] ../../extend/plugins - [✖] ../../extend/plugins#configs-in-plugins - [✖] ./plugins#configure-plugins - [✓] #using-configuration-files - [✖] ../../rules/quotes - [✖] ../command-line-interface#--fix - [✓] https://github.com/isaacs/minimatch - [✖] ../command-line-interface#--ext - [✖] ../command-line-interface#-c---config - [✓] https://github.com/eslint/rfcs/pull/28 - [✓] https://github.com/eslint/rfcs/pull/32 - [✖] ../command-line-interface#--resolve-plugins-relative-to - - 19 links checked. - - ERROR: 12 dead links found! - [✖] ../command-line-interface#--no-eslintrc → Status: 400 - [✖] ../../users/command-line-interface#-c---config → Status: 400 - [✖] configuration-files#personal-configuration-files-deprecated → Status: 400 - [✖] ../../extend/shareable-configs → Status: 400 - [✖] ../../extend/plugins → Status: 400 - [✖] ../../extend/plugins#configs-in-plugins → Status: 400 - [✖] ./plugins#configure-plugins → Status: 400 - [✖] ../../rules/quotes → Status: 400 - [✖] ../command-line-interface#--fix → Status: 400 - [✖] ../command-line-interface#--ext → Status: 400 - [✖] ../command-line-interface#-c---config → Status: 400 - [✖] ../command-line-interface#--resolve-plugins-relative-to → Status: 400 - -FILE: src//use/configure/rules.md - [✓] ../../rules/ - [✖] ../../rules/eqeqeq - [✖] ../../rules/curly - [✖] ../../rules/quotes - [✖] ../command-line-interface#--no-inline-config - [✖] ../command-line-interface#--report-unused-disable-directives - - 6 links checked. - - ERROR: 5 dead links found! - [✖] ../../rules/eqeqeq → Status: 400 - [✖] ../../rules/curly → Status: 400 - [✖] ../../rules/quotes → Status: 400 - [✖] ../command-line-interface#--no-inline-config → Status: 400 - [✖] ../command-line-interface#--report-unused-disable-directives → Status: 400 - -FILE: src//use/configure/ignore-code.md - [✖] ./ignore#the-eslintignore-file - [✓] https://github.com/kaelzhang/node-ignore - [✖] ../command-line-interface#--ignore-pattern - [✓] https://git-scm.com/docs/gitignore - - 4 links checked. - - ERROR: 2 dead links found! - [✖] ./ignore#the-eslintignore-file → Status: 400 - [✖] ../command-line-interface#--ignore-pattern → Status: 400 - -FILE: src//use/configure/language-options.md - [✓] https://github.com/amdjs/amdjs-api/wiki/AMD - [✖] ../command-line-interface - [✓] https://github.com/yannickcr/eslint-plugin-react - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode - [✓] https://facebook.github.io/jsx/ - - 5 links checked. - - ERROR: 1 dead links found! - [✖] ../command-line-interface → Status: 400 - -FILE: src//use/integrations.md - [✖] ../contribute/pull-requests - [✓] https://github.com/roadhump/SublimeLinter-eslint - [✓] https://github.com/albertosantini/sublimetext-buildnext - [✓] https://github.com/w0rp/ale - [✓] https://github.com/vim-syntastic/syntastic/tree/master/syntax_checkers/javascript - [✓] http://www.flycheck.org/ - [✓] http://www.flycheck.org/en/latest/languages.html#javascript - [✓] https://dev.eclipse.org/mhonarc/lists/orion-dev/msg02718.html - [✓] https://github.com/angelozerr/tern.java/wiki/Tern-Linter-ESLint - [✓] https://github.com/ryanfitzer/eslint.tmbundle - [✓] https://github.com/natesilva/javascript-eslint.tmbundle - [✖] https://atom.io/packages/linter-eslint - [✓] https://atom.io/packages/fast-eslint-8 - [✓] https://www.jetbrains.com/help/webstorm/eslint.html - [✓] https://learn.microsoft.com/en-us/visualstudio/javascript/linting-javascript?view=vs-2022 - [✓] https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint - [✓] https://github.com/brackets-userland/brackets-eslint - [✓] https://www.npmjs.com/package/grunt-eslint - [✓] https://www.npmjs.com/package/gulp-eslint - [✓] https://www.npmjs.com/package/mimosa-eslint - [✓] https://www.npmjs.com/package/broccoli-eslint - [✓] https://www.npmjs.com/package/eslintify - [✓] https://www.npmjs.com/package/eslint-webpack-plugin - [✓] https://www.npmjs.com/package/@rollup/plugin-eslint - [✓] https://www.npmjs.com/package/ember-cli-eslint - [✓] https://www.npmjs.com/package/sails-hook-lint - [✓] https://www.npmjs.com/package/sails-eslint - [✓] https://www.npmjs.com/package/@start/plugin-lib-eslint - [✓] https://www.npmjs.com/package/eslint-brunch - [✓] https://www.npmjs.com/package/eslint-watch - [✓] https://github.com/codeclimate/codeclimate - [✓] https://github.com/IanVS/eslint-nibble - [✓] https://coderwall.com/p/zq8jlq/eslint-pre-commit-hook - [✓] https://gist.github.com/dahjelle/8ddedf0aebd488208a9a7c829f19b9e8 - [✓] https://github.com/brigade/overcommit - [✓] https://nvuillam.github.io/mega-linter - [✖] https://nvuillam.github.io/mega-linter/descriptors/javascript_eslint/ - [✓] https://www.npmjs.com/package/mocha-eslint - [✓] https://github.com/dustinspecker/awesome-eslint - - 39 links checked. - - ERROR: 3 dead links found! - [✖] ../contribute/pull-requests → Status: 400 - [✖] https://atom.io/packages/linter-eslint → Status: 500 - [✖] https://nvuillam.github.io/mega-linter/descriptors/javascript_eslint/ → Status: 404 - -FILE: src//use/command-line-interface.md - [✖] getting-started - [✓] https://docs.npmjs.com/cli/v8/commands/npx - [✓] https://yarnpkg.com/ - [✓] https://pnpm.io/ - [✓] #--ignore-pattern - [✖] configuring/ - [✖] configuring/language-options#specifying-environments - [✖] ../rules/no-undef - [✓] https://github.com/gkz/levn#levn-- - [✓] #--no-eslintrc - [✓] #--fix-dry-run - [✖] ./configuring/configuration-files-new - [✖] configuring/ignore#the-eslintignore-file - [✓] https://git-scm.com/docs/gitignore - [✓] formatters/ - [✓] formatters/#stylish - [✓] #--max-warnings - - 17 links checked. - - ERROR: 6 dead links found! - [✖] getting-started → Status: 400 - [✖] configuring/ → Status: 400 - [✖] configuring/language-options#specifying-environments → Status: 400 - [✖] ../rules/no-undef → Status: 400 - [✖] ./configuring/configuration-files-new → Status: 400 - [✖] configuring/ignore#the-eslintignore-file → Status: 400 - -FILE: src//use/migrating-to-2.0.0.md - [✖] ./migrating-to-1.0.0 - [✖] ../rules/no-arrow-condition - [✖] ../rules/no-confusing-arrow - [✖] ../rules/no-constant-condition - [✖] ../rules/no-empty-label - [✖] ../rules/no-labels - [✖] ../rules/space-after-keywords - [✖] ../rules/keyword-spacing - [✖] ../rules/space-before-keywords - [✖] ../rules/space-return-throw-case - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-arrow-functions - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-octal-and-binary-literals - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-block-bindings - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-default-parameters - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-destructuring-assignment - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-iterables-and-for-of - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-generators - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-computed-property-names - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-duplicate-object-literal-properties - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-method-initializer-shorthand - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-property-initializer-shorthand - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-regular-expression-u-flag - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-regular-expression-y-flag - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-rest-parameters - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-spread-operator - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-template-strings - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-escaping-non-bmp-characters - [✖] ../rules/constructor-super - [✖] ../rules/no-case-declarations - [✖] ../rules/no-class-assign - [✖] ../rules/no-const-assign - [✖] ../rules/no-dupe-class-members - [✖] ../rules/no-empty-pattern - [✖] ../rules/no-new-symbol - [✖] ../rules/no-self-assign - [✖] ../rules/no-this-before-super - [✖] ../rules/no-unexpected-multiline - [✖] ../rules/no-unused-labels - [✓] https://estools.github.io/escope/ - [✖] ../rules/no-multiple-empty-lines - [✖] ../rules/func-style - [✖] ../rules/strict - - 42 links checked. - - ERROR: 24 dead links found! - [✖] ./migrating-to-1.0.0 → Status: 400 - [✖] ../rules/no-arrow-condition → Status: 400 - [✖] ../rules/no-confusing-arrow → Status: 400 - [✖] ../rules/no-constant-condition → Status: 400 - [✖] ../rules/no-empty-label → Status: 400 - [✖] ../rules/no-labels → Status: 400 - [✖] ../rules/space-after-keywords → Status: 400 - [✖] ../rules/keyword-spacing → Status: 400 - [✖] ../rules/space-before-keywords → Status: 400 - [✖] ../rules/space-return-throw-case → Status: 400 - [✖] ../rules/constructor-super → Status: 400 - [✖] ../rules/no-case-declarations → Status: 400 - [✖] ../rules/no-class-assign → Status: 400 - [✖] ../rules/no-const-assign → Status: 400 - [✖] ../rules/no-dupe-class-members → Status: 400 - [✖] ../rules/no-empty-pattern → Status: 400 - [✖] ../rules/no-new-symbol → Status: 400 - [✖] ../rules/no-self-assign → Status: 400 - [✖] ../rules/no-this-before-super → Status: 400 - [✖] ../rules/no-unexpected-multiline → Status: 400 - [✖] ../rules/no-unused-labels → Status: 400 - [✖] ../rules/no-multiple-empty-lines → Status: 400 - [✖] ../rules/func-style → Status: 400 - [✖] ../rules/strict → Status: 400 - -FILE: src//use/formatters/index.md - [✓] https://github.com/eslint/eslint/edit/main/templates/formatter-examples.md.ejs - [✓] #checkstyle - [✓] #compact - [✓] #html - [✓] #jslint-xml - [✓] #json-with-metadata - [✓] #json - [✓] #junit - [✓] #stylish - [✓] #tap - [✓] #unix - [✓] #visualstudio - [✓] html-formatter-example.html - - 13 links checked. - -FILE: src//use/getting-started.md - [✓] https://github.com/eslint/espree - [✓] https://nodejs.org/en/ - [✖] migrating-to-1.0.0 - [✓] ../rules - [✖] configuring/ - [✓] https://www.npmjs.com/search?q=eslint-config - [✖] command-line-interface - [✖] integrations - [✖] ../extend/custom-rules - [✓] ../contribute/ - - 10 links checked. - - ERROR: 5 dead links found! - [✖] migrating-to-1.0.0 → Status: 400 - [✖] configuring/ → Status: 400 - [✖] command-line-interface → Status: 400 - [✖] integrations → Status: 400 - [✖] ../extend/custom-rules → Status: 400 - -FILE: src//use/index.md - [✓] ../extend/ - [✖] getting-started - [✓] ../rules/ - [✖] configuring/ - [✖] command-line-interface - [✖] integrations - [✖] rule-deprecation - [✖] migrating-to-1.0.0 - [✖] migrating-to-2.0.0 - [✖] migrating-to-3.0.0 - [✖] migrating-to-4.0.0 - [✖] migrating-to-5.0.0 - [✖] migrating-to-6.0.0 - [✖] migrating-to-7.0.0 - [✖] migrating-to-8.0.0 - - 15 links checked. - - ERROR: 13 dead links found! - [✖] getting-started → Status: 400 - [✖] configuring/ → Status: 400 - [✖] command-line-interface → Status: 400 - [✖] integrations → Status: 400 - [✖] rule-deprecation → Status: 400 - [✖] migrating-to-1.0.0 → Status: 400 - [✖] migrating-to-2.0.0 → Status: 400 - [✖] migrating-to-3.0.0 → Status: 400 - [✖] migrating-to-4.0.0 → Status: 400 - [✖] migrating-to-5.0.0 → Status: 400 - [✖] migrating-to-6.0.0 → Status: 400 - [✖] migrating-to-7.0.0 → Status: 400 - [✖] migrating-to-8.0.0 → Status: 400 - -FILE: src//use/migrating-to-7.0.0.md - [✖] #drop-node-8 - [✖] #additional-lint-targets - [✖] #base-path-change - [✖] #plugin-loading-change - [✖] #runtime-deprecation-on-personal-config-files - [✖] #default-ignore-patterns - [✖] #description-in-directive-comments - [✖] #deprecate-node-rules - [✖] #rules-strict - [✖] #eslint-recommended - [✖] #rule-tester-strict - [✖] #deprecate-cliengine - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-drop-node8/README.md - [✓] https://github.com/eslint/eslint/pull/12700 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-additional-lint-targets/README.md - [✓] https://github.com/eslint/eslint/pull/12677 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-changing-base-path-in-config-files-that-cli-options-specify/README.md - [✓] https://github.com/eslint/eslint/pull/12887 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-plugin-loading-improvement/README.md - [✓] https://github.com/eslint/eslint/pull/12922 - [✓] https://eslint.org/blog/2019/11/eslint-v6.7.0-released - [✓] https://github.com/eslint/rfcs/tree/master/designs/2019-deprecating-personal-config/README.md - [✓] https://github.com/eslint/eslint/pull/12678 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-update-default-ignore-patterns/README.md - [✓] https://github.com/eslint/eslint/pull/12888 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-description-in-directive-comments/README.md - [✓] https://github.com/eslint/eslint/pull/12699 - [✓] https://github.com/mysticatea/eslint-plugin-node - [✖] ../users/rule-deprecation - [✖] ../rules/callback-return - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/callback-return.md - [✖] ../rules/global-require - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/global-require.md - [✖] ../rules/handle-callback-err - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/handle-callback-err.md - [✖] ../rules/no-mixed-requires - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-mixed-requires.md - [✖] ../rules/no-new-require - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-new-require.md - [✖] ../rules/no-path-concat - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-path-concat.md - [✖] ../rules/no-process-env - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-process-env.md - [✖] ../rules/no-process-exit - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-process-exit.md - [✖] ../rules/no-restricted-modules - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-restricted-require.md - [✖] ../rules/no-sync - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-sync.md - [✓] https://github.com/eslint/eslint/pull/12898 - [✖] ../rules/accessor-pairs - [✖] ../rules/array-callback-return - [✖] ../rules/computed-property-spacing - [✖] ../rules/func-names - [✖] ../rules/no-extra-parens - [✖] ../rules/no-dupe-class-members - [✖] ../rules/no-magic-numbers - [✖] ../rules/radix - [✖] ../rules/use-isnan - [✖] ../rules/yoda - [✓] https://github.com/eslint/eslint/pull/12490 - [✓] https://github.com/eslint/eslint/pull/12608 - [✓] https://github.com/eslint/eslint/pull/12670 - [✓] https://github.com/eslint/eslint/pull/12701 - [✓] https://github.com/eslint/eslint/pull/12765 - [✓] https://github.com/eslint/eslint/pull/12837 - [✓] https://github.com/eslint/eslint/pull/12913 - [✓] https://github.com/eslint/eslint/pull/12915 - [✓] https://github.com/eslint/eslint/pull/12919 - [✖] ../rules/no-dupe-else-if - [✖] ../rules/no-import-assign - [✖] ../rules/no-setter-return - [✓] https://github.com/eslint/eslint/pull/12920 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-rule-tester-improvements/README.md - [✓] https://github.com/eslint/eslint/pull/12096 - [✓] https://github.com/eslint/eslint/pull/12955 - [✖] ../extend/nodejs-api#cliengine - [✖] ../extend/nodejs-api#eslint-class - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-move-to-async-api/README.md - [✓] https://github.com/eslint/eslint/pull/12939 - - 80 links checked. - - ERROR: 38 dead links found! - [✖] #drop-node-8 → Status: 404 - [✖] #additional-lint-targets → Status: 404 - [✖] #base-path-change → Status: 404 - [✖] #plugin-loading-change → Status: 404 - [✖] #runtime-deprecation-on-personal-config-files → Status: 404 - [✖] #default-ignore-patterns → Status: 404 - [✖] #description-in-directive-comments → Status: 404 - [✖] #deprecate-node-rules → Status: 404 - [✖] #rules-strict → Status: 404 - [✖] #eslint-recommended → Status: 404 - [✖] #rule-tester-strict → Status: 404 - [✖] #deprecate-cliengine → Status: 404 - [✖] ../users/rule-deprecation → Status: 400 - [✖] ../rules/callback-return → Status: 400 - [✖] ../rules/global-require → Status: 400 - [✖] ../rules/handle-callback-err → Status: 400 - [✖] ../rules/no-mixed-requires → Status: 400 - [✖] ../rules/no-new-require → Status: 400 - [✖] ../rules/no-path-concat → Status: 400 - [✖] ../rules/no-process-env → Status: 400 - [✖] ../rules/no-process-exit → Status: 400 - [✖] ../rules/no-restricted-modules → Status: 400 - [✖] ../rules/no-sync → Status: 400 - [✖] ../rules/accessor-pairs → Status: 400 - [✖] ../rules/array-callback-return → Status: 400 - [✖] ../rules/computed-property-spacing → Status: 400 - [✖] ../rules/func-names → Status: 400 - [✖] ../rules/no-extra-parens → Status: 400 - [✖] ../rules/no-dupe-class-members → Status: 400 - [✖] ../rules/no-magic-numbers → Status: 400 - [✖] ../rules/radix → Status: 400 - [✖] ../rules/use-isnan → Status: 400 - [✖] ../rules/yoda → Status: 400 - [✖] ../rules/no-dupe-else-if → Status: 400 - [✖] ../rules/no-import-assign → Status: 400 - [✖] ../rules/no-setter-return → Status: 400 - [✖] ../extend/nodejs-api#cliengine → Status: 400 - [✖] ../extend/nodejs-api#eslint-class → Status: 400 - -FILE: src//use/migrating-from-jscs.md - [✓] https://eslint.org/blog/2016/04/welcoming-jscs-to-eslint - [✖] ../extend/shareable-configs - [✓] #converting-presets - [✓] https://github.com/brenolf/polyjuice - [✓] #disabling-rules-inline - [✓] https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base - [✓] https://github.com/google/eslint-config-google - [✓] https://github.com/markelog/eslint-config-grunt - [✓] https://github.com/jamespamplin/eslint-config-idiomatic - [✓] https://github.com/jquery/eslint-config-jquery - [✓] https://github.com/zz85/mrdoobapproves - [✓] https://github.com/pdehaan/eslint-config-node-style-guide - [✓] https://github.com/wikimedia/eslint-config-wikimedia - [✓] https://github.com/WordPress-Coding-Standards/eslint-config-wordpress - - 14 links checked. - - ERROR: 1 dead links found! - [✖] ../extend/shareable-configs → Status: 400 - -FILE: src//use/migrating-to-5.0.0.md - [✖] #drop-node-4 - [✖] #eslint-recommended-changes - [✖] #experimental-object-rest-spread - [✖] #nonexistent-files - [✖] #rule-default-changes - [✖] #deprecated-globals - [✖] #empty-files - [✖] #scoped-plugins - [✖] #multiline-directives - [✖] #parent-before-rules - [✖] #spread-operators - [✖] #rest-operators - [✖] #jsx-text-nodes - [✖] #context-get-scope - [✖] #no-context-linter - [✖] #rule-tester-equality - [✖] #required-report-messages - [✖] #source-property - [✖] #exit-code-two - [✖] #non-enumerable-linter - [✖] configuring#using-eslintrecommended - [✖] ../rules/for-direction - [✖] ../rules/getter-return - [✓] https://developers.google.com/web/updates/2017/06/object-rest-spread - [✓] https://github.com/tc39/proposal-async-iteration - [✖] ../rules/no-restricted-syntax - [✖] ../extend/nodejs-api#cliengineexecuteonfiles - [✖] ../rules/object-curly-newline - [✖] ../rules/no-self-assign - [✖] ../rules/no-undef - [✖] configuring#ignoring-files-and-directories - [✓] https://docs.npmjs.com/misc/scope - [✖] ../extend/custom-rules#contextgetscope - [✖] command-line-interface#--report-unused-disable-directives - [✖] /blog/2016/10/eslint-v3.8.0-released#additional-property-on-linting-results - [✖] ../extend/nodejs-api#linter-1 - [✖] ../extend/nodejs-api#linter - - 37 links checked. - - ERROR: 34 dead links found! - [✖] #drop-node-4 → Status: 404 - [✖] #eslint-recommended-changes → Status: 404 - [✖] #experimental-object-rest-spread → Status: 404 - [✖] #nonexistent-files → Status: 404 - [✖] #rule-default-changes → Status: 404 - [✖] #deprecated-globals → Status: 404 - [✖] #empty-files → Status: 404 - [✖] #scoped-plugins → Status: 404 - [✖] #multiline-directives → Status: 404 - [✖] #parent-before-rules → Status: 404 - [✖] #spread-operators → Status: 404 - [✖] #rest-operators → Status: 404 - [✖] #jsx-text-nodes → Status: 404 - [✖] #context-get-scope → Status: 404 - [✖] #no-context-linter → Status: 404 - [✖] #rule-tester-equality → Status: 404 - [✖] #required-report-messages → Status: 404 - [✖] #source-property → Status: 404 - [✖] #exit-code-two → Status: 404 - [✖] #non-enumerable-linter → Status: 404 - [✖] configuring#using-eslintrecommended → Status: 400 - [✖] ../rules/for-direction → Status: 400 - [✖] ../rules/getter-return → Status: 400 - [✖] ../rules/no-restricted-syntax → Status: 400 - [✖] ../extend/nodejs-api#cliengineexecuteonfiles → Status: 400 - [✖] ../rules/object-curly-newline → Status: 400 - [✖] ../rules/no-self-assign → Status: 400 - [✖] ../rules/no-undef → Status: 400 - [✖] configuring#ignoring-files-and-directories → Status: 400 - [✖] ../extend/custom-rules#contextgetscope → Status: 400 - [✖] command-line-interface#--report-unused-disable-directives → Status: 400 - [✖] /blog/2016/10/eslint-v3.8.0-released#additional-property-on-linting-results → Status: 400 - [✖] ../extend/nodejs-api#linter-1 → Status: 400 - [✖] ../extend/nodejs-api#linter → Status: 400 - -FILE: src//use/migrating-to-1.0.0.md - [✖] ../rules/no-alert - [✖] ../rules/no-array-constructor - [✖] ../rules/no-caller - [✖] ../rules/no-catch-shadow - [✖] ../rules/no-empty-label - [✖] ../rules/no-eval - [✖] ../rules/no-extend-native - [✖] ../rules/no-extra-bind - [✖] ../rules/no-extra-strict - [✖] ../rules/no-implied-eval - [✖] ../rules/no-iterator - [✖] ../rules/no-label-var - [✖] ../rules/no-labels - [✖] ../rules/no-lone-blocks - [✖] ../rules/no-loop-func - [✖] ../rules/no-multi-spaces - [✖] ../rules/no-multi-str - [✖] ../rules/no-native-reassign - [✖] ../rules/no-new - [✖] ../rules/no-new-func - [✖] ../rules/no-new-object - [✖] ../rules/no-new-wrappers - [✖] ../rules/no-octal-escape - [✖] ../rules/no-process-exit - [✖] ../rules/no-proto - [✖] ../rules/no-return-assign - [✖] ../rules/no-script-url - [✖] ../rules/no-sequences - [✖] ../rules/no-shadow - [✖] ../rules/no-shadow-restricted-names - [✖] ../rules/no-spaced-func - [✖] ../rules/no-trailing-spaces - [✖] ../rules/no-undef-init - [✖] ../rules/no-underscore-dangle - [✖] ../rules/no-unused-expressions - [✖] ../rules/no-use-before-define - [✖] ../rules/no-with - [✖] ../rules/no-wrap-func - [✖] ../rules/camelcase - [✖] ../rules/comma-spacing - [✖] ../rules/consistent-return - [✖] ../rules/curly - [✖] ../rules/dot-notation - [✖] ../rules/eol-last - [✖] ../rules/eqeqeq - [✖] ../rules/key-spacing - [✖] ../rules/new-cap - [✖] ../rules/new-parens - [✖] ../rules/quotes - [✖] ../rules/semi - [✖] ../rules/semi-spacing - [✖] ../rules/space-infix-ops - [✖] ../rules/space-return-throw-case - [✖] ../rules/space-unary-ops - [✖] ../rules/strict - [✖] ../rules/yoda - [✓] https://github.com/eslint/eslint/commit/e3e9dbd9876daf4bdeb4e15f8a76a9d5e6e03e39#diff-b01a5cfd9361ca9280a460fd6bb8edbbL1 - [✖] ../rules/generator-star - [✖] ../rules/generator-star-spacing - [✖] ../rules/global-strict - [✖] ../rules/no-comma-dangle - [✖] ../rules/comma-dangle - [✖] ../rules/no-empty-class - [✖] ../rules/no-empty-character-class - [✖] ../rules/no-reserved-keys - [✖] ../rules/quote-props - [✖] ../rules/no-space-before-semi - [✖] ../rules/no-extra-parens - [✖] ../rules/space-after-function-name - [✖] ../rules/space-before-function-paren - [✖] ../rules/space-before-function-parentheses - [✖] ../rules/space-in-brackets - [✖] ../rules/object-curly-spacing - [✖] ../rules/array-bracket-spacing - [✖] ../rules/space-unary-word-ops - [✖] ../rules/spaced-line-comment - [✖] ../rules/spaced-comment - - 77 links checked. - - ERROR: 76 dead links found! - [✖] ../rules/no-alert → Status: 400 - [✖] ../rules/no-array-constructor → Status: 400 - [✖] ../rules/no-caller → Status: 400 - [✖] ../rules/no-catch-shadow → Status: 400 - [✖] ../rules/no-empty-label → Status: 400 - [✖] ../rules/no-eval → Status: 400 - [✖] ../rules/no-extend-native → Status: 400 - [✖] ../rules/no-extra-bind → Status: 400 - [✖] ../rules/no-extra-strict → Status: 400 - [✖] ../rules/no-implied-eval → Status: 400 - [✖] ../rules/no-iterator → Status: 400 - [✖] ../rules/no-label-var → Status: 400 - [✖] ../rules/no-labels → Status: 400 - [✖] ../rules/no-lone-blocks → Status: 400 - [✖] ../rules/no-loop-func → Status: 400 - [✖] ../rules/no-multi-spaces → Status: 400 - [✖] ../rules/no-multi-str → Status: 400 - [✖] ../rules/no-native-reassign → Status: 400 - [✖] ../rules/no-new → Status: 400 - [✖] ../rules/no-new-func → Status: 400 - [✖] ../rules/no-new-object → Status: 400 - [✖] ../rules/no-new-wrappers → Status: 400 - [✖] ../rules/no-octal-escape → Status: 400 - [✖] ../rules/no-process-exit → Status: 400 - [✖] ../rules/no-proto → Status: 400 - [✖] ../rules/no-return-assign → Status: 400 - [✖] ../rules/no-script-url → Status: 400 - [✖] ../rules/no-sequences → Status: 400 - [✖] ../rules/no-shadow → Status: 400 - [✖] ../rules/no-shadow-restricted-names → Status: 400 - [✖] ../rules/no-spaced-func → Status: 400 - [✖] ../rules/no-trailing-spaces → Status: 400 - [✖] ../rules/no-undef-init → Status: 400 - [✖] ../rules/no-underscore-dangle → Status: 400 - [✖] ../rules/no-unused-expressions → Status: 400 - [✖] ../rules/no-use-before-define → Status: 400 - [✖] ../rules/no-with → Status: 400 - [✖] ../rules/no-wrap-func → Status: 400 - [✖] ../rules/camelcase → Status: 400 - [✖] ../rules/comma-spacing → Status: 400 - [✖] ../rules/consistent-return → Status: 400 - [✖] ../rules/curly → Status: 400 - [✖] ../rules/dot-notation → Status: 400 - [✖] ../rules/eol-last → Status: 400 - [✖] ../rules/eqeqeq → Status: 400 - [✖] ../rules/key-spacing → Status: 400 - [✖] ../rules/new-cap → Status: 400 - [✖] ../rules/new-parens → Status: 400 - [✖] ../rules/quotes → Status: 400 - [✖] ../rules/semi → Status: 400 - [✖] ../rules/semi-spacing → Status: 400 - [✖] ../rules/space-infix-ops → Status: 400 - [✖] ../rules/space-return-throw-case → Status: 400 - [✖] ../rules/space-unary-ops → Status: 400 - [✖] ../rules/strict → Status: 400 - [✖] ../rules/yoda → Status: 400 - [✖] ../rules/generator-star → Status: 400 - [✖] ../rules/generator-star-spacing → Status: 400 - [✖] ../rules/global-strict → Status: 400 - [✖] ../rules/no-comma-dangle → Status: 400 - [✖] ../rules/comma-dangle → Status: 400 - [✖] ../rules/no-empty-class → Status: 400 - [✖] ../rules/no-empty-character-class → Status: 400 - [✖] ../rules/no-reserved-keys → Status: 400 - [✖] ../rules/quote-props → Status: 400 - [✖] ../rules/no-space-before-semi → Status: 400 - [✖] ../rules/no-extra-parens → Status: 400 - [✖] ../rules/space-after-function-name → Status: 400 - [✖] ../rules/space-before-function-paren → Status: 400 - [✖] ../rules/space-before-function-parentheses → Status: 400 - [✖] ../rules/space-in-brackets → Status: 400 - [✖] ../rules/object-curly-spacing → Status: 400 - [✖] ../rules/array-bracket-spacing → Status: 400 - [✖] ../rules/space-unary-word-ops → Status: 400 - [✖] ../rules/spaced-line-comment → Status: 400 - [✖] ../rules/spaced-comment → Status: 400 - -FILE: src//use/core-concepts.md - [✖] ../rules/semi - [✓] #plugins - [✓] ../rules/ - [✖] ./configuring/configuration-files - [✓] https://www.npmjs.com/package/eslint-config-airbnb-base - [✖] ./configuring/configuration-files#using-a-shareable-configuration-package - [✓] https://www.npmjs.com/package/@angular-eslint/eslint-plugin - [✖] ./configuring/plugins - [✓] https://github.com/eslint/espree - [✖] npmjs.com/package/@typescript-eslint/parser - [✓] https://github.com/typescript-eslint/typescript-eslint - [✓] https://github.com/eslint/eslint-plugin-markdown - [✓] ./formatters/ - [✖] ./integrations - [✖] ./command-line-interface - [✖] ../extend/nodejs-api - - 16 links checked. - - ERROR: 8 dead links found! - [✖] ../rules/semi → Status: 400 - [✖] ./configuring/configuration-files → Status: 400 - [✖] ./configuring/configuration-files#using-a-shareable-configuration-package → Status: 400 - [✖] ./configuring/plugins → Status: 400 - [✖] npmjs.com/package/@typescript-eslint/parser → Status: 400 - [✖] ./integrations → Status: 400 - [✖] ./command-line-interface → Status: 400 - [✖] ../extend/nodejs-api → Status: 400 - -FILE: src//use/migrating-to-3.0.0.md - [✓] https://github.com/nodejs/Release - [✖] ../rules/no-unsafe-finally - [✖] ../rules/no-native-reassign - [✖] ../rules/require-yield - [✖] ../rules/comma-dangle - [✓] https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support - [✖] ../rules/complexity - - 7 links checked. - - ERROR: 5 dead links found! - [✖] ../rules/no-unsafe-finally → Status: 400 - [✖] ../rules/no-native-reassign → Status: 400 - [✖] ../rules/require-yield → Status: 400 - [✖] ../rules/comma-dangle → Status: 400 - [✖] ../rules/complexity → Status: 400 - -FILE: src//maintain/governance.md - [✓] https://eslint.org/ - [✓] ../contribute/ - [✖] issues - [✖] manage-pull-requests - [✓] ./ - [✓] https://eslint.org/chat - [✓] https://en.wikipedia.org/wiki/Consensus-seeking_decision-making - [✓] https://github.com/yui/yui3/wiki/Contributor-Model - [✓] https://github.com/nodejs/node/blob/master/GOVERNANCE.md - [✓] https://creativecommons.org/licenses/by-sa/2.0/uk/ - - 10 links checked. - - ERROR: 2 dead links found! - [✖] issues → Status: 400 - [✖] manage-pull-requests → Status: 400 - -FILE: src//maintain/manage-pull-requests.md - No hyperlinks found! - - 0 links checked. - -FILE: src//maintain/index.md - [✖] manage-issues - [✖] manage-pull-requests - [✖] manage-releases - [✖] governance - [✖] working-groups - - 5 links checked. - - ERROR: 5 dead links found! - [✖] manage-issues → Status: 400 - [✖] manage-pull-requests → Status: 400 - [✖] manage-releases → Status: 400 - [✖] governance → Status: 400 - [✖] working-groups → Status: 400 - -FILE: src//maintain/manage-releases.md - [✓] https://semver.org/ - [✓] https://github.com/eslint/eslint/issues/8138 - - 2 links checked. - -FILE: src//maintain/working-groups.md - [✓] https://eslint.org/team - - 1 links checked. - -FILE: src//maintain/manage-issues.md - [✓] https://github.com/orgs/eslint/projects/2 - [✖] https://docs.github.com/en/free-pro-team@latest/discussions/managing-discussions-for-your-community/moderating-discussions#converting-an-issue-to-a-discussion - [✓] #championing-issues - [✓] #consensus - - 4 links checked. - - ERROR: 1 dead links found! - [✖] https://docs.github.com/en/free-pro-team@latest/discussions/managing-discussions-for-your-community/moderating-discussions#converting-an-issue-to-a-discussion → Status: 403 - -FILE: src//contribute/package-json-conventions.md - [✖] https://github.com/eslint/eslint/edit/main/docs/src/extend/package-json-conventions.md - [✓] https://docs.npmjs.com/cli/v8/using-npm/scripts#life-cycle-scripts - - 2 links checked. - - ERROR: 1 dead links found! - [✖] https://github.com/eslint/eslint/edit/main/docs/src/extend/package-json-conventions.md → Status: 404 - -FILE: src//contribute/propose-new-rule.md - [✖] pull-requests - [✓] https://github.com/eslint/eslint/issues/new/choose - [✖] ../custom-rules - [✖] ../plugins - - 4 links checked. - - ERROR: 3 dead links found! - [✖] pull-requests → Status: 400 - [✖] ../custom-rules → Status: 400 - [✖] ../plugins → Status: 400 - -FILE: src//contribute/propose-rule-change.md - [✖] pull-requests - [✓] https://github.com/eslint/eslint/issues/new/choose - [✖] propose-new-rule#core-rule-guidelines - - 3 links checked. - - ERROR: 2 dead links found! - [✖] pull-requests → Status: 400 - [✖] propose-new-rule#core-rule-guidelines → Status: 400 - -FILE: src//contribute/code-conventions.md - [✓] https://www.npmjs.com/package/eslint-config-eslint - [✓] ../rules/ - [✖] ./package-json-conventions - - 3 links checked. - - ERROR: 1 dead links found! - [✖] ./package-json-conventions → Status: 400 - -FILE: src//contribute/request-change.md - [✓] https://github.com/eslint/eslint/issues/new/choose - [✓] https://groups.google.com/group/eslint - [✓] https://eslint.org/chat - - 3 links checked. - -FILE: src//contribute/code-path-analysis.md - [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-unreachable.js - [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-fallthrough.js - [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/consistent-return.js - [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/constructor-super.js - [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-this-before-super.js - [✓] ../assets/images/code-path-analysis/helo.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-while-1.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-while-2.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-while-3.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-for-1.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-for-2.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-for-3.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-for-4.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-for-5.svg - [✓] ../assets/images/code-path-analysis/example-hello-world.svg - [✓] ../assets/images/code-path-analysis/example-ifstatement.svg - [✓] ../assets/images/code-path-analysis/example-ifstatement-chain.svg - [✓] ../assets/images/code-path-analysis/example-switchstatement.svg - [✓] ../assets/images/code-path-analysis/example-switchstatement-has-default.svg - [✓] ../assets/images/code-path-analysis/example-trystatement-try-catch.svg - [✓] ../assets/images/code-path-analysis/example-trystatement-try-finally.svg - [✓] ../assets/images/code-path-analysis/example-trystatement-try-catch-finally.svg - [✓] ../assets/images/code-path-analysis/example-whilestatement.svg - [✓] ../assets/images/code-path-analysis/example-dowhilestatement.svg - [✓] ../assets/images/code-path-analysis/example-forstatement.svg - [✓] ../assets/images/code-path-analysis/example-forstatement-for-ever.svg - [✓] ../assets/images/code-path-analysis/example-forinstatement.svg - [✓] ../assets/images/code-path-analysis/example-when-there-is-a-function-g.svg - [✓] ../assets/images/code-path-analysis/example-when-there-is-a-function-f.svg - - 29 links checked. - -FILE: src//contribute/work-on-issue.md - [✓] https://github.com/eslint/eslint/issues - [✖] ../../maintain/issues#when-an-issue-is-opened - [✓] https://github.com/eslint/eslint/labels/good%20first%20issue - [✓] https://github.com/eslint/eslint/labels/help%20wanted - [✓] https://github.com/eslint/eslint/labels/accepted - [✖] ../../maintain/issues#types-of-issues - [✓] https://www.bountysource.com/teams/eslint/issues - - 7 links checked. - - ERROR: 2 dead links found! - [✖] ../../maintain/issues#when-an-issue-is-opened → Status: 400 - [✖] ../../maintain/issues#types-of-issues → Status: 400 - -FILE: src//contribute/unit-tests.md - [✓] https://mochajs.org/ - [✓] https://mochajs.org/#command-line-usage - - 2 links checked. - -FILE: src//contribute/architecture/index.md - [✓] ../../assets/images/architecture/dependency.svg - - 1 links checked. - -FILE: src//contribute/pull-requests.md - [✖] ../development-environment - [✖] work-on-issue - [✖] #step1 - [✖] #step2 - [✖] #step3 - [✖] #step4 - [✖] #step5 - [✖] #step6 - [✖] #step7 - [✖] ../code-conventions - [✓] https://www.conventionalcommits.org/ - [✖] work-on-issue#issue-labels - [✖] https://help.github.com/articles/creating-a-pull-request - [✓] https://cla.openjsf.org/ - [✖] https://help.github.com/articles/resolving-merge-conflicts-after-a-git-rebase/ - - 15 links checked. - - ERROR: 13 dead links found! - [✖] ../development-environment → Status: 400 - [✖] work-on-issue → Status: 400 - [✖] #step1 → Status: 404 - [✖] #step2 → Status: 404 - [✖] #step3 → Status: 404 - [✖] #step4 → Status: 404 - [✖] #step5 → Status: 404 - [✖] #step6 → Status: 404 - [✖] #step7 → Status: 404 - [✖] ../code-conventions → Status: 400 - [✖] work-on-issue#issue-labels → Status: 400 - [✖] https://help.github.com/articles/creating-a-pull-request → Status: 403 - [✖] https://help.github.com/articles/resolving-merge-conflicts-after-a-git-rebase/ → Status: 403 - -FILE: src//contribute/index.md - [✓] https://eslint.org/conduct - [✖] report-bug - [✖] propose-new-rule - [✖] propose-rule-change - [✖] request-change - [✓] https://hackerone.com/eslint - [✖] work-on-issue - [✖] pull-requests - - 8 links checked. - - ERROR: 6 dead links found! - [✖] report-bug → Status: 400 - [✖] propose-new-rule → Status: 400 - [✖] propose-rule-change → Status: 400 - [✖] request-change → Status: 400 - [✖] work-on-issue → Status: 400 - [✖] pull-requests → Status: 400 - -FILE: src//contribute/source-code.md - [✓] https://github.com/eslint/eslint - [✓] https://git-scm.com/ - [✖] https://help.github.com/articles/set-up-git/ - [✖] https://help.github.com/articles/fork-a-repo/ - [✓] https://nodejs.org - [✓] https://www.npmjs.com/ - - 6 links checked. - - ERROR: 2 dead links found! - [✖] https://help.github.com/articles/set-up-git/ → Status: 403 - [✖] https://help.github.com/articles/fork-a-repo/ → Status: 403 - -FILE: src//contribute/report-bugs.md - [✓] https://github.com/eslint/eslint/issues/new/choose - [✖] pull-requests - [✓] https://groups.google.com/group/eslint - [✓] https://eslint.org/chat - - 4 links checked. - - ERROR: 1 dead links found! - [✖] pull-requests → Status: 400 - -FILE: src//contribute/development-environment.md - [✓] https://nodejs.org/ - [✓] https://www.npmjs.com/ - [✓] https://github.com/eslint/eslint - [✖] https://help.github.com/articles/fork-a-repo - [✓] https://yeoman.io - [✓] https://github.com/eslint/generator-eslint - [✖] contributing/pull-requests - - 7 links checked. - - ERROR: 2 dead links found! - [✖] https://help.github.com/articles/fork-a-repo → Status: 403 - [✖] contributing/pull-requests → Status: 400 - -FILE: src//rules/comma-spacing.md - [✓] https://www.crockford.com/code.html - [✓] https://dojotoolkit.org/reference-guide/1.9/developer/styleguide.html - [✖] array-bracket-spacing - [✖] object-curly-spacing - [✖] space-in-parens - - 5 links checked. - - ERROR: 3 dead links found! - [✖] array-bracket-spacing → Status: 400 - [✖] object-curly-spacing → Status: 400 - [✖] space-in-parens → Status: 400 - -FILE: src//rules/no-multiple-empty-lines.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-underscore-dangle.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-regex-spaces.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/prefer-rest-params.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-template-curly-in-string.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/sort-imports.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/prefer-destructuring.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment - [✓] https://2ality.com/2015/01/es6-destructuring.html - [✖] #further-reading - - 3 links checked. - - ERROR: 1 dead links found! - [✖] #further-reading → Status: 404 - -FILE: src//rules/space-after-function-name.md - [✖] space-before-function-paren - - 1 links checked. - - ERROR: 1 dead links found! - [✖] space-before-function-paren → Status: 400 - -FILE: src//rules/no-octal-escape.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/max-depth.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-dupe-args.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-misleading-character-class.md - [✓] http://www.unicode.org/L2/L1999/UnicodeData.html#General%20Category - - 1 links checked. - -FILE: src//rules/no-useless-computed-key.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-sync.md - [✓] https://github.com/mysticatea/eslint-plugin-node - - 1 links checked. - -FILE: src//rules/no-return-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/require-await.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-dupe-class-members.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-with.md - [✓] https://web.archive.org/web/20200717110117/https://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/ - - 1 links checked. - -FILE: src//rules/constructor-super.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-empty-static-block.md - [✓] https://github.com/tc39/proposal-class-static-block - - 1 links checked. - -FILE: src//rules/no-negated-condition.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-script-url.md - [✓] https://stackoverflow.com/questions/13497971/what-is-the-matter-with-script-targeted-urls - - 1 links checked. - -FILE: src//rules/grouped-accessor-pairs.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes - [✖] accessor-pairs - [✖] no-dupe-keys - [✖] no-dupe-class-members - - 6 links checked. - - ERROR: 3 dead links found! - [✖] accessor-pairs → Status: 400 - [✖] no-dupe-keys → Status: 400 - [✖] no-dupe-class-members → Status: 400 - -FILE: src//rules/object-property-newline.md - [✓] https://jscs-dev.github.io/rule/requireObjectKeysOnNewLine - - 1 links checked. - -FILE: src//rules/generator-star.md - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-generators - [✖] generator-star-spacing - - 2 links checked. - - ERROR: 1 dead links found! - [✖] generator-star-spacing → Status: 400 - -FILE: src//rules/no-multi-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/one-var-declaration-per-line.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/require-jsdoc.md - [✓] https://eslint.org/blog/2018/11/jsdoc-end-of-life - [✖] http://usejsdoc.org - - 2 links checked. - - ERROR: 1 dead links found! - [✖] http://usejsdoc.org → Status: 0 - -FILE: src//rules/max-classes-per-file.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-bitwise.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/unicode-bom.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-delete-var.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-useless-return.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/wrap-regex.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-restricted-globals.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/dot-location.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/new-cap.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/max-nested-callbacks.md - [✓] http://book.mixu.net/node/ch7.html - [✓] https://web.archive.org/web/20220104141150/https://howtonode.org/control-flow - [✓] https://web.archive.org/web/20220127215850/https://howtonode.org/control-flow-part-ii - - 3 links checked. - -FILE: src//rules/lines-around-directive.md - [✖] padding-line-between-statements - [✓] https://www.ecma-international.org/ecma-262/7.0/#directive-prologue - [✖] padded-blocks - [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesAfterUseStrict - [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesAfterUseStrict - - 5 links checked. - - ERROR: 2 dead links found! - [✖] padding-line-between-statements → Status: 400 - [✖] padded-blocks → Status: 400 - -FILE: src//rules/no-multi-str.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/max-statements-per-line.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-unused-private-class-members.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-promise-executor-return.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise - - 1 links checked. - -FILE: src//rules/multiline-ternary.md - [✖] operator-linebreak - [✓] https://jscs-dev.github.io/rule/requireMultiLineTernary - - 2 links checked. - - ERROR: 1 dead links found! - [✖] operator-linebreak → Status: 400 - -FILE: src//rules/no-undefined.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined - [✓] https://javascriptweblog.wordpress.com/2010/08/16/understanding-undefined-and-preventing-referenceerrors/ - [✓] https://es5.github.io/#x15.1.1.3 - [✖] no-global-assign - [✖] no-shadow-restricted-names - - 5 links checked. - - ERROR: 2 dead links found! - [✖] no-global-assign → Status: 400 - [✖] no-shadow-restricted-names → Status: 400 - -FILE: src//rules/max-lines.md - [✓] https://web.archive.org/web/20160725154648/http://www.mind2b.com/component/content/article/24-software-module-size-and-file-size - [✓] https://jscs-dev.github.io/rule/maximumNumberOfLines - - 2 links checked. - -FILE: src//rules/no-continue.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/indent.md - [✖] ../extend/selectors - [✓] https://github.com/estree/estree - [✓] https://astexplorer.net/ - [✓] https://jscs-dev.github.io/rule/validateIndentation - - 4 links checked. - - ERROR: 1 dead links found! - [✖] ../extend/selectors → Status: 400 - -FILE: src//rules/no-func-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-iterator.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators - [✓] https://kangax.github.io/es5-compat-table/es6/#Iterators - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features#Object_methods - - 3 links checked. - -FILE: src//rules/no-mixed-spaces-and-tabs.md - [✓] https://www.emacswiki.org/emacs/SmartTabs - - 1 links checked. - -FILE: src//rules/no-else-return.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/getter-return.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-accessor-properties - - 2 links checked. - -FILE: src//rules/no-empty.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-shadow-restricted-names.md - [✓] https://es5.github.io/#x15.1.1 - [✓] https://es5.github.io/#C - - 2 links checked. - -FILE: src//rules/no-import-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-this-before-super.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/prefer-object-spread.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/comma-style.md - [✓] https://gist.github.com/isaacs/357981 - [✓] https://github.com/estree/estree - [✓] https://astexplorer.net/ - - 3 links checked. - -FILE: src//rules/generator-star-spacing.md - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-generators - - 1 links checked. - -FILE: src//rules/no-useless-catch.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/prefer-const.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-extra-parens.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence - [✖] wrap-regex - [✖] wrap-iife - [✖] arrow-parens - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp - - 5 links checked. - - ERROR: 3 dead links found! - [✖] wrap-regex → Status: 400 - [✖] wrap-iife → Status: 400 - [✖] arrow-parens → Status: 400 - -FILE: src//rules/no-console.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/space-in-parens.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/space-before-function-parentheses.md - [✖] space-before-function-paren - - 1 links checked. - - ERROR: 1 dead links found! - [✖] space-before-function-paren → Status: 400 - -FILE: src//rules/no-return-await.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function - [✓] https://jakearchibald.com/2017/await-vs-return-vs-return-await/ - - 2 links checked. - -FILE: src//rules/no-class-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-inline-comments.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp - - 1 links checked. - -FILE: src//rules/no-trailing-spaces.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-self-compare.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN - - 1 links checked. - -FILE: src//rules/no-arrow-condition.md - [✖] no-confusing-arrow - [✖] no-constant-condition - - 2 links checked. - - ERROR: 2 dead links found! - [✖] no-confusing-arrow → Status: 400 - [✖] no-constant-condition → Status: 400 - -FILE: src//rules/object-curly-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-redeclare.md - [✖] no-shadow - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-shadow → Status: 400 - -FILE: src//rules/global-require.md - [✓] https://github.com/mysticatea/eslint-plugin-node - - 1 links checked. - -FILE: src//rules/prefer-arrow-callback.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions - - 1 links checked. - -FILE: src//rules/no-unneeded-ternary.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/rest-spread-spacing.md - [✓] https://github.com/tc39/proposal-object-rest-spread - [✖] ../users/configuring#specifying-parser-options - - 2 links checked. - - ERROR: 1 dead links found! - [✖] ../users/configuring#specifying-parser-options → Status: 400 - -FILE: src//rules/no-mixed-requires.md - [✓] https://github.com/mysticatea/eslint-plugin-node - [✓] https://nodejs.org/api/modules.html#modules_core_modules - [✓] https://nodejs.org/api/modules.html#modules_file_modules - [✓] https://nodejs.org/api/modules.html#modules_loading_from_node_modules_folders - [✓] https://github.com/umdjs/umd - - 5 links checked. - -FILE: src//rules/array-bracket-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-tabs.md - [✓] https://jscs-dev.github.io/rule/disallowTabs - - 1 links checked. - -FILE: src//rules/arrow-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/func-names.md - [✓] https://web.archive.org/web/20201112040809/http://markdaggett.com/blog/2013/02/15/functions-explained/ - [✓] https://2ality.com/2015/09/function-names-es6.html - [✓] https://jscs-dev.github.io/rule/requireAnonymousFunctions - [✓] https://jscs-dev.github.io/rule/disallowAnonymousFunctions - - 4 links checked. - -FILE: src//rules/no-restricted-imports.md - [✓] https://github.com/nodejs/node/tree/master/lib - - 1 links checked. - -FILE: src//rules/no-debugger.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger - - 1 links checked. - -FILE: src//rules/max-statements.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/prefer-spread.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/new-parens.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/keyword-spacing.md - [✖] space-before-function-paren - - 1 links checked. - - ERROR: 1 dead links found! - [✖] space-before-function-paren → Status: 400 - -FILE: src//rules/no-lone-blocks.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-use-before-define.md - [✓] #variables - - 1 links checked. - -FILE: src//rules/id-blacklist.md - [✖] id-denylist - - 1 links checked. - - ERROR: 1 dead links found! - [✖] id-denylist → Status: 400 - -FILE: src//rules/space-after-keywords.md - [✖] keyword-spacing - [✖] ../users/command-line-interface#--fix - - 2 links checked. - - ERROR: 2 dead links found! - [✖] keyword-spacing → Status: 400 - [✖] ../users/command-line-interface#--fix → Status: 400 - -FILE: src//rules/no-invalid-this.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/quote-props.md - [✓] https://kangax.github.io/compat-table/es5/#Reserved_words_as_property_names - [✓] https://mathiasbynens.be/notes/javascript-properties - - 2 links checked. - -FILE: src//rules/no-void.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void - [✓] https://oreilly.com/javascript/excerpts/javascript-good-parts/bad-parts.html - - 2 links checked. - -FILE: src//rules/space-before-keywords.md - [✖] keyword-spacing - [✖] ../users/command-line-interface#--fix - [✖] block-spacing - - 3 links checked. - - ERROR: 3 dead links found! - [✖] keyword-spacing → Status: 400 - [✖] ../users/command-line-interface#--fix → Status: 400 - [✖] block-spacing → Status: 400 - -FILE: src//rules/no-process-env.md - [✓] https://stackoverflow.com/questions/5869216/how-to-store-node-js-deployment-settings-configuration-files - [✓] https://blog.benhall.me.uk/2012/02/storing-application-config-data-in/ - [✓] https://github.com/mysticatea/eslint-plugin-node - - 3 links checked. - -FILE: src//rules/no-confusing-arrow.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-empty-function.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/semi.md - [✓] https://blog.izs.me/2010/12/an-open-letter-to-javascript-leaders-regarding/ - [✓] https://web.archive.org/web/20200420230322/http://inimino.org/~inimino/blog/javascript_semicolons - [✖] no-unreachable - [✖] no-unexpected-multiline - - 4 links checked. - - ERROR: 2 dead links found! - [✖] no-unreachable → Status: 400 - [✖] no-unexpected-multiline → Status: 400 - -FILE: src//rules/no-useless-constructor.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-unexpected-multiline.md - [✖] ./semi - [✖] semi - - 2 links checked. - - ERROR: 2 dead links found! - [✖] ./semi → Status: 400 - [✖] semi → Status: 400 - -FILE: src//rules/no-new-func.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-restricted-exports.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-unused-expressions.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-unsafe-negation.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/in - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof - - 2 links checked. - -FILE: src//rules/no-async-promise-executor.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-restricted-syntax.md - [✓] https://github.com/estree/estree - [✓] https://github.com/eslint/eslint-visitor-keys/blob/main/lib/visitor-keys.js - [✓] https://astexplorer.net/ - [✖] ../extend/selectors - - 4 links checked. - - ERROR: 1 dead links found! - [✖] ../extend/selectors → Status: 400 - -FILE: src//rules/no-implicit-coercion.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/camelcase.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/init-declarations.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/line-comment-position.md - [✓] https://jscs-dev.github.io/rule/validateCommentPosition - - 1 links checked. - -FILE: src//rules/no-await-in-loop.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/jsx-quotes.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-comma-dangle.md - [✖] comma-dangle - - 1 links checked. - - ERROR: 1 dead links found! - [✖] comma-dangle → Status: 400 - -FILE: src//rules/default-param-last.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/key-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/default-case.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/symbol-description.md - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-symbol-description - - 1 links checked. - -FILE: src//rules/block-scoped-var.md - [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var#var_hoisting - - 2 links checked. - -FILE: src//rules/callback-return.md - [✓] https://github.com/maxogden/art-of-node#callbacks - [✓] https://web.archive.org/web/20171224042620/https://docs.nodejitsu.com/articles/errors/what-are-the-error-conventions/ - [✓] https://github.com/mysticatea/eslint-plugin-node - - 3 links checked. - -FILE: src//rules/no-undef-init.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/space-before-blocks.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-new-require.md - [✓] https://github.com/mysticatea/eslint-plugin-node - - 1 links checked. - -FILE: src//rules/require-yield.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/template-curly-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-unreachable.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/valid-typeof.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof - - 1 links checked. - -FILE: src//rules/no-invalid-regexp.md - [✓] https://es5.github.io/#x7.8.5 - - 1 links checked. - -FILE: src//rules/newline-per-chained-call.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-empty-class.md - [✖] no-empty-character-class - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-empty-character-class → Status: 400 - -FILE: src//rules/no-catch-shadow.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-prototype-builtins.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-empty-label.md - [✖] no-labels - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-labels → Status: 400 - -FILE: src//rules/no-useless-call.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-unsafe-optional-chaining.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/id-length.md - [✓] https://unicode.org/reports/tr29/#Default_Grapheme_Cluster_Table - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length - - 2 links checked. - -FILE: src//rules/no-global-assign.md - [✖] ../users/configuring#specifying-environments - [✖] ../users/configuring#specifying-globals - - 2 links checked. - - ERROR: 2 dead links found! - [✖] ../users/configuring#specifying-environments → Status: 400 - [✖] ../users/configuring#specifying-globals → Status: 400 - -FILE: src//rules/accessor-pairs.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects - [✖] no-dupe-keys - [✖] no-dupe-class-members - - 5 links checked. - - ERROR: 2 dead links found! - [✖] no-dupe-keys → Status: 400 - [✖] no-dupe-class-members → Status: 400 - -FILE: src//rules/no-path-concat.md - [✓] https://github.com/mysticatea/eslint-plugin-node - - 1 links checked. - -FILE: src//rules/require-atomic-updates.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/block-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-inner-declarations.md - [✓] https://code.google.com/p/esprima/issues/detail?id=422 - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-block-bindings - [✓] https://bugzilla.mozilla.org/show_bug.cgi?id=585536 - [✖] block-scoped-var - - 4 links checked. - - ERROR: 1 dead links found! - [✖] block-scoped-var → Status: 400 - -FILE: src//rules/operator-assignment.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/quotes.md - [✖] no-restricted-syntax - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-restricted-syntax → Status: 400 - -FILE: src//rules/no-nested-ternary.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-extra-boolean-cast.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-spaced-func.md - [✖] func-call-spacing - - 1 links checked. - - ERROR: 1 dead links found! - [✖] func-call-spacing → Status: 400 - -FILE: src//rules/no-caller.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/consistent-return.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/switch-colon-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-duplicate-imports.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/prefer-template.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-loss-of-precision.md - [✓] https://en.wikipedia.org/wiki/IEEE_754 - - 1 links checked. - -FILE: src//rules/no-plusplus.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-unsafe-finally.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-throw-literal.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-labels.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/prefer-reflect.md - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflection - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.apply - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-function.prototype.apply - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-function.prototype.call - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.deleteproperty - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-delete-operator-runtime-semantics-evaluation - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.getownpropertydescriptor - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.getownpropertydescriptor - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.getprototypeof - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.getprototypeof - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.setprototypeof - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.setprototypeof - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.preventextensions - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.preventextensions - [✖] no-delete-var - - 15 links checked. - - ERROR: 1 dead links found! - [✖] no-delete-var → Status: 400 - -FILE: src//rules/logical-assignment-operators.md - [✖] ./operator-assignment - - 1 links checked. - - ERROR: 1 dead links found! - [✖] ./operator-assignment → Status: 400 - -FILE: src//rules/no-useless-backreference.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions - - 1 links checked. - -FILE: src//rules/max-lines-per-function.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/radix.md - [✓] https://davidwalsh.name/parseint-radix - - 1 links checked. - -FILE: src//rules/no-space-before-semi.md - [✖] semi-spacing - - 1 links checked. - - ERROR: 1 dead links found! - [✖] semi-spacing → Status: 400 - -FILE: src//rules/no-constant-binary-expression.md - [✓] https://eslint.org/blog/2022/07/interesting-bugs-caught-by-no-constant-binary-expression/ - - 1 links checked. - -FILE: src//rules/brace-style.md - [✓] https://en.wikipedia.org/wiki/Indent_style - [✓] https://en.wikipedia.org/wiki/Indent_style#Allman_style - - 2 links checked. - -FILE: src//rules/no-control-regex.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-sparse-arrays.md - [✓] https://www.nczonline.net/blog/2007/09/09/inconsistent-array-literals/ - - 1 links checked. - -FILE: src//rules/no-unused-vars.md - [✓] https://github.com/tc39/proposal-object-rest-spread - - 1 links checked. - -FILE: src//rules/linebreak-style.md - [✓] https://git-scm.com/ - [✓] https://git-scm.com/docs/gitattributes - [✓] https://jscs-dev.github.io/rule/validateLineBreaks - - 3 links checked. - -FILE: src//rules/prefer-numeric-literals.md - [✓] https://jscs-dev.github.io/rule/requireNumericLiterals - - 1 links checked. - -FILE: src//rules/no-alert.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/func-style.md - [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html - - 1 links checked. - -FILE: src//rules/capitalized-comments.md - [✓] https://jscs-dev.github.io/rule/requireCapitalizedComments - [✓] https://jscs-dev.github.io/rule/disallowCapitalizedComments - - 2 links checked. - -FILE: src//rules/no-sequences.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-whitespace-before-property.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-duplicate-case.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/object-shorthand.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer - - 1 links checked. - -FILE: src//rules/yoda.md - [✓] https://en.wikipedia.org/wiki/Yoda_conditions - [✓] http://thomas.tuerke.net/on/design/?with=1249091668#msg1146181680 - - 2 links checked. - -FILE: src//rules/prefer-regex-literals.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp - - 2 links checked. - -FILE: src//rules/no-restricted-modules.md - [✓] https://github.com/mysticatea/eslint-plugin-node - [✓] https://github.com/nodejs/node/tree/master/lib - - 2 links checked. - -FILE: src//rules/no-constructor-return.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/sort-keys.md - [✓] https://jscs-dev.github.io/rule/validateOrderInObjectKeys - - 1 links checked. - -FILE: src//rules/template-tag-spacing.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_template_literals - [✓] https://exploringjs.com/es6/ch_template-literals.html#_examples-of-using-tagged-template-literals - [✖] #further-reading - - 3 links checked. - - ERROR: 1 dead links found! - [✖] #further-reading → Status: 404 - -FILE: src//rules/no-reserved-keys.md - [✓] https://kangax.github.io/compat-table/es5/#Reserved_words_as_property_names - [✖] quote-props - - 2 links checked. - - ERROR: 1 dead links found! - [✖] quote-props → Status: 400 - -FILE: src//rules/no-cond-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-unreachable-loop.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/eqeqeq.md - [✓] https://www.ecma-international.org/ecma-262/5.1/#sec-11.9.3 - - 1 links checked. - -FILE: src//rules/no-proto.md - [✓] https://johnresig.com/blog/objectgetprototypeof/ - - 1 links checked. - -FILE: src//rules/no-process-exit.md - [✓] https://github.com/mysticatea/eslint-plugin-node - [✓] https://nodejs.org/api/process.html#process_process_exitcode - - 2 links checked. - -FILE: src//rules/id-denylist.md - [✖] ../users/configuring/rules - - 1 links checked. - - ERROR: 1 dead links found! - [✖] ../users/configuring/rules → Status: 400 - -FILE: src//rules/newline-after-var.md - [✖] padding-line-between-statements - - 1 links checked. - - ERROR: 1 dead links found! - [✖] padding-line-between-statements → Status: 400 - -FILE: src//rules/no-extra-bind.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind - [✓] https://www.smashingmagazine.com/2014/01/understanding-javascript-function-prototype-bind/ - - 2 links checked. - -FILE: src//rules/comma-dangle.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/prefer-exponentiation-operator.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation - [✓] https://bugs.chromium.org/p/v8/issues/detail?id=5848 - - 2 links checked. - -FILE: src//rules/no-nonoctal-decimal-escape.md - [✓] https://tc39.es/ecma262/#prod-annexB-NonOctalDecimalEscapeSequence - - 1 links checked. - -FILE: src//rules/no-mixed-operators.md - [✖] no-extra-parens - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-extra-parens → Status: 400 - -FILE: src//rules/no-new-object.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-octal.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-magic-numbers.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length - - 1 links checked. - -FILE: src//rules/eol-last.md - [✖] no-multiple-empty-lines - [✖] no-trailing-spaces - - 2 links checked. - - ERROR: 2 dead links found! - [✖] no-multiple-empty-lines → Status: 400 - [✖] no-trailing-spaces → Status: 400 - -FILE: src//rules/arrow-body-style.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/space-before-function-paren.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-unmodified-loop-condition.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-param-reassign.md - [✓] https://spin.atomicobject.com/2011/04/10/javascript-don-t-reassign-your-function-arguments/ - - 1 links checked. - -FILE: src//rules/global-strict.md - [✖] strict - - 1 links checked. - - ERROR: 1 dead links found! - [✖] strict → Status: 400 - -FILE: src//rules/no-unused-labels.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-negated-in-lhs.md - [✖] no-unsafe-negation - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-unsafe-negation → Status: 400 - -FILE: src//rules/vars-on-top.md - [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var#var_hoisting - [✓] https://danhough.com/blog/single-var-pattern-rant/ - [✓] https://benalman.com/news/2012/05/multiple-var-statements-javascript/ - - 4 links checked. - -FILE: src//rules/no-extend-native.md - No hyperlinks found! - - 0 links checked. - -FILE: src//rules/no-ex-assign.md - [✓] https://bocoup.com/blog/the-catch-with-try-catch - - 1 links checked. - -FILE: src//rules/use-isnan.md -^C -➜ docs git:(ia_updates) ✗ find src -name \*.md -print0 | xargs -0 -n1 markdown-link-check - -FILE: src/extend/shareable-configs.md - [✓] https://www.npmjs.com/ - [✓] https://docs.npmjs.com/getting-started/creating-node-modules - [✓] https://docs.npmjs.com/misc/scope - [✓] https://docs.npmjs.com/getting-started/publishing-npm-packages - [✓] https://docs.npmjs.com/files/package.json#peerdependencies - [✓] https://docs.npmjs.com/misc/developers - - 6 links checked. - -FILE: src/extend/custom-parsers.md - [✖] ./scope-manager-interface - [✓] https://github.com/eslint/eslint-scope - [✓] https://github.com/eslint/eslint-visitor-keys#evkkeys - [✓] https://github.com/typescript-eslint/typescript-eslint - [✓] https://github.com/estree/estree - [✓] https://github.com/estree/estree/blob/25834f7247d44d3156030f8e8a2d07644d771fdb/es5.md#node-objects - - 6 links checked. - - ERROR: 1 dead links found! - [✖] ./scope-manager-interface → Status: 400 - -FILE: src/extend/custom-formatters.md - [✓] https://www.npmjs.com/search?q=eslint-formatter - [✖] https://github.com/estree/estree/blob/master/spec.md#node-objects - [✖] nodejs-api#-new-eslintoptions - [✖] working-with-rules - [✖] ../users/formatters/ - [✓] https://www.iterm2.com/ - [✓] http://guake-project.org/ - - 7 links checked. - - ERROR: 4 dead links found! - [✖] https://github.com/estree/estree/blob/master/spec.md#node-objects → Status: 404 - [✖] nodejs-api#-new-eslintoptions → Status: 400 - [✖] working-with-rules → Status: 400 - [✖] ../users/formatters/ → Status: 400 - -FILE: src/extend/nodejs-api.md - [✓] #linter - [✖] #-eslintlintfilespatterns - [✖] ../users/configuring/ - [✖] #-eslintlinttextcode-options - [✖] #-lintresult-type - [✖] ../users/formatters/ - [✓] https://www.npmjs.com/search?q=eslintformatter - [✖] #-loadedformatter-type - [✖] #-lintmessage-type - [✖] #-suppressedlintmessage-type - [✖] #-editinfo-type - [✖] #-eslintloadformatternameorpath - [✓] https://github.com/estree/estree - [✓] #eslint-class - [✖] ./custom-rules#the-context-object - [✓] https://eslint.org/demo - [✖] working-with-plugins#processors-in-plugins - [✖] ./custom-rules#providing-suggestions - [✖] working-with-custom-parsers - [✖] ./custom-rules - [✓] #testing-errors-with-messageid - [✓] #testing-suggestions - [✓] https://mochajs.org/ - - 23 links checked. - - ERROR: 15 dead links found! - [✖] #-eslintlintfilespatterns → Status: 404 - [✖] ../users/configuring/ → Status: 400 - [✖] #-eslintlinttextcode-options → Status: 404 - [✖] #-lintresult-type → Status: 404 - [✖] ../users/formatters/ → Status: 400 - [✖] #-loadedformatter-type → Status: 404 - [✖] #-lintmessage-type → Status: 404 - [✖] #-suppressedlintmessage-type → Status: 404 - [✖] #-editinfo-type → Status: 404 - [✖] #-eslintloadformatternameorpath → Status: 404 - [✖] ./custom-rules#the-context-object → Status: 400 - [✖] working-with-plugins#processors-in-plugins → Status: 400 - [✖] ./custom-rules#providing-suggestions → Status: 400 - [✖] working-with-custom-parsers → Status: 400 - [✖] ./custom-rules → Status: 400 - -FILE: src/extend/custom-rules.md - [✖] ./custom-rules-deprecated - [✓] ../rules/ - [✖] ../users/configuring/configuration-files#extending-configuration-files - [✖] ../users/command-line-interface#--fix - [✓] #options-schemas - [✖] ../users/configuring/rules#configuring-rules - [✓] https://github.com/estree/estree - [✖] ./selectors - [✖] ./code-path-analysis - [✖] ../rules/array-callback-return - [✖] ../users/configuring/language-options#specifying-parser-options - [✓] #contextoptions - [✖] ../users/configuring/configuration-files#adding-shared-settings - [✖] ./nodejs-api#linter - [✖] ./scope-manager-interface#variable-interface - [✖] ./scope-manager-interface#scope-interface - [✓] #contextgetsourcecode - [✖] ../rules/no-unused-vars - [✓] #contextreport - [✓] ./scope-manager-interface.md#scope-interface - [✖] ./scope-manager-interface#reference-interface - [✖] ./scope-manager-interface#definition-interface - [✓] https://github.com/eslint/eslint/blob/main/lib/rules/no-shadow.js - [✖] ../rules/no-shadow - [✓] https://github.com/eslint/eslint/blob/main/lib/rules/no-redeclare.js - [✖] ../rules/no-redeclare - [✓] #using-message-placeholders - [✓] #applying-fixes - [✓] #rule-basics - [✖] ../rules/quotes - [✓] #suggestion-messageids - [✓] #messageids - [✖] ./scope-manager-interface#scopemanager-interface - [✓] https://json-schema.org/ - [✓] https://json-schema.org/learn/ - [✓] https://json-schema.org/understanding-json-schema/ - [✖] nodejs-api#ruletester - [✖] ../users/configuring/ - [✖] ../users/command-line-interface - - 39 links checked. - - ERROR: 22 dead links found! - [✖] ./custom-rules-deprecated → Status: 400 - [✖] ../users/configuring/configuration-files#extending-configuration-files → Status: 400 - [✖] ../users/command-line-interface#--fix → Status: 400 - [✖] ../users/configuring/rules#configuring-rules → Status: 400 - [✖] ./selectors → Status: 400 - [✖] ./code-path-analysis → Status: 400 - [✖] ../rules/array-callback-return → Status: 400 - [✖] ../users/configuring/language-options#specifying-parser-options → Status: 400 - [✖] ../users/configuring/configuration-files#adding-shared-settings → Status: 400 - [✖] ./nodejs-api#linter → Status: 400 - [✖] ./scope-manager-interface#variable-interface → Status: 400 - [✖] ./scope-manager-interface#scope-interface → Status: 400 - [✖] ../rules/no-unused-vars → Status: 400 - [✖] ./scope-manager-interface#reference-interface → Status: 400 - [✖] ./scope-manager-interface#definition-interface → Status: 400 - [✖] ../rules/no-shadow → Status: 400 - [✖] ../rules/no-redeclare → Status: 400 - [✖] ../rules/quotes → Status: 400 - [✖] ./scope-manager-interface#scopemanager-interface → Status: 400 - [✖] nodejs-api#ruletester → Status: 400 - [✖] ../users/configuring/ → Status: 400 - [✖] ../users/command-line-interface → Status: 400 - -FILE: src/extend/index.md - [✖] source-code - [✖] development-environment - [✖] unit-tests - [✖] custom-rules - [✖] custom-plugins - [✖] custom-parsers - [✖] nodejs-api - [✖] contribute/ - - 8 links checked. - - ERROR: 8 dead links found! - [✖] source-code → Status: 400 - [✖] development-environment → Status: 400 - [✖] unit-tests → Status: 400 - [✖] custom-rules → Status: 400 - [✖] custom-plugins → Status: 400 - [✖] custom-parsers → Status: 400 - [✖] nodejs-api → Status: 400 - [✖] contribute/ → Status: 400 - -FILE: src/extend/plugins.md - [✓] https://www.npmjs.com/package/generator-eslint - [✖] ../users/command-line-interface#--ext - [✖] ../users/configuring/plugins#specify-a-processor - [✖] ../users/configuring/plugins#configure-plugins - [✖] nodejs-api#ruletester - [✓] https://www.npmjs.com/package/eslint - [✓] https://www.npmjs.com/package/eslint-plugin-eslint-plugin - [✓] https://www.npmjs.com/package/eslint-plugin-node - [✓] https://docs.npmjs.com/misc/developers - - 9 links checked. - - ERROR: 4 dead links found! - [✖] ../users/command-line-interface#--ext → Status: 400 - [✖] ../users/configuring/plugins#specify-a-processor → Status: 400 - [✖] ../users/configuring/plugins#configure-plugins → Status: 400 - [✖] nodejs-api#ruletester → Status: 400 - -FILE: src/extend/selectors.md - [✓] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors - [✓] #known-issues - [✓] https://github.com/estools/esquery - [✖] ../rules/no-restricted-syntax - [✓] https://github.com/estools/esquery/issues/68 - - 5 links checked. - - ERROR: 1 dead links found! - [✖] ../rules/no-restricted-syntax → Status: 400 - -FILE: src/extend/scope-manager-interface.md - [✓] https://github.com/eslint/eslint-scope - [✓] https://github.com/estools/escope - - 2 links checked. - -FILE: src/extend/working-with-rules-deprecated.md - [✖] ./custom-rules - [✓] #options-schemas - [✖] ../users/configuring/rules#configuring-rules - [✓] https://github.com/estree/estree - [✖] ./code-path-analysis - [✖] ../rules/array-callback-return - [✖] ../users/configuring/language-options#specifying-parser-options - [✖] ../rules/no-unused-vars - [✓] http://json-schema.org/ - [✖] http://json-schema.org/examples.html - [✓] http://spacetelescope.github.io/understanding-json-schema/ - [✖] ../users/configuring/ - [✖] ../users/command-line-interface - - 13 links checked. - - ERROR: 9 dead links found! - [✖] ./custom-rules → Status: 400 - [✖] ../users/configuring/rules#configuring-rules → Status: 400 - [✖] ./code-path-analysis → Status: 400 - [✖] ../rules/array-callback-return → Status: 400 - [✖] ../users/configuring/language-options#specifying-parser-options → Status: 400 - [✖] ../rules/no-unused-vars → Status: 400 - [✖] http://json-schema.org/examples.html → Status: 404 - [✖] ../users/configuring/ → Status: 400 - [✖] ../users/command-line-interface → Status: 400 - -FILE: src/library/buttons.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/rule-list.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/code-blocks.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/link-card.md - [✓] https://blog.izs.me/2010/12/an-open-letter-to-javascript-leaders-regarding/ - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get - - 2 links checked. - -FILE: src/library/rule.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/theme-switcher.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/alert.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/code-tabs.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/related-rules.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/language-switcher.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/social-icons.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/version-switcher.md - No hyperlinks found! - - 0 links checked. - -FILE: src/library/rule-categories.md - [✓] ../rules/ - - 1 links checked. - -FILE: src/about/index.md - [✓] https://en.wikipedia.org/wiki/Lint_(software) - [✓] https://npmjs.org/ - - 2 links checked. - -FILE: src/use/migrating-to-6.0.0.md - [✖] #drop-node-6 - [✖] #eslint-recommended-changes - [✖] #package-loading-simplification - [✖] #espree-validation - [✖] #rule-config-validating - [✖] #no-redeclare-updates - [✖] #comma-dangle-updates - [✖] #no-confusing-arrow-updates - [✖] #overrides-dotfiles - [✖] #overrides-precedence - [✖] #globals-validation - [✖] #experimental-object-rest-spread - [✖] #unicode-regexes - [✖] #plugin-documentation - [✖] #rule-tester-defaults - [✖] #rule-tester-parser - [✖] #eslintExplicitGlobalComment - [✖] #linter-parsers - [✓] https://github.com/eslint/eslint/issues/11456 - [✖] ../users/configuring#using-eslintrecommended - [✖] ../rules/no-async-promise-executor - [✖] ../rules/no-misleading-character-class - [✖] ../rules/no-prototype-builtins - [✖] ../rules/no-shadow-restricted-names - [✖] ../rules/no-useless-catch - [✖] ../rules/no-with - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with - [✖] ../rules/require-atomic-updates - [✖] ../rules/no-console - [✓] https://github.com/eslint/eslint/issues/10768 - [✓] https://github.com/eslint/eslint/issues/10873 - [✓] https://github.com/lerna/lerna - [✓] https://yarnpkg.com/lang/en/docs/pnp/ - [✖] ./command-line-interface#--resolve-plugins-relative-to - [✓] https://github.com/eslint/eslint/issues/10125 - [✓] https://github.com/eslint/rfcs/pull/7 - [✓] https://github.com/eslint/eslint/issues/9687 - [✓] https://github.com/eslint/espree/issues/384 - [✓] https://github.com/eslint/eslint/issues/9505 - [✖] ../rules/no-redeclare - [✓] https://github.com/eslint/eslint/issues/11370 - [✓] https://github.com/eslint/eslint/issues/11405 - [✖] ../rules/comma-dangle - [✓] https://github.com/eslint/eslint/issues/11502 - [✖] ../rules/no-confusing-arrow - [✓] https://github.com/eslint/eslint/issues/11503 - [✖] ../users/configuring#configuration-based-on-glob-patterns - [✓] https://github.com/eslint/eslint/issues/11201 - [✓] https://github.com/eslint/eslint/issues/11510 - [✓] https://github.com/eslint/eslint/issues/9990 - [✖] ../rules/max-len - [✓] https://mathiasbynens.be/notes/es6-unicode-regex - [✓] https://github.com/eslint/eslint/issues/11423 - [✓] https://github.com/eslint/generator-eslint - [✓] https://github.com/eslint/eslint/issues/11473 - [✓] https://github.com/eslint/eslint/issues/11728 - [✓] https://github.com/eslint/rfcs/pull/17 - [✖] ../extend/nodejs-api#linterdefineparser - - 58 links checked. - - ERROR: 34 dead links found! - [✖] #drop-node-6 → Status: 404 - [✖] #eslint-recommended-changes → Status: 404 - [✖] #package-loading-simplification → Status: 404 - [✖] #espree-validation → Status: 404 - [✖] #rule-config-validating → Status: 404 - [✖] #no-redeclare-updates → Status: 404 - [✖] #comma-dangle-updates → Status: 404 - [✖] #no-confusing-arrow-updates → Status: 404 - [✖] #overrides-dotfiles → Status: 404 - [✖] #overrides-precedence → Status: 404 - [✖] #globals-validation → Status: 404 - [✖] #experimental-object-rest-spread → Status: 404 - [✖] #unicode-regexes → Status: 404 - [✖] #plugin-documentation → Status: 404 - [✖] #rule-tester-defaults → Status: 404 - [✖] #rule-tester-parser → Status: 404 - [✖] #eslintExplicitGlobalComment → Status: 404 - [✖] #linter-parsers → Status: 404 - [✖] ../users/configuring#using-eslintrecommended → Status: 400 - [✖] ../rules/no-async-promise-executor → Status: 400 - [✖] ../rules/no-misleading-character-class → Status: 400 - [✖] ../rules/no-prototype-builtins → Status: 400 - [✖] ../rules/no-shadow-restricted-names → Status: 400 - [✖] ../rules/no-useless-catch → Status: 400 - [✖] ../rules/no-with → Status: 400 - [✖] ../rules/require-atomic-updates → Status: 400 - [✖] ../rules/no-console → Status: 400 - [✖] ./command-line-interface#--resolve-plugins-relative-to → Status: 400 - [✖] ../rules/no-redeclare → Status: 400 - [✖] ../rules/comma-dangle → Status: 400 - [✖] ../rules/no-confusing-arrow → Status: 400 - [✖] ../users/configuring#configuration-based-on-glob-patterns → Status: 400 - [✖] ../rules/max-len → Status: 400 - [✖] ../extend/nodejs-api#linterdefineparser → Status: 400 - -FILE: src/use/rule-deprecation.md - No hyperlinks found! - - 0 links checked. - -FILE: src/use/migrating-to-4.0.0.md - [✖] #eslint-recommended-changes - [✖] #indent-rewrite - [✖] #config-validation - [✖] #eslintignore-patterns - [✖] #padded-blocks-defaults - [✖] #space-before-function-paren-defaults - [✖] #no-multi-spaces-eol-comments - [✖] #scoped-plugin-resolution - [✖] #rule-tester-validation - [✖] #comment-attachment - [✖] #event-comments - [✖] #shebangs - [✖] #global-property - [✖] #report-locations - [✖] #exposed-es2015-classes - [✖] configuring#using-eslintrecommended - [✖] ../rules/no-compare-neg-zero - [✖] ../rules/no-useless-escape - [✖] ../rules/indent - [✖] ../rules/indent-legacy - [✖] ../rules/padded-blocks - [✖] ../rules/space-before-function-paren - [✖] ../rules/no-multi-spaces - - 23 links checked. - - ERROR: 23 dead links found! - [✖] #eslint-recommended-changes → Status: 404 - [✖] #indent-rewrite → Status: 404 - [✖] #config-validation → Status: 404 - [✖] #eslintignore-patterns → Status: 404 - [✖] #padded-blocks-defaults → Status: 404 - [✖] #space-before-function-paren-defaults → Status: 404 - [✖] #no-multi-spaces-eol-comments → Status: 404 - [✖] #scoped-plugin-resolution → Status: 404 - [✖] #rule-tester-validation → Status: 404 - [✖] #comment-attachment → Status: 404 - [✖] #event-comments → Status: 404 - [✖] #shebangs → Status: 404 - [✖] #global-property → Status: 404 - [✖] #report-locations → Status: 404 - [✖] #exposed-es2015-classes → Status: 404 - [✖] configuring#using-eslintrecommended → Status: 400 - [✖] ../rules/no-compare-neg-zero → Status: 400 - [✖] ../rules/no-useless-escape → Status: 400 - [✖] ../rules/indent → Status: 400 - [✖] ../rules/indent-legacy → Status: 400 - [✖] ../rules/padded-blocks → Status: 400 - [✖] ../rules/space-before-function-paren → Status: 400 - [✖] ../rules/no-multi-spaces → Status: 400 - -FILE: src/use/migrating-to-8.0.0.md - [✖] #drop-old-node - [✖] #removed-formatters - [✖] #comma-dangle - [✖] #directives - [✖] #eslint-recommended - [✖] #suggestions - [✖] #fixes - [✖] #get-comments - [✖] #ast-format - [✖] #remove-cliengine - [✖] #remove-linter - [✖] #remove-lib - [✓] https://github.com/eslint/eslint/issues/14023 - [✓] https://github.com/fregante/eslint-formatter-codeframe - [✓] https://github.com/fregante/eslint-formatter-table - [✓] https://github.com/eslint/eslint/issues/14277 - [✓] https://github.com/eslint/eslint/pull/14316 - [✓] https://github.com/eslint/eslint/issues/13739 - [✓] https://github.com/eslint/eslint/issues/11815 - [✖] ../rules/no-loss-of-precision - [✖] ../rules/no-nonoctal-decimal-escape - [✖] ../rules/no-unsafe-optional-chaining - [✖] ../rules/no-useless-backreference - [✓] https://github.com/eslint/eslint/issues/14673 - [✖] ../extend/custom-rules#providing-suggestions - [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/require-meta-has-suggestions.md - [✓] https://github.com/eslint/eslint/issues/14312 - [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/require-meta-fixable.md - [✓] https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/prefer-object-rule.md - [✖] ../extend/custom-rules - [✓] https://github.com/eslint/eslint/issues/13349 - [✖] ../extend/custom-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside - [✓] https://github.com/eslint/eslint/issues/14744 - [✓] https://github.com/eslint/eslint/pull/14591#issuecomment-887733070 - [✖] ../extend/nodejs-api#eslint-class - [✓] https://github.com/eslint/rfcs/tree/main/designs/2021-package-exports - [✓] https://github.com/eslint/eslint/pull/14716 - [✓] https://github.com/eslint/eslint/issues/13654 - - 38 links checked. - - ERROR: 20 dead links found! - [✖] #drop-old-node → Status: 404 - [✖] #removed-formatters → Status: 404 - [✖] #comma-dangle → Status: 404 - [✖] #directives → Status: 404 - [✖] #eslint-recommended → Status: 404 - [✖] #suggestions → Status: 404 - [✖] #fixes → Status: 404 - [✖] #get-comments → Status: 404 - [✖] #ast-format → Status: 404 - [✖] #remove-cliengine → Status: 404 - [✖] #remove-linter → Status: 404 - [✖] #remove-lib → Status: 404 - [✖] ../rules/no-loss-of-precision → Status: 400 - [✖] ../rules/no-nonoctal-decimal-escape → Status: 400 - [✖] ../rules/no-unsafe-optional-chaining → Status: 400 - [✖] ../rules/no-useless-backreference → Status: 400 - [✖] ../extend/custom-rules#providing-suggestions → Status: 400 - [✖] ../extend/custom-rules → Status: 400 - [✖] ../extend/custom-rules#sourcecodegetcommentsbefore-sourcecodegetcommentsafter-and-sourcecodegetcommentsinside → Status: 400 - [✖] ../extend/nodejs-api#eslint-class → Status: 400 - -FILE: src/use/configure/configuration-files-new.md - [✓] #configuration-objects - [✓] https://www.npmjs.com/package/minimatch - [✓] https://www.npmjs.com/package/@babel/eslint-parser - [✖] ../../rules/semi - - 4 links checked. - - ERROR: 1 dead links found! - [✖] ../../rules/semi → Status: 400 - -FILE: src/use/configure/index.md - [✖] ./configuration-files#configuration-file-formats - [✓] https://docs.npmjs.com/files/package.json - [✖] ../command-line-interface - [✖] ./language-options#specifying-environments - [✖] ./language-options#specifying-globals - [✖] rules - [✖] plugins - [✖] configuration-files - [✖] ./configuration-files#using-configuration-files - [✖] ./configuration-files#adding-shared-settings - [✖] ./configuration-files#cascading-and-hierarchy - [✖] ./configuration-files#extending-configuration-files - [✖] ./configuration-files#configuration-based-on-glob-patterns - [✖] ./configuration-files#personal-configuration-files-deprecated - [✖] language-options - [✖] ./language-options#specifying-parser-options - [✖] ./rules#configuring-rules - [✖] ./rules#disabling-rules - [✖] ./plugins#configure-plugins - [✖] ./plugins#specify-a-processor - [✖] ./plugins#configure-a-parser - [✖] ignoring-code - [✖] ./ignore#ignorepatterns-in-config-files - [✖] ./ignore#the-eslintignore-file - [✖] ./ignore#using-an-alternate-file - [✖] ./ignore#using-eslintignore-in-packagejson - [✖] ./ignore#ignored-file-warnings - - 27 links checked. - - ERROR: 26 dead links found! - [✖] ./configuration-files#configuration-file-formats → Status: 400 - [✖] ../command-line-interface → Status: 400 - [✖] ./language-options#specifying-environments → Status: 400 - [✖] ./language-options#specifying-globals → Status: 400 - [✖] rules → Status: 400 - [✖] plugins → Status: 400 - [✖] configuration-files → Status: 400 - [✖] ./configuration-files#using-configuration-files → Status: 400 - [✖] ./configuration-files#adding-shared-settings → Status: 400 - [✖] ./configuration-files#cascading-and-hierarchy → Status: 400 - [✖] ./configuration-files#extending-configuration-files → Status: 400 - [✖] ./configuration-files#configuration-based-on-glob-patterns → Status: 400 - [✖] ./configuration-files#personal-configuration-files-deprecated → Status: 400 - [✖] language-options → Status: 400 - [✖] ./language-options#specifying-parser-options → Status: 400 - [✖] ./rules#configuring-rules → Status: 400 - [✖] ./rules#disabling-rules → Status: 400 - [✖] ./plugins#configure-plugins → Status: 400 - [✖] ./plugins#specify-a-processor → Status: 400 - [✖] ./plugins#configure-a-parser → Status: 400 - [✖] ignoring-code → Status: 400 - [✖] ./ignore#ignorepatterns-in-config-files → Status: 400 - [✖] ./ignore#the-eslintignore-file → Status: 400 - [✖] ./ignore#using-an-alternate-file → Status: 400 - [✖] ./ignore#using-eslintignore-in-packagejson → Status: 400 - [✖] ./ignore#ignored-file-warnings → Status: 400 - -FILE: src/use/configure/plugins.md - [✓] https://github.com/eslint/espree - [✖] ../../extend/custom-parsers - [✓] https://www.npmjs.com/package/esprima - [✓] https://www.npmjs.com/package/@babel/eslint-parser - [✓] https://babeljs.io - [✓] https://www.npmjs.com/package/@typescript-eslint/parser - - 6 links checked. - - ERROR: 1 dead links found! - [✖] ../../extend/custom-parsers → Status: 400 - -FILE: src/use/configure/configuration-files.md - [✓] #cascading-and-hierarchy - [✖] ../command-line-interface#--no-eslintrc - [✖] ../../users/command-line-interface#-c---config - [✓] https://nodejs.org/api/os.html#os_os_homedir - [✖] configuration-files#personal-configuration-files-deprecated - [✖] ../../extend/shareable-configs - [✓] ../../rules/ - [✖] ../../extend/plugins - [✖] ../../extend/plugins#configs-in-plugins - [✖] ./plugins#configure-plugins - [✓] #using-configuration-files - [✖] ../../rules/quotes - [✖] ../command-line-interface#--fix - [✓] https://github.com/isaacs/minimatch - [✖] ../command-line-interface#--ext - [✖] ../command-line-interface#-c---config - [✓] https://github.com/eslint/rfcs/pull/28 - [✓] https://github.com/eslint/rfcs/pull/32 - [✖] ../command-line-interface#--resolve-plugins-relative-to - - 19 links checked. - - ERROR: 12 dead links found! - [✖] ../command-line-interface#--no-eslintrc → Status: 400 - [✖] ../../users/command-line-interface#-c---config → Status: 400 - [✖] configuration-files#personal-configuration-files-deprecated → Status: 400 - [✖] ../../extend/shareable-configs → Status: 400 - [✖] ../../extend/plugins → Status: 400 - [✖] ../../extend/plugins#configs-in-plugins → Status: 400 - [✖] ./plugins#configure-plugins → Status: 400 - [✖] ../../rules/quotes → Status: 400 - [✖] ../command-line-interface#--fix → Status: 400 - [✖] ../command-line-interface#--ext → Status: 400 - [✖] ../command-line-interface#-c---config → Status: 400 - [✖] ../command-line-interface#--resolve-plugins-relative-to → Status: 400 - -FILE: src/use/configure/rules.md - [✓] ../../rules/ - [✖] ../../rules/eqeqeq - [✖] ../../rules/curly - [✖] ../../rules/quotes - [✖] ../command-line-interface#--no-inline-config - [✖] ../command-line-interface#--report-unused-disable-directives - - 6 links checked. - - ERROR: 5 dead links found! - [✖] ../../rules/eqeqeq → Status: 400 - [✖] ../../rules/curly → Status: 400 - [✖] ../../rules/quotes → Status: 400 - [✖] ../command-line-interface#--no-inline-config → Status: 400 - [✖] ../command-line-interface#--report-unused-disable-directives → Status: 400 - -FILE: src/use/configure/ignore-code.md - [✖] ./ignore#the-eslintignore-file - [✓] https://github.com/kaelzhang/node-ignore - [✖] ../command-line-interface#--ignore-pattern - [✓] https://git-scm.com/docs/gitignore - - 4 links checked. - - ERROR: 2 dead links found! - [✖] ./ignore#the-eslintignore-file → Status: 400 - [✖] ../command-line-interface#--ignore-pattern → Status: 400 - -FILE: src/use/configure/language-options.md - [✓] https://github.com/amdjs/amdjs-api/wiki/AMD - [✖] ../command-line-interface - [✓] https://github.com/yannickcr/eslint-plugin-react - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode - [✓] https://facebook.github.io/jsx/ - - 5 links checked. - - ERROR: 1 dead links found! - [✖] ../command-line-interface → Status: 400 - -FILE: src/use/integrations.md - [✖] ../contribute/pull-requests - [✓] https://github.com/roadhump/SublimeLinter-eslint - [✓] https://github.com/albertosantini/sublimetext-buildnext - [✓] https://github.com/w0rp/ale - [✓] https://github.com/vim-syntastic/syntastic/tree/master/syntax_checkers/javascript - [✓] http://www.flycheck.org/ - [✓] http://www.flycheck.org/en/latest/languages.html#javascript - [✓] https://dev.eclipse.org/mhonarc/lists/orion-dev/msg02718.html - [✓] https://github.com/angelozerr/tern.java/wiki/Tern-Linter-ESLint - [✓] https://github.com/ryanfitzer/eslint.tmbundle - [✓] https://github.com/natesilva/javascript-eslint.tmbundle - [✖] https://atom.io/packages/linter-eslint - [✓] https://atom.io/packages/fast-eslint-8 - [✓] https://www.jetbrains.com/help/webstorm/eslint.html - [✓] https://learn.microsoft.com/en-us/visualstudio/javascript/linting-javascript?view=vs-2022 - [✓] https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint - [✓] https://github.com/brackets-userland/brackets-eslint - [✓] https://www.npmjs.com/package/grunt-eslint - [✓] https://www.npmjs.com/package/gulp-eslint - [✓] https://www.npmjs.com/package/mimosa-eslint - [✓] https://www.npmjs.com/package/broccoli-eslint - [✓] https://www.npmjs.com/package/eslintify - [✓] https://www.npmjs.com/package/eslint-webpack-plugin - [✓] https://www.npmjs.com/package/@rollup/plugin-eslint - [✓] https://www.npmjs.com/package/ember-cli-eslint - [✓] https://www.npmjs.com/package/sails-hook-lint - [✓] https://www.npmjs.com/package/sails-eslint - [✓] https://www.npmjs.com/package/@start/plugin-lib-eslint - [✓] https://www.npmjs.com/package/eslint-brunch - [✓] https://www.npmjs.com/package/eslint-watch - [✓] https://github.com/codeclimate/codeclimate - [✓] https://github.com/IanVS/eslint-nibble - [✓] https://coderwall.com/p/zq8jlq/eslint-pre-commit-hook - [✓] https://gist.github.com/dahjelle/8ddedf0aebd488208a9a7c829f19b9e8 - [✓] https://github.com/brigade/overcommit - [✓] https://nvuillam.github.io/mega-linter - [✖] https://nvuillam.github.io/mega-linter/descriptors/javascript_eslint/ - [✓] https://www.npmjs.com/package/mocha-eslint - [✓] https://github.com/dustinspecker/awesome-eslint - - 39 links checked. - - ERROR: 3 dead links found! - [✖] ../contribute/pull-requests → Status: 400 - [✖] https://atom.io/packages/linter-eslint → Status: 500 - [✖] https://nvuillam.github.io/mega-linter/descriptors/javascript_eslint/ → Status: 404 - -FILE: src/use/command-line-interface.md - [✖] getting-started - [✓] https://docs.npmjs.com/cli/v8/commands/npx - [✓] https://yarnpkg.com/ - [✓] https://pnpm.io/ - [✓] #--ignore-pattern - [✖] configuring/ - [✖] configuring/language-options#specifying-environments - [✖] ../rules/no-undef - [✓] https://github.com/gkz/levn#levn-- - [✓] #--no-eslintrc - [✓] #--fix-dry-run - [✖] ./configuring/configuration-files-new - [✖] configuring/ignore#the-eslintignore-file - [✓] https://git-scm.com/docs/gitignore - [✓] formatters/ - [✓] formatters/#stylish - [✓] #--max-warnings - - 17 links checked. - - ERROR: 6 dead links found! - [✖] getting-started → Status: 400 - [✖] configuring/ → Status: 400 - [✖] configuring/language-options#specifying-environments → Status: 400 - [✖] ../rules/no-undef → Status: 400 - [✖] ./configuring/configuration-files-new → Status: 400 - [✖] configuring/ignore#the-eslintignore-file → Status: 400 - -FILE: src/use/migrating-to-2.0.0.md - [✖] ./migrating-to-1.0.0 - [✖] ../rules/no-arrow-condition - [✖] ../rules/no-confusing-arrow - [✖] ../rules/no-constant-condition - [✖] ../rules/no-empty-label - [✖] ../rules/no-labels - [✖] ../rules/space-after-keywords - [✖] ../rules/keyword-spacing - [✖] ../rules/space-before-keywords - [✖] ../rules/space-return-throw-case - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-arrow-functions - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-octal-and-binary-literals - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-block-bindings - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-default-parameters - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-destructuring-assignment - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-iterables-and-for-of - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-generators - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-computed-property-names - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-duplicate-object-literal-properties - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-method-initializer-shorthand - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-property-initializer-shorthand - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-regular-expression-u-flag - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-regular-expression-y-flag - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-rest-parameters - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-the-spread-operator - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-template-strings - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-escaping-non-bmp-characters - [✖] ../rules/constructor-super - [✖] ../rules/no-case-declarations - [✖] ../rules/no-class-assign - [✖] ../rules/no-const-assign - [✖] ../rules/no-dupe-class-members - [✖] ../rules/no-empty-pattern - [✖] ../rules/no-new-symbol - [✖] ../rules/no-self-assign - [✖] ../rules/no-this-before-super - [✖] ../rules/no-unexpected-multiline - [✖] ../rules/no-unused-labels - [✓] https://estools.github.io/escope/ - [✖] ../rules/no-multiple-empty-lines - [✖] ../rules/func-style - [✖] ../rules/strict - - 42 links checked. - - ERROR: 24 dead links found! - [✖] ./migrating-to-1.0.0 → Status: 400 - [✖] ../rules/no-arrow-condition → Status: 400 - [✖] ../rules/no-confusing-arrow → Status: 400 - [✖] ../rules/no-constant-condition → Status: 400 - [✖] ../rules/no-empty-label → Status: 400 - [✖] ../rules/no-labels → Status: 400 - [✖] ../rules/space-after-keywords → Status: 400 - [✖] ../rules/keyword-spacing → Status: 400 - [✖] ../rules/space-before-keywords → Status: 400 - [✖] ../rules/space-return-throw-case → Status: 400 - [✖] ../rules/constructor-super → Status: 400 - [✖] ../rules/no-case-declarations → Status: 400 - [✖] ../rules/no-class-assign → Status: 400 - [✖] ../rules/no-const-assign → Status: 400 - [✖] ../rules/no-dupe-class-members → Status: 400 - [✖] ../rules/no-empty-pattern → Status: 400 - [✖] ../rules/no-new-symbol → Status: 400 - [✖] ../rules/no-self-assign → Status: 400 - [✖] ../rules/no-this-before-super → Status: 400 - [✖] ../rules/no-unexpected-multiline → Status: 400 - [✖] ../rules/no-unused-labels → Status: 400 - [✖] ../rules/no-multiple-empty-lines → Status: 400 - [✖] ../rules/func-style → Status: 400 - [✖] ../rules/strict → Status: 400 - -FILE: src/use/formatters/index.md - [✓] https://github.com/eslint/eslint/edit/main/templates/formatter-examples.md.ejs - [✓] #checkstyle - [✓] #compact - [✓] #html - [✓] #jslint-xml - [✓] #json-with-metadata - [✓] #json - [✓] #junit - [✓] #stylish - [✓] #tap - [✓] #unix - [✓] #visualstudio - [✓] html-formatter-example.html - - 13 links checked. - -FILE: src/use/getting-started.md - [✓] https://github.com/eslint/espree - [✓] https://nodejs.org/en/ - [✖] migrating-to-1.0.0 - [✓] ../rules - [✖] configuring/ - [✓] https://www.npmjs.com/search?q=eslint-config - [✖] command-line-interface - [✖] integrations - [✖] ../extend/custom-rules - [✓] ../contribute/ - - 10 links checked. - - ERROR: 5 dead links found! - [✖] migrating-to-1.0.0 → Status: 400 - [✖] configuring/ → Status: 400 - [✖] command-line-interface → Status: 400 - [✖] integrations → Status: 400 - [✖] ../extend/custom-rules → Status: 400 - -FILE: src/use/index.md - [✓] ../extend/ - [✖] getting-started - [✓] ../rules/ - [✖] configuring/ - [✖] command-line-interface - [✖] integrations - [✖] rule-deprecation - [✖] migrating-to-1.0.0 - [✖] migrating-to-2.0.0 - [✖] migrating-to-3.0.0 - [✖] migrating-to-4.0.0 - [✖] migrating-to-5.0.0 - [✖] migrating-to-6.0.0 - [✖] migrating-to-7.0.0 - [✖] migrating-to-8.0.0 - - 15 links checked. - - ERROR: 13 dead links found! - [✖] getting-started → Status: 400 - [✖] configuring/ → Status: 400 - [✖] command-line-interface → Status: 400 - [✖] integrations → Status: 400 - [✖] rule-deprecation → Status: 400 - [✖] migrating-to-1.0.0 → Status: 400 - [✖] migrating-to-2.0.0 → Status: 400 - [✖] migrating-to-3.0.0 → Status: 400 - [✖] migrating-to-4.0.0 → Status: 400 - [✖] migrating-to-5.0.0 → Status: 400 - [✖] migrating-to-6.0.0 → Status: 400 - [✖] migrating-to-7.0.0 → Status: 400 - [✖] migrating-to-8.0.0 → Status: 400 - -FILE: src/use/migrating-to-7.0.0.md - [✖] #drop-node-8 - [✖] #additional-lint-targets - [✖] #base-path-change - [✖] #plugin-loading-change - [✖] #runtime-deprecation-on-personal-config-files - [✖] #default-ignore-patterns - [✖] #description-in-directive-comments - [✖] #deprecate-node-rules - [✖] #rules-strict - [✖] #eslint-recommended - [✖] #rule-tester-strict - [✖] #deprecate-cliengine - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-drop-node8/README.md - [✓] https://github.com/eslint/eslint/pull/12700 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-additional-lint-targets/README.md - [✓] https://github.com/eslint/eslint/pull/12677 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-changing-base-path-in-config-files-that-cli-options-specify/README.md - [✓] https://github.com/eslint/eslint/pull/12887 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-plugin-loading-improvement/README.md - [✓] https://github.com/eslint/eslint/pull/12922 - [✓] https://eslint.org/blog/2019/11/eslint-v6.7.0-released - [✓] https://github.com/eslint/rfcs/tree/master/designs/2019-deprecating-personal-config/README.md - [✓] https://github.com/eslint/eslint/pull/12678 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-update-default-ignore-patterns/README.md - [✓] https://github.com/eslint/eslint/pull/12888 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-description-in-directive-comments/README.md - [✓] https://github.com/eslint/eslint/pull/12699 - [✓] https://github.com/mysticatea/eslint-plugin-node - [✖] ../users/rule-deprecation - [✖] ../rules/callback-return - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/callback-return.md - [✖] ../rules/global-require - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/global-require.md - [✖] ../rules/handle-callback-err - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/handle-callback-err.md - [✖] ../rules/no-mixed-requires - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-mixed-requires.md - [✖] ../rules/no-new-require - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-new-require.md - [✖] ../rules/no-path-concat - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-path-concat.md - [✖] ../rules/no-process-env - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-process-env.md - [✖] ../rules/no-process-exit - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-process-exit.md - [✖] ../rules/no-restricted-modules - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-restricted-require.md - [✖] ../rules/no-sync - [✓] https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/no-sync.md - [✓] https://github.com/eslint/eslint/pull/12898 - [✖] ../rules/accessor-pairs - [✖] ../rules/array-callback-return - [✖] ../rules/computed-property-spacing - [✖] ../rules/func-names - [✖] ../rules/no-extra-parens - [✖] ../rules/no-dupe-class-members - [✖] ../rules/no-magic-numbers - [✖] ../rules/radix - [✖] ../rules/use-isnan - [✖] ../rules/yoda - [✓] https://github.com/eslint/eslint/pull/12490 - [✓] https://github.com/eslint/eslint/pull/12608 - [✓] https://github.com/eslint/eslint/pull/12670 - [✓] https://github.com/eslint/eslint/pull/12701 - [✓] https://github.com/eslint/eslint/pull/12765 - [✓] https://github.com/eslint/eslint/pull/12837 - [✓] https://github.com/eslint/eslint/pull/12913 - [✓] https://github.com/eslint/eslint/pull/12915 - [✓] https://github.com/eslint/eslint/pull/12919 - [✖] ../rules/no-dupe-else-if - [✖] ../rules/no-import-assign - [✖] ../rules/no-setter-return - [✓] https://github.com/eslint/eslint/pull/12920 - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-rule-tester-improvements/README.md - [✓] https://github.com/eslint/eslint/pull/12096 - [✓] https://github.com/eslint/eslint/pull/12955 - [✖] ../extend/nodejs-api#cliengine - [✖] ../extend/nodejs-api#eslint-class - [✓] https://github.com/eslint/rfcs/blob/master/designs/2019-move-to-async-api/README.md - [✓] https://github.com/eslint/eslint/pull/12939 - - 80 links checked. - - ERROR: 38 dead links found! - [✖] #drop-node-8 → Status: 404 - [✖] #additional-lint-targets → Status: 404 - [✖] #base-path-change → Status: 404 - [✖] #plugin-loading-change → Status: 404 - [✖] #runtime-deprecation-on-personal-config-files → Status: 404 - [✖] #default-ignore-patterns → Status: 404 - [✖] #description-in-directive-comments → Status: 404 - [✖] #deprecate-node-rules → Status: 404 - [✖] #rules-strict → Status: 404 - [✖] #eslint-recommended → Status: 404 - [✖] #rule-tester-strict → Status: 404 - [✖] #deprecate-cliengine → Status: 404 - [✖] ../users/rule-deprecation → Status: 400 - [✖] ../rules/callback-return → Status: 400 - [✖] ../rules/global-require → Status: 400 - [✖] ../rules/handle-callback-err → Status: 400 - [✖] ../rules/no-mixed-requires → Status: 400 - [✖] ../rules/no-new-require → Status: 400 - [✖] ../rules/no-path-concat → Status: 400 - [✖] ../rules/no-process-env → Status: 400 - [✖] ../rules/no-process-exit → Status: 400 - [✖] ../rules/no-restricted-modules → Status: 400 - [✖] ../rules/no-sync → Status: 400 - [✖] ../rules/accessor-pairs → Status: 400 - [✖] ../rules/array-callback-return → Status: 400 - [✖] ../rules/computed-property-spacing → Status: 400 - [✖] ../rules/func-names → Status: 400 - [✖] ../rules/no-extra-parens → Status: 400 - [✖] ../rules/no-dupe-class-members → Status: 400 - [✖] ../rules/no-magic-numbers → Status: 400 - [✖] ../rules/radix → Status: 400 - [✖] ../rules/use-isnan → Status: 400 - [✖] ../rules/yoda → Status: 400 - [✖] ../rules/no-dupe-else-if → Status: 400 - [✖] ../rules/no-import-assign → Status: 400 - [✖] ../rules/no-setter-return → Status: 400 - [✖] ../extend/nodejs-api#cliengine → Status: 400 - [✖] ../extend/nodejs-api#eslint-class → Status: 400 - -FILE: src/use/migrating-from-jscs.md - [✓] https://eslint.org/blog/2016/04/welcoming-jscs-to-eslint - [✖] ../extend/shareable-configs - [✓] #converting-presets - [✓] https://github.com/brenolf/polyjuice - [✓] #disabling-rules-inline - [✓] https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base - [✓] https://github.com/google/eslint-config-google - [✓] https://github.com/markelog/eslint-config-grunt - [✓] https://github.com/jamespamplin/eslint-config-idiomatic - [✓] https://github.com/jquery/eslint-config-jquery - [✓] https://github.com/zz85/mrdoobapproves - [✓] https://github.com/pdehaan/eslint-config-node-style-guide - [✓] https://github.com/wikimedia/eslint-config-wikimedia - [✓] https://github.com/WordPress-Coding-Standards/eslint-config-wordpress - - 14 links checked. - - ERROR: 1 dead links found! - [✖] ../extend/shareable-configs → Status: 400 - -FILE: src/use/migrating-to-5.0.0.md - [✖] #drop-node-4 - [✖] #eslint-recommended-changes - [✖] #experimental-object-rest-spread - [✖] #nonexistent-files - [✖] #rule-default-changes - [✖] #deprecated-globals - [✖] #empty-files - [✖] #scoped-plugins - [✖] #multiline-directives - [✖] #parent-before-rules - [✖] #spread-operators - [✖] #rest-operators - [✖] #jsx-text-nodes - [✖] #context-get-scope - [✖] #no-context-linter - [✖] #rule-tester-equality - [✖] #required-report-messages - [✖] #source-property - [✖] #exit-code-two - [✖] #non-enumerable-linter - [✖] configuring#using-eslintrecommended - [✖] ../rules/for-direction - [✖] ../rules/getter-return - [✓] https://developers.google.com/web/updates/2017/06/object-rest-spread - [✓] https://github.com/tc39/proposal-async-iteration - [✖] ../rules/no-restricted-syntax - [✖] ../extend/nodejs-api#cliengineexecuteonfiles - [✖] ../rules/object-curly-newline - [✖] ../rules/no-self-assign - [✖] ../rules/no-undef - [✖] configuring#ignoring-files-and-directories - [✓] https://docs.npmjs.com/misc/scope - [✖] ../extend/custom-rules#contextgetscope - [✖] command-line-interface#--report-unused-disable-directives - [✖] /blog/2016/10/eslint-v3.8.0-released#additional-property-on-linting-results - [✖] ../extend/nodejs-api#linter-1 - [✖] ../extend/nodejs-api#linter - - 37 links checked. - - ERROR: 34 dead links found! - [✖] #drop-node-4 → Status: 404 - [✖] #eslint-recommended-changes → Status: 404 - [✖] #experimental-object-rest-spread → Status: 404 - [✖] #nonexistent-files → Status: 404 - [✖] #rule-default-changes → Status: 404 - [✖] #deprecated-globals → Status: 404 - [✖] #empty-files → Status: 404 - [✖] #scoped-plugins → Status: 404 - [✖] #multiline-directives → Status: 404 - [✖] #parent-before-rules → Status: 404 - [✖] #spread-operators → Status: 404 - [✖] #rest-operators → Status: 404 - [✖] #jsx-text-nodes → Status: 404 - [✖] #context-get-scope → Status: 404 - [✖] #no-context-linter → Status: 404 - [✖] #rule-tester-equality → Status: 404 - [✖] #required-report-messages → Status: 404 - [✖] #source-property → Status: 404 - [✖] #exit-code-two → Status: 404 - [✖] #non-enumerable-linter → Status: 404 - [✖] configuring#using-eslintrecommended → Status: 400 - [✖] ../rules/for-direction → Status: 400 - [✖] ../rules/getter-return → Status: 400 - [✖] ../rules/no-restricted-syntax → Status: 400 - [✖] ../extend/nodejs-api#cliengineexecuteonfiles → Status: 400 - [✖] ../rules/object-curly-newline → Status: 400 - [✖] ../rules/no-self-assign → Status: 400 - [✖] ../rules/no-undef → Status: 400 - [✖] configuring#ignoring-files-and-directories → Status: 400 - [✖] ../extend/custom-rules#contextgetscope → Status: 400 - [✖] command-line-interface#--report-unused-disable-directives → Status: 400 - [✖] /blog/2016/10/eslint-v3.8.0-released#additional-property-on-linting-results → Status: 400 - [✖] ../extend/nodejs-api#linter-1 → Status: 400 - [✖] ../extend/nodejs-api#linter → Status: 400 - -FILE: src/use/migrating-to-1.0.0.md - [✖] ../rules/no-alert - [✖] ../rules/no-array-constructor - [✖] ../rules/no-caller - [✖] ../rules/no-catch-shadow - [✖] ../rules/no-empty-label - [✖] ../rules/no-eval - [✖] ../rules/no-extend-native - [✖] ../rules/no-extra-bind - [✖] ../rules/no-extra-strict - [✖] ../rules/no-implied-eval - [✖] ../rules/no-iterator - [✖] ../rules/no-label-var - [✖] ../rules/no-labels - [✖] ../rules/no-lone-blocks - [✖] ../rules/no-loop-func - [✖] ../rules/no-multi-spaces - [✖] ../rules/no-multi-str - [✖] ../rules/no-native-reassign - [✖] ../rules/no-new - [✖] ../rules/no-new-func - [✖] ../rules/no-new-object - [✖] ../rules/no-new-wrappers - [✖] ../rules/no-octal-escape - [✖] ../rules/no-process-exit - [✖] ../rules/no-proto - [✖] ../rules/no-return-assign - [✖] ../rules/no-script-url - [✖] ../rules/no-sequences - [✖] ../rules/no-shadow - [✖] ../rules/no-shadow-restricted-names - [✖] ../rules/no-spaced-func - [✖] ../rules/no-trailing-spaces - [✖] ../rules/no-undef-init - [✖] ../rules/no-underscore-dangle - [✖] ../rules/no-unused-expressions - [✖] ../rules/no-use-before-define - [✖] ../rules/no-with - [✖] ../rules/no-wrap-func - [✖] ../rules/camelcase - [✖] ../rules/comma-spacing - [✖] ../rules/consistent-return - [✖] ../rules/curly - [✖] ../rules/dot-notation - [✖] ../rules/eol-last - [✖] ../rules/eqeqeq - [✖] ../rules/key-spacing - [✖] ../rules/new-cap - [✖] ../rules/new-parens - [✖] ../rules/quotes - [✖] ../rules/semi - [✖] ../rules/semi-spacing - [✖] ../rules/space-infix-ops - [✖] ../rules/space-return-throw-case - [✖] ../rules/space-unary-ops - [✖] ../rules/strict - [✖] ../rules/yoda - [✓] https://github.com/eslint/eslint/commit/e3e9dbd9876daf4bdeb4e15f8a76a9d5e6e03e39#diff-b01a5cfd9361ca9280a460fd6bb8edbbL1 - [✖] ../rules/generator-star - [✖] ../rules/generator-star-spacing - [✖] ../rules/global-strict - [✖] ../rules/no-comma-dangle - [✖] ../rules/comma-dangle - [✖] ../rules/no-empty-class - [✖] ../rules/no-empty-character-class - [✖] ../rules/no-reserved-keys - [✖] ../rules/quote-props - [✖] ../rules/no-space-before-semi - [✖] ../rules/no-extra-parens - [✖] ../rules/space-after-function-name - [✖] ../rules/space-before-function-paren - [✖] ../rules/space-before-function-parentheses - [✖] ../rules/space-in-brackets - [✖] ../rules/object-curly-spacing - [✖] ../rules/array-bracket-spacing - [✖] ../rules/space-unary-word-ops - [✖] ../rules/spaced-line-comment - [✖] ../rules/spaced-comment - - 77 links checked. - - ERROR: 76 dead links found! - [✖] ../rules/no-alert → Status: 400 - [✖] ../rules/no-array-constructor → Status: 400 - [✖] ../rules/no-caller → Status: 400 - [✖] ../rules/no-catch-shadow → Status: 400 - [✖] ../rules/no-empty-label → Status: 400 - [✖] ../rules/no-eval → Status: 400 - [✖] ../rules/no-extend-native → Status: 400 - [✖] ../rules/no-extra-bind → Status: 400 - [✖] ../rules/no-extra-strict → Status: 400 - [✖] ../rules/no-implied-eval → Status: 400 - [✖] ../rules/no-iterator → Status: 400 - [✖] ../rules/no-label-var → Status: 400 - [✖] ../rules/no-labels → Status: 400 - [✖] ../rules/no-lone-blocks → Status: 400 - [✖] ../rules/no-loop-func → Status: 400 - [✖] ../rules/no-multi-spaces → Status: 400 - [✖] ../rules/no-multi-str → Status: 400 - [✖] ../rules/no-native-reassign → Status: 400 - [✖] ../rules/no-new → Status: 400 - [✖] ../rules/no-new-func → Status: 400 - [✖] ../rules/no-new-object → Status: 400 - [✖] ../rules/no-new-wrappers → Status: 400 - [✖] ../rules/no-octal-escape → Status: 400 - [✖] ../rules/no-process-exit → Status: 400 - [✖] ../rules/no-proto → Status: 400 - [✖] ../rules/no-return-assign → Status: 400 - [✖] ../rules/no-script-url → Status: 400 - [✖] ../rules/no-sequences → Status: 400 - [✖] ../rules/no-shadow → Status: 400 - [✖] ../rules/no-shadow-restricted-names → Status: 400 - [✖] ../rules/no-spaced-func → Status: 400 - [✖] ../rules/no-trailing-spaces → Status: 400 - [✖] ../rules/no-undef-init → Status: 400 - [✖] ../rules/no-underscore-dangle → Status: 400 - [✖] ../rules/no-unused-expressions → Status: 400 - [✖] ../rules/no-use-before-define → Status: 400 - [✖] ../rules/no-with → Status: 400 - [✖] ../rules/no-wrap-func → Status: 400 - [✖] ../rules/camelcase → Status: 400 - [✖] ../rules/comma-spacing → Status: 400 - [✖] ../rules/consistent-return → Status: 400 - [✖] ../rules/curly → Status: 400 - [✖] ../rules/dot-notation → Status: 400 - [✖] ../rules/eol-last → Status: 400 - [✖] ../rules/eqeqeq → Status: 400 - [✖] ../rules/key-spacing → Status: 400 - [✖] ../rules/new-cap → Status: 400 - [✖] ../rules/new-parens → Status: 400 - [✖] ../rules/quotes → Status: 400 - [✖] ../rules/semi → Status: 400 - [✖] ../rules/semi-spacing → Status: 400 - [✖] ../rules/space-infix-ops → Status: 400 - [✖] ../rules/space-return-throw-case → Status: 400 - [✖] ../rules/space-unary-ops → Status: 400 - [✖] ../rules/strict → Status: 400 - [✖] ../rules/yoda → Status: 400 - [✖] ../rules/generator-star → Status: 400 - [✖] ../rules/generator-star-spacing → Status: 400 - [✖] ../rules/global-strict → Status: 400 - [✖] ../rules/no-comma-dangle → Status: 400 - [✖] ../rules/comma-dangle → Status: 400 - [✖] ../rules/no-empty-class → Status: 400 - [✖] ../rules/no-empty-character-class → Status: 400 - [✖] ../rules/no-reserved-keys → Status: 400 - [✖] ../rules/quote-props → Status: 400 - [✖] ../rules/no-space-before-semi → Status: 400 - [✖] ../rules/no-extra-parens → Status: 400 - [✖] ../rules/space-after-function-name → Status: 400 - [✖] ../rules/space-before-function-paren → Status: 400 - [✖] ../rules/space-before-function-parentheses → Status: 400 - [✖] ../rules/space-in-brackets → Status: 400 - [✖] ../rules/object-curly-spacing → Status: 400 - [✖] ../rules/array-bracket-spacing → Status: 400 - [✖] ../rules/space-unary-word-ops → Status: 400 - [✖] ../rules/spaced-line-comment → Status: 400 - [✖] ../rules/spaced-comment → Status: 400 - -FILE: src/use/core-concepts.md - [✖] ../rules/semi - [✓] #plugins - [✓] ../rules/ - [✖] ./configuring/configuration-files - [✓] https://www.npmjs.com/package/eslint-config-airbnb-base - [✖] ./configuring/configuration-files#using-a-shareable-configuration-package - [✓] https://www.npmjs.com/package/@angular-eslint/eslint-plugin - [✖] ./configuring/plugins - [✓] https://github.com/eslint/espree - [✖] npmjs.com/package/@typescript-eslint/parser - [✓] https://github.com/typescript-eslint/typescript-eslint - [✓] https://github.com/eslint/eslint-plugin-markdown - [✓] ./formatters/ - [✖] ./integrations - [✖] ./command-line-interface - [✖] ../extend/nodejs-api - - 16 links checked. - - ERROR: 8 dead links found! - [✖] ../rules/semi → Status: 400 - [✖] ./configuring/configuration-files → Status: 400 - [✖] ./configuring/configuration-files#using-a-shareable-configuration-package → Status: 400 - [✖] ./configuring/plugins → Status: 400 - [✖] npmjs.com/package/@typescript-eslint/parser → Status: 400 - [✖] ./integrations → Status: 400 - [✖] ./command-line-interface → Status: 400 - [✖] ../extend/nodejs-api → Status: 400 - -FILE: src/use/migrating-to-3.0.0.md - [✓] https://github.com/nodejs/Release - [✖] ../rules/no-unsafe-finally - [✖] ../rules/no-native-reassign - [✖] ../rules/require-yield - [✖] ../rules/comma-dangle - [✓] https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support - [✖] ../rules/complexity - - 7 links checked. - - ERROR: 5 dead links found! - [✖] ../rules/no-unsafe-finally → Status: 400 - [✖] ../rules/no-native-reassign → Status: 400 - [✖] ../rules/require-yield → Status: 400 - [✖] ../rules/comma-dangle → Status: 400 - [✖] ../rules/complexity → Status: 400 - -FILE: src/maintain/governance.md - [✓] https://eslint.org/ - [✓] ../contribute/ - [✖] issues - [✖] manage-pull-requests - [✓] ./ - [✓] https://eslint.org/chat - [✓] https://en.wikipedia.org/wiki/Consensus-seeking_decision-making - [✓] https://github.com/yui/yui3/wiki/Contributor-Model - [✓] https://github.com/nodejs/node/blob/master/GOVERNANCE.md - [✓] https://creativecommons.org/licenses/by-sa/2.0/uk/ - - 10 links checked. - - ERROR: 2 dead links found! - [✖] issues → Status: 400 - [✖] manage-pull-requests → Status: 400 - -FILE: src/maintain/manage-pull-requests.md - No hyperlinks found! - - 0 links checked. - -FILE: src/maintain/index.md - [✖] manage-issues - [✖] manage-pull-requests - [✖] manage-releases - [✖] governance - [✖] working-groups - - 5 links checked. - - ERROR: 5 dead links found! - [✖] manage-issues → Status: 400 - [✖] manage-pull-requests → Status: 400 - [✖] manage-releases → Status: 400 - [✖] governance → Status: 400 - [✖] working-groups → Status: 400 - -FILE: src/maintain/manage-releases.md - [✓] https://semver.org/ - [✓] https://github.com/eslint/eslint/issues/8138 - - 2 links checked. - -FILE: src/maintain/working-groups.md - [✓] https://eslint.org/team - - 1 links checked. - -FILE: src/maintain/manage-issues.md - [✓] https://github.com/orgs/eslint/projects/2 - [✖] https://docs.github.com/en/free-pro-team@latest/discussions/managing-discussions-for-your-community/moderating-discussions#converting-an-issue-to-a-discussion - [✓] #championing-issues - [✓] #consensus - - 4 links checked. - - ERROR: 1 dead links found! - [✖] https://docs.github.com/en/free-pro-team@latest/discussions/managing-discussions-for-your-community/moderating-discussions#converting-an-issue-to-a-discussion → Status: 403 - -FILE: src/contribute/package-json-conventions.md - [✖] https://github.com/eslint/eslint/edit/main/docs/src/extend/package-json-conventions.md - [✓] https://docs.npmjs.com/cli/v8/using-npm/scripts#life-cycle-scripts - - 2 links checked. - - ERROR: 1 dead links found! - [✖] https://github.com/eslint/eslint/edit/main/docs/src/extend/package-json-conventions.md → Status: 404 - -FILE: src/contribute/propose-new-rule.md - [✖] pull-requests - [✓] https://github.com/eslint/eslint/issues/new/choose - [✖] ../custom-rules - [✖] ../plugins - - 4 links checked. - - ERROR: 3 dead links found! - [✖] pull-requests → Status: 400 - [✖] ../custom-rules → Status: 400 - [✖] ../plugins → Status: 400 - -FILE: src/contribute/propose-rule-change.md - [✖] pull-requests - [✓] https://github.com/eslint/eslint/issues/new/choose - [✖] propose-new-rule#core-rule-guidelines - - 3 links checked. - - ERROR: 2 dead links found! - [✖] pull-requests → Status: 400 - [✖] propose-new-rule#core-rule-guidelines → Status: 400 - -FILE: src/contribute/code-conventions.md - [✓] https://www.npmjs.com/package/eslint-config-eslint - [✓] ../rules/ - [✖] ./package-json-conventions - - 3 links checked. - - ERROR: 1 dead links found! - [✖] ./package-json-conventions → Status: 400 - -FILE: src/contribute/request-change.md - [✓] https://github.com/eslint/eslint/issues/new/choose - [✓] https://groups.google.com/group/eslint - [✓] https://eslint.org/chat - - 3 links checked. - -FILE: src/contribute/code-path-analysis.md - [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-unreachable.js - [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-fallthrough.js - [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/consistent-return.js - [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/constructor-super.js - [✓] https://github.com/eslint/eslint/blob/HEAD/lib/rules/no-this-before-super.js - [✓] ../assets/images/code-path-analysis/helo.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-while-1.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-while-2.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-while-3.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-for-1.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-for-2.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-for-3.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-for-4.svg - [✓] ../assets/images/code-path-analysis/loop-event-example-for-5.svg - [✓] ../assets/images/code-path-analysis/example-hello-world.svg - [✓] ../assets/images/code-path-analysis/example-ifstatement.svg - [✓] ../assets/images/code-path-analysis/example-ifstatement-chain.svg - [✓] ../assets/images/code-path-analysis/example-switchstatement.svg - [✓] ../assets/images/code-path-analysis/example-switchstatement-has-default.svg - [✓] ../assets/images/code-path-analysis/example-trystatement-try-catch.svg - [✓] ../assets/images/code-path-analysis/example-trystatement-try-finally.svg - [✓] ../assets/images/code-path-analysis/example-trystatement-try-catch-finally.svg - [✓] ../assets/images/code-path-analysis/example-whilestatement.svg - [✓] ../assets/images/code-path-analysis/example-dowhilestatement.svg - [✓] ../assets/images/code-path-analysis/example-forstatement.svg - [✓] ../assets/images/code-path-analysis/example-forstatement-for-ever.svg - [✓] ../assets/images/code-path-analysis/example-forinstatement.svg - [✓] ../assets/images/code-path-analysis/example-when-there-is-a-function-g.svg - [✓] ../assets/images/code-path-analysis/example-when-there-is-a-function-f.svg - - 29 links checked. - -FILE: src/contribute/work-on-issue.md - [✓] https://github.com/eslint/eslint/issues - [✖] ../../maintain/issues#when-an-issue-is-opened - [✓] https://github.com/eslint/eslint/labels/good%20first%20issue - [✓] https://github.com/eslint/eslint/labels/help%20wanted - [✓] https://github.com/eslint/eslint/labels/accepted - [✖] ../../maintain/issues#types-of-issues - [✓] https://www.bountysource.com/teams/eslint/issues - - 7 links checked. - - ERROR: 2 dead links found! - [✖] ../../maintain/issues#when-an-issue-is-opened → Status: 400 - [✖] ../../maintain/issues#types-of-issues → Status: 400 - -FILE: src/contribute/unit-tests.md - [✓] https://mochajs.org/ - [✓] https://mochajs.org/#command-line-usage - - 2 links checked. - -FILE: src/contribute/architecture/index.md - [✓] ../../assets/images/architecture/dependency.svg - - 1 links checked. - -FILE: src/contribute/pull-requests.md - [✖] ../development-environment - [✖] work-on-issue - [✖] #step1 - [✖] #step2 - [✖] #step3 - [✖] #step4 - [✖] #step5 - [✖] #step6 - [✖] #step7 - [✖] ../code-conventions - [✓] https://www.conventionalcommits.org/ - [✖] work-on-issue#issue-labels - [✖] https://help.github.com/articles/creating-a-pull-request - [✓] https://cla.openjsf.org/ - [✖] https://help.github.com/articles/resolving-merge-conflicts-after-a-git-rebase/ - - 15 links checked. - - ERROR: 13 dead links found! - [✖] ../development-environment → Status: 400 - [✖] work-on-issue → Status: 400 - [✖] #step1 → Status: 404 - [✖] #step2 → Status: 404 - [✖] #step3 → Status: 404 - [✖] #step4 → Status: 404 - [✖] #step5 → Status: 404 - [✖] #step6 → Status: 404 - [✖] #step7 → Status: 404 - [✖] ../code-conventions → Status: 400 - [✖] work-on-issue#issue-labels → Status: 400 - [✖] https://help.github.com/articles/creating-a-pull-request → Status: 403 - [✖] https://help.github.com/articles/resolving-merge-conflicts-after-a-git-rebase/ → Status: 403 - -FILE: src/contribute/index.md - [✓] https://eslint.org/conduct - [✖] report-bug - [✖] propose-new-rule - [✖] propose-rule-change - [✖] request-change - [✓] https://hackerone.com/eslint - [✖] work-on-issue - [✖] pull-requests - - 8 links checked. - - ERROR: 6 dead links found! - [✖] report-bug → Status: 400 - [✖] propose-new-rule → Status: 400 - [✖] propose-rule-change → Status: 400 - [✖] request-change → Status: 400 - [✖] work-on-issue → Status: 400 - [✖] pull-requests → Status: 400 - -FILE: src/contribute/source-code.md - [✓] https://github.com/eslint/eslint - [✓] https://git-scm.com/ - [✖] https://help.github.com/articles/set-up-git/ - [✖] https://help.github.com/articles/fork-a-repo/ - [✓] https://nodejs.org - [✓] https://www.npmjs.com/ - - 6 links checked. - - ERROR: 2 dead links found! - [✖] https://help.github.com/articles/set-up-git/ → Status: 403 - [✖] https://help.github.com/articles/fork-a-repo/ → Status: 403 - -FILE: src/contribute/report-bugs.md - [✓] https://github.com/eslint/eslint/issues/new/choose - [✖] pull-requests - [✓] https://groups.google.com/group/eslint - [✓] https://eslint.org/chat - - 4 links checked. - - ERROR: 1 dead links found! - [✖] pull-requests → Status: 400 - -FILE: src/contribute/development-environment.md - [✓] https://nodejs.org/ - [✓] https://www.npmjs.com/ - [✓] https://github.com/eslint/eslint - [✖] https://help.github.com/articles/fork-a-repo - [✓] https://yeoman.io - [✓] https://github.com/eslint/generator-eslint - [✖] contributing/pull-requests - - 7 links checked. - - ERROR: 2 dead links found! - [✖] https://help.github.com/articles/fork-a-repo → Status: 403 - [✖] contributing/pull-requests → Status: 400 - -FILE: src/rules/comma-spacing.md - [✓] https://www.crockford.com/code.html - [✓] https://dojotoolkit.org/reference-guide/1.9/developer/styleguide.html - [✖] array-bracket-spacing - [✖] object-curly-spacing - [✖] space-in-parens - - 5 links checked. - - ERROR: 3 dead links found! - [✖] array-bracket-spacing → Status: 400 - [✖] object-curly-spacing → Status: 400 - [✖] space-in-parens → Status: 400 - -FILE: src/rules/no-multiple-empty-lines.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-underscore-dangle.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-regex-spaces.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-rest-params.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-template-curly-in-string.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/sort-imports.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-destructuring.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment - [✓] https://2ality.com/2015/01/es6-destructuring.html - [✖] #further-reading - - 3 links checked. - - ERROR: 1 dead links found! - [✖] #further-reading → Status: 404 - -FILE: src/rules/space-after-function-name.md - [✖] space-before-function-paren - - 1 links checked. - - ERROR: 1 dead links found! - [✖] space-before-function-paren → Status: 400 - -FILE: src/rules/no-octal-escape.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/max-depth.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-dupe-args.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-misleading-character-class.md - [✓] http://www.unicode.org/L2/L1999/UnicodeData.html#General%20Category - - 1 links checked. - -FILE: src/rules/no-useless-computed-key.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-sync.md - [✓] https://github.com/mysticatea/eslint-plugin-node - - 1 links checked. - -FILE: src/rules/no-return-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/require-await.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-dupe-class-members.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-with.md - [✓] https://web.archive.org/web/20200717110117/https://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/ - - 1 links checked. - -FILE: src/rules/constructor-super.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-empty-static-block.md - [✓] https://github.com/tc39/proposal-class-static-block - - 1 links checked. - -FILE: src/rules/no-negated-condition.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-script-url.md - [✓] https://stackoverflow.com/questions/13497971/what-is-the-matter-with-script-targeted-urls - - 1 links checked. - -FILE: src/rules/grouped-accessor-pairs.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes - [✖] accessor-pairs - [✖] no-dupe-keys - [✖] no-dupe-class-members - - 6 links checked. - - ERROR: 3 dead links found! - [✖] accessor-pairs → Status: 400 - [✖] no-dupe-keys → Status: 400 - [✖] no-dupe-class-members → Status: 400 - -FILE: src/rules/object-property-newline.md - [✓] https://jscs-dev.github.io/rule/requireObjectKeysOnNewLine - - 1 links checked. - -FILE: src/rules/generator-star.md - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-generators - [✖] generator-star-spacing - - 2 links checked. - - ERROR: 1 dead links found! - [✖] generator-star-spacing → Status: 400 - -FILE: src/rules/no-multi-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/one-var-declaration-per-line.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/require-jsdoc.md - [✓] https://eslint.org/blog/2018/11/jsdoc-end-of-life - [✖] http://usejsdoc.org - - 2 links checked. - - ERROR: 1 dead links found! - [✖] http://usejsdoc.org → Status: 0 - -FILE: src/rules/max-classes-per-file.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-bitwise.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/unicode-bom.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-delete-var.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-useless-return.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/wrap-regex.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-restricted-globals.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/dot-location.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/new-cap.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/max-nested-callbacks.md - [✓] http://book.mixu.net/node/ch7.html - [✓] https://web.archive.org/web/20220104141150/https://howtonode.org/control-flow - [✓] https://web.archive.org/web/20220127215850/https://howtonode.org/control-flow-part-ii - - 3 links checked. - -FILE: src/rules/lines-around-directive.md - [✖] padding-line-between-statements - [✓] https://www.ecma-international.org/ecma-262/7.0/#directive-prologue - [✖] padded-blocks - [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesAfterUseStrict - [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesAfterUseStrict - - 5 links checked. - - ERROR: 2 dead links found! - [✖] padding-line-between-statements → Status: 400 - [✖] padded-blocks → Status: 400 - -FILE: src/rules/no-multi-str.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/max-statements-per-line.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-unused-private-class-members.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-promise-executor-return.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise - - 1 links checked. - -FILE: src/rules/multiline-ternary.md - [✖] operator-linebreak - [✓] https://jscs-dev.github.io/rule/requireMultiLineTernary - - 2 links checked. - - ERROR: 1 dead links found! - [✖] operator-linebreak → Status: 400 - -FILE: src/rules/no-undefined.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined - [✓] https://javascriptweblog.wordpress.com/2010/08/16/understanding-undefined-and-preventing-referenceerrors/ - [✓] https://es5.github.io/#x15.1.1.3 - [✖] no-global-assign - [✖] no-shadow-restricted-names - - 5 links checked. - - ERROR: 2 dead links found! - [✖] no-global-assign → Status: 400 - [✖] no-shadow-restricted-names → Status: 400 - -FILE: src/rules/max-lines.md - [✓] https://web.archive.org/web/20160725154648/http://www.mind2b.com/component/content/article/24-software-module-size-and-file-size - [✓] https://jscs-dev.github.io/rule/maximumNumberOfLines - - 2 links checked. - -FILE: src/rules/no-continue.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/indent.md - [✖] ../extend/selectors - [✓] https://github.com/estree/estree - [✓] https://astexplorer.net/ - [✓] https://jscs-dev.github.io/rule/validateIndentation - - 4 links checked. - - ERROR: 1 dead links found! - [✖] ../extend/selectors → Status: 400 - -FILE: src/rules/no-func-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-iterator.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators - [✓] https://kangax.github.io/es5-compat-table/es6/#Iterators - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features#Object_methods - - 3 links checked. - -FILE: src/rules/no-mixed-spaces-and-tabs.md - [✓] https://www.emacswiki.org/emacs/SmartTabs - - 1 links checked. - -FILE: src/rules/no-else-return.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/getter-return.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-accessor-properties - - 2 links checked. - -FILE: src/rules/no-empty.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-shadow-restricted-names.md - [✓] https://es5.github.io/#x15.1.1 - [✓] https://es5.github.io/#C - - 2 links checked. - -FILE: src/rules/no-import-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-this-before-super.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-object-spread.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/comma-style.md - [✓] https://gist.github.com/isaacs/357981 - [✓] https://github.com/estree/estree - [✓] https://astexplorer.net/ - - 3 links checked. - -FILE: src/rules/generator-star-spacing.md - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-generators - - 1 links checked. - -FILE: src/rules/no-useless-catch.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-const.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-extra-parens.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence - [✖] wrap-regex - [✖] wrap-iife - [✖] arrow-parens - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp - - 5 links checked. - - ERROR: 3 dead links found! - [✖] wrap-regex → Status: 400 - [✖] wrap-iife → Status: 400 - [✖] arrow-parens → Status: 400 - -FILE: src/rules/no-console.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/space-in-parens.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/space-before-function-parentheses.md - [✖] space-before-function-paren - - 1 links checked. - - ERROR: 1 dead links found! - [✖] space-before-function-paren → Status: 400 - -FILE: src/rules/no-return-await.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function - [✓] https://jakearchibald.com/2017/await-vs-return-vs-return-await/ - - 2 links checked. - -FILE: src/rules/no-class-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-inline-comments.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp - - 1 links checked. - -FILE: src/rules/no-trailing-spaces.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-self-compare.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN - - 1 links checked. - -FILE: src/rules/no-arrow-condition.md - [✖] no-confusing-arrow - [✖] no-constant-condition - - 2 links checked. - - ERROR: 2 dead links found! - [✖] no-confusing-arrow → Status: 400 - [✖] no-constant-condition → Status: 400 - -FILE: src/rules/object-curly-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-redeclare.md - [✖] no-shadow - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-shadow → Status: 400 - -FILE: src/rules/global-require.md - [✓] https://github.com/mysticatea/eslint-plugin-node - - 1 links checked. - -FILE: src/rules/prefer-arrow-callback.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions - - 1 links checked. - -FILE: src/rules/no-unneeded-ternary.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/rest-spread-spacing.md - [✓] https://github.com/tc39/proposal-object-rest-spread - [✖] ../users/configuring#specifying-parser-options - - 2 links checked. - - ERROR: 1 dead links found! - [✖] ../users/configuring#specifying-parser-options → Status: 400 - -FILE: src/rules/no-mixed-requires.md - [✓] https://github.com/mysticatea/eslint-plugin-node - [✓] https://nodejs.org/api/modules.html#modules_core_modules - [✓] https://nodejs.org/api/modules.html#modules_file_modules - [✓] https://nodejs.org/api/modules.html#modules_loading_from_node_modules_folders - [✓] https://github.com/umdjs/umd - - 5 links checked. - -FILE: src/rules/array-bracket-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-tabs.md - [✓] https://jscs-dev.github.io/rule/disallowTabs - - 1 links checked. - -FILE: src/rules/arrow-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/func-names.md - [✓] https://web.archive.org/web/20201112040809/http://markdaggett.com/blog/2013/02/15/functions-explained/ - [✓] https://2ality.com/2015/09/function-names-es6.html - [✓] https://jscs-dev.github.io/rule/requireAnonymousFunctions - [✓] https://jscs-dev.github.io/rule/disallowAnonymousFunctions - - 4 links checked. - -FILE: src/rules/no-restricted-imports.md - [✓] https://github.com/nodejs/node/tree/master/lib - - 1 links checked. - -FILE: src/rules/no-debugger.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger - - 1 links checked. - -FILE: src/rules/max-statements.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-spread.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/new-parens.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/keyword-spacing.md - [✖] space-before-function-paren - - 1 links checked. - - ERROR: 1 dead links found! - [✖] space-before-function-paren → Status: 400 - -FILE: src/rules/no-lone-blocks.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-use-before-define.md - [✓] #variables - - 1 links checked. - -FILE: src/rules/id-blacklist.md - [✖] id-denylist - - 1 links checked. - - ERROR: 1 dead links found! - [✖] id-denylist → Status: 400 - -FILE: src/rules/space-after-keywords.md - [✖] keyword-spacing - [✖] ../users/command-line-interface#--fix - - 2 links checked. - - ERROR: 2 dead links found! - [✖] keyword-spacing → Status: 400 - [✖] ../users/command-line-interface#--fix → Status: 400 - -FILE: src/rules/no-invalid-this.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/quote-props.md - [✓] https://kangax.github.io/compat-table/es5/#Reserved_words_as_property_names - [✓] https://mathiasbynens.be/notes/javascript-properties - - 2 links checked. - -FILE: src/rules/no-void.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void - [✓] https://oreilly.com/javascript/excerpts/javascript-good-parts/bad-parts.html - - 2 links checked. - -FILE: src/rules/space-before-keywords.md - [✖] keyword-spacing - [✖] ../users/command-line-interface#--fix - [✖] block-spacing - - 3 links checked. - - ERROR: 3 dead links found! - [✖] keyword-spacing → Status: 400 - [✖] ../users/command-line-interface#--fix → Status: 400 - [✖] block-spacing → Status: 400 - -FILE: src/rules/no-process-env.md - [✓] https://stackoverflow.com/questions/5869216/how-to-store-node-js-deployment-settings-configuration-files - [✓] https://blog.benhall.me.uk/2012/02/storing-application-config-data-in/ - [✓] https://github.com/mysticatea/eslint-plugin-node - - 3 links checked. - -FILE: src/rules/no-confusing-arrow.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-empty-function.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/semi.md - [✓] https://blog.izs.me/2010/12/an-open-letter-to-javascript-leaders-regarding/ - [✓] https://web.archive.org/web/20200420230322/http://inimino.org/~inimino/blog/javascript_semicolons - [✖] no-unreachable - [✖] no-unexpected-multiline - - 4 links checked. - - ERROR: 2 dead links found! - [✖] no-unreachable → Status: 400 - [✖] no-unexpected-multiline → Status: 400 - -FILE: src/rules/no-useless-constructor.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-unexpected-multiline.md - [✖] ./semi - [✖] semi - - 2 links checked. - - ERROR: 2 dead links found! - [✖] ./semi → Status: 400 - [✖] semi → Status: 400 - -FILE: src/rules/no-new-func.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-restricted-exports.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-unused-expressions.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-unsafe-negation.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/in - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof - - 2 links checked. - -FILE: src/rules/no-async-promise-executor.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-restricted-syntax.md - [✓] https://github.com/estree/estree - [✓] https://github.com/eslint/eslint-visitor-keys/blob/main/lib/visitor-keys.js - [✓] https://astexplorer.net/ - [✖] ../extend/selectors - - 4 links checked. - - ERROR: 1 dead links found! - [✖] ../extend/selectors → Status: 400 - -FILE: src/rules/no-implicit-coercion.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/camelcase.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/init-declarations.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/line-comment-position.md - [✓] https://jscs-dev.github.io/rule/validateCommentPosition - - 1 links checked. - -FILE: src/rules/no-await-in-loop.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/jsx-quotes.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-comma-dangle.md - [✖] comma-dangle - - 1 links checked. - - ERROR: 1 dead links found! - [✖] comma-dangle → Status: 400 - -FILE: src/rules/default-param-last.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/key-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/default-case.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/symbol-description.md - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-symbol-description - - 1 links checked. - -FILE: src/rules/block-scoped-var.md - [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var#var_hoisting - - 2 links checked. - -FILE: src/rules/callback-return.md - [✓] https://github.com/maxogden/art-of-node#callbacks - [✓] https://web.archive.org/web/20171224042620/https://docs.nodejitsu.com/articles/errors/what-are-the-error-conventions/ - [✓] https://github.com/mysticatea/eslint-plugin-node - - 3 links checked. - -FILE: src/rules/no-undef-init.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/space-before-blocks.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-new-require.md - [✓] https://github.com/mysticatea/eslint-plugin-node - - 1 links checked. - -FILE: src/rules/require-yield.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/template-curly-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-unreachable.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/valid-typeof.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof - - 1 links checked. - -FILE: src/rules/no-invalid-regexp.md - [✓] https://es5.github.io/#x7.8.5 - - 1 links checked. - -FILE: src/rules/newline-per-chained-call.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-empty-class.md - [✖] no-empty-character-class - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-empty-character-class → Status: 400 - -FILE: src/rules/no-catch-shadow.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-prototype-builtins.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-empty-label.md - [✖] no-labels - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-labels → Status: 400 - -FILE: src/rules/no-useless-call.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-unsafe-optional-chaining.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/id-length.md - [✓] https://unicode.org/reports/tr29/#Default_Grapheme_Cluster_Table - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length - - 2 links checked. - -FILE: src/rules/no-global-assign.md - [✖] ../users/configuring#specifying-environments - [✖] ../users/configuring#specifying-globals - - 2 links checked. - - ERROR: 2 dead links found! - [✖] ../users/configuring#specifying-environments → Status: 400 - [✖] ../users/configuring#specifying-globals → Status: 400 - -FILE: src/rules/accessor-pairs.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects - [✖] no-dupe-keys - [✖] no-dupe-class-members - - 5 links checked. - - ERROR: 2 dead links found! - [✖] no-dupe-keys → Status: 400 - [✖] no-dupe-class-members → Status: 400 - -FILE: src/rules/no-path-concat.md - [✓] https://github.com/mysticatea/eslint-plugin-node - - 1 links checked. - -FILE: src/rules/require-atomic-updates.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/block-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-inner-declarations.md - [✓] https://code.google.com/p/esprima/issues/detail?id=422 - [✓] https://leanpub.com/understandinges6/read#leanpub-auto-block-bindings - [✓] https://bugzilla.mozilla.org/show_bug.cgi?id=585536 - [✖] block-scoped-var - - 4 links checked. - - ERROR: 1 dead links found! - [✖] block-scoped-var → Status: 400 - -FILE: src/rules/operator-assignment.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/quotes.md - [✖] no-restricted-syntax - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-restricted-syntax → Status: 400 - -FILE: src/rules/no-nested-ternary.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-extra-boolean-cast.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-spaced-func.md - [✖] func-call-spacing - - 1 links checked. - - ERROR: 1 dead links found! - [✖] func-call-spacing → Status: 400 - -FILE: src/rules/no-caller.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/consistent-return.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/switch-colon-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-duplicate-imports.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-template.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-loss-of-precision.md - [✓] https://en.wikipedia.org/wiki/IEEE_754 - - 1 links checked. - -FILE: src/rules/no-plusplus.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-unsafe-finally.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-throw-literal.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-labels.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-reflect.md - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflection - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.apply - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-function.prototype.apply - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-function.prototype.call - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.deleteproperty - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-delete-operator-runtime-semantics-evaluation - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.getownpropertydescriptor - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.getownpropertydescriptor - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.getprototypeof - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.getprototypeof - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.setprototypeof - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.setprototypeof - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect.preventextensions - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-object.preventextensions - [✖] no-delete-var - - 15 links checked. - - ERROR: 1 dead links found! - [✖] no-delete-var → Status: 400 - -FILE: src/rules/logical-assignment-operators.md - [✖] ./operator-assignment - - 1 links checked. - - ERROR: 1 dead links found! - [✖] ./operator-assignment → Status: 400 - -FILE: src/rules/no-useless-backreference.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions - - 1 links checked. - -FILE: src/rules/max-lines-per-function.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/radix.md - [✓] https://davidwalsh.name/parseint-radix - - 1 links checked. - -FILE: src/rules/no-space-before-semi.md - [✖] semi-spacing - - 1 links checked. - - ERROR: 1 dead links found! - [✖] semi-spacing → Status: 400 - -FILE: src/rules/no-constant-binary-expression.md - [✓] https://eslint.org/blog/2022/07/interesting-bugs-caught-by-no-constant-binary-expression/ - - 1 links checked. - -FILE: src/rules/brace-style.md - [✓] https://en.wikipedia.org/wiki/Indent_style - [✓] https://en.wikipedia.org/wiki/Indent_style#Allman_style - - 2 links checked. - -FILE: src/rules/no-control-regex.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-sparse-arrays.md - [✓] https://www.nczonline.net/blog/2007/09/09/inconsistent-array-literals/ - - 1 links checked. - -FILE: src/rules/no-unused-vars.md - [✓] https://github.com/tc39/proposal-object-rest-spread - - 1 links checked. - -FILE: src/rules/linebreak-style.md - [✓] https://git-scm.com/ - [✓] https://git-scm.com/docs/gitattributes - [✓] https://jscs-dev.github.io/rule/validateLineBreaks - - 3 links checked. - -FILE: src/rules/prefer-numeric-literals.md - [✓] https://jscs-dev.github.io/rule/requireNumericLiterals - - 1 links checked. - -FILE: src/rules/no-alert.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/func-style.md - [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html - - 1 links checked. - -FILE: src/rules/capitalized-comments.md - [✓] https://jscs-dev.github.io/rule/requireCapitalizedComments - [✓] https://jscs-dev.github.io/rule/disallowCapitalizedComments - - 2 links checked. - -FILE: src/rules/no-sequences.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-whitespace-before-property.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-duplicate-case.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/object-shorthand.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer - - 1 links checked. - -FILE: src/rules/yoda.md - [✓] https://en.wikipedia.org/wiki/Yoda_conditions - [✓] http://thomas.tuerke.net/on/design/?with=1249091668#msg1146181680 - - 2 links checked. - -FILE: src/rules/prefer-regex-literals.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp - - 2 links checked. - -FILE: src/rules/no-restricted-modules.md - [✓] https://github.com/mysticatea/eslint-plugin-node - [✓] https://github.com/nodejs/node/tree/master/lib - - 2 links checked. - -FILE: src/rules/no-constructor-return.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/sort-keys.md - [✓] https://jscs-dev.github.io/rule/validateOrderInObjectKeys - - 1 links checked. - -FILE: src/rules/template-tag-spacing.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_template_literals - [✓] https://exploringjs.com/es6/ch_template-literals.html#_examples-of-using-tagged-template-literals - [✖] #further-reading - - 3 links checked. - - ERROR: 1 dead links found! - [✖] #further-reading → Status: 404 - -FILE: src/rules/no-reserved-keys.md - [✓] https://kangax.github.io/compat-table/es5/#Reserved_words_as_property_names - [✖] quote-props - - 2 links checked. - - ERROR: 1 dead links found! - [✖] quote-props → Status: 400 - -FILE: src/rules/no-cond-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-unreachable-loop.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/eqeqeq.md - [✓] https://www.ecma-international.org/ecma-262/5.1/#sec-11.9.3 - - 1 links checked. - -FILE: src/rules/no-proto.md - [✓] https://johnresig.com/blog/objectgetprototypeof/ - - 1 links checked. - -FILE: src/rules/no-process-exit.md - [✓] https://github.com/mysticatea/eslint-plugin-node - [✓] https://nodejs.org/api/process.html#process_process_exitcode - - 2 links checked. - -FILE: src/rules/id-denylist.md - [✖] ../users/configuring/rules - - 1 links checked. - - ERROR: 1 dead links found! - [✖] ../users/configuring/rules → Status: 400 - -FILE: src/rules/newline-after-var.md - [✖] padding-line-between-statements - - 1 links checked. - - ERROR: 1 dead links found! - [✖] padding-line-between-statements → Status: 400 - -FILE: src/rules/no-extra-bind.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind - [✓] https://www.smashingmagazine.com/2014/01/understanding-javascript-function-prototype-bind/ - - 2 links checked. - -FILE: src/rules/comma-dangle.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-exponentiation-operator.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation - [✓] https://bugs.chromium.org/p/v8/issues/detail?id=5848 - - 2 links checked. - -FILE: src/rules/no-nonoctal-decimal-escape.md - [✓] https://tc39.es/ecma262/#prod-annexB-NonOctalDecimalEscapeSequence - - 1 links checked. - -FILE: src/rules/no-mixed-operators.md - [✖] no-extra-parens - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-extra-parens → Status: 400 - -FILE: src/rules/no-new-object.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-octal.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-magic-numbers.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length - - 1 links checked. - -FILE: src/rules/eol-last.md - [✖] no-multiple-empty-lines - [✖] no-trailing-spaces - - 2 links checked. - - ERROR: 2 dead links found! - [✖] no-multiple-empty-lines → Status: 400 - [✖] no-trailing-spaces → Status: 400 - -FILE: src/rules/arrow-body-style.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/space-before-function-paren.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-unmodified-loop-condition.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-param-reassign.md - [✓] https://spin.atomicobject.com/2011/04/10/javascript-don-t-reassign-your-function-arguments/ - - 1 links checked. - -FILE: src/rules/global-strict.md - [✖] strict - - 1 links checked. - - ERROR: 1 dead links found! - [✖] strict → Status: 400 - -FILE: src/rules/no-unused-labels.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-negated-in-lhs.md - [✖] no-unsafe-negation - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-unsafe-negation → Status: 400 - -FILE: src/rules/vars-on-top.md - [✓] https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var#var_hoisting - [✓] https://danhough.com/blog/single-var-pattern-rant/ - [✓] https://benalman.com/news/2012/05/multiple-var-statements-javascript/ - - 4 links checked. - -FILE: src/rules/no-extend-native.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-ex-assign.md - [✓] https://bocoup.com/blog/the-catch-with-try-catch - - 1 links checked. - -FILE: src/rules/use-isnan.md - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.indexof - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.lastindexof - - 2 links checked. - -FILE: src/rules/handle-callback-err.md - [✓] https://github.com/maxogden/art-of-node#callbacks - [✓] https://web.archive.org/web/20171224042620/https://docs.nodejitsu.com/articles/errors/what-are-the-error-conventions/ - [✓] https://github.com/mysticatea/eslint-plugin-node - - 3 links checked. - -FILE: src/rules/no-obj-calls.md - [✓] https://es5.github.io/#x15.8 - [✓] https://www.ecma-international.org/ecma-262/6.0/index.html#sec-reflect-object - [✓] https://www.ecma-international.org/ecma-262/8.0/index.html#sec-atomics-object - [✓] https://tc39.es/ecma402/#intl-object - - 4 links checked. - -FILE: src/rules/no-dupe-else-if.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-case-declarations.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-warning-comments.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-self-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-ternary.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/spaced-line-comment.md - [✖] spaced-comment - - 1 links checked. - - ERROR: 1 dead links found! - [✖] spaced-comment → Status: 400 - -FILE: src/rules/no-label-var.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-eq-null.md - [✖] ./eqeqeq - - 1 links checked. - - ERROR: 1 dead links found! - [✖] ./eqeqeq → Status: 400 - -FILE: src/rules/no-shadow.md - [✓] https://en.wikipedia.org/wiki/Variable_shadowing - - 1 links checked. - -FILE: src/rules/no-new-wrappers.md - [✓] https://www.inkling.com/read/javascript-definitive-guide-david-flanagan-6th/chapter-3/wrapper-objects - - 1 links checked. - -FILE: src/rules/no-implicit-globals.md - [✓] https://benalman.com/news/2010/11/immediately-invoked-function-expression/ - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Undeclared_var - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#Temporal_dead_zone - [✖] ../users/configuring#specifying-environments - [✖] ../users/configuring#specifying-globals - [✖] ./no-unused-vars - [✖] ./no-unused-vars#exported - - 7 links checked. - - ERROR: 4 dead links found! - [✖] ../users/configuring#specifying-environments → Status: 400 - [✖] ../users/configuring#specifying-globals → Status: 400 - [✖] ./no-unused-vars → Status: 400 - [✖] ./no-unused-vars#exported → Status: 400 - -FILE: src/rules/func-call-spacing.md - [✓] https://jscs-dev.github.io/rule/disallowSpacesInCallExpression - [✓] https://jscs-dev.github.io/rule/requireSpacesInCallExpression - - 2 links checked. - -FILE: src/rules/default-case-last.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch - [✖] default-case - - 2 links checked. - - ERROR: 1 dead links found! - [✖] default-case → Status: 400 - -FILE: src/rules/spaced-comment.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/padded-blocks.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-native-reassign.md - [✖] no-global-assign - [✖] ../users/configuring#specifying-environments - [✖] ../users/configuring#specifying-globals - - 3 links checked. - - ERROR: 3 dead links found! - [✖] no-global-assign → Status: 400 - [✖] ../users/configuring#specifying-environments → Status: 400 - [✖] ../users/configuring#specifying-globals → Status: 400 - -FILE: src/rules/func-name-matching.md - [✓] https://jscs-dev.github.io/rule/requireMatchingFunctionName - - 1 links checked. - -FILE: src/rules/max-params.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-object-has-own.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn - [✖] no-prototype-builtins - - 2 links checked. - - ERROR: 1 dead links found! - [✖] no-prototype-builtins → Status: 400 - -FILE: src/rules/no-multi-spaces.md - [✓] https://github.com/estree/estree - [✓] https://astexplorer.net/ - [✖] key-spacing - - 3 links checked. - - ERROR: 1 dead links found! - [✖] key-spacing → Status: 400 - -FILE: src/rules/no-useless-concat.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/multiline-comment-style.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-constant-condition.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-wrap-func.md - [✖] no-extra-parens - - 1 links checked. - - ERROR: 1 dead links found! - [✖] no-extra-parens → Status: 400 - -FILE: src/rules/no-eval.md - [✓] https://ericlippert.com/2003/11/01/eval-is-evil-part-one/ - [✓] https://javascriptweblog.wordpress.com/2010/04/19/how-evil-is-eval/ - - 2 links checked. - -FILE: src/rules/no-loop-func.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/array-element-newline.md - [✓] https://jscs-dev.github.io/rule/validateNewlineAfterArrayElements - - 1 links checked. - -FILE: src/rules/no-useless-rename.md - [✓] https://jscs-dev.github.io/rule/disallowIdenticalDestructuringNames - - 1 links checked. - -FILE: src/rules/for-direction.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-restricted-properties.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-empty-pattern.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/space-unary-word-ops.md - [✖] space-unary-ops - - 1 links checked. - - ERROR: 1 dead links found! - [✖] space-unary-ops → Status: 400 - -FILE: src/rules/operator-linebreak.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/yield-star-spacing.md - [✓] https://leanpub.com/understandinges6/read/#leanpub-auto-generators - - 1 links checked. - -FILE: src/rules/require-unicode-regexp.md - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-regular-expressions-patterns - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode - - 2 links checked. - -FILE: src/rules/no-new.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/valid-jsdoc.md - [✓] https://jsdoc.app - [✓] https://eslint.org/blog/2018/11/jsdoc-end-of-life - [✖] http://usejsdoc.org - - 3 links checked. - - ERROR: 1 dead links found! - [✖] http://usejsdoc.org → Status: 0 - -FILE: src/rules/semi-style.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-named-capture-group.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/curly.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-dupe-keys.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/space-unary-ops.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-fallthrough.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/function-paren-newline.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/nonblock-statement-body-position.md - [✓] https://jscs-dev.github.io/rule/requireNewlineBeforeSingleStatementsInIf - [✖] curly - - 2 links checked. - - ERROR: 1 dead links found! - [✖] curly → Status: 400 - -FILE: src/rules/no-const-assign.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-lonely-if.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/array-callback-return.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.from - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.every - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.filter - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.find - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.findindex - [✓] https://tc39.es/ecma262/#sec-array.prototype.findlast - [✓] https://tc39.es/ecma262/#sec-array.prototype.findlastindex - [✓] https://www.ecma-international.org/ecma-262/10.0/#sec-array.prototype.flatmap - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.foreach - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.map - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.reduce - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.reduceright - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.some - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.sort - - 15 links checked. - -FILE: src/rules/no-empty-character-class.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/indent-legacy.md - [✖] indent - [✓] https://jscs-dev.github.io/rule/validateIndentation - - 2 links checked. - - ERROR: 1 dead links found! - [✖] indent → Status: 400 - -FILE: src/rules/no-implied-eval.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/max-len.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/lines-between-class-members.md - [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesAfterBlocks - [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesAfterBlocks - - 2 links checked. - -FILE: src/rules/no-array-constructor.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-div-regex.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-irregular-whitespace.md - [✓] https://es5.github.io/#x7.2 - [✓] https://web.archive.org/web/20200414142829/http://timelessrepo.com/json-isnt-a-javascript-subset - - 2 links checked. - -FILE: src/rules/strict.md - [✖] ../users/configuring/language-options#specifying-parser-options - [✓] #function - [✖] no-unused-expressions - [✖] ../users/configuring/language-options#specifying-environments - [✖] ../users/configuring/rules#disabling-rules - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode#Differences_from_non-strict_to_strict - - 6 links checked. - - ERROR: 4 dead links found! - [✖] ../users/configuring/language-options#specifying-parser-options → Status: 400 - [✖] no-unused-expressions → Status: 400 - [✖] ../users/configuring/language-options#specifying-environments → Status: 400 - [✖] ../users/configuring/rules#disabling-rules → Status: 400 - -FILE: src/rules/space-infix-ops.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/prefer-promise-reject-errors.md - [✓] http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-rejected-with-a-non-error - [✖] no-throw-literal#known-limitations - [✖] no-throw-literal - - 3 links checked. - - ERROR: 2 dead links found! - [✖] no-throw-literal#known-limitations → Status: 400 - [✖] no-throw-literal → Status: 400 - -FILE: src/rules/no-useless-escape.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/wrap-iife.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/computed-property-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/space-in-brackets.md - [✖] object-curly-spacing - [✖] array-bracket-spacing - - 2 links checked. - - ERROR: 2 dead links found! - [✖] object-curly-spacing → Status: 400 - [✖] array-bracket-spacing → Status: 400 - -FILE: src/rules/array-bracket-newline.md - [✓] https://jscs-dev.github.io/rule/validateNewlineAfterArrayElements - - 1 links checked. - -FILE: src/rules/no-undef.md - [✖] ../users/configuring/language-options#using-configuration-files-1 - [✖] no-global-assign - [✖] no-redeclare - [✖] ../users/configuring/language-options#specifying-environments - [✓] http://jshint.com/ - [✓] http://www.jslint.com - - 6 links checked. - - ERROR: 4 dead links found! - [✖] ../users/configuring/language-options#using-configuration-files-1 → Status: 400 - [✖] no-global-assign → Status: 400 - [✖] no-redeclare → Status: 400 - [✖] ../users/configuring/language-options#specifying-environments → Status: 400 - -FILE: src/rules/no-extra-label.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/one-var.md - [✓] https://jscs-dev.github.io/rule/disallowMultipleVarDecl - [✓] https://jscs-dev.github.io/rule/requireMultipleVarDecl - - 2 links checked. - -FILE: src/rules/consistent-this.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-floating-decimal.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/newline-before-return.md - [✖] padding-line-between-statements - - 1 links checked. - - ERROR: 1 dead links found! - [✖] padding-line-between-statements → Status: 400 - -FILE: src/rules/function-call-argument-newline.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-new-symbol.md - [✓] https://www.ecma-international.org/ecma-262/6.0/#sec-symbol-objects - - 1 links checked. - -FILE: src/rules/no-compare-neg-zero.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-extra-semi.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/padding-line-between-statements.md - [✖] newline-before-return - [✖] newline-after-var - [✖] lines-around-directive - [✓] https://jscs-dev.github.io/rule/requirePaddingNewLineAfterVariableDeclaration - [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesAfterBlocks - [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesAfterBlocks - [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesAfterUseStrict - [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesAfterUseStrict - [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesBeforeExport - [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesBeforeExport - [✓] https://jscs-dev.github.io/rule/requirePaddingNewlinesBeforeKeywords - [✓] https://jscs-dev.github.io/rule/disallowPaddingNewlinesBeforeKeywords - - 12 links checked. - - ERROR: 3 dead links found! - [✖] newline-before-return → Status: 400 - [✖] newline-after-var → Status: 400 - [✖] lines-around-directive → Status: 400 - -FILE: src/rules/no-extra-strict.md - [✓] https://es5.github.io/#C - [✖] strict - - 2 links checked. - - ERROR: 1 dead links found! - [✖] strict → Status: 400 - -FILE: src/rules/dot-notation.md - [✓] https://en.wikipedia.org/wiki/Snake_case - - 1 links checked. - -FILE: src/rules/sort-vars.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-var.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/implicit-arrow-linebreak.md - [✖] arrow-body-style - - 1 links checked. - - ERROR: 1 dead links found! - [✖] arrow-body-style → Status: 400 - -FILE: src/rules/no-buffer-constructor.md - [✓] https://nodejs.org/api/buffer.html - [✓] https://github.com/ChALkeR/notes/blob/master/Lets-fix-Buffer-API.md - [✓] https://github.com/nodejs/node/issues/4660 - [✓] https://github.com/mysticatea/eslint-plugin-node - - 4 links checked. - -FILE: src/rules/arrow-parens.md - [✓] https://github.com/airbnb/javascript#arrows--one-arg-parens - - 1 links checked. - -FILE: src/rules/no-new-native-nonconstructor.md - [✓] https://tc39.es/ecma262/#sec-symbol-constructor - [✓] https://tc39.es/ecma262/#sec-bigint-constructor - - 2 links checked. - -FILE: src/rules/class-methods-use-this.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/static - - 2 links checked. - -FILE: src/rules/object-curly-newline.md - [✓] https://jscs-dev.github.io/rule/requirePaddingNewLinesInObjects - [✓] https://jscs-dev.github.io/rule/disallowPaddingNewLinesInObjects - - 2 links checked. - -FILE: src/rules/semi-spacing.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/no-setter-return.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set - - 1 links checked. - -FILE: src/rules/space-return-throw-case.md - [✖] keyword-spacing - [✖] ../users/command-line-interface#--fix - - 2 links checked. - - ERROR: 2 dead links found! - [✖] keyword-spacing → Status: 400 - [✖] ../users/command-line-interface#--fix → Status: 400 - -FILE: src/rules/lines-around-comment.md - [✓] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp - - 1 links checked. - -FILE: src/rules/id-match.md - No hyperlinks found! - - 0 links checked. - -FILE: src/rules/complexity.md - [✓] https://en.wikipedia.org/wiki/Cyclomatic_complexity - [✓] https://ariya.io/2012/12/complexity-analysis-of-javascript-code - [✓] https://craftsmanshipforsoftware.com/2015/05/25/complexity-for-javascript/ - [✓] https://web.archive.org/web/20160808115119/http://jscomplexity.org/complexity - [✓] https://github.com/eslint/eslint/issues/4808#issuecomment-167795140 - - 5 links checked. - -FILE: src/rules/guard-for-in.md - [✓] https://javascriptweblog.wordpress.com/2011/01/04/exploring-javascript-for-in-loops/ - [✓] https://2ality.com/2012/01/objects-as-maps.html - [✖] no-prototype-builtins - - 3 links checked. - - ERROR: 1 dead links found! - [✖] no-prototype-builtins → Status: 400 - -FILE: src/pages/languages.md - No hyperlinks found! - - 0 links checked. - -FILE: src/pages/versions.md - No hyperlinks found! - - 0 links checked. - -FILE: src/pages/index.md - [✖] user-guide/ - [✖] developer-guide/ - [✖] maintainer-guide/ - - 3 links checked. - - ERROR: 3 dead links found! - [✖] user-guide/ → Status: 400 - [✖] developer-guide/ → Status: 400 - [✖] maintainer-guide/ → Status: 400 - -FILE: src/pages/rules.md - No hyperlinks found! - - 0 links checked. From 7b8265fc0daf2558390cdfd76cfb316ed5c13a58 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Tue, 20 Dec 2022 22:03:30 -0500 Subject: [PATCH 17/41] Change links outside of docs so no redirects --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- CONTRIBUTING.md | 12 +++++----- Makefile.js | 2 +- README.md | 24 +++++++++---------- conf/rule-type-list.json | 4 ++-- .../contribute/package-json-conventions.md | 2 +- docs/src/pages/index.md | 6 +---- docs/src/use/command-line-interface.md | 2 +- .../formatters/formatters-meta.json | 4 ++-- lib/rule-tester/flat-rule-tester.js | 2 +- lib/rule-tester/rule-tester.js | 6 ++--- messages/print-config-with-directory-path.js | 2 +- packages/eslint-config-eslint/README.md | 2 +- templates/blogpost.md.ejs | 2 +- tests/lib/rule-tester/rule-tester.js | 10 ++++---- tools/fetch-docs-links.js | 2 +- 16 files changed, 40 insertions(+), 44 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 8c4bf8eb1b7..e8645832fcf 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -31,7 +31,7 @@ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 40163d86847..8173a5b049d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,18 +10,18 @@ This project adheres to the [Open JS Foundation Code of Conduct](https://eslint. Before filing an issue, please be sure to read the guidelines for what you're reporting: -* [Bug Report](https://eslint.org/docs/developer-guide/contributing/reporting-bugs) -* [Propose a New Rule](https://eslint.org/docs/developer-guide/contributing/new-rules) -* [Proposing a Rule Change](https://eslint.org/docs/developer-guide/contributing/rule-changes) -* [Request a Change](https://eslint.org/docs/developer-guide/contributing/changes) +* [Bug Report](https://eslint.org/docs/contribute/report-bugs) +* [Propose a New Rule](https://eslint.org/docs/contribute/propose-new-rule) +* [Proposing a Rule Change](https://eslint.org/docs/contribute/propose-rule-change) +* [Request a Change](https://eslint.org/docs/contribute/request-change) To report a security vulnerability in ESLint, please use our [HackerOne program](https://hackerone.com/eslint). ## Contributing Code -In order to submit code or documentation to an ESLint project, you’ll be asked to sign our CLA when you send your first pull request. (Read more about the Open JS Foundation CLA process at .) Also, please read over the [Pull Request Guidelines](https://eslint.org/docs/developer-guide/contributing/pull-requests). +In order to submit code or documentation to an ESLint project, you’ll be asked to sign our CLA when you send your first pull request. (Read more about the Open JS Foundation CLA process at .) Also, please read over the [Pull Request Guidelines](https://eslint.org/docs/contribute/pull-requests). ## Full Documentation Our full contribution guidelines can be found at: - + diff --git a/Makefile.js b/Makefile.js index f74c8c44e97..c20e3d411b4 100644 --- a/Makefile.js +++ b/Makefile.js @@ -167,7 +167,7 @@ function generateBlogPost(releaseInfo, prereleaseMajorVersion) { */ function generateFormatterExamples(formatterInfo) { const output = ejs.render(cat("./templates/formatter-examples.md.ejs"), formatterInfo); - const outputDir = path.join(DOCS_SRC_DIR, "user-guide/formatters/"), + const outputDir = path.join(DOCS_SRC_DIR, "use/formatters/"), filename = path.join(outputDir, "index.md"), htmlFilename = path.join(outputDir, "html-formatter-example.html"); diff --git a/README.md b/README.md index a6359aef5c2..1a95fb9c290 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,10 @@ # ESLint [Website](https://eslint.org) | -[Configuring](https://eslint.org/docs/user-guide/configuring) | +[Configuring](https://eslint.org/docs/use/configure) | [Rules](https://eslint.org/docs/rules/) | -[Contributing](https://eslint.org/docs/developer-guide/contributing) | -[Reporting Bugs](https://eslint.org/docs/developer-guide/contributing/reporting-bugs) | +[Contributing](https://eslint.org/docs/contribute) | +[Reporting Bugs](https://eslint.org/docs/contribute/report-bugs) | [Code of Conduct](https://eslint.org/conduct) | [Twitter](https://twitter.com/geteslint) | [Mailing List](https://groups.google.com/group/eslint) | @@ -76,7 +76,7 @@ The names `"semi"` and `"quotes"` are the names of [rules](https://eslint.org/do * `"warn"` or `1` - turn the rule on as a warning (doesn't affect exit code) * `"error"` or `2` - turn the rule on as an error (exit code will be 1) -The three error levels allow you fine-grained control over how ESLint applies rules (for more configuration options and details, see the [configuration docs](https://eslint.org/docs/user-guide/configuring)). +The three error levels allow you fine-grained control over how ESLint applies rules (for more configuration options and details, see the [configuration docs](https://eslint.org/docs/use/configure)). ## Code of Conduct @@ -86,10 +86,10 @@ ESLint adheres to the [JS Foundation Code of Conduct](https://eslint.org/conduct Before filing an issue, please be sure to read the guidelines for what you're reporting: -* [Bug Report](https://eslint.org/docs/developer-guide/contributing/reporting-bugs) -* [Propose a New Rule](https://eslint.org/docs/developer-guide/contributing/new-rules) -* [Proposing a Rule Change](https://eslint.org/docs/developer-guide/contributing/rule-changes) -* [Request a Change](https://eslint.org/docs/developer-guide/contributing/changes) +* [Bug Report](https://eslint.org/docs/contribute/report-bugs) +* [Propose a New Rule](https://eslint.org/docs/contribute/propose-new-rule) +* [Proposing a Rule Change](https://eslint.org/docs/contribute/propose-rule-change) +* [Request a Change](https://eslint.org/docs/contribute/request-change) ## Frequently Asked Questions @@ -97,7 +97,7 @@ Before filing an issue, please be sure to read the guidelines for what you're re Yes. [JSCS has reached end of life](https://eslint.org/blog/2016/07/jscs-end-of-life) and is no longer supported. -We have prepared a [migration guide](https://eslint.org/docs/user-guide/migrating-from-jscs) to help you convert your JSCS settings to an ESLint configuration. +We have prepared a [migration guide](https://eslint.org/docs/use/migrating-from-jscs) to help you convert your JSCS settings to an ESLint configuration. We are now at or near 100% compatibility with JSCS. If you try ESLint and believe we are not yet compatible with a JSCS rule/configuration, please create an issue (mentioning that it is a JSCS compatibility issue) and we will evaluate it as per our normal process. @@ -113,11 +113,11 @@ No, ESLint does both traditional linting (looking for problematic patterns) and ### Does ESLint support JSX? -Yes, ESLint natively supports parsing JSX syntax (this must be enabled in [configuration](https://eslint.org/docs/user-guide/configuring)). Please note that supporting JSX syntax *is not* the same as supporting React. React applies specific semantics to JSX syntax that ESLint doesn't recognize. We recommend using [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) if you are using React and want React semantics. +Yes, ESLint natively supports parsing JSX syntax (this must be enabled in [configuration](https://eslint.org/docs/use/configure)). Please note that supporting JSX syntax *is not* the same as supporting React. React applies specific semantics to JSX syntax that ESLint doesn't recognize. We recommend using [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) if you are using React and want React semantics. ### What ECMAScript versions does ESLint support? -ESLint has full support for ECMAScript 3, 5 (default), 2015, 2016, 2017, 2018, 2019, 2020, 2021 and 2022. You can set your desired ECMAScript syntax (and other settings, like global variables or your target environments) through [configuration](https://eslint.org/docs/user-guide/configuring). +ESLint has full support for ECMAScript 3, 5 (default), 2015, 2016, 2017, 2018, 2019, 2020, 2021 and 2022. You can set your desired ECMAScript syntax (and other settings, like global variables or your target environments) through [configuration](https://eslint.org/docs/use/configure). ### What about experimental features? @@ -125,7 +125,7 @@ ESLint's parser only officially supports the latest final ECMAScript standard. W In other cases (including if rules need to warn on more or fewer cases due to new syntax, rather than just not crashing), we recommend you use other parsers and/or rule plugins. If you are using Babel, you can use [@babel/eslint-parser](https://www.npmjs.com/package/@babel/eslint-parser) and [@babel/eslint-plugin](https://www.npmjs.com/package/@babel/eslint-plugin) to use any option available in Babel. -Once a language feature has been adopted into the ECMAScript standard (stage 4 according to the [TC39 process](https://tc39.github.io/process-document/)), we will accept issues and pull requests related to the new feature, subject to our [contributing guidelines](https://eslint.org/docs/developer-guide/contributing). Until then, please use the appropriate parser and plugin(s) for your experimental feature. +Once a language feature has been adopted into the ECMAScript standard (stage 4 according to the [TC39 process](https://tc39.github.io/process-document/)), we will accept issues and pull requests related to the new feature, subject to our [contributing guidelines](https://eslint.org/docs/contribute). Until then, please use the appropriate parser and plugin(s) for your experimental feature. ### Where to ask for help? diff --git a/conf/rule-type-list.json b/conf/rule-type-list.json index f362aa412f9..517f8219166 100644 --- a/conf/rule-type-list.json +++ b/conf/rule-type-list.json @@ -6,12 +6,12 @@ ], "deprecated": { "name": "Deprecated", - "description": "These rules have been deprecated in accordance with the deprecation policy, and replaced by newer rules:", + "description": "These rules have been deprecated in accordance with the deprecation policy, and replaced by newer rules:", "rules": [] }, "removed": { "name": "Removed", - "description": "These rules from older versions of ESLint (before the deprecation policy existed) have been replaced by newer rules:", + "description": "These rules from older versions of ESLint (before the deprecation policy existed) have been replaced by newer rules:", "rules": [ { "removed": "generator-star", "replacedBy": ["generator-star-spacing"] }, { "removed": "global-strict", "replacedBy": ["strict"] }, diff --git a/docs/src/contribute/package-json-conventions.md b/docs/src/contribute/package-json-conventions.md index 1934bb8e593..99afe8b2222 100644 --- a/docs/src/contribute/package-json-conventions.md +++ b/docs/src/contribute/package-json-conventions.md @@ -1,6 +1,6 @@ --- title: Package.json Conventions -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/extend/package-json-conventions.md +edit_link: https://github.com/eslint/eslint/edit/main/docs/src/contribute/package-json-conventions.md --- The following applies to the "scripts" section of `package.json` files. diff --git a/docs/src/pages/index.md b/docs/src/pages/index.md index 58a3cb012e2..a2e82b8cd1c 100644 --- a/docs/src/pages/index.md +++ b/docs/src/pages/index.md @@ -10,14 +10,10 @@ Welcome to our documentation pages! What would you like to view? Intended for end users of ESLint. Contains information about core rules, configuration, command line options, formatters, and integrations, as well as guides for migrating from earlier versions of ESLint. -## [Extender Guide](extend/) +## [Developer Guide](extend/) Intended for people who wish to extend ESLint. Contains information about creating custom rules, configurations, plugins, and formatters; and information about our Node.js API. -## [Contributor Guide](contribute/) - -Intended for contributors to ESLint. Contains information about contributing to ESLint, architecture, and project setup. - ## [Maintainer Guide](maintain/) Intended for maintainers of ESLint. diff --git a/docs/src/use/command-line-interface.md b/docs/src/use/command-line-interface.md index e5db0356b1f..61f641ada04 100644 --- a/docs/src/use/command-line-interface.md +++ b/docs/src/use/command-line-interface.md @@ -628,7 +628,7 @@ If the directory for the cache does not exist make sure you add a trailing `/` o ##### `--cache-location` example ```shell -npx eslint "src/**/*.js" --cache --cache-location "/use/user/.eslintcache/" +npx eslint "src/**/*.js" --cache --cache-location "/User/user/.eslintcache/" ``` #### `--cache-strategy` diff --git a/lib/cli-engine/formatters/formatters-meta.json b/lib/cli-engine/formatters/formatters-meta.json index a26ce8d2874..fe48c3b07ac 100644 --- a/lib/cli-engine/formatters/formatters-meta.json +++ b/lib/cli-engine/formatters/formatters-meta.json @@ -17,11 +17,11 @@ }, { "name": "json-with-metadata", - "description": "Outputs JSON-serialized results. The `json-with-metadata` provides the same linting results as the [`json`](#json) formatter with additional metadata about the rules applied. The linting results are included in the `results` property and the rules metadata is included in the `metadata` property.\n\nAlternatively, you can use the [ESLint Node.js API](../../developer-guide/nodejs-api) to programmatically use ESLint." + "description": "Outputs JSON-serialized results. The `json-with-metadata` provides the same linting results as the [`json`](#json) formatter with additional metadata about the rules applied. The linting results are included in the `results` property and the rules metadata is included in the `metadata` property.\n\nAlternatively, you can use the [ESLint Node.js API](../../extend/nodejs-api) to programmatically use ESLint." }, { "name": "json", - "description": "Outputs JSON-serialized results. The `json` formatter is useful when you want to programmatically work with the CLI's linting results.\n\nAlternatively, you can use the [ESLint Node.js API](../../developer-guide/nodejs-api) to programmatically use ESLint." + "description": "Outputs JSON-serialized results. The `json` formatter is useful when you want to programmatically work with the CLI's linting results.\n\nAlternatively, you can use the [ESLint Node.js API](../../extend/nodejs-api) to programmatically use ESLint." }, { "name": "junit", diff --git a/lib/rule-tester/flat-rule-tester.js b/lib/rule-tester/flat-rule-tester.js index b45b5d3c3db..5ab437cd134 100644 --- a/lib/rule-tester/flat-rule-tester.js +++ b/lib/rule-tester/flat-rule-tester.js @@ -430,7 +430,7 @@ class FlatRuleTester { if (typeof this[DESCRIBE] === "function" || typeof this[IT] === "function") { throw new Error( "Set `RuleTester.itOnly` to use `only` with a custom test framework.\n" + - "See https://eslint.org/docs/developer-guide/nodejs-api#customizing-ruletester for more." + "See https://eslint.org/docs/extend/nodejs-api#customizing-ruletester for more." ); } if (typeof it === "function") { diff --git a/lib/rule-tester/rule-tester.js b/lib/rule-tester/rule-tester.js index 62fd467e0b0..20e3ed1ce18 100644 --- a/lib/rule-tester/rule-tester.js +++ b/lib/rule-tester/rule-tester.js @@ -314,7 +314,7 @@ function emitLegacyRuleAPIWarning(ruleName) { if (!emitLegacyRuleAPIWarning[`warned-${ruleName}`]) { emitLegacyRuleAPIWarning[`warned-${ruleName}`] = true; process.emitWarning( - `"${ruleName}" rule is using the deprecated function-style format and will stop working in ESLint v9. Please use object-style format: https://eslint.org/docs/developer-guide/working-with-rules`, + `"${ruleName}" rule is using the deprecated function-style format and will stop working in ESLint v9. Please use object-style format: https://eslint.org/docs/extend/custom-rules`, "DeprecationWarning" ); } @@ -329,7 +329,7 @@ function emitMissingSchemaWarning(ruleName) { if (!emitMissingSchemaWarning[`warned-${ruleName}`]) { emitMissingSchemaWarning[`warned-${ruleName}`] = true; process.emitWarning( - `"${ruleName}" rule has options but is missing the "meta.schema" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/developer-guide/working-with-rules#options-schemas`, + `"${ruleName}" rule has options but is missing the "meta.schema" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/extend/custom-rules#options-schemas`, "DeprecationWarning" ); } @@ -493,7 +493,7 @@ class RuleTester { if (typeof this[DESCRIBE] === "function" || typeof this[IT] === "function") { throw new Error( "Set `RuleTester.itOnly` to use `only` with a custom test framework.\n" + - "See https://eslint.org/docs/developer-guide/nodejs-api#customizing-ruletester for more." + "See https://eslint.org/docs/extend/nodejs-api#customizing-ruletester for more." ); } if (typeof it === "function") { diff --git a/messages/print-config-with-directory-path.js b/messages/print-config-with-directory-path.js index f65bdaaf770..018b0d25bad 100644 --- a/messages/print-config-with-directory-path.js +++ b/messages/print-config-with-directory-path.js @@ -3,6 +3,6 @@ module.exports = function() { return ` The '--print-config' CLI option requires a path to a source code file rather than a directory. -See also: https://eslint.org/docs/user-guide/command-line-interface#--print-config +See also: https://eslint.org/docs/use/command-line-interface#--print-config `.trimStart(); }; diff --git a/packages/eslint-config-eslint/README.md b/packages/eslint-config-eslint/README.md index ea144120fc4..2eaa0881e57 100644 --- a/packages/eslint-config-eslint/README.md +++ b/packages/eslint-config-eslint/README.md @@ -2,7 +2,7 @@ # ESLint Configuration -[Website](https://eslint.org) | [Configuring](https://eslint.org/docs/user-guide/configuring) | [Rules](https://eslint.org/docs/rules/) | [Contributing](https://eslint.org/docs/developer-guide/contributing) | [Twitter](https://twitter.com/geteslint) | [Mailing List](https://groups.google.com/group/eslint) | [Chatroom](https://eslint.org/chat) +[Website](https://eslint.org) | [Configuring](https://eslint.org/docs/use/configure) | [Rules](https://eslint.org/docs/rules/) | [Contributing](https://eslint.org/docs/contribute) | [Twitter](https://twitter.com/geteslint) | [Mailing List](https://groups.google.com/group/eslint) | [Chatroom](https://eslint.org/chat) Contains the ESLint configuration used for projects maintained by the ESLint team. diff --git a/templates/blogpost.md.ejs b/templates/blogpost.md.ejs index 2d73ee127fe..efb1161ed47 100644 --- a/templates/blogpost.md.ejs +++ b/templates/blogpost.md.ejs @@ -50,7 +50,7 @@ npm i eslint@<%- version %> --save-dev ### Migration Guide -As there are a lot of changes, we've created a [migration guide](/docs/<%- prereleaseMajorVersion %>/user-guide/migrating-to-<%- prereleaseMajorVersion %>) describing the changes in great detail along with the steps you should take to address them. We expect that most users should be able to upgrade without any build changes, but the migration guide should be a useful resource if you encounter problems. +As there are a lot of changes, we've created a [migration guide](/docs/<%- prereleaseMajorVersion %>/use/migrating-to-<%- prereleaseMajorVersion %>) describing the changes in great detail along with the steps you should take to address them. We expect that most users should be able to upgrade without any build changes, but the migration guide should be a useful resource if you encounter problems. <% } %> diff --git a/tests/lib/rule-tester/rule-tester.js b/tests/lib/rule-tester/rule-tester.js index bba5f14bfbc..459d7ce0893 100644 --- a/tests/lib/rule-tester/rule-tester.js +++ b/tests/lib/rule-tester/rule-tester.js @@ -2286,7 +2286,7 @@ describe("RuleTester", () => { assert.deepStrictEqual( processStub.getCall(0).args, [ - "\"function-style-rule\" rule is using the deprecated function-style format and will stop working in ESLint v9. Please use object-style format: https://eslint.org/docs/developer-guide/working-with-rules", + "\"function-style-rule\" rule is using the deprecated function-style format and will stop working in ESLint v9. Please use object-style format: https://eslint.org/docs/extend/custom-rules", "DeprecationWarning" ] ); @@ -2304,7 +2304,7 @@ describe("RuleTester", () => { assert.deepStrictEqual( processStub.getCall(0).args, [ - "\"rule-with-no-meta-1\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/developer-guide/working-with-rules#options-schemas", + "\"rule-with-no-meta-1\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/extend/custom-rules#options-schemas", "DeprecationWarning" ] ); @@ -2322,7 +2322,7 @@ describe("RuleTester", () => { assert.deepStrictEqual( processStub.getCall(0).args, [ - "\"rule-with-no-schema-1\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/developer-guide/working-with-rules#options-schemas", + "\"rule-with-no-schema-1\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/extend/custom-rules#options-schemas", "DeprecationWarning" ] ); @@ -2355,7 +2355,7 @@ describe("RuleTester", () => { assert.deepStrictEqual( processStub.getCall(0).args, [ - "\"rule-with-undefined-schema\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/developer-guide/working-with-rules#options-schemas", + "\"rule-with-undefined-schema\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/extend/custom-rules#options-schemas", "DeprecationWarning" ] ); @@ -2387,7 +2387,7 @@ describe("RuleTester", () => { assert.deepStrictEqual( processStub.getCall(0).args, [ - "\"rule-with-null-schema\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/developer-guide/working-with-rules#options-schemas", + "\"rule-with-null-schema\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/extend/custom-rules#options-schemas", "DeprecationWarning" ] ); diff --git a/tools/fetch-docs-links.js b/tools/fetch-docs-links.js index 3d92633f37f..d29dff1b3a0 100644 --- a/tools/fetch-docs-links.js +++ b/tools/fetch-docs-links.js @@ -7,7 +7,7 @@ * * To fetch info for just selected files (for use with lint-staged): * - * node tools/fetch-docs-links.js docs/src/user-guide/index.md + * node tools/fetch-docs-links.js docs/src/use/index.md * * @author Nicholas C. Zakas */ From 29bb65431f8d4d2b272b3c53e85c9536c69b5466 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Tue, 20 Dec 2022 22:12:06 -0500 Subject: [PATCH 18/41] undo mistake --- docs/src/use/command-line-interface.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/use/command-line-interface.md b/docs/src/use/command-line-interface.md index 61f641ada04..c87f77d5030 100644 --- a/docs/src/use/command-line-interface.md +++ b/docs/src/use/command-line-interface.md @@ -628,7 +628,7 @@ If the directory for the cache does not exist make sure you add a trailing `/` o ##### `--cache-location` example ```shell -npx eslint "src/**/*.js" --cache --cache-location "/User/user/.eslintcache/" +npx eslint "src/**/*.js" --cache --cache-location "/Users/user/.eslintcache/" ``` #### `--cache-strategy` From e0cb116481e380924057fc7720f0cb901eadbdec Mon Sep 17 00:00:00 2001 From: Ben Perlmutter <57849986+bpmutter@users.noreply.github.com> Date: Wed, 28 Dec 2022 11:55:02 -0500 Subject: [PATCH 19/41] Apply suggestions from code review Co-authored-by: Amaresh S M --- docs/src/extend/custom-rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index cd6638756a8..a1ff72e16cb 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -377,7 +377,7 @@ Best practices for fixes: Note: Making fixes as small as possible is a best practice, but in some cases it may be correct to extend the range of the fix in order to intentionally prevent other rules from making fixes in a surrounding range in the same pass. For instance, if replacement text declares a new variable, it can be useful to prevent other changes in the scope of the variable as they might cause name collisions. -The following exam∑ple replaces `node` and also ensures that no other fixes will be applied in the range of `node.parent` in the same pass: +The following example replaces `node` and also ensures that no other fixes will be applied in the range of `node.parent` in the same pass: ```js context.report({ From 7d15fdd7768c1e23926c0fa7e87d538a47a03a21 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 11:55:54 -0500 Subject: [PATCH 20/41] remove empty file --- docs/src/extend/unit-tests | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 docs/src/extend/unit-tests diff --git a/docs/src/extend/unit-tests b/docs/src/extend/unit-tests deleted file mode 100644 index e69de29bb2d..00000000000 From 7214e05ab969f0707c7ff0c703c1e5f0ccb2f9fd Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 13:31:13 -0500 Subject: [PATCH 21/41] integrate getting started changes --- docs/src/use/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/use/getting-started.md b/docs/src/use/getting-started.md index 8004da23a2c..31beeac3b67 100644 --- a/docs/src/use/getting-started.md +++ b/docs/src/use/getting-started.md @@ -109,14 +109,14 @@ Before you begin, you must already have a `package.json` file. If you don't, mak npm install --save-dev eslint ``` -1. Add an `.eslintrc` file in one of the [supported configuration file formats](./configuring/configuration-files#configuration-file-formats). +1. Add an `.eslintrc` file in one of the [supported configuration file formats](./configure/configuration-files#configuration-file-formats). ```shell # Create JavaScript configuration file touch .eslintrc.js ``` -1. Add configuration to the `.eslintrc` file. Refer to the [Configuring ESLint documentation](configuring/) to learn how to add rules, environments, custom configurations, plugins, and more. +1. Add configuration to the `.eslintrc` file. Refer to the [Configuring ESLint documentation](configure/) to learn how to add rules, environments, custom configurations, plugins, and more. ```js // .eslintrc.js example From 997dee3bb228cb0a17db3897132e6ed9977acf32 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 13:42:43 -0500 Subject: [PATCH 22/41] add files to delete --- docs/src/user-guide/configuring/configuration-files-new.md | 0 docs/src/user-guide/core-concepts.md | 0 docs/src/user-guide/getting-started.md | 0 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 docs/src/user-guide/configuring/configuration-files-new.md create mode 100644 docs/src/user-guide/core-concepts.md create mode 100644 docs/src/user-guide/getting-started.md diff --git a/docs/src/user-guide/configuring/configuration-files-new.md b/docs/src/user-guide/configuring/configuration-files-new.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/docs/src/user-guide/core-concepts.md b/docs/src/user-guide/core-concepts.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/docs/src/user-guide/getting-started.md b/docs/src/user-guide/getting-started.md new file mode 100644 index 00000000000..e69de29bb2d From b3259eb5c4332cce249de66bf012b9278a46a6da Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 13:43:27 -0500 Subject: [PATCH 23/41] remove unwanted files --- docs/src/user-guide/configuring/configuration-files-new.md | 0 docs/src/user-guide/core-concepts.md | 0 docs/src/user-guide/getting-started.md | 0 3 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 docs/src/user-guide/configuring/configuration-files-new.md delete mode 100644 docs/src/user-guide/core-concepts.md delete mode 100644 docs/src/user-guide/getting-started.md diff --git a/docs/src/user-guide/configuring/configuration-files-new.md b/docs/src/user-guide/configuring/configuration-files-new.md deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/docs/src/user-guide/core-concepts.md b/docs/src/user-guide/core-concepts.md deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/docs/src/user-guide/getting-started.md b/docs/src/user-guide/getting-started.md deleted file mode 100644 index e69de29bb2d..00000000000 From 4ab780787d6e6bc1c8d9780f0e56387491f78a38 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 14:13:23 -0500 Subject: [PATCH 24/41] move nodejs-api to integrate section && update links --- docs/src/extend/custom-formatters.md | 2 +- docs/src/extend/custom-rules.md | 4 ++-- docs/src/extend/index.md | 2 +- docs/src/extend/plugins.md | 2 +- docs/src/{extend => integrate}/nodejs-api.md | 0 docs/src/use/core-concepts.md | 2 +- docs/src/use/formatters/index.md | 4 ++-- docs/src/use/migrating-to-5.0.0.md | 4 ++-- docs/src/use/migrating-to-6.0.0.md | 2 +- docs/src/use/migrating-to-7.0.0.md | 2 +- docs/src/use/migrating-to-8.0.0.md | 2 +- lib/cli-engine/formatters/formatters-meta.json | 4 ++-- lib/rule-tester/flat-rule-tester.js | 2 +- lib/rule-tester/rule-tester.js | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-) rename docs/src/{extend => integrate}/nodejs-api.md (100%) diff --git a/docs/src/extend/custom-formatters.md b/docs/src/extend/custom-formatters.md index 82e74ed8622..b34baaf250e 100644 --- a/docs/src/extend/custom-formatters.md +++ b/docs/src/extend/custom-formatters.md @@ -130,7 +130,7 @@ Each `message` object contains information about the ESLint rule that was trigge The formatter function receives an object as the second argument. The object has the following properties: -* `cwd` ... The current working directory. This value comes from the `cwd` constructor option of the [ESLint](nodejs-api#-new-eslintoptions) class. +* `cwd` ... The current working directory. This value comes from the `cwd` constructor option of the [ESLint](../integrate/nodejs-api#-new-eslintoptions) class. * `maxWarningsExceeded` (optional): If `--max-warnings` was set and the number of warnings exceeded the limit, this property's value will be an object containing two properties: `maxWarnings`, the value of the `--max-warnings` option, and `foundWarnings`, the number of lint warnings. * `rulesMeta` ... The `meta` property values of rules. See the [Working with Rules](custom-rules) page for more information about rules. diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index a1ff72e16cb..bee5ef78a27 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -137,7 +137,7 @@ The `context` object contains additional functionality that is helpful for rules Additionally, the `context` object has the following methods: * `getAncestors()` - returns an array of the ancestors of the currently-traversed node, starting at the root of the AST and continuing through the direct parent of the current node. This array does not include the currently-traversed node itself. -* `getCwd()` - returns the `cwd` passed to [Linter](./nodejs-api#linter). It is a path to a directory that should be considered as the current working directory. +* `getCwd()` - returns the `cwd` passed to [Linter](../integrate/nodejs-api#linter). It is a path to a directory that should be considered as the current working directory. * `getDeclaredVariables(node)` - returns a list of [variables](./scope-manager-interface#variable-interface) declared by the given node. This information can be used to track references to variables. * If the node is a `VariableDeclaration`, all variables declared in the declaration are returned. * If the node is a `VariableDeclarator`, all variables declared in the declarator are returned. @@ -714,7 +714,7 @@ You can access that code path objects with five events related to code paths. Each bundled rule for ESLint core must have a set of unit tests submitted with it to be accepted. The test file is named the same as the source file but lives in `tests/lib/`. For example, if the rule source file is `lib/rules/foo.js` then the test file should be `tests/lib/rules/foo.js`. -ESLint provides the [`RuleTester`](nodejs-api#ruletester) utility to make it easy to write tests for rules. +ESLint provides the [`RuleTester`](../integrate/nodejs-api#ruletester) utility to make it easy to write tests for rules. ## Performance Testing diff --git a/docs/src/extend/index.md b/docs/src/extend/index.md index 753fb7f48dc..151d5045e35 100644 --- a/docs/src/extend/index.md +++ b/docs/src/extend/index.md @@ -45,7 +45,7 @@ You've developed library-specific rules for ESLint and you want to share them wi If you aren't going to use the default parser of ESLint, this section explains about using custom parsers. -## Section 7: [Node.js API](nodejs-api) +## Section 7: [Node.js API](../integrate/nodejs-api) If you're interested in writing a tool that uses ESLint, then you can use the Node.js API to get programmatic access to functionality. diff --git a/docs/src/extend/plugins.md b/docs/src/extend/plugins.md index 42c8322ad38..8de331714db 100644 --- a/docs/src/extend/plugins.md +++ b/docs/src/extend/plugins.md @@ -222,7 +222,7 @@ The plugin support was introduced in ESLint version `0.8.0`. Ensure the `peerDep ### Testing -ESLint provides the [`RuleTester`](nodejs-api#ruletester) utility to make it easy to test the rules of your plugin. +ESLint provides the [`RuleTester`](../integrate/nodejs-api#ruletester) utility to make it easy to test the rules of your plugin. ### Linting diff --git a/docs/src/extend/nodejs-api.md b/docs/src/integrate/nodejs-api.md similarity index 100% rename from docs/src/extend/nodejs-api.md rename to docs/src/integrate/nodejs-api.md diff --git a/docs/src/use/core-concepts.md b/docs/src/use/core-concepts.md index 931c1f5c613..93b0fb9fa82 100644 --- a/docs/src/use/core-concepts.md +++ b/docs/src/use/core-concepts.md @@ -79,4 +79,4 @@ The ESLint Node.js API lets you use ESLint programmatically from Node.js code. T Unless you are extending ESLint in some way, you should use the CLI. -For more information, refer to [Command Line Interface](./command-line-interface) and [Node.js API](../extend/nodejs-api). +For more information, refer to [Command Line Interface](./command-line-interface) and [Node.js API](../integrate/nodejs-api). diff --git a/docs/src/use/formatters/index.md b/docs/src/use/formatters/index.md index 7f4b04e1eb7..fe8d68d08ef 100644 --- a/docs/src/use/formatters/index.md +++ b/docs/src/use/formatters/index.md @@ -117,7 +117,7 @@ Example output: Outputs JSON-serialized results. The `json-with-metadata` provides the same linting results as the [`json`](#json) formatter with additional metadata about the rules applied. The linting results are included in the `results` property and the rules metadata is included in the `metadata` property. -Alternatively, you can use the [ESLint Node.js API](../../developer-guide/nodejs-api) to programmatically use ESLint. +Alternatively, you can use the [ESLint Node.js API](../../integrate/nodejs-api) to programmatically use ESLint. Example output: @@ -129,7 +129,7 @@ Example output: Outputs JSON-serialized results. The `json` formatter is useful when you want to programmatically work with the CLI's linting results. -Alternatively, you can use the [ESLint Node.js API](../../developer-guide/nodejs-api) to programmatically use ESLint. +Alternatively, you can use the [ESLint Node.js API](../../integrate/nodejs-api) to programmatically use ESLint. Example output: diff --git a/docs/src/use/migrating-to-5.0.0.md b/docs/src/use/migrating-to-5.0.0.md index 3656e3c41c9..82d68a24abf 100644 --- a/docs/src/use/migrating-to-5.0.0.md +++ b/docs/src/use/migrating-to-5.0.0.md @@ -113,7 +113,7 @@ ESLint v5 will report a fatal error when either of the following conditions is m * A file provided on the command line does not exist * A glob or folder provided on the command line does not match any lintable files -Note that this also affects the [`CLIEngine.executeOnFiles()`](../extend/nodejs-api#cliengineexecuteonfiles) API. +Note that this also affects the [`CLIEngine.executeOnFiles()`](../integrate/nodejs-api#cliengineexecuteonfiles) API. **To address:** If you encounter an error about missing files after upgrading to ESLint v5, you may want to double-check that there are no typos in the paths you provide to ESLint. To make the error go away, you can simply remove the given files or globs from the list of arguments provided to ESLint on the command line. @@ -268,6 +268,6 @@ In ESLint v5, an unsuccessful linting run due to a fatal error will result in an ## The `eslint.linter` property is now non-enumerable -When using ESLint's Node.js API, the [`linter`](../extend/nodejs-api#linter-1) property is now non-enumerable. Note that the `linter` property was deprecated in ESLint v4 in favor of the [`Linter`](../extend/nodejs-api#linter) property. +When using ESLint's Node.js API, the [`linter`](../integrate/nodejs-api#linter-1) property is now non-enumerable. Note that the `linter` property was deprecated in ESLint v4 in favor of the [`Linter`](../integrate/nodejs-api#linter) property. **To address:** If you rely on enumerating all the properties of the `eslint` object, use something like `Object.getOwnPropertyNames` to ensure that non-enumerable keys are captured. diff --git a/docs/src/use/migrating-to-6.0.0.md b/docs/src/use/migrating-to-6.0.0.md index 9cc10825e45..0d2595ee062 100644 --- a/docs/src/use/migrating-to-6.0.0.md +++ b/docs/src/use/migrating-to-6.0.0.md @@ -328,6 +328,6 @@ Previously, when linting code with a parser that had not been previously defined In ESLint v6, `Linter` will no longer perform any filesystem operations, including loading parsers. -**To address:** If you're using `Linter` with a custom parser, use [`Linter#defineParser`](../extend/nodejs-api#linterdefineparser) to explicitly define the parser before linting any code. +**To address:** If you're using `Linter` with a custom parser, use [`Linter#defineParser`](../integrate/nodejs-api#linterdefineparser) to explicitly define the parser before linting any code. **Related issue(s):** [eslint/rfcs#7](https://github.com/eslint/rfcs/pull/7) diff --git a/docs/src/use/migrating-to-7.0.0.md b/docs/src/use/migrating-to-7.0.0.md index b0446c16acd..80fad67a025 100644 --- a/docs/src/use/migrating-to-7.0.0.md +++ b/docs/src/use/migrating-to-7.0.0.md @@ -209,7 +209,7 @@ The `RuleTester` now validates the following: ## The `CLIEngine` class has been deprecated -The [`CLIEngine` class](../extend/nodejs-api#cliengine) has been deprecated and replaced by the new [`ESLint` class](../extend/nodejs-api#eslint-class). +The [`CLIEngine` class](../integrate/nodejs-api#cliengine) has been deprecated and replaced by the new [`ESLint` class](../integrate/nodejs-api#eslint-class). The `CLIEngine` class provides a synchronous API that is blocking the implementation of features such as parallel linting, supporting ES modules in shareable configs/parsers/plugins/formatters, and adding the ability to visually display the progress of linting runs. The new `ESLint` class provides an asynchronous API that ESLint core will now using going forward. `CLIEngine` will remain in core for the foreseeable future but may be removed in a future major version. diff --git a/docs/src/use/migrating-to-8.0.0.md b/docs/src/use/migrating-to-8.0.0.md index b43f7b84ac0..fbc3b85c775 100644 --- a/docs/src/use/migrating-to-8.0.0.md +++ b/docs/src/use/migrating-to-8.0.0.md @@ -233,7 +233,7 @@ In ESLint v8.0.0 (via Acorn v8.0.0), the key and value are now separate objects ## The `CLIEngine` class has been removed -The `CLIEngine` class has been removed and replaced by the [`ESLint` class](../extend/nodejs-api#eslint-class). +The `CLIEngine` class has been removed and replaced by the [`ESLint` class](../integrate/nodejs-api#eslint-class). **To address:** Update your code to use the new `ESLint` class if you are currently using `CLIEngine`. The following table maps the existing `CLIEngine` methods to their `ESLint` counterparts: diff --git a/lib/cli-engine/formatters/formatters-meta.json b/lib/cli-engine/formatters/formatters-meta.json index fe48c3b07ac..bcd35e50428 100644 --- a/lib/cli-engine/formatters/formatters-meta.json +++ b/lib/cli-engine/formatters/formatters-meta.json @@ -17,11 +17,11 @@ }, { "name": "json-with-metadata", - "description": "Outputs JSON-serialized results. The `json-with-metadata` provides the same linting results as the [`json`](#json) formatter with additional metadata about the rules applied. The linting results are included in the `results` property and the rules metadata is included in the `metadata` property.\n\nAlternatively, you can use the [ESLint Node.js API](../../extend/nodejs-api) to programmatically use ESLint." + "description": "Outputs JSON-serialized results. The `json-with-metadata` provides the same linting results as the [`json`](#json) formatter with additional metadata about the rules applied. The linting results are included in the `results` property and the rules metadata is included in the `metadata` property.\n\nAlternatively, you can use the [ESLint Node.js API](../../integrate/nodejs-api) to programmatically use ESLint." }, { "name": "json", - "description": "Outputs JSON-serialized results. The `json` formatter is useful when you want to programmatically work with the CLI's linting results.\n\nAlternatively, you can use the [ESLint Node.js API](../../extend/nodejs-api) to programmatically use ESLint." + "description": "Outputs JSON-serialized results. The `json` formatter is useful when you want to programmatically work with the CLI's linting results.\n\nAlternatively, you can use the [ESLint Node.js API](../../integrate/nodejs-api) to programmatically use ESLint." }, { "name": "junit", diff --git a/lib/rule-tester/flat-rule-tester.js b/lib/rule-tester/flat-rule-tester.js index 5ab437cd134..ed5682ca0af 100644 --- a/lib/rule-tester/flat-rule-tester.js +++ b/lib/rule-tester/flat-rule-tester.js @@ -430,7 +430,7 @@ class FlatRuleTester { if (typeof this[DESCRIBE] === "function" || typeof this[IT] === "function") { throw new Error( "Set `RuleTester.itOnly` to use `only` with a custom test framework.\n" + - "See https://eslint.org/docs/extend/nodejs-api#customizing-ruletester for more." + "See https://eslint.org/docs/integrate/nodejs-api#customizing-ruletester for more." ); } if (typeof it === "function") { diff --git a/lib/rule-tester/rule-tester.js b/lib/rule-tester/rule-tester.js index 20e3ed1ce18..c4aaad3fc1d 100644 --- a/lib/rule-tester/rule-tester.js +++ b/lib/rule-tester/rule-tester.js @@ -493,7 +493,7 @@ class RuleTester { if (typeof this[DESCRIBE] === "function" || typeof this[IT] === "function") { throw new Error( "Set `RuleTester.itOnly` to use `only` with a custom test framework.\n" + - "See https://eslint.org/docs/extend/nodejs-api#customizing-ruletester for more." + "See https://eslint.org/docs/integrate/nodejs-api#customizing-ruletester for more." ); } if (typeof it === "function") { From 31e1d7445f89fad9ca870a64df793db42fba1397 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 14:16:14 -0500 Subject: [PATCH 25/41] move code-path-analysis to extend section && update links --- docs/src/{contribute => extend}/code-path-analysis.md | 0 docs/src/extend/custom-rules-deprecated.md | 4 ++-- docs/src/extend/custom-rules.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename docs/src/{contribute => extend}/code-path-analysis.md (100%) diff --git a/docs/src/contribute/code-path-analysis.md b/docs/src/extend/code-path-analysis.md similarity index 100% rename from docs/src/contribute/code-path-analysis.md rename to docs/src/extend/code-path-analysis.md diff --git a/docs/src/extend/custom-rules-deprecated.md b/docs/src/extend/custom-rules-deprecated.md index d8e2037fd1e..0742233bbab 100644 --- a/docs/src/extend/custom-rules-deprecated.md +++ b/docs/src/extend/custom-rules-deprecated.md @@ -43,7 +43,7 @@ module.exports.schema = []; // no options * if a key is a node type, ESLint calls that **visitor** function while going **down** the tree * if a key is a node type plus `:exit`, ESLint calls that **visitor** function while going **up** the tree -* if a key is an event name, ESLint calls that **handler** function for [code path analysis](../contribute/code-path-analysis) +* if a key is an event name, ESLint calls that **handler** function for [code path analysis](code-path-analysis) A rule can use the current node and its surrounding tree to report or fix problems. @@ -327,7 +327,7 @@ Keep in mind that comments are technically not a part of the AST and are only at ESLint analyzes code paths while traversing AST. You can access that code path objects with five events related to code paths. -[details here](../contribute/code-path-analysis) +[details here](code-path-analysis) ## Rule Unit Tests diff --git a/docs/src/extend/custom-rules.md b/docs/src/extend/custom-rules.md index bee5ef78a27..8e7632484ad 100644 --- a/docs/src/extend/custom-rules.md +++ b/docs/src/extend/custom-rules.md @@ -90,7 +90,7 @@ The source file for a rule exports an object with the following properties. * if a key is a node type or a [selector](./selectors), ESLint calls that **visitor** function while going **down** the tree * if a key is a node type or a [selector](./selectors) plus `:exit`, ESLint calls that **visitor** function while going **up** the tree -* if a key is an event name, ESLint calls that **handler** function for [code path analysis](../contribute/code-path-analysis) +* if a key is an event name, ESLint calls that **handler** function for [code path analysis](code-path-analysis) A rule can use the current node and its surrounding tree to report or fix problems. @@ -708,7 +708,7 @@ Shebangs are represented by tokens of type `"Shebang"`. They are treated as comm ESLint analyzes code paths while traversing AST. You can access that code path objects with five events related to code paths. -[details here](../contribute/code-path-analysis) +[details here](code-path-analysis) ## Rule Unit Tests From a6e386bf756855286d9e94782c9a681f40759267 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter <57849986+bpmutter@users.noreply.github.com> Date: Wed, 28 Dec 2022 15:06:18 -0500 Subject: [PATCH 26/41] Apply suggestions from code review Co-authored-by: Nicholas C. Zakas --- docs/src/integrate/nodejs-api.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/integrate/nodejs-api.md b/docs/src/integrate/nodejs-api.md index d5996157c72..b7656e74209 100644 --- a/docs/src/integrate/nodejs-api.md +++ b/docs/src/integrate/nodejs-api.md @@ -467,7 +467,7 @@ The `Linter` object does the actual evaluation of the JavaScript code. It doesn' The `Linter` is a constructor, and you can create a new instance by passing in the options you want to use. The available options are: -* `cwd` - Path to a directory that should be considered as the current working directory. It is accessible to rules by calling `context.getCwd()` (see [The Context Object](./custom-rules#the-context-object)). If `cwd` is `undefined`, it will be normalized to `process.cwd()` if the global `process` object is defined (for example, in the Node.js runtime) , or `undefined` otherwise. +* `cwd` - Path to a directory that should be considered as the current working directory. It is accessible to rules by calling `context.getCwd()` (see [The Context Object](../extend/custom-rules#the-context-object)). If `cwd` is `undefined`, it will be normalized to `process.cwd()` if the global `process` object is defined (for example, in the Node.js runtime) , or `undefined` otherwise. For example: @@ -489,8 +489,8 @@ The most important method on `Linter` is `verify()`, which initiates linting of * **Note**: If you want to lint text and have your configuration be read and processed, use [`ESLint#lintFiles()`][eslint-lintfiles] or [`ESLint#lintText()`][eslint-linttext] instead. * `options` - (optional) Additional options for this run. * `filename` - (optional) the filename to associate with the source code. - * `preprocess` - (optional) A function that [Processors in Plugins](plugins#processors-in-plugins) documentation describes as the `preprocess` method. - * `postprocess` - (optional) A function that [Processors in Plugins](plugins#processors-in-plugins) documentation describes as the `postprocess` method. + * `preprocess` - (optional) A function that [Processors in Plugins](../extend/plugins#processors-in-plugins) documentation describes as the `preprocess` method. + * `postprocess` - (optional) A function that [Processors in Plugins](../extend/plugins#processors-in-plugins) documentation describes as the `postprocess` method. * `filterCodeBlock` - (optional) A function that decides which code blocks the linter should adopt. The function receives two arguments. The first argument is the virtual filename of a code block. The second argument is the text of the code block. If the function returned `true` then the linter adopts the code block. If the function was omitted, the linter adopts only `*.js` code blocks. If you provided a `filterCodeBlock` function, it overrides this default behavior, so the linter doesn't adopt `*.js` code blocks automatically. * `disableFixes` - (optional) when set to `true`, the linter doesn't make either the `fix` or `suggestions` property of the lint result. * `allowInlineConfig` - (optional) set to `false` to disable inline comments from changing ESLint rules. @@ -554,7 +554,7 @@ The information available for each linting message is: * `endColumn` - the end column of the range on which the error occurred (this property is omitted if it's not range). * `endLine` - the end line of the range on which the error occurred (this property is omitted if it's not range). * `fix` - an object describing the fix for the problem (this property is omitted if no fix is available). -* `suggestions` - an array of objects describing possible lint fixes for editors to programmatically enable (see details in the [Working with Rules docs](./custom-rules#providing-suggestions)). +* `suggestions` - an array of objects describing possible lint fixes for editors to programmatically enable (see details in the [Working with Rules docs](../extend/custom-rules#providing-suggestions)). You can get the suppressed messages from the previous run by `getSuppressedMessages()` method. If there is not a previous run, `getSuppressedMessage()` will return an empty list. @@ -686,7 +686,7 @@ Map { ### Linter#defineParser Each instance of `Linter` holds a map of custom parsers. If you want to define a parser programmatically, you can add this function -with the name of the parser as first argument and the [parser object](custom-parsers) as second argument. The default `"espree"` parser will already be loaded for every `Linter` instance. +with the name of the parser as first argument and the [parser object](../extend/custom-parsers/) as second argument. The default `"espree"` parser will already be loaded for every `Linter` instance. ```js const Linter = require("eslint").Linter; From a2f90d2221e7126ef9c081b0a7132fe7dadb7836 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter <57849986+bpmutter@users.noreply.github.com> Date: Wed, 28 Dec 2022 15:15:55 -0500 Subject: [PATCH 27/41] Update docs/src/use/configure/configuration-files.md Co-authored-by: Nicholas C. Zakas --- docs/src/use/configure/configuration-files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/use/configure/configuration-files.md b/docs/src/use/configure/configuration-files.md index 25eeea0567b..644bc5127f3 100644 --- a/docs/src/use/configure/configuration-files.md +++ b/docs/src/use/configure/configuration-files.md @@ -390,7 +390,7 @@ In your `.eslintrc.json`: Here is how overrides work in a configuration file: -* The patterns are applied against the file path relative to the directory of the config file. For example, if your config file has the path `/use/john/workspace/any-project/.eslintrc.js` and the file you want to lint has the path `/use/john/workspace/any-project/lib/util.js`, then the pattern provided in `.eslintrc.js` is executed against the relative path `lib/util.js`. +* The patterns are applied against the file path relative to the directory of the config file. For example, if your config file has the path `/Users/john/workspace/any-project/.eslintrc.js` and the file you want to lint has the path `/Users/john/workspace/any-project/lib/util.js`, then the pattern provided in `.eslintrc.js` is executed against the relative path `lib/util.js`. * Glob pattern overrides have higher precedence than the regular configuration in the same config file. Multiple overrides within the same config are applied in order. That is, the last override block in a config file always has the highest precedence. * A glob specific configuration works almost the same as any other ESLint config. Override blocks can contain any configuration options that are valid in a regular config, with the exception of `root` and `ignorePatterns`. * A glob specific configuration can have an `extends` setting, but the `root` property in the extended configs is ignored. The `ignorePatterns` property in the extended configs is used only for the files the glob specific configuration matched. From 218f749d3273558cfa28bb870a154dc4398f3787 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 15:22:33 -0500 Subject: [PATCH 28/41] fix migrating link --- docs/src/use/migrating-to-5.0.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/use/migrating-to-5.0.0.md b/docs/src/use/migrating-to-5.0.0.md index 82d68a24abf..18f89f93bcb 100644 --- a/docs/src/use/migrating-to-5.0.0.md +++ b/docs/src/use/migrating-to-5.0.0.md @@ -158,7 +158,7 @@ ESLint v4 had a special behavior when linting files that only contain whitespace ESLint v5 treats whitespace-only files the same way as all other files: it parses them and runs enabled rules on them as appropriate. This could lead to additional linting problems if you use a custom rule that reports errors on empty files. -**To address:** If you have an empty file in your project and you don't want it to be linted, consider adding it to an [`.eslintignore` file](configuring#ignoring-files-and-directories). +**To address:** If you have an empty file in your project and you don't want it to be linted, consider adding it to an [`.eslintignore` file](configure/ignore-code). If you have a custom rule, you should make sure it handles empty files appropriately. (In most cases, no changes should be necessary.) From 0e9de7a83a05099722073a7d0d7f775c868f54c0 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 15:35:33 -0500 Subject: [PATCH 29/41] fix additional broken link --- docs/src/integrate/nodejs-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/integrate/nodejs-api.md b/docs/src/integrate/nodejs-api.md index b7656e74209..23aa7a1a2cd 100644 --- a/docs/src/integrate/nodejs-api.md +++ b/docs/src/integrate/nodejs-api.md @@ -766,7 +766,7 @@ const ruleTester = new RuleTester({ parserOptions: { ecmaVersion: 2015 } }); The `RuleTester#run()` method is used to run the tests. It should be passed the following arguments: * The name of the rule (string) -* The rule object itself (see ["working with rules"](./custom-rules)) +* The rule object itself (see ["working with rules"](../extend/custom-rules)) * An object containing `valid` and `invalid` properties, each of which is an array containing test cases. A test case is an object with the following properties: From d98e2acba8697fc01b5035e49ba0dc2e80a7c5ec Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 16:19:19 -0500 Subject: [PATCH 30/41] ignore-code -> ignore --- docs/src/use/command-line-interface.md | 2 +- docs/src/use/configure/{ignore-code.md => ignore.md} | 2 +- docs/src/use/configure/index.md | 12 ++++++------ docs/src/use/migrating-to-5.0.0.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) rename docs/src/use/configure/{ignore-code.md => ignore.md} (98%) diff --git a/docs/src/use/command-line-interface.md b/docs/src/use/command-line-interface.md index c87f77d5030..04eb6a0805b 100644 --- a/docs/src/use/command-line-interface.md +++ b/docs/src/use/command-line-interface.md @@ -404,7 +404,7 @@ npx eslint --no-ignore file.js This option allows you to specify patterns of files to ignore (in addition to those in `.eslintignore`). -* **Argument Type**: String. The supported syntax is the same as for [`.eslintignore` files](configure/ignore-code#the-eslintignore-file), which use the same patterns as the [`.gitignore` specification](https://git-scm.com/docs/gitignore). You should quote your patterns in order to avoid shell interpretation of glob patterns. +* **Argument Type**: String. The supported syntax is the same as for [`.eslintignore` files](configure/ignore#the-eslintignore-file), which use the same patterns as the [`.gitignore` specification](https://git-scm.com/docs/gitignore). You should quote your patterns in order to avoid shell interpretation of glob patterns. * **Multiple Arguments**: Yes ##### `--ignore-pattern` example diff --git a/docs/src/use/configure/ignore-code.md b/docs/src/use/configure/ignore.md similarity index 98% rename from docs/src/use/configure/ignore-code.md rename to docs/src/use/configure/ignore.md index 298f24d9cdf..46852ef6135 100644 --- a/docs/src/use/configure/ignore-code.md +++ b/docs/src/use/configure/ignore.md @@ -16,7 +16,7 @@ You can ignore files in the following ways: ## `ignorePatterns` in Config Files -You can tell ESLint to ignore specific files and directories using `ignorePatterns` in your config files. `ignorePatterns` patterns follow the same rules as `.eslintignore`. Please see the [`.eslintignore` file documentation](./ignore-code#the-eslintignore-file) to learn more. +You can tell ESLint to ignore specific files and directories using `ignorePatterns` in your config files. `ignorePatterns` patterns follow the same rules as `.eslintignore`. Please see the [`.eslintignore` file documentation](#the-eslintignore-file) to learn more. ```json { diff --git a/docs/src/use/configure/index.md b/docs/src/use/configure/index.md index 4ffce8611b0..a00b927b54d 100644 --- a/docs/src/use/configure/index.md +++ b/docs/src/use/configure/index.md @@ -51,10 +51,10 @@ All of these options give you fine-grained control over how ESLint treats your c * [Specifying Processors](./plugins#specify-a-processor) * [Configuring Parsers](./plugins#configure-a-parser) -[**Ignoring Code**](ignore-code) +[**Ignoring Code**](ignore) -* [`ignorePatterns` in Config Files](./ignore-code#ignorepatterns-in-config-files) -* [The `.eslintignore` File](./ignore-code#the-eslintignore-file) -* [Using an Alternate File](./ignore-code#using-an-alternate-file) -* [Using eslintIgnore in package.json](./ignore-code#using-eslintignore-in-packagejson) -* [Ignored File Warnings](./ignore-code#ignored-file-warnings) +* [`ignorePatterns` in Config Files](./ignore#ignorepatterns-in-config-files) +* [The `.eslintignore` File](./ignore#the-eslintignore-file) +* [Using an Alternate File](./ignore#using-an-alternate-file) +* [Using eslintIgnore in package.json](./ignore#using-eslintignore-in-packagejson) +* [Ignored File Warnings](./ignore#ignored-file-warnings) diff --git a/docs/src/use/migrating-to-5.0.0.md b/docs/src/use/migrating-to-5.0.0.md index 18f89f93bcb..98f3e4bdd96 100644 --- a/docs/src/use/migrating-to-5.0.0.md +++ b/docs/src/use/migrating-to-5.0.0.md @@ -158,7 +158,7 @@ ESLint v4 had a special behavior when linting files that only contain whitespace ESLint v5 treats whitespace-only files the same way as all other files: it parses them and runs enabled rules on them as appropriate. This could lead to additional linting problems if you use a custom rule that reports errors on empty files. -**To address:** If you have an empty file in your project and you don't want it to be linted, consider adding it to an [`.eslintignore` file](configure/ignore-code). +**To address:** If you have an empty file in your project and you don't want it to be linted, consider adding it to an [`.eslintignore` file](configure/ignore). If you have a custom rule, you should make sure it handles empty files appropriately. (In most cases, no changes should be necessary.) From c804dffc87aab941247a4b59789449e789386898 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 16:20:16 -0500 Subject: [PATCH 31/41] unit-tests -> tests --- docs/src/contribute/{unit-tests.md => tests.md} | 0 docs/src/extend/index.md | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename docs/src/contribute/{unit-tests.md => tests.md} (100%) diff --git a/docs/src/contribute/unit-tests.md b/docs/src/contribute/tests.md similarity index 100% rename from docs/src/contribute/unit-tests.md rename to docs/src/contribute/tests.md diff --git a/docs/src/extend/index.md b/docs/src/extend/index.md index 151d5045e35..2c97b2fa204 100644 --- a/docs/src/extend/index.md +++ b/docs/src/extend/index.md @@ -29,7 +29,7 @@ Before you can get started, you'll need to get a copy of the ESLint source code. Developing for ESLint is a bit different than running it on the command line. This section shows you how to set up a development environment and get you ready to write code. -## Section 3: Run the [Unit Tests](../contribute/unit-tests) +## Section 3: Run the [Unit Tests](../contribute/tests) There are a lot of unit tests included with ESLint to make sure that we're keeping on top of code quality. This section explains how to run the unit tests. From 208321b65dc13960536af1e0d03357e28a6fbeae Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 28 Dec 2022 16:29:25 -0500 Subject: [PATCH 32/41] manage-pull-requests -> review-pull-requests --- docs/src/maintain/governance.md | 4 ++-- docs/src/maintain/index.md | 2 +- .../{manage-pull-requests.md => review-pull-requests.md} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename docs/src/maintain/{manage-pull-requests.md => review-pull-requests.md} (100%) diff --git a/docs/src/maintain/governance.md b/docs/src/maintain/governance.md index 6d18cab2fe2..c056703c8c4 100644 --- a/docs/src/maintain/governance.md +++ b/docs/src/maintain/governance.md @@ -37,7 +37,7 @@ Website Team Members are community members who have shown that they are committe * Must submit pull requests for all changes. * Have their work reviewed by Reviewers and TSC members before acceptance into the repository. * May label and close website-related issues (see [Managing Issues](manage-issues)) -* May merge some pull requests (see [Managing Pull Requests](manage-pull-requests)) +* May merge some pull requests (see [Managing Pull Requests](review-pull-requests)) To become a Website Team Member: @@ -60,7 +60,7 @@ Committers: * Must submit pull requests for all changes. * Have their work reviewed by TSC members before acceptance into the repository. * May label and close issues (see [Managing Issues](manage-issues)) -* May merge some pull requests (see [Managing Pull Requests](manage-pull-requests)) +* May merge some pull requests (see [Managing Pull Requests](review-pull-requests)) To become a Committer: diff --git a/docs/src/maintain/index.md b/docs/src/maintain/index.md index 1ce00777a24..ce42231bb0b 100644 --- a/docs/src/maintain/index.md +++ b/docs/src/maintain/index.md @@ -13,7 +13,7 @@ This guide is intended for those who work as part of the ESLint project team. Describes how to deal with issues when they're opened, when interacting with users, and how to close them effectively. -## [Reviewing Pull Requests](manage-pull-requests) +## [Reviewing Pull Requests](review-pull-requests) Describes how to review incoming pull requests. diff --git a/docs/src/maintain/manage-pull-requests.md b/docs/src/maintain/review-pull-requests.md similarity index 100% rename from docs/src/maintain/manage-pull-requests.md rename to docs/src/maintain/review-pull-requests.md From e413ce865ddcf6d906bf5eb26d31718e60ac5e42 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Thu, 29 Dec 2022 15:49:16 -0500 Subject: [PATCH 33/41] migrating-to-8.0.0 -> migrate-to-8.0.0 --- docs/src/use/index.md | 2 +- docs/src/use/{migrating-to-8.0.0.md => migrate-to-8.0.0.md} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename docs/src/use/{migrating-to-8.0.0.md => migrate-to-8.0.0.md} (100%) diff --git a/docs/src/use/index.md b/docs/src/use/index.md index af77636e012..5358b7240cf 100644 --- a/docs/src/use/index.md +++ b/docs/src/use/index.md @@ -43,4 +43,4 @@ If you were using a prior version of ESLint, you can get help with the transitio * [migrating-to-5.0.0](migrating-to-5.0.0) * [migrating-to-6.0.0](migrating-to-6.0.0) * [migrating-to-7.0.0](migrating-to-7.0.0) -* [migrating-to-8.0.0](migrating-to-8.0.0) +* [migrate-to-8.0.0](migrate-to-8.0.0) diff --git a/docs/src/use/migrating-to-8.0.0.md b/docs/src/use/migrate-to-8.0.0.md similarity index 100% rename from docs/src/use/migrating-to-8.0.0.md rename to docs/src/use/migrate-to-8.0.0.md From fb6b0f431457f71cbdf7f24eccf1db071488873e Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Thu, 29 Dec 2022 15:51:23 -0500 Subject: [PATCH 34/41] move governance to contribute --- docs/src/{maintain => contribute}/governance.md | 0 docs/src/maintain/index.md | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename docs/src/{maintain => contribute}/governance.md (100%) diff --git a/docs/src/maintain/governance.md b/docs/src/contribute/governance.md similarity index 100% rename from docs/src/maintain/governance.md rename to docs/src/contribute/governance.md diff --git a/docs/src/maintain/index.md b/docs/src/maintain/index.md index ce42231bb0b..ed7d04005bb 100644 --- a/docs/src/maintain/index.md +++ b/docs/src/maintain/index.md @@ -21,7 +21,7 @@ Describes how to review incoming pull requests. Describes how to do an ESLint project release. -## [Governance](governance) +## [Governance](../contribute/governance) Describes the governance policy for ESLint, including the rights and privileges of individuals inside the project. From 37d10763105cfbdb92a2522188b3447c0c8188d4 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter <57849986+bpmutter@users.noreply.github.com> Date: Mon, 2 Jan 2023 11:54:43 -0500 Subject: [PATCH 35/41] Apply suggestions from code review Co-authored-by: Milos Djermanovic --- docs/src/contribute/governance.md | 8 ++++---- docs/src/integrate/nodejs-api.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/contribute/governance.md b/docs/src/contribute/governance.md index c056703c8c4..7f59b210ff0 100644 --- a/docs/src/contribute/governance.md +++ b/docs/src/contribute/governance.md @@ -36,8 +36,8 @@ Website Team Members are community members who have shown that they are committe * Are expected to delete their public branches when they are no longer necessary. * Must submit pull requests for all changes. * Have their work reviewed by Reviewers and TSC members before acceptance into the repository. -* May label and close website-related issues (see [Managing Issues](manage-issues)) -* May merge some pull requests (see [Managing Pull Requests](review-pull-requests)) +* May label and close website-related issues (see [Managing Issues](../maintain/manage-issues)) +* May merge some pull requests (see [Managing Pull Requests](../maintain/review-pull-requests)) To become a Website Team Member: @@ -59,8 +59,8 @@ Committers: * Are expected to delete their public branches when they are no longer necessary. * Must submit pull requests for all changes. * Have their work reviewed by TSC members before acceptance into the repository. -* May label and close issues (see [Managing Issues](manage-issues)) -* May merge some pull requests (see [Managing Pull Requests](review-pull-requests)) +* May label and close issues (see [Managing Issues](../maintain/manage-issues)) +* May merge some pull requests (see [Managing Pull Requests](../maintain/review-pull-requests)) To become a Committer: diff --git a/docs/src/integrate/nodejs-api.md b/docs/src/integrate/nodejs-api.md index 23aa7a1a2cd..b817c23fa53 100644 --- a/docs/src/integrate/nodejs-api.md +++ b/docs/src/integrate/nodejs-api.md @@ -686,7 +686,7 @@ Map { ### Linter#defineParser Each instance of `Linter` holds a map of custom parsers. If you want to define a parser programmatically, you can add this function -with the name of the parser as first argument and the [parser object](../extend/custom-parsers/) as second argument. The default `"espree"` parser will already be loaded for every `Linter` instance. +with the name of the parser as first argument and the [parser object](../extend/custom-parsers) as second argument. The default `"espree"` parser will already be loaded for every `Linter` instance. ```js const Linter = require("eslint").Linter; From 1097ab8d4c66e488416add8089df1c2566fe4ceb Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Mon, 2 Jan 2023 12:20:36 -0500 Subject: [PATCH 36/41] fix broken link --- docs/src/use/migrating-to-5.0.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/use/migrating-to-5.0.0.md b/docs/src/use/migrating-to-5.0.0.md index 98f3e4bdd96..164c23c94f7 100644 --- a/docs/src/use/migrating-to-5.0.0.md +++ b/docs/src/use/migrating-to-5.0.0.md @@ -50,7 +50,7 @@ As of April 30th, 2018, Node.js 4 will be at EOL and will no longer be receiving ## `eslint:recommended` changes -Two new rules have been added to the [`eslint:recommended`](configuring#using-eslintrecommended) config: +Two new rules have been added to the [`eslint:recommended`](configure/configuration-files.md#using-eslintrecommended) config: * [`for-direction`](../rules/for-direction) enforces that a `for` loop update clause moves the counter in the right direction. * [`getter-return`](../rules/getter-return) enforces that a `return` statement is present in property getters. From 31b938adc52d2fd58a331d4c31ffbf3ff8269d68 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter <57849986+bpmutter@users.noreply.github.com> Date: Wed, 4 Jan 2023 21:16:10 -0500 Subject: [PATCH 37/41] Update docs/src/use/migrating-to-5.0.0.md Co-authored-by: Milos Djermanovic --- docs/src/use/migrating-to-5.0.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/use/migrating-to-5.0.0.md b/docs/src/use/migrating-to-5.0.0.md index 164c23c94f7..5eb4ec7ad1a 100644 --- a/docs/src/use/migrating-to-5.0.0.md +++ b/docs/src/use/migrating-to-5.0.0.md @@ -50,7 +50,7 @@ As of April 30th, 2018, Node.js 4 will be at EOL and will no longer be receiving ## `eslint:recommended` changes -Two new rules have been added to the [`eslint:recommended`](configure/configuration-files.md#using-eslintrecommended) config: +Two new rules have been added to the [`eslint:recommended`](configure/configuration-files#using-eslintrecommended) config: * [`for-direction`](../rules/for-direction) enforces that a `for` loop update clause moves the counter in the right direction. * [`getter-return`](../rules/getter-return) enforces that a `return` statement is present in property getters. From 64715ce1904d22a335a4a549e58e4994edd5bbaa Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 4 Jan 2023 21:24:54 -0500 Subject: [PATCH 38/41] add /latest/ to absolute URL paths --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- CONTRIBUTING.md | 8 +++--- README.md | 26 ++++++++++---------- docs/src/_data/links.json | 5 ++-- lib/rule-tester/flat-rule-tester.js | 2 +- messages/print-config-with-directory-path.js | 2 +- packages/eslint-config-eslint/README.md | 2 +- tests/lib/rule-tester/rule-tester.js | 10 ++++---- 8 files changed, 28 insertions(+), 29 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index e8645832fcf..35d24100191 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -31,7 +31,7 @@ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8173a5b049d..2b00ed8ffef 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,10 +10,10 @@ This project adheres to the [Open JS Foundation Code of Conduct](https://eslint. Before filing an issue, please be sure to read the guidelines for what you're reporting: -* [Bug Report](https://eslint.org/docs/contribute/report-bugs) -* [Propose a New Rule](https://eslint.org/docs/contribute/propose-new-rule) -* [Proposing a Rule Change](https://eslint.org/docs/contribute/propose-rule-change) -* [Request a Change](https://eslint.org/docs/contribute/request-change) +* [Bug Report](https://eslint.org/docs/latest/contribute/report-bugs) +* [Propose a New Rule](https://eslint.org/docs/latest/contribute/propose-new-rule) +* [Proposing a Rule Change](https://eslint.org/docs/latest/contribute/propose-rule-change) +* [Request a Change](https://eslint.org/docs/latest/contribute/request-change) To report a security vulnerability in ESLint, please use our [HackerOne program](https://hackerone.com/eslint). diff --git a/README.md b/README.md index 1a95fb9c290..fcd0427d392 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,10 @@ # ESLint [Website](https://eslint.org) | -[Configuring](https://eslint.org/docs/use/configure) | -[Rules](https://eslint.org/docs/rules/) | -[Contributing](https://eslint.org/docs/contribute) | -[Reporting Bugs](https://eslint.org/docs/contribute/report-bugs) | +[Configuring](https://eslint.org/docs/latest/use/configure) | +[Rules](https://eslint.org/docs/latest/rules/) | +[Contributing](https://eslint.org/docs/latest/contribute) | +[Reporting Bugs](https://eslint.org/docs/latest/contribute/report-bugs) | [Code of Conduct](https://eslint.org/conduct) | [Twitter](https://twitter.com/geteslint) | [Mailing List](https://groups.google.com/group/eslint) | @@ -76,7 +76,7 @@ The names `"semi"` and `"quotes"` are the names of [rules](https://eslint.org/do * `"warn"` or `1` - turn the rule on as a warning (doesn't affect exit code) * `"error"` or `2` - turn the rule on as an error (exit code will be 1) -The three error levels allow you fine-grained control over how ESLint applies rules (for more configuration options and details, see the [configuration docs](https://eslint.org/docs/use/configure)). +The three error levels allow you fine-grained control over how ESLint applies rules (for more configuration options and details, see the [configuration docs](https://eslint.org/docs/latest/use/configure)). ## Code of Conduct @@ -86,10 +86,10 @@ ESLint adheres to the [JS Foundation Code of Conduct](https://eslint.org/conduct Before filing an issue, please be sure to read the guidelines for what you're reporting: -* [Bug Report](https://eslint.org/docs/contribute/report-bugs) -* [Propose a New Rule](https://eslint.org/docs/contribute/propose-new-rule) -* [Proposing a Rule Change](https://eslint.org/docs/contribute/propose-rule-change) -* [Request a Change](https://eslint.org/docs/contribute/request-change) +* [Bug Report](https://eslint.org/docs/latest/contribute/report-bugs) +* [Propose a New Rule](https://eslint.org/docs/latest/contribute/propose-new-rule) +* [Proposing a Rule Change](https://eslint.org/docs/latest/contribute/propose-rule-change) +* [Request a Change](https://eslint.org/docs/latest/contribute/request-change) ## Frequently Asked Questions @@ -97,7 +97,7 @@ Before filing an issue, please be sure to read the guidelines for what you're re Yes. [JSCS has reached end of life](https://eslint.org/blog/2016/07/jscs-end-of-life) and is no longer supported. -We have prepared a [migration guide](https://eslint.org/docs/use/migrating-from-jscs) to help you convert your JSCS settings to an ESLint configuration. +We have prepared a [migration guide](https://eslint.org/docs/latest/use/migrating-from-jscs) to help you convert your JSCS settings to an ESLint configuration. We are now at or near 100% compatibility with JSCS. If you try ESLint and believe we are not yet compatible with a JSCS rule/configuration, please create an issue (mentioning that it is a JSCS compatibility issue) and we will evaluate it as per our normal process. @@ -113,11 +113,11 @@ No, ESLint does both traditional linting (looking for problematic patterns) and ### Does ESLint support JSX? -Yes, ESLint natively supports parsing JSX syntax (this must be enabled in [configuration](https://eslint.org/docs/use/configure)). Please note that supporting JSX syntax *is not* the same as supporting React. React applies specific semantics to JSX syntax that ESLint doesn't recognize. We recommend using [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) if you are using React and want React semantics. +Yes, ESLint natively supports parsing JSX syntax (this must be enabled in [configuration](https://eslint.org/docs/latest/use/configure)). Please note that supporting JSX syntax *is not* the same as supporting React. React applies specific semantics to JSX syntax that ESLint doesn't recognize. We recommend using [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) if you are using React and want React semantics. ### What ECMAScript versions does ESLint support? -ESLint has full support for ECMAScript 3, 5 (default), 2015, 2016, 2017, 2018, 2019, 2020, 2021 and 2022. You can set your desired ECMAScript syntax (and other settings, like global variables or your target environments) through [configuration](https://eslint.org/docs/use/configure). +ESLint has full support for ECMAScript 3, 5 (default), 2015, 2016, 2017, 2018, 2019, 2020, 2021 and 2022. You can set your desired ECMAScript syntax (and other settings, like global variables or your target environments) through [configuration](https://eslint.org/docs/latest/use/configure). ### What about experimental features? @@ -125,7 +125,7 @@ ESLint's parser only officially supports the latest final ECMAScript standard. W In other cases (including if rules need to warn on more or fewer cases due to new syntax, rather than just not crashing), we recommend you use other parsers and/or rule plugins. If you are using Babel, you can use [@babel/eslint-parser](https://www.npmjs.com/package/@babel/eslint-parser) and [@babel/eslint-plugin](https://www.npmjs.com/package/@babel/eslint-plugin) to use any option available in Babel. -Once a language feature has been adopted into the ECMAScript standard (stage 4 according to the [TC39 process](https://tc39.github.io/process-document/)), we will accept issues and pull requests related to the new feature, subject to our [contributing guidelines](https://eslint.org/docs/contribute). Until then, please use the appropriate parser and plugin(s) for your experimental feature. +Once a language feature has been adopted into the ECMAScript standard (stage 4 according to the [TC39 process](https://tc39.github.io/process-document/)), we will accept issues and pull requests related to the new feature, subject to our [contributing guidelines](https://eslint.org/docs/latest/contribute). Until then, please use the appropriate parser and plugin(s) for your experimental feature. ### Where to ask for help? diff --git a/docs/src/_data/links.json b/docs/src/_data/links.json index 27857a1897d..e8cdc8b6c69 100644 --- a/docs/src/_data/links.json +++ b/docs/src/_data/links.json @@ -4,7 +4,6 @@ "chat": "https://eslint.org/chat", "group": "https://groups.google.com/group/eslint", "mastodon": "https://fosstodon.org/@eslint", - "blog": "/blog", "docs": "/docs/latest/", "playground": "/play", @@ -13,8 +12,8 @@ "branding": "/branding", "store": "https://eslint.threadless.com", "team": "/team", - "configuring": "https://eslint.org/docs/use/configure/", - "fixProblems": "https://eslint.org/docs/use/command-line-interface#fix-problems", + "configuring": "https://eslint.org/docs/latest/use/configure/", + "fixProblems": "https://eslint.org/docs/latest/use/command-line-interface#fix-problems", "donate": "/donate", "openCollective": "https://opencollective.com/eslint", "githubSponsors": "https://github.com/sponsors/eslint" diff --git a/lib/rule-tester/flat-rule-tester.js b/lib/rule-tester/flat-rule-tester.js index ed5682ca0af..510cbc688ce 100644 --- a/lib/rule-tester/flat-rule-tester.js +++ b/lib/rule-tester/flat-rule-tester.js @@ -430,7 +430,7 @@ class FlatRuleTester { if (typeof this[DESCRIBE] === "function" || typeof this[IT] === "function") { throw new Error( "Set `RuleTester.itOnly` to use `only` with a custom test framework.\n" + - "See https://eslint.org/docs/integrate/nodejs-api#customizing-ruletester for more." + "See https://eslint.org/docs/latest/integrate/nodejs-api#customizing-ruletester for more." ); } if (typeof it === "function") { diff --git a/messages/print-config-with-directory-path.js b/messages/print-config-with-directory-path.js index 018b0d25bad..4559c8d6de4 100644 --- a/messages/print-config-with-directory-path.js +++ b/messages/print-config-with-directory-path.js @@ -3,6 +3,6 @@ module.exports = function() { return ` The '--print-config' CLI option requires a path to a source code file rather than a directory. -See also: https://eslint.org/docs/use/command-line-interface#--print-config +See also: https://eslint.org/docs/latest/use/command-line-interface#--print-config `.trimStart(); }; diff --git a/packages/eslint-config-eslint/README.md b/packages/eslint-config-eslint/README.md index 2eaa0881e57..d12b24a8fed 100644 --- a/packages/eslint-config-eslint/README.md +++ b/packages/eslint-config-eslint/README.md @@ -2,7 +2,7 @@ # ESLint Configuration -[Website](https://eslint.org) | [Configuring](https://eslint.org/docs/use/configure) | [Rules](https://eslint.org/docs/rules/) | [Contributing](https://eslint.org/docs/contribute) | [Twitter](https://twitter.com/geteslint) | [Mailing List](https://groups.google.com/group/eslint) | [Chatroom](https://eslint.org/chat) +[Website](https://eslint.org) | [Configuring](https://eslint.org/docs/latest/use/configure) | [Rules](https://eslint.org/docs/rules/) | [Contributing](https://eslint.org/docs/latest/contribute) | [Twitter](https://twitter.com/geteslint) | [Mailing List](https://groups.google.com/group/eslint) | [Chatroom](https://eslint.org/chat) Contains the ESLint configuration used for projects maintained by the ESLint team. diff --git a/tests/lib/rule-tester/rule-tester.js b/tests/lib/rule-tester/rule-tester.js index 459d7ce0893..e961dd9a516 100644 --- a/tests/lib/rule-tester/rule-tester.js +++ b/tests/lib/rule-tester/rule-tester.js @@ -2286,7 +2286,7 @@ describe("RuleTester", () => { assert.deepStrictEqual( processStub.getCall(0).args, [ - "\"function-style-rule\" rule is using the deprecated function-style format and will stop working in ESLint v9. Please use object-style format: https://eslint.org/docs/extend/custom-rules", + "\"function-style-rule\" rule is using the deprecated function-style format and will stop working in ESLint v9. Please use object-style format: https://eslint.org/docs/latest/extend/custom-rules", "DeprecationWarning" ] ); @@ -2304,7 +2304,7 @@ describe("RuleTester", () => { assert.deepStrictEqual( processStub.getCall(0).args, [ - "\"rule-with-no-meta-1\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/extend/custom-rules#options-schemas", + "\"rule-with-no-meta-1\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/latest/extend/custom-rules#options-schemas", "DeprecationWarning" ] ); @@ -2322,7 +2322,7 @@ describe("RuleTester", () => { assert.deepStrictEqual( processStub.getCall(0).args, [ - "\"rule-with-no-schema-1\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/extend/custom-rules#options-schemas", + "\"rule-with-no-schema-1\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/latest/extend/custom-rules#options-schemas", "DeprecationWarning" ] ); @@ -2355,7 +2355,7 @@ describe("RuleTester", () => { assert.deepStrictEqual( processStub.getCall(0).args, [ - "\"rule-with-undefined-schema\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/extend/custom-rules#options-schemas", + "\"rule-with-undefined-schema\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/latest/extend/custom-rules#options-schemas", "DeprecationWarning" ] ); @@ -2387,7 +2387,7 @@ describe("RuleTester", () => { assert.deepStrictEqual( processStub.getCall(0).args, [ - "\"rule-with-null-schema\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/extend/custom-rules#options-schemas", + "\"rule-with-null-schema\" rule has options but is missing the \"meta.schema\" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/latest/extend/custom-rules#options-schemas", "DeprecationWarning" ] ); From 53f6ea943975bb2bbadf22ff9b42648d08e466e6 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Wed, 4 Jan 2023 21:27:51 -0500 Subject: [PATCH 39/41] remove /latest/ from rules link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fcd0427d392..1dcd2dc91d4 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ [Website](https://eslint.org) | [Configuring](https://eslint.org/docs/latest/use/configure) | -[Rules](https://eslint.org/docs/latest/rules/) | +[Rules](https://eslint.org/docs/rules/) | [Contributing](https://eslint.org/docs/latest/contribute) | [Reporting Bugs](https://eslint.org/docs/latest/contribute/report-bugs) | [Code of Conduct](https://eslint.org/conduct) | From 869a5c636215ca4058395c04f97f0ef348ac00cb Mon Sep 17 00:00:00 2001 From: Ben Perlmutter Date: Thu, 5 Jan 2023 21:48:07 -0500 Subject: [PATCH 40/41] Additional fixes --- CONTRIBUTING.md | 4 ++-- lib/rule-tester/rule-tester.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2b00ed8ffef..07597a76ed6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,9 +19,9 @@ To report a security vulnerability in ESLint, please use our [HackerOne program] ## Contributing Code -In order to submit code or documentation to an ESLint project, you’ll be asked to sign our CLA when you send your first pull request. (Read more about the Open JS Foundation CLA process at .) Also, please read over the [Pull Request Guidelines](https://eslint.org/docs/contribute/pull-requests). +In order to submit code or documentation to an ESLint project, you’ll be asked to sign our CLA when you send your first pull request. (Read more about the Open JS Foundation CLA process at .) Also, please read over the [Pull Request Guidelines](https://eslint.org/docs/latest/contribute/pull-requests). ## Full Documentation Our full contribution guidelines can be found at: - + diff --git a/lib/rule-tester/rule-tester.js b/lib/rule-tester/rule-tester.js index c4aaad3fc1d..48df3b79b94 100644 --- a/lib/rule-tester/rule-tester.js +++ b/lib/rule-tester/rule-tester.js @@ -314,7 +314,7 @@ function emitLegacyRuleAPIWarning(ruleName) { if (!emitLegacyRuleAPIWarning[`warned-${ruleName}`]) { emitLegacyRuleAPIWarning[`warned-${ruleName}`] = true; process.emitWarning( - `"${ruleName}" rule is using the deprecated function-style format and will stop working in ESLint v9. Please use object-style format: https://eslint.org/docs/extend/custom-rules`, + `"${ruleName}" rule is using the deprecated function-style format and will stop working in ESLint v9. Please use object-style format: https://eslint.org/docs/latest/extend/custom-rules`, "DeprecationWarning" ); } @@ -329,7 +329,7 @@ function emitMissingSchemaWarning(ruleName) { if (!emitMissingSchemaWarning[`warned-${ruleName}`]) { emitMissingSchemaWarning[`warned-${ruleName}`] = true; process.emitWarning( - `"${ruleName}" rule has options but is missing the "meta.schema" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/extend/custom-rules#options-schemas`, + `"${ruleName}" rule has options but is missing the "meta.schema" property and will stop working in ESLint v9. Please add a schema: https://eslint.org/docs/latest/extend/custom-rules#options-schemas`, "DeprecationWarning" ); } @@ -493,7 +493,7 @@ class RuleTester { if (typeof this[DESCRIBE] === "function" || typeof this[IT] === "function") { throw new Error( "Set `RuleTester.itOnly` to use `only` with a custom test framework.\n" + - "See https://eslint.org/docs/integrate/nodejs-api#customizing-ruletester for more." + "See https://eslint.org/docs/latest/integrate/nodejs-api#customizing-ruletester for more." ); } if (typeof it === "function") { From 3e50f22c05d38770d25a37113083ab342fa045e1 Mon Sep 17 00:00:00 2001 From: Ben Perlmutter <57849986+bpmutter@users.noreply.github.com> Date: Sat, 7 Jan 2023 15:17:18 -0500 Subject: [PATCH 41/41] Revert changes nec for link checking --- docs/src/_includes/layouts/base.html | 2 +- docs/src/static/robots.njk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/_includes/layouts/base.html b/docs/src/_includes/layouts/base.html index 48bc14d2c95..13779e5dd86 100644 --- a/docs/src/_includes/layouts/base.html +++ b/docs/src/_includes/layouts/base.html @@ -5,7 +5,7 @@ {% if NOINDEX %} - + {% endif %} {% if title %} {% set page_title = title %} diff --git a/docs/src/static/robots.njk b/docs/src/static/robots.njk index bbeb6b0f2eb..a6bf2474790 100644 --- a/docs/src/static/robots.njk +++ b/docs/src/static/robots.njk @@ -4,3 +4,4 @@ permalink: robots.txt eleventyExcludeFromCollections: true --- User-agent: * +Disallow: /