From 71373442c42b356f34179dba18f860e1d79a780d Mon Sep 17 00:00:00 2001 From: Percy Ma Date: Thu, 18 Aug 2022 04:15:09 +0800 Subject: [PATCH] docs: auto-generation edit link (#16213) * docs: auto-generation edit link * docs: remove unsed edit_link * docs: fix wrong start with edit link --- docs/src/_data/sites/en.yml | 8 ++++++++ docs/src/_includes/layouts/doc.html | 9 ++++++++- docs/src/about/index.md | 1 - docs/src/developer-guide/architecture/index.md | 1 - docs/src/developer-guide/code-conventions.md | 1 - docs/src/developer-guide/code-path-analysis.md | 1 - docs/src/developer-guide/contributing/changes.md | 5 ++--- docs/src/developer-guide/contributing/index.md | 1 - docs/src/developer-guide/contributing/new-rules.md | 1 - docs/src/developer-guide/contributing/pull-requests.md | 1 - docs/src/developer-guide/contributing/reporting-bugs.md | 1 - docs/src/developer-guide/contributing/rule-changes.md | 1 - .../developer-guide/contributing/working-on-issues.md | 1 - docs/src/developer-guide/development-environment.md | 1 - docs/src/developer-guide/index.md | 1 - docs/src/developer-guide/nodejs-api.md | 1 - docs/src/developer-guide/scope-manager-interface.md | 1 - docs/src/developer-guide/selectors.md | 5 ++--- docs/src/developer-guide/shareable-configs.md | 1 - docs/src/developer-guide/source-code.md | 1 - docs/src/developer-guide/unit-tests.md | 1 - .../developer-guide/working-with-custom-formatters.md | 1 - docs/src/developer-guide/working-with-custom-parsers.md | 1 - docs/src/developer-guide/working-with-plugins.md | 1 - .../src/developer-guide/working-with-rules-deprecated.md | 1 - docs/src/developer-guide/working-with-rules.md | 1 - docs/src/maintainer-guide/governance.md | 1 - docs/src/maintainer-guide/index.md | 1 - docs/src/maintainer-guide/issues.md | 1 - docs/src/maintainer-guide/pullrequests.md | 1 - docs/src/maintainer-guide/releases.md | 1 - docs/src/maintainer-guide/working-groups.md | 1 - docs/src/pages/index.md | 1 - docs/src/rules/accessor-pairs.md | 1 - docs/src/rules/array-bracket-newline.md | 1 - docs/src/rules/array-bracket-spacing.md | 1 - docs/src/rules/array-callback-return.md | 1 - docs/src/rules/array-element-newline.md | 1 - docs/src/rules/arrow-body-style.md | 1 - docs/src/rules/arrow-parens.md | 1 - docs/src/rules/arrow-spacing.md | 1 - docs/src/rules/block-scoped-var.md | 1 - docs/src/rules/block-spacing.md | 1 - docs/src/rules/brace-style.md | 1 - docs/src/rules/callback-return.md | 1 - docs/src/rules/camelcase.md | 1 - docs/src/rules/capitalized-comments.md | 1 - docs/src/rules/class-methods-use-this.md | 1 - docs/src/rules/comma-dangle.md | 1 - docs/src/rules/comma-spacing.md | 1 - docs/src/rules/comma-style.md | 1 - docs/src/rules/complexity.md | 1 - docs/src/rules/computed-property-spacing.md | 1 - docs/src/rules/consistent-return.md | 1 - docs/src/rules/consistent-this.md | 1 - docs/src/rules/constructor-super.md | 1 - docs/src/rules/curly.md | 1 - docs/src/rules/default-case-last.md | 1 - docs/src/rules/default-case.md | 1 - docs/src/rules/default-param-last.md | 1 - docs/src/rules/dot-location.md | 1 - docs/src/rules/dot-notation.md | 1 - docs/src/rules/eol-last.md | 1 - docs/src/rules/eqeqeq.md | 1 - docs/src/rules/for-direction.md | 1 - docs/src/rules/func-call-spacing.md | 1 - docs/src/rules/func-name-matching.md | 1 - docs/src/rules/func-names.md | 1 - docs/src/rules/func-style.md | 1 - docs/src/rules/function-call-argument-newline.md | 1 - docs/src/rules/function-paren-newline.md | 1 - docs/src/rules/generator-star-spacing.md | 1 - docs/src/rules/generator-star.md | 1 - docs/src/rules/getter-return.md | 1 - docs/src/rules/global-require.md | 1 - docs/src/rules/global-strict.md | 1 - docs/src/rules/grouped-accessor-pairs.md | 1 - docs/src/rules/guard-for-in.md | 1 - docs/src/rules/handle-callback-err.md | 1 - docs/src/rules/id-blacklist.md | 1 - docs/src/rules/id-denylist.md | 1 - docs/src/rules/id-length.md | 1 - docs/src/rules/id-match.md | 1 - docs/src/rules/implicit-arrow-linebreak.md | 1 - docs/src/rules/indent-legacy.md | 1 - docs/src/rules/indent.md | 1 - docs/src/rules/init-declarations.md | 1 - docs/src/rules/jsx-quotes.md | 1 - docs/src/rules/key-spacing.md | 1 - docs/src/rules/keyword-spacing.md | 1 - docs/src/rules/line-comment-position.md | 1 - docs/src/rules/linebreak-style.md | 1 - docs/src/rules/lines-around-comment.md | 1 - docs/src/rules/lines-around-directive.md | 1 - docs/src/rules/lines-between-class-members.md | 1 - docs/src/rules/max-classes-per-file.md | 1 - docs/src/rules/max-depth.md | 1 - docs/src/rules/max-len.md | 1 - docs/src/rules/max-lines-per-function.md | 1 - docs/src/rules/max-lines.md | 1 - docs/src/rules/max-nested-callbacks.md | 1 - docs/src/rules/max-params.md | 1 - docs/src/rules/max-statements-per-line.md | 1 - docs/src/rules/max-statements.md | 1 - docs/src/rules/multiline-comment-style.md | 1 - docs/src/rules/multiline-ternary.md | 1 - docs/src/rules/new-cap.md | 1 - docs/src/rules/new-parens.md | 1 - docs/src/rules/newline-after-var.md | 1 - docs/src/rules/newline-before-return.md | 1 - docs/src/rules/newline-per-chained-call.md | 1 - docs/src/rules/no-alert.md | 1 - docs/src/rules/no-array-constructor.md | 1 - docs/src/rules/no-arrow-condition.md | 1 - docs/src/rules/no-async-promise-executor.md | 1 - docs/src/rules/no-await-in-loop.md | 1 - docs/src/rules/no-bitwise.md | 1 - docs/src/rules/no-buffer-constructor.md | 1 - docs/src/rules/no-caller.md | 1 - docs/src/rules/no-case-declarations.md | 1 - docs/src/rules/no-catch-shadow.md | 1 - docs/src/rules/no-class-assign.md | 1 - docs/src/rules/no-comma-dangle.md | 1 - docs/src/rules/no-compare-neg-zero.md | 1 - docs/src/rules/no-cond-assign.md | 1 - docs/src/rules/no-confusing-arrow.md | 1 - docs/src/rules/no-console.md | 1 - docs/src/rules/no-const-assign.md | 1 - docs/src/rules/no-constant-binary-expression.md | 1 - docs/src/rules/no-constant-condition.md | 1 - docs/src/rules/no-constructor-return.md | 1 - docs/src/rules/no-continue.md | 1 - docs/src/rules/no-control-regex.md | 1 - docs/src/rules/no-debugger.md | 1 - docs/src/rules/no-delete-var.md | 1 - docs/src/rules/no-div-regex.md | 1 - docs/src/rules/no-dupe-args.md | 1 - docs/src/rules/no-dupe-class-members.md | 1 - docs/src/rules/no-dupe-else-if.md | 1 - docs/src/rules/no-dupe-keys.md | 1 - docs/src/rules/no-duplicate-case.md | 1 - docs/src/rules/no-duplicate-imports.md | 1 - docs/src/rules/no-else-return.md | 1 - docs/src/rules/no-empty-character-class.md | 1 - docs/src/rules/no-empty-class.md | 1 - docs/src/rules/no-empty-function.md | 1 - docs/src/rules/no-empty-label.md | 1 - docs/src/rules/no-empty-pattern.md | 1 - docs/src/rules/no-empty.md | 1 - docs/src/rules/no-eq-null.md | 1 - docs/src/rules/no-eval.md | 1 - docs/src/rules/no-ex-assign.md | 1 - docs/src/rules/no-extend-native.md | 1 - docs/src/rules/no-extra-bind.md | 1 - docs/src/rules/no-extra-boolean-cast.md | 1 - docs/src/rules/no-extra-label.md | 1 - docs/src/rules/no-extra-parens.md | 1 - docs/src/rules/no-extra-semi.md | 1 - docs/src/rules/no-extra-strict.md | 1 - docs/src/rules/no-fallthrough.md | 1 - docs/src/rules/no-floating-decimal.md | 1 - docs/src/rules/no-func-assign.md | 1 - docs/src/rules/no-global-assign.md | 1 - docs/src/rules/no-implicit-coercion.md | 1 - docs/src/rules/no-implicit-globals.md | 1 - docs/src/rules/no-implied-eval.md | 1 - docs/src/rules/no-import-assign.md | 1 - docs/src/rules/no-inline-comments.md | 1 - docs/src/rules/no-inner-declarations.md | 1 - docs/src/rules/no-invalid-regexp.md | 1 - docs/src/rules/no-invalid-this.md | 1 - docs/src/rules/no-irregular-whitespace.md | 1 - docs/src/rules/no-iterator.md | 1 - docs/src/rules/no-label-var.md | 1 - docs/src/rules/no-labels.md | 1 - docs/src/rules/no-lone-blocks.md | 1 - docs/src/rules/no-lonely-if.md | 1 - docs/src/rules/no-loop-func.md | 1 - docs/src/rules/no-loss-of-precision.md | 1 - docs/src/rules/no-magic-numbers.md | 1 - docs/src/rules/no-misleading-character-class.md | 1 - docs/src/rules/no-mixed-operators.md | 1 - docs/src/rules/no-mixed-requires.md | 1 - docs/src/rules/no-mixed-spaces-and-tabs.md | 1 - docs/src/rules/no-multi-assign.md | 1 - docs/src/rules/no-multi-spaces.md | 1 - docs/src/rules/no-multi-str.md | 1 - docs/src/rules/no-multiple-empty-lines.md | 1 - docs/src/rules/no-native-reassign.md | 1 - docs/src/rules/no-negated-condition.md | 1 - docs/src/rules/no-negated-in-lhs.md | 1 - docs/src/rules/no-nested-ternary.md | 1 - docs/src/rules/no-new-func.md | 1 - docs/src/rules/no-new-object.md | 1 - docs/src/rules/no-new-require.md | 1 - docs/src/rules/no-new-symbol.md | 1 - docs/src/rules/no-new-wrappers.md | 1 - docs/src/rules/no-new.md | 1 - docs/src/rules/no-nonoctal-decimal-escape.md | 1 - docs/src/rules/no-obj-calls.md | 1 - docs/src/rules/no-octal-escape.md | 1 - docs/src/rules/no-octal.md | 1 - docs/src/rules/no-param-reassign.md | 1 - docs/src/rules/no-path-concat.md | 1 - docs/src/rules/no-plusplus.md | 1 - docs/src/rules/no-process-env.md | 1 - docs/src/rules/no-process-exit.md | 1 - docs/src/rules/no-promise-executor-return.md | 1 - docs/src/rules/no-proto.md | 1 - docs/src/rules/no-prototype-builtins.md | 1 - docs/src/rules/no-redeclare.md | 1 - docs/src/rules/no-regex-spaces.md | 1 - docs/src/rules/no-reserved-keys.md | 1 - docs/src/rules/no-restricted-exports.md | 1 - docs/src/rules/no-restricted-globals.md | 1 - docs/src/rules/no-restricted-imports.md | 1 - docs/src/rules/no-restricted-modules.md | 1 - docs/src/rules/no-restricted-properties.md | 1 - docs/src/rules/no-restricted-syntax.md | 1 - docs/src/rules/no-return-assign.md | 1 - docs/src/rules/no-return-await.md | 1 - docs/src/rules/no-script-url.md | 1 - docs/src/rules/no-self-assign.md | 1 - docs/src/rules/no-self-compare.md | 1 - docs/src/rules/no-sequences.md | 1 - docs/src/rules/no-setter-return.md | 1 - docs/src/rules/no-shadow-restricted-names.md | 1 - docs/src/rules/no-shadow.md | 1 - docs/src/rules/no-space-before-semi.md | 1 - docs/src/rules/no-spaced-func.md | 1 - docs/src/rules/no-sparse-arrays.md | 1 - docs/src/rules/no-sync.md | 1 - docs/src/rules/no-tabs.md | 1 - docs/src/rules/no-template-curly-in-string.md | 1 - docs/src/rules/no-ternary.md | 1 - docs/src/rules/no-this-before-super.md | 1 - docs/src/rules/no-throw-literal.md | 1 - docs/src/rules/no-trailing-spaces.md | 1 - docs/src/rules/no-undef-init.md | 1 - docs/src/rules/no-undef.md | 1 - docs/src/rules/no-undefined.md | 1 - docs/src/rules/no-underscore-dangle.md | 1 - docs/src/rules/no-unexpected-multiline.md | 1 - docs/src/rules/no-unmodified-loop-condition.md | 1 - docs/src/rules/no-unneeded-ternary.md | 1 - docs/src/rules/no-unreachable-loop.md | 1 - docs/src/rules/no-unreachable.md | 1 - docs/src/rules/no-unsafe-finally.md | 1 - docs/src/rules/no-unsafe-negation.md | 1 - docs/src/rules/no-unsafe-optional-chaining.md | 1 - docs/src/rules/no-unused-expressions.md | 1 - docs/src/rules/no-unused-labels.md | 1 - docs/src/rules/no-unused-private-class-members.md | 1 - docs/src/rules/no-unused-vars.md | 1 - docs/src/rules/no-use-before-define.md | 1 - docs/src/rules/no-useless-backreference.md | 1 - docs/src/rules/no-useless-call.md | 1 - docs/src/rules/no-useless-catch.md | 1 - docs/src/rules/no-useless-computed-key.md | 1 - docs/src/rules/no-useless-concat.md | 1 - docs/src/rules/no-useless-constructor.md | 1 - docs/src/rules/no-useless-escape.md | 1 - docs/src/rules/no-useless-rename.md | 1 - docs/src/rules/no-useless-return.md | 1 - docs/src/rules/no-var.md | 1 - docs/src/rules/no-void.md | 1 - docs/src/rules/no-warning-comments.md | 1 - docs/src/rules/no-whitespace-before-property.md | 1 - docs/src/rules/no-with.md | 1 - docs/src/rules/no-wrap-func.md | 1 - docs/src/rules/nonblock-statement-body-position.md | 1 - docs/src/rules/object-curly-newline.md | 1 - docs/src/rules/object-curly-spacing.md | 1 - docs/src/rules/object-property-newline.md | 1 - docs/src/rules/object-shorthand.md | 1 - docs/src/rules/one-var-declaration-per-line.md | 1 - docs/src/rules/one-var.md | 1 - docs/src/rules/operator-assignment.md | 1 - docs/src/rules/operator-linebreak.md | 1 - docs/src/rules/padded-blocks.md | 1 - docs/src/rules/padding-line-between-statements.md | 1 - docs/src/rules/prefer-arrow-callback.md | 1 - docs/src/rules/prefer-const.md | 1 - docs/src/rules/prefer-destructuring.md | 1 - docs/src/rules/prefer-exponentiation-operator.md | 1 - docs/src/rules/prefer-named-capture-group.md | 1 - docs/src/rules/prefer-numeric-literals.md | 1 - docs/src/rules/prefer-object-has-own.md | 1 - docs/src/rules/prefer-object-spread.md | 1 - docs/src/rules/prefer-promise-reject-errors.md | 1 - docs/src/rules/prefer-reflect.md | 1 - docs/src/rules/prefer-regex-literals.md | 1 - docs/src/rules/prefer-rest-params.md | 1 - docs/src/rules/prefer-spread.md | 1 - docs/src/rules/prefer-template.md | 1 - docs/src/rules/quote-props.md | 1 - docs/src/rules/quotes.md | 1 - docs/src/rules/radix.md | 1 - docs/src/rules/require-atomic-updates.md | 1 - docs/src/rules/require-await.md | 1 - docs/src/rules/require-jsdoc.md | 1 - docs/src/rules/require-unicode-regexp.md | 1 - docs/src/rules/require-yield.md | 1 - docs/src/rules/rest-spread-spacing.md | 1 - docs/src/rules/semi-spacing.md | 1 - docs/src/rules/semi-style.md | 1 - docs/src/rules/semi.md | 1 - docs/src/rules/sort-imports.md | 1 - docs/src/rules/sort-keys.md | 1 - docs/src/rules/sort-vars.md | 1 - docs/src/rules/space-after-function-name.md | 1 - docs/src/rules/space-after-keywords.md | 1 - docs/src/rules/space-before-blocks.md | 1 - docs/src/rules/space-before-function-paren.md | 1 - docs/src/rules/space-before-function-parentheses.md | 1 - docs/src/rules/space-before-keywords.md | 1 - docs/src/rules/space-in-brackets.md | 1 - docs/src/rules/space-in-parens.md | 1 - docs/src/rules/space-infix-ops.md | 1 - docs/src/rules/space-return-throw-case.md | 1 - docs/src/rules/space-unary-ops.md | 1 - docs/src/rules/space-unary-word-ops.md | 1 - docs/src/rules/spaced-comment.md | 1 - docs/src/rules/spaced-line-comment.md | 1 - docs/src/rules/strict.md | 1 - docs/src/rules/switch-colon-spacing.md | 1 - docs/src/rules/symbol-description.md | 1 - docs/src/rules/template-curly-spacing.md | 1 - docs/src/rules/template-tag-spacing.md | 1 - docs/src/rules/unicode-bom.md | 1 - docs/src/rules/use-isnan.md | 1 - docs/src/rules/valid-jsdoc.md | 1 - docs/src/rules/valid-typeof.md | 1 - docs/src/rules/vars-on-top.md | 1 - docs/src/rules/wrap-iife.md | 1 - docs/src/rules/wrap-regex.md | 1 - docs/src/rules/yield-star-spacing.md | 1 - docs/src/rules/yoda.md | 1 - docs/src/user-guide/command-line-interface.md | 1 - .../user-guide/configuring/configuration-files-new.md | 1 - docs/src/user-guide/configuring/configuration-files.md | 1 - docs/src/user-guide/configuring/ignoring-code.md | 1 - docs/src/user-guide/configuring/index.md | 3 +-- docs/src/user-guide/configuring/language-options.md | 1 - docs/src/user-guide/configuring/plugins.md | 1 - docs/src/user-guide/configuring/rules.md | 1 - docs/src/user-guide/getting-started.md | 1 - docs/src/user-guide/index.md | 1 - docs/src/user-guide/integrations.md | 1 - docs/src/user-guide/migrating-from-jscs.md | 1 - docs/src/user-guide/migrating-to-1.0.0.md | 1 - docs/src/user-guide/migrating-to-2.0.0.md | 1 - docs/src/user-guide/migrating-to-3.0.0.md | 1 - docs/src/user-guide/migrating-to-4.0.0.md | 1 - docs/src/user-guide/migrating-to-5.0.0.md | 1 - docs/src/user-guide/migrating-to-6.0.0.md | 1 - docs/src/user-guide/migrating-to-7.0.0.md | 1 - docs/src/user-guide/migrating-to-8.0.0.md | 1 - docs/src/user-guide/rule-deprecation.md | 1 - 359 files changed, 21 insertions(+), 363 deletions(-) diff --git a/docs/src/_data/sites/en.yml b/docs/src/_data/sites/en.yml index c929da0c3c1..43e112fe1b0 100644 --- a/docs/src/_data/sites/en.yml +++ b/docs/src/_data/sites/en.yml @@ -107,3 +107,11 @@ footer: actions: back_to_home: Back to homepage browse_docs: Browse the docs + +#------------------------------------------------------------------------------ +# Edit link +#------------------------------------------------------------------------------ + +edit_link: + start_with: https://github.com/eslint/eslint/edit/main/docs/ + text: Edit this page diff --git a/docs/src/_includes/layouts/doc.html b/docs/src/_includes/layouts/doc.html index 13c296e1fea..70888cd6b81 100644 --- a/docs/src/_includes/layouts/doc.html +++ b/docs/src/_includes/layouts/doc.html @@ -81,7 +81,14 @@

{{ title }}

diff --git a/docs/src/about/index.md b/docs/src/about/index.md index 5b3b359b45d..2ced3af3d1c 100644 --- a/docs/src/about/index.md +++ b/docs/src/about/index.md @@ -1,7 +1,6 @@ --- title: About layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/about/index.md --- diff --git a/docs/src/developer-guide/architecture/index.md b/docs/src/developer-guide/architecture/index.md index 1c580e469a2..71e4469d135 100644 --- a/docs/src/developer-guide/architecture/index.md +++ b/docs/src/developer-guide/architecture/index.md @@ -1,7 +1,6 @@ --- title: Architecture layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/architecture/index.md eleventyNavigation: key: architecture parent: developer guide diff --git a/docs/src/developer-guide/code-conventions.md b/docs/src/developer-guide/code-conventions.md index 9b639c36cb9..45c70c1121b 100644 --- a/docs/src/developer-guide/code-conventions.md +++ b/docs/src/developer-guide/code-conventions.md @@ -1,7 +1,6 @@ --- title: Code Conventions layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/code-conventions.md --- diff --git a/docs/src/developer-guide/code-path-analysis.md b/docs/src/developer-guide/code-path-analysis.md index 17daf3196cc..5433f27652e 100644 --- a/docs/src/developer-guide/code-path-analysis.md +++ b/docs/src/developer-guide/code-path-analysis.md @@ -1,7 +1,6 @@ --- title: Code Path Analysis Details layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/code-path-analysis.md --- diff --git a/docs/src/developer-guide/contributing/changes.md b/docs/src/developer-guide/contributing/changes.md index b6059676e1d..264d1a9d365 100644 --- a/docs/src/developer-guide/contributing/changes.md +++ b/docs/src/developer-guide/contributing/changes.md @@ -1,15 +1,14 @@ --- title: Change Requests layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/contributing/changes.md --- If you'd like to request a change to ESLint, please [create a new issue](https://github.com/eslint/eslint/issues/new/choose) on GitHub. Be sure to include the following information: 1. The version of ESLint you are using. -1. The problem you want to solve. -1. Your take on the correct solution to problem. +2. The problem you want to solve. +3. Your take on the correct solution to problem. If you're requesting a change to a rule, it's helpful to include this information as well: diff --git a/docs/src/developer-guide/contributing/index.md b/docs/src/developer-guide/contributing/index.md index fdf9e2818a4..a5dfce781aa 100644 --- a/docs/src/developer-guide/contributing/index.md +++ b/docs/src/developer-guide/contributing/index.md @@ -1,7 +1,6 @@ --- title: Contributing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/contributing/index.md eleventyNavigation: key: contributing parent: developer guide diff --git a/docs/src/developer-guide/contributing/new-rules.md b/docs/src/developer-guide/contributing/new-rules.md index 9288618c985..f3c859a2a79 100644 --- a/docs/src/developer-guide/contributing/new-rules.md +++ b/docs/src/developer-guide/contributing/new-rules.md @@ -1,7 +1,6 @@ --- title: New Rules layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/contributing/new-rules.md --- diff --git a/docs/src/developer-guide/contributing/pull-requests.md b/docs/src/developer-guide/contributing/pull-requests.md index e320f32e545..2eece342b53 100644 --- a/docs/src/developer-guide/contributing/pull-requests.md +++ b/docs/src/developer-guide/contributing/pull-requests.md @@ -1,7 +1,6 @@ --- title: Pull Requests layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/contributing/pull-requests.md --- diff --git a/docs/src/developer-guide/contributing/reporting-bugs.md b/docs/src/developer-guide/contributing/reporting-bugs.md index 8d713c46004..fb6ae0fe36b 100644 --- a/docs/src/developer-guide/contributing/reporting-bugs.md +++ b/docs/src/developer-guide/contributing/reporting-bugs.md @@ -1,7 +1,6 @@ --- title: Reporting Bugs layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/contributing/reporting-bugs.md --- diff --git a/docs/src/developer-guide/contributing/rule-changes.md b/docs/src/developer-guide/contributing/rule-changes.md index d6c07562e81..b96d668a5e2 100644 --- a/docs/src/developer-guide/contributing/rule-changes.md +++ b/docs/src/developer-guide/contributing/rule-changes.md @@ -1,7 +1,6 @@ --- title: Rule Changes layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/contributing/rule-changes.md --- diff --git a/docs/src/developer-guide/contributing/working-on-issues.md b/docs/src/developer-guide/contributing/working-on-issues.md index 0065db77c0c..75322e2b877 100644 --- a/docs/src/developer-guide/contributing/working-on-issues.md +++ b/docs/src/developer-guide/contributing/working-on-issues.md @@ -1,7 +1,6 @@ --- title: Working on Issues layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/contributing/working-on-issues.md --- diff --git a/docs/src/developer-guide/development-environment.md b/docs/src/developer-guide/development-environment.md index 75c0aaf5c3c..ad217402786 100644 --- a/docs/src/developer-guide/development-environment.md +++ b/docs/src/developer-guide/development-environment.md @@ -1,7 +1,6 @@ --- title: Development Environment layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/development-environment.md eleventyNavigation: key: set up a development environment parent: developer guide diff --git a/docs/src/developer-guide/index.md b/docs/src/developer-guide/index.md index 0b8f2e1cb1f..a682ac2535f 100644 --- a/docs/src/developer-guide/index.md +++ b/docs/src/developer-guide/index.md @@ -1,7 +1,6 @@ --- title: Developer Guide layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/index.md eleventyNavigation: key: developer guide title: Developer Guide diff --git a/docs/src/developer-guide/nodejs-api.md b/docs/src/developer-guide/nodejs-api.md index cefd83a1470..0b8d84226b4 100644 --- a/docs/src/developer-guide/nodejs-api.md +++ b/docs/src/developer-guide/nodejs-api.md @@ -1,7 +1,6 @@ --- title: Node.js API layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/nodejs-api.md eleventyNavigation: key: node.js api parent: developer guide diff --git a/docs/src/developer-guide/scope-manager-interface.md b/docs/src/developer-guide/scope-manager-interface.md index 4a6dc3302bb..c864aba4a7a 100644 --- a/docs/src/developer-guide/scope-manager-interface.md +++ b/docs/src/developer-guide/scope-manager-interface.md @@ -1,7 +1,6 @@ --- title: ScopeManager layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/scope-manager-interface.md --- diff --git a/docs/src/developer-guide/selectors.md b/docs/src/developer-guide/selectors.md index 1ee40c7d6c4..4f286c4d698 100644 --- a/docs/src/developer-guide/selectors.md +++ b/docs/src/developer-guide/selectors.md @@ -1,15 +1,14 @@ --- title: Selectors layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/selectors.md --- Some rules and APIs allow the use of selectors to query an AST. This page is intended to: 1. Explain what selectors are -1. Describe the syntax for creating selectors -1. Describe what selectors can be used for +2. Describe the syntax for creating selectors +3. Describe what selectors can be used for ## What is a selector? diff --git a/docs/src/developer-guide/shareable-configs.md b/docs/src/developer-guide/shareable-configs.md index 0378a6e6152..a6ef597ebbc 100644 --- a/docs/src/developer-guide/shareable-configs.md +++ b/docs/src/developer-guide/shareable-configs.md @@ -1,7 +1,6 @@ --- title: Shareable Configs layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/shareable-configs.md eleventyNavigation: key: shareable configs parent: developer guide diff --git a/docs/src/developer-guide/source-code.md b/docs/src/developer-guide/source-code.md index 558434e15a8..ec3d3ce9d9f 100644 --- a/docs/src/developer-guide/source-code.md +++ b/docs/src/developer-guide/source-code.md @@ -1,7 +1,6 @@ --- title: Source Code layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/source-code.md eleventyNavigation: key: getting the source code parent: developer guide diff --git a/docs/src/developer-guide/unit-tests.md b/docs/src/developer-guide/unit-tests.md index a8ff6ecb5e3..0c8426fcadf 100644 --- a/docs/src/developer-guide/unit-tests.md +++ b/docs/src/developer-guide/unit-tests.md @@ -1,7 +1,6 @@ --- title: Unit Tests layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/unit-tests.md eleventyNavigation: key: run the tests parent: developer guide diff --git a/docs/src/developer-guide/working-with-custom-formatters.md b/docs/src/developer-guide/working-with-custom-formatters.md index 87bd728bd83..1d970ea5e8e 100644 --- a/docs/src/developer-guide/working-with-custom-formatters.md +++ b/docs/src/developer-guide/working-with-custom-formatters.md @@ -1,7 +1,6 @@ --- title: Working with Custom Formatters layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/working-with-custom-formatters.md eleventyNavigation: key: working with custom formatters parent: developer guide diff --git a/docs/src/developer-guide/working-with-custom-parsers.md b/docs/src/developer-guide/working-with-custom-parsers.md index 0ae2c1c90b0..62707b38f7f 100644 --- a/docs/src/developer-guide/working-with-custom-parsers.md +++ b/docs/src/developer-guide/working-with-custom-parsers.md @@ -1,7 +1,6 @@ --- title: Working with Custom Parsers layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/working-with-custom-parsers.md eleventyNavigation: key: working with custom parsers parent: developer guide diff --git a/docs/src/developer-guide/working-with-plugins.md b/docs/src/developer-guide/working-with-plugins.md index f03ba1a3ceb..cec3f88c023 100644 --- a/docs/src/developer-guide/working-with-plugins.md +++ b/docs/src/developer-guide/working-with-plugins.md @@ -1,7 +1,6 @@ --- title: Working with Plugins layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/working-with-plugins.md eleventyNavigation: key: working with plugings parent: developer guide diff --git a/docs/src/developer-guide/working-with-rules-deprecated.md b/docs/src/developer-guide/working-with-rules-deprecated.md index a700780a85f..bd3fd77811c 100644 --- a/docs/src/developer-guide/working-with-rules-deprecated.md +++ b/docs/src/developer-guide/working-with-rules-deprecated.md @@ -1,7 +1,6 @@ --- title: Working with Rules (Deprecated) layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/working-with-rules-deprecated.md --- diff --git a/docs/src/developer-guide/working-with-rules.md b/docs/src/developer-guide/working-with-rules.md index be6d971a390..16412b575de 100644 --- a/docs/src/developer-guide/working-with-rules.md +++ b/docs/src/developer-guide/working-with-rules.md @@ -1,7 +1,6 @@ --- title: Working with Rules layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/developer-guide/working-with-rules.md eleventyNavigation: key: working with rules parent: developer guide diff --git a/docs/src/maintainer-guide/governance.md b/docs/src/maintainer-guide/governance.md index da3548ba787..0705b646960 100644 --- a/docs/src/maintainer-guide/governance.md +++ b/docs/src/maintainer-guide/governance.md @@ -1,7 +1,6 @@ --- title: Governance layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/maintainer-guide/governance.md eleventyNavigation: key: governance parent: maintainer guide diff --git a/docs/src/maintainer-guide/index.md b/docs/src/maintainer-guide/index.md index ab745536884..ecac32f0226 100644 --- a/docs/src/maintainer-guide/index.md +++ b/docs/src/maintainer-guide/index.md @@ -1,7 +1,6 @@ --- title: Maintainer Guide layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/maintainer-guide/index.md eleventyNavigation: key: maintainer guide title: Maintainer Guide diff --git a/docs/src/maintainer-guide/issues.md b/docs/src/maintainer-guide/issues.md index c97a9cc359f..ca6abf3bb88 100644 --- a/docs/src/maintainer-guide/issues.md +++ b/docs/src/maintainer-guide/issues.md @@ -1,7 +1,6 @@ --- title: Managing Issues layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/maintainer-guide/issues.md eleventyNavigation: key: managing issues parent: maintainer guide diff --git a/docs/src/maintainer-guide/pullrequests.md b/docs/src/maintainer-guide/pullrequests.md index c9f7c4830fd..3c0b0645a60 100644 --- a/docs/src/maintainer-guide/pullrequests.md +++ b/docs/src/maintainer-guide/pullrequests.md @@ -1,7 +1,6 @@ --- title: Reviewing Pull Requests layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/maintainer-guide/pullrequests.md eleventyNavigation: key: reviewing pull requests parent: maintainer guide diff --git a/docs/src/maintainer-guide/releases.md b/docs/src/maintainer-guide/releases.md index 8b1adee6b3d..975717d2d3e 100644 --- a/docs/src/maintainer-guide/releases.md +++ b/docs/src/maintainer-guide/releases.md @@ -1,7 +1,6 @@ --- title: Managing Releases layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/maintainer-guide/releases.md eleventyNavigation: key: managing releases parent: maintainer guide diff --git a/docs/src/maintainer-guide/working-groups.md b/docs/src/maintainer-guide/working-groups.md index 1f6d43a675d..4a79ff421d3 100644 --- a/docs/src/maintainer-guide/working-groups.md +++ b/docs/src/maintainer-guide/working-groups.md @@ -1,7 +1,6 @@ --- title: Working Groups layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/maintainer-guide/working-groups.md --- diff --git a/docs/src/pages/index.md b/docs/src/pages/index.md index 016d9d0f422..43c79544370 100644 --- a/docs/src/pages/index.md +++ b/docs/src/pages/index.md @@ -2,7 +2,6 @@ title: Documentation layout: doc permalink: /index.html -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/pages/index.md --- Welcome to our documentation pages! What would you like to view? diff --git a/docs/src/rules/accessor-pairs.md b/docs/src/rules/accessor-pairs.md index 0ce706a7708..638bbc8d67e 100644 --- a/docs/src/rules/accessor-pairs.md +++ b/docs/src/rules/accessor-pairs.md @@ -1,7 +1,6 @@ --- title: accessor-pairs layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/accessor-pairs.md rule_type: suggestion related_rules: - no-dupe-keys diff --git a/docs/src/rules/array-bracket-newline.md b/docs/src/rules/array-bracket-newline.md index 04b527f8aff..16e80e1bbf0 100644 --- a/docs/src/rules/array-bracket-newline.md +++ b/docs/src/rules/array-bracket-newline.md @@ -1,7 +1,6 @@ --- title: array-bracket-newline layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/array-bracket-newline.md rule_type: layout related_rules: - array-bracket-spacing diff --git a/docs/src/rules/array-bracket-spacing.md b/docs/src/rules/array-bracket-spacing.md index cc5589ef502..275b32fed7b 100644 --- a/docs/src/rules/array-bracket-spacing.md +++ b/docs/src/rules/array-bracket-spacing.md @@ -1,7 +1,6 @@ --- title: array-bracket-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/array-bracket-spacing.md rule_type: layout related_rules: - space-in-parens diff --git a/docs/src/rules/array-callback-return.md b/docs/src/rules/array-callback-return.md index ebd7e977010..b3b0fbaf34c 100644 --- a/docs/src/rules/array-callback-return.md +++ b/docs/src/rules/array-callback-return.md @@ -1,7 +1,6 @@ --- title: array-callback-return layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/array-callback-return.md rule_type: problem --- diff --git a/docs/src/rules/array-element-newline.md b/docs/src/rules/array-element-newline.md index ec21c6fbaae..73b545a056a 100644 --- a/docs/src/rules/array-element-newline.md +++ b/docs/src/rules/array-element-newline.md @@ -1,7 +1,6 @@ --- title: array-element-newline layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/array-element-newline.md rule_type: layout related_rules: - array-bracket-spacing diff --git a/docs/src/rules/arrow-body-style.md b/docs/src/rules/arrow-body-style.md index 050d4b11b76..1964b1a2b8f 100644 --- a/docs/src/rules/arrow-body-style.md +++ b/docs/src/rules/arrow-body-style.md @@ -1,7 +1,6 @@ --- title: arrow-body-style layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/arrow-body-style.md rule_type: suggestion --- diff --git a/docs/src/rules/arrow-parens.md b/docs/src/rules/arrow-parens.md index 66c7fa8bca8..b3214ced764 100644 --- a/docs/src/rules/arrow-parens.md +++ b/docs/src/rules/arrow-parens.md @@ -1,7 +1,6 @@ --- title: arrow-parens layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/arrow-parens.md rule_type: layout further_reading: - https://github.com/airbnb/javascript#arrows--one-arg-parens diff --git a/docs/src/rules/arrow-spacing.md b/docs/src/rules/arrow-spacing.md index a8feec96499..e24b168fe3e 100644 --- a/docs/src/rules/arrow-spacing.md +++ b/docs/src/rules/arrow-spacing.md @@ -1,7 +1,6 @@ --- title: arrow-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/arrow-spacing.md rule_type: layout --- diff --git a/docs/src/rules/block-scoped-var.md b/docs/src/rules/block-scoped-var.md index 4ef6548f6fc..566d6029b49 100644 --- a/docs/src/rules/block-scoped-var.md +++ b/docs/src/rules/block-scoped-var.md @@ -1,7 +1,6 @@ --- title: block-scoped-var layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/block-scoped-var.md rule_type: suggestion further_reading: - https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html diff --git a/docs/src/rules/block-spacing.md b/docs/src/rules/block-spacing.md index ea3426a7854..99b354016e3 100644 --- a/docs/src/rules/block-spacing.md +++ b/docs/src/rules/block-spacing.md @@ -1,7 +1,6 @@ --- title: block-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/block-spacing.md rule_type: layout related_rules: - space-before-blocks diff --git a/docs/src/rules/brace-style.md b/docs/src/rules/brace-style.md index 6320fec42d3..ccca32faa67 100644 --- a/docs/src/rules/brace-style.md +++ b/docs/src/rules/brace-style.md @@ -1,7 +1,6 @@ --- title: brace-style layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/brace-style.md rule_type: layout related_rules: - block-spacing diff --git a/docs/src/rules/callback-return.md b/docs/src/rules/callback-return.md index b9db4659f82..2b7ded0a6db 100644 --- a/docs/src/rules/callback-return.md +++ b/docs/src/rules/callback-return.md @@ -1,7 +1,6 @@ --- title: callback-return layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/callback-return.md rule_type: suggestion related_rules: - handle-callback-err diff --git a/docs/src/rules/camelcase.md b/docs/src/rules/camelcase.md index 294f597e338..7678aab16df 100644 --- a/docs/src/rules/camelcase.md +++ b/docs/src/rules/camelcase.md @@ -1,7 +1,6 @@ --- title: camelcase layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/camelcase.md rule_type: suggestion --- diff --git a/docs/src/rules/capitalized-comments.md b/docs/src/rules/capitalized-comments.md index 1334aaaa173..8c62ae57ffc 100644 --- a/docs/src/rules/capitalized-comments.md +++ b/docs/src/rules/capitalized-comments.md @@ -1,7 +1,6 @@ --- title: capitalized-comments layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/capitalized-comments.md rule_type: suggestion --- diff --git a/docs/src/rules/class-methods-use-this.md b/docs/src/rules/class-methods-use-this.md index 8b3df9643a4..49c74e66116 100644 --- a/docs/src/rules/class-methods-use-this.md +++ b/docs/src/rules/class-methods-use-this.md @@ -1,7 +1,6 @@ --- title: class-methods-use-this layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/class-methods-use-this.md rule_type: suggestion further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes diff --git a/docs/src/rules/comma-dangle.md b/docs/src/rules/comma-dangle.md index 26d650210c2..b3f27a260bb 100644 --- a/docs/src/rules/comma-dangle.md +++ b/docs/src/rules/comma-dangle.md @@ -1,7 +1,6 @@ --- title: comma-dangle layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/comma-dangle.md rule_type: layout --- diff --git a/docs/src/rules/comma-spacing.md b/docs/src/rules/comma-spacing.md index ca10ca0a6a7..169077d9487 100644 --- a/docs/src/rules/comma-spacing.md +++ b/docs/src/rules/comma-spacing.md @@ -1,7 +1,6 @@ --- title: comma-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/comma-spacing.md rule_type: layout related_rules: - array-bracket-spacing diff --git a/docs/src/rules/comma-style.md b/docs/src/rules/comma-style.md index 1535ef667fa..ef3b35814a9 100644 --- a/docs/src/rules/comma-style.md +++ b/docs/src/rules/comma-style.md @@ -1,7 +1,6 @@ --- title: comma-style layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/comma-style.md rule_type: layout related_rules: - operator-linebreak diff --git a/docs/src/rules/complexity.md b/docs/src/rules/complexity.md index cb4bbdb5d2d..33b367b0379 100644 --- a/docs/src/rules/complexity.md +++ b/docs/src/rules/complexity.md @@ -1,7 +1,6 @@ --- title: complexity layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/complexity.md rule_type: suggestion related_rules: - max-depth diff --git a/docs/src/rules/computed-property-spacing.md b/docs/src/rules/computed-property-spacing.md index 96fb8b06132..58849dab195 100644 --- a/docs/src/rules/computed-property-spacing.md +++ b/docs/src/rules/computed-property-spacing.md @@ -1,7 +1,6 @@ --- title: computed-property-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/computed-property-spacing.md rule_type: layout related_rules: - array-bracket-spacing diff --git a/docs/src/rules/consistent-return.md b/docs/src/rules/consistent-return.md index b948bc5607c..068d3b9bd6a 100644 --- a/docs/src/rules/consistent-return.md +++ b/docs/src/rules/consistent-return.md @@ -1,7 +1,6 @@ --- title: consistent-return layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/consistent-return.md rule_type: suggestion --- diff --git a/docs/src/rules/consistent-this.md b/docs/src/rules/consistent-this.md index 8947d92d2f4..8a5a56b38a4 100644 --- a/docs/src/rules/consistent-this.md +++ b/docs/src/rules/consistent-this.md @@ -1,7 +1,6 @@ --- title: consistent-this layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/consistent-this.md rule_type: suggestion --- diff --git a/docs/src/rules/constructor-super.md b/docs/src/rules/constructor-super.md index 1497b0188fb..c3cf06e8868 100644 --- a/docs/src/rules/constructor-super.md +++ b/docs/src/rules/constructor-super.md @@ -1,7 +1,6 @@ --- title: constructor-super layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/constructor-super.md rule_type: problem --- diff --git a/docs/src/rules/curly.md b/docs/src/rules/curly.md index 15f28c6559f..fe48feb0a75 100644 --- a/docs/src/rules/curly.md +++ b/docs/src/rules/curly.md @@ -1,7 +1,6 @@ --- title: curly layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/curly.md rule_type: suggestion --- diff --git a/docs/src/rules/default-case-last.md b/docs/src/rules/default-case-last.md index 7a3c5d60524..2502a83a831 100644 --- a/docs/src/rules/default-case-last.md +++ b/docs/src/rules/default-case-last.md @@ -1,7 +1,6 @@ --- title: default-case-last layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/default-case-last.md rule_type: suggestion related_rules: - default-case diff --git a/docs/src/rules/default-case.md b/docs/src/rules/default-case.md index cab7be84046..f05ae441428 100644 --- a/docs/src/rules/default-case.md +++ b/docs/src/rules/default-case.md @@ -1,7 +1,6 @@ --- title: default-case layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/default-case.md rule_type: suggestion related_rules: - no-fallthrough diff --git a/docs/src/rules/default-param-last.md b/docs/src/rules/default-param-last.md index b9e85c71bbd..0343ce765c0 100644 --- a/docs/src/rules/default-param-last.md +++ b/docs/src/rules/default-param-last.md @@ -1,7 +1,6 @@ --- title: default-param-last layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/default-param-last.md rule_type: suggestion --- diff --git a/docs/src/rules/dot-location.md b/docs/src/rules/dot-location.md index 5650ddd3bf1..34ab8c5e9e6 100644 --- a/docs/src/rules/dot-location.md +++ b/docs/src/rules/dot-location.md @@ -1,7 +1,6 @@ --- title: dot-location layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/dot-location.md rule_type: layout related_rules: - newline-after-var diff --git a/docs/src/rules/dot-notation.md b/docs/src/rules/dot-notation.md index 3a40363ac42..76370046e16 100644 --- a/docs/src/rules/dot-notation.md +++ b/docs/src/rules/dot-notation.md @@ -1,7 +1,6 @@ --- title: dot-notation layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/dot-notation.md rule_type: suggestion --- diff --git a/docs/src/rules/eol-last.md b/docs/src/rules/eol-last.md index a3a19f983bb..4e7dbc09d2e 100644 --- a/docs/src/rules/eol-last.md +++ b/docs/src/rules/eol-last.md @@ -1,7 +1,6 @@ --- title: eol-last layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/eol-last.md rule_type: layout --- diff --git a/docs/src/rules/eqeqeq.md b/docs/src/rules/eqeqeq.md index 6c16d0454a6..f89c30359e8 100644 --- a/docs/src/rules/eqeqeq.md +++ b/docs/src/rules/eqeqeq.md @@ -1,7 +1,6 @@ --- title: eqeqeq layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/eqeqeq.md rule_type: suggestion --- diff --git a/docs/src/rules/for-direction.md b/docs/src/rules/for-direction.md index c9b99d6beae..352ed84664e 100644 --- a/docs/src/rules/for-direction.md +++ b/docs/src/rules/for-direction.md @@ -1,7 +1,6 @@ --- title: for-direction layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/for-direction.md rule_type: problem --- diff --git a/docs/src/rules/func-call-spacing.md b/docs/src/rules/func-call-spacing.md index cc2005660b9..542ac8b8538 100644 --- a/docs/src/rules/func-call-spacing.md +++ b/docs/src/rules/func-call-spacing.md @@ -1,7 +1,6 @@ --- title: func-call-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/func-call-spacing.md rule_type: layout related_rules: - no-spaced-func diff --git a/docs/src/rules/func-name-matching.md b/docs/src/rules/func-name-matching.md index fc45a652859..d42db46d23d 100644 --- a/docs/src/rules/func-name-matching.md +++ b/docs/src/rules/func-name-matching.md @@ -1,7 +1,6 @@ --- title: func-name-matching layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/func-name-matching.md rule_type: suggestion --- diff --git a/docs/src/rules/func-names.md b/docs/src/rules/func-names.md index bdc0ea596f0..ceb575ec2e8 100644 --- a/docs/src/rules/func-names.md +++ b/docs/src/rules/func-names.md @@ -1,7 +1,6 @@ --- title: func-names layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/func-names.md rule_type: suggestion further_reading: - https://web.archive.org/web/20201112040809/http://markdaggett.com/blog/2013/02/15/functions-explained/ diff --git a/docs/src/rules/func-style.md b/docs/src/rules/func-style.md index 8897692cec0..56a9fca00b2 100644 --- a/docs/src/rules/func-style.md +++ b/docs/src/rules/func-style.md @@ -1,7 +1,6 @@ --- title: func-style layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/func-style.md rule_type: suggestion further_reading: - https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html diff --git a/docs/src/rules/function-call-argument-newline.md b/docs/src/rules/function-call-argument-newline.md index 6a5ffb8c173..baba38c858e 100644 --- a/docs/src/rules/function-call-argument-newline.md +++ b/docs/src/rules/function-call-argument-newline.md @@ -1,7 +1,6 @@ --- title: function-call-argument-newline layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/function-call-argument-newline.md rule_type: layout related_rules: - function-paren-newline diff --git a/docs/src/rules/function-paren-newline.md b/docs/src/rules/function-paren-newline.md index da1743ca9e7..68d38fad23f 100644 --- a/docs/src/rules/function-paren-newline.md +++ b/docs/src/rules/function-paren-newline.md @@ -1,7 +1,6 @@ --- title: function-paren-newline layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/function-paren-newline.md rule_type: layout --- diff --git a/docs/src/rules/generator-star-spacing.md b/docs/src/rules/generator-star-spacing.md index 8525a0879eb..82cdbcd9c9d 100644 --- a/docs/src/rules/generator-star-spacing.md +++ b/docs/src/rules/generator-star-spacing.md @@ -1,7 +1,6 @@ --- title: generator-star-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/generator-star-spacing.md rule_type: layout further_reading: - https://leanpub.com/understandinges6/read/#leanpub-auto-generators diff --git a/docs/src/rules/generator-star.md b/docs/src/rules/generator-star.md index f944081a264..60b1780e6a5 100644 --- a/docs/src/rules/generator-star.md +++ b/docs/src/rules/generator-star.md @@ -1,7 +1,6 @@ --- title: generator-star layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/generator-star.md further_reading: - https://leanpub.com/understandinges6/read/#leanpub-auto-generators --- diff --git a/docs/src/rules/getter-return.md b/docs/src/rules/getter-return.md index 31dbd108b70..b35f0d5cfd2 100644 --- a/docs/src/rules/getter-return.md +++ b/docs/src/rules/getter-return.md @@ -1,7 +1,6 @@ --- title: getter-return layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/getter-return.md rule_type: problem further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get diff --git a/docs/src/rules/global-require.md b/docs/src/rules/global-require.md index 6c07bbbcb7b..0fddee754ef 100644 --- a/docs/src/rules/global-require.md +++ b/docs/src/rules/global-require.md @@ -1,7 +1,6 @@ --- title: global-require layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/global-require.md rule_type: suggestion --- diff --git a/docs/src/rules/global-strict.md b/docs/src/rules/global-strict.md index 856b58d856d..08c0c029173 100644 --- a/docs/src/rules/global-strict.md +++ b/docs/src/rules/global-strict.md @@ -1,7 +1,6 @@ --- title: global-strict layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/global-strict.md --- diff --git a/docs/src/rules/grouped-accessor-pairs.md b/docs/src/rules/grouped-accessor-pairs.md index a9eaa212415..a8e40da8856 100644 --- a/docs/src/rules/grouped-accessor-pairs.md +++ b/docs/src/rules/grouped-accessor-pairs.md @@ -1,7 +1,6 @@ --- title: grouped-accessor-pairs layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/grouped-accessor-pairs.md rule_type: suggestion related_rules: - accessor-pairs diff --git a/docs/src/rules/guard-for-in.md b/docs/src/rules/guard-for-in.md index 8e3d22e2507..c6cdbab24ad 100644 --- a/docs/src/rules/guard-for-in.md +++ b/docs/src/rules/guard-for-in.md @@ -1,7 +1,6 @@ --- title: guard-for-in layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/guard-for-in.md rule_type: suggestion related_rules: - no-prototype-builtins diff --git a/docs/src/rules/handle-callback-err.md b/docs/src/rules/handle-callback-err.md index 210b119c7d4..4f4b8c95507 100644 --- a/docs/src/rules/handle-callback-err.md +++ b/docs/src/rules/handle-callback-err.md @@ -1,7 +1,6 @@ --- title: handle-callback-err layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/handle-callback-err.md rule_type: suggestion further_reading: - https://github.com/maxogden/art-of-node#callbacks diff --git a/docs/src/rules/id-blacklist.md b/docs/src/rules/id-blacklist.md index 3c5cce27506..267eece4894 100644 --- a/docs/src/rules/id-blacklist.md +++ b/docs/src/rules/id-blacklist.md @@ -1,7 +1,6 @@ --- title: id-blacklist layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/id-blacklist.md rule_type: suggestion --- diff --git a/docs/src/rules/id-denylist.md b/docs/src/rules/id-denylist.md index 9a782d613ad..3a9f61f5c8c 100644 --- a/docs/src/rules/id-denylist.md +++ b/docs/src/rules/id-denylist.md @@ -1,7 +1,6 @@ --- title: id-denylist layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/id-denylist.md rule_type: suggestion --- diff --git a/docs/src/rules/id-length.md b/docs/src/rules/id-length.md index a6b5c1a4d88..fb69db1850f 100644 --- a/docs/src/rules/id-length.md +++ b/docs/src/rules/id-length.md @@ -1,7 +1,6 @@ --- title: id-length layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/id-length.md rule_type: suggestion related_rules: - max-len diff --git a/docs/src/rules/id-match.md b/docs/src/rules/id-match.md index db43aa80cda..8e4bea97c24 100644 --- a/docs/src/rules/id-match.md +++ b/docs/src/rules/id-match.md @@ -1,7 +1,6 @@ --- title: id-match layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/id-match.md rule_type: suggestion --- diff --git a/docs/src/rules/implicit-arrow-linebreak.md b/docs/src/rules/implicit-arrow-linebreak.md index b7887761bad..c0d9f9f006c 100644 --- a/docs/src/rules/implicit-arrow-linebreak.md +++ b/docs/src/rules/implicit-arrow-linebreak.md @@ -1,7 +1,6 @@ --- title: implicit-arrow-linebreak layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/implicit-arrow-linebreak.md rule_type: layout related_rules: - brace-style diff --git a/docs/src/rules/indent-legacy.md b/docs/src/rules/indent-legacy.md index 9c887d802a4..13ca8b658ff 100644 --- a/docs/src/rules/indent-legacy.md +++ b/docs/src/rules/indent-legacy.md @@ -1,7 +1,6 @@ --- title: indent-legacy layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/indent-legacy.md rule_type: layout --- diff --git a/docs/src/rules/indent.md b/docs/src/rules/indent.md index dbe4f9bbc3f..461abbe6f91 100644 --- a/docs/src/rules/indent.md +++ b/docs/src/rules/indent.md @@ -1,7 +1,6 @@ --- title: indent layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/indent.md rule_type: layout --- diff --git a/docs/src/rules/init-declarations.md b/docs/src/rules/init-declarations.md index d5ccaef69aa..f7612e62655 100644 --- a/docs/src/rules/init-declarations.md +++ b/docs/src/rules/init-declarations.md @@ -1,7 +1,6 @@ --- title: init-declarations layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/init-declarations.md rule_type: suggestion --- diff --git a/docs/src/rules/jsx-quotes.md b/docs/src/rules/jsx-quotes.md index 5196e66790d..f1af49949e1 100644 --- a/docs/src/rules/jsx-quotes.md +++ b/docs/src/rules/jsx-quotes.md @@ -1,7 +1,6 @@ --- title: jsx-quotes layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/jsx-quotes.md rule_type: layout related_rules: - quotes diff --git a/docs/src/rules/key-spacing.md b/docs/src/rules/key-spacing.md index 1810ab1739e..4b96fc03455 100644 --- a/docs/src/rules/key-spacing.md +++ b/docs/src/rules/key-spacing.md @@ -1,7 +1,6 @@ --- title: key-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/key-spacing.md rule_type: layout --- diff --git a/docs/src/rules/keyword-spacing.md b/docs/src/rules/keyword-spacing.md index e90244cd618..ada22084b60 100644 --- a/docs/src/rules/keyword-spacing.md +++ b/docs/src/rules/keyword-spacing.md @@ -1,7 +1,6 @@ --- title: keyword-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/keyword-spacing.md rule_type: layout --- diff --git a/docs/src/rules/line-comment-position.md b/docs/src/rules/line-comment-position.md index a49fd00ae5a..21c8b68addd 100644 --- a/docs/src/rules/line-comment-position.md +++ b/docs/src/rules/line-comment-position.md @@ -1,7 +1,6 @@ --- title: line-comment-position layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/line-comment-position.md rule_type: layout --- diff --git a/docs/src/rules/linebreak-style.md b/docs/src/rules/linebreak-style.md index ef3c071a079..8e975158eab 100644 --- a/docs/src/rules/linebreak-style.md +++ b/docs/src/rules/linebreak-style.md @@ -1,7 +1,6 @@ --- title: linebreak-style layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/linebreak-style.md rule_type: layout --- diff --git a/docs/src/rules/lines-around-comment.md b/docs/src/rules/lines-around-comment.md index 44051246faa..472b61b8b23 100644 --- a/docs/src/rules/lines-around-comment.md +++ b/docs/src/rules/lines-around-comment.md @@ -1,7 +1,6 @@ --- title: lines-around-comment layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/lines-around-comment.md rule_type: layout related_rules: - space-before-blocks diff --git a/docs/src/rules/lines-around-directive.md b/docs/src/rules/lines-around-directive.md index d3697545668..42133a38838 100644 --- a/docs/src/rules/lines-around-directive.md +++ b/docs/src/rules/lines-around-directive.md @@ -1,7 +1,6 @@ --- title: lines-around-directive layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/lines-around-directive.md rule_type: layout related_rules: - lines-around-comment diff --git a/docs/src/rules/lines-between-class-members.md b/docs/src/rules/lines-between-class-members.md index 42ebf9d2a83..13fcbe43426 100644 --- a/docs/src/rules/lines-between-class-members.md +++ b/docs/src/rules/lines-between-class-members.md @@ -1,7 +1,6 @@ --- title: lines-between-class-members layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/lines-between-class-members.md rule_type: layout related_rules: - padded-blocks diff --git a/docs/src/rules/max-classes-per-file.md b/docs/src/rules/max-classes-per-file.md index ef02619fe5b..d7a47ba68a0 100644 --- a/docs/src/rules/max-classes-per-file.md +++ b/docs/src/rules/max-classes-per-file.md @@ -1,7 +1,6 @@ --- title: max-classes-per-file layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/max-classes-per-file.md rule_type: suggestion --- diff --git a/docs/src/rules/max-depth.md b/docs/src/rules/max-depth.md index 1a31c279a38..70f441a48fa 100644 --- a/docs/src/rules/max-depth.md +++ b/docs/src/rules/max-depth.md @@ -1,7 +1,6 @@ --- title: max-depth layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/max-depth.md rule_type: suggestion related_rules: - complexity diff --git a/docs/src/rules/max-len.md b/docs/src/rules/max-len.md index 216b48d80ac..ae3d52783dc 100644 --- a/docs/src/rules/max-len.md +++ b/docs/src/rules/max-len.md @@ -1,7 +1,6 @@ --- title: max-len layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/max-len.md rule_type: layout related_rules: - complexity diff --git a/docs/src/rules/max-lines-per-function.md b/docs/src/rules/max-lines-per-function.md index 66eeb481b55..f0ca7cbbdb2 100644 --- a/docs/src/rules/max-lines-per-function.md +++ b/docs/src/rules/max-lines-per-function.md @@ -1,7 +1,6 @@ --- title: max-lines-per-function layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/max-lines-per-function.md rule_type: suggestion related_rules: - complexity diff --git a/docs/src/rules/max-lines.md b/docs/src/rules/max-lines.md index d33153b0e3b..306468310fd 100644 --- a/docs/src/rules/max-lines.md +++ b/docs/src/rules/max-lines.md @@ -1,7 +1,6 @@ --- title: max-lines layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/max-lines.md rule_type: suggestion related_rules: - complexity diff --git a/docs/src/rules/max-nested-callbacks.md b/docs/src/rules/max-nested-callbacks.md index 4bdc36be86f..ea83c633570 100644 --- a/docs/src/rules/max-nested-callbacks.md +++ b/docs/src/rules/max-nested-callbacks.md @@ -1,7 +1,6 @@ --- title: max-nested-callbacks layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/max-nested-callbacks.md rule_type: suggestion related_rules: - complexity diff --git a/docs/src/rules/max-params.md b/docs/src/rules/max-params.md index 5a3a4ed8a2f..5456cb15037 100644 --- a/docs/src/rules/max-params.md +++ b/docs/src/rules/max-params.md @@ -1,7 +1,6 @@ --- title: max-params layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/max-params.md rule_type: suggestion related_rules: - complexity diff --git a/docs/src/rules/max-statements-per-line.md b/docs/src/rules/max-statements-per-line.md index ee5a9b730ff..efa81608b62 100644 --- a/docs/src/rules/max-statements-per-line.md +++ b/docs/src/rules/max-statements-per-line.md @@ -1,7 +1,6 @@ --- title: max-statements-per-line layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/max-statements-per-line.md rule_type: layout related_rules: - max-depth diff --git a/docs/src/rules/max-statements.md b/docs/src/rules/max-statements.md index ec981ba424c..c29a595c55b 100644 --- a/docs/src/rules/max-statements.md +++ b/docs/src/rules/max-statements.md @@ -1,7 +1,6 @@ --- title: max-statements layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/max-statements.md rule_type: suggestion related_rules: - complexity diff --git a/docs/src/rules/multiline-comment-style.md b/docs/src/rules/multiline-comment-style.md index 243cbc58cfc..657de1d6757 100644 --- a/docs/src/rules/multiline-comment-style.md +++ b/docs/src/rules/multiline-comment-style.md @@ -1,7 +1,6 @@ --- title: multiline-comment-style layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/multiline-comment-style.md rule_type: suggestion --- diff --git a/docs/src/rules/multiline-ternary.md b/docs/src/rules/multiline-ternary.md index 9f309efba45..f3ba2555556 100644 --- a/docs/src/rules/multiline-ternary.md +++ b/docs/src/rules/multiline-ternary.md @@ -1,7 +1,6 @@ --- title: multiline-ternary layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/multiline-ternary.md rule_type: layout related_rules: - operator-linebreak diff --git a/docs/src/rules/new-cap.md b/docs/src/rules/new-cap.md index 1309ee821f7..cf49280cb9b 100644 --- a/docs/src/rules/new-cap.md +++ b/docs/src/rules/new-cap.md @@ -1,7 +1,6 @@ --- title: new-cap layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/new-cap.md rule_type: suggestion --- diff --git a/docs/src/rules/new-parens.md b/docs/src/rules/new-parens.md index b51bdfe52d2..02bceef872f 100644 --- a/docs/src/rules/new-parens.md +++ b/docs/src/rules/new-parens.md @@ -1,7 +1,6 @@ --- title: new-parens layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/new-parens.md rule_type: layout --- diff --git a/docs/src/rules/newline-after-var.md b/docs/src/rules/newline-after-var.md index da6f6e22cb0..a516b53aebc 100644 --- a/docs/src/rules/newline-after-var.md +++ b/docs/src/rules/newline-after-var.md @@ -1,7 +1,6 @@ --- title: newline-after-var layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/newline-after-var.md rule_type: layout --- diff --git a/docs/src/rules/newline-before-return.md b/docs/src/rules/newline-before-return.md index 62f12881a57..2851e68a862 100644 --- a/docs/src/rules/newline-before-return.md +++ b/docs/src/rules/newline-before-return.md @@ -1,7 +1,6 @@ --- title: newline-before-return layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/newline-before-return.md rule_type: layout related_rules: - newline-after-var diff --git a/docs/src/rules/newline-per-chained-call.md b/docs/src/rules/newline-per-chained-call.md index 88d677c9598..4ceff02600a 100644 --- a/docs/src/rules/newline-per-chained-call.md +++ b/docs/src/rules/newline-per-chained-call.md @@ -1,7 +1,6 @@ --- title: newline-per-chained-call layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/newline-per-chained-call.md rule_type: layout --- diff --git a/docs/src/rules/no-alert.md b/docs/src/rules/no-alert.md index 4dcfdf97286..6088cb37852 100644 --- a/docs/src/rules/no-alert.md +++ b/docs/src/rules/no-alert.md @@ -1,7 +1,6 @@ --- title: no-alert layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-alert.md rule_type: suggestion related_rules: - no-console diff --git a/docs/src/rules/no-array-constructor.md b/docs/src/rules/no-array-constructor.md index 9a96c5cc6a0..730da6cc10e 100644 --- a/docs/src/rules/no-array-constructor.md +++ b/docs/src/rules/no-array-constructor.md @@ -1,7 +1,6 @@ --- title: no-array-constructor layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-array-constructor.md rule_type: suggestion related_rules: - no-new-object diff --git a/docs/src/rules/no-arrow-condition.md b/docs/src/rules/no-arrow-condition.md index a6ef8f21348..6783bdedabd 100644 --- a/docs/src/rules/no-arrow-condition.md +++ b/docs/src/rules/no-arrow-condition.md @@ -1,7 +1,6 @@ --- title: no-arrow-condition layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-arrow-condition.md related_rules: - arrow-parens diff --git a/docs/src/rules/no-async-promise-executor.md b/docs/src/rules/no-async-promise-executor.md index b32f137caee..4c6a85414d9 100644 --- a/docs/src/rules/no-async-promise-executor.md +++ b/docs/src/rules/no-async-promise-executor.md @@ -1,7 +1,6 @@ --- title: no-async-promise-executor layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-async-promise-executor.md rule_type: problem --- diff --git a/docs/src/rules/no-await-in-loop.md b/docs/src/rules/no-await-in-loop.md index 6c2c1041992..f661a5b2142 100644 --- a/docs/src/rules/no-await-in-loop.md +++ b/docs/src/rules/no-await-in-loop.md @@ -1,7 +1,6 @@ --- title: no-await-in-loop layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-await-in-loop.md rule_type: problem --- diff --git a/docs/src/rules/no-bitwise.md b/docs/src/rules/no-bitwise.md index 1cdbb60d9a7..2df0b8a1840 100644 --- a/docs/src/rules/no-bitwise.md +++ b/docs/src/rules/no-bitwise.md @@ -1,7 +1,6 @@ --- title: no-bitwise layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-bitwise.md rule_type: suggestion --- diff --git a/docs/src/rules/no-buffer-constructor.md b/docs/src/rules/no-buffer-constructor.md index 96da4d15644..18f4f176f4b 100644 --- a/docs/src/rules/no-buffer-constructor.md +++ b/docs/src/rules/no-buffer-constructor.md @@ -1,7 +1,6 @@ --- title: no-buffer-constructor layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-buffer-constructor.md rule_type: problem further_reading: - https://nodejs.org/api/buffer.html diff --git a/docs/src/rules/no-caller.md b/docs/src/rules/no-caller.md index 2dfabff100b..5a1e2b703b7 100644 --- a/docs/src/rules/no-caller.md +++ b/docs/src/rules/no-caller.md @@ -1,7 +1,6 @@ --- title: no-caller layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-caller.md rule_type: suggestion --- diff --git a/docs/src/rules/no-case-declarations.md b/docs/src/rules/no-case-declarations.md index 589c84ec3f5..b9aa9b55143 100644 --- a/docs/src/rules/no-case-declarations.md +++ b/docs/src/rules/no-case-declarations.md @@ -1,7 +1,6 @@ --- title: no-case-declarations layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-case-declarations.md rule_type: suggestion related_rules: - no-fallthrough diff --git a/docs/src/rules/no-catch-shadow.md b/docs/src/rules/no-catch-shadow.md index 08a484fb047..abf86b92f52 100644 --- a/docs/src/rules/no-catch-shadow.md +++ b/docs/src/rules/no-catch-shadow.md @@ -1,7 +1,6 @@ --- title: no-catch-shadow layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-catch-shadow.md rule_type: suggestion --- diff --git a/docs/src/rules/no-class-assign.md b/docs/src/rules/no-class-assign.md index 6c8c9c9658b..153be8e92c2 100644 --- a/docs/src/rules/no-class-assign.md +++ b/docs/src/rules/no-class-assign.md @@ -1,7 +1,6 @@ --- title: no-class-assign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-class-assign.md rule_type: problem --- diff --git a/docs/src/rules/no-comma-dangle.md b/docs/src/rules/no-comma-dangle.md index 3227dbded87..de0faf7f042 100644 --- a/docs/src/rules/no-comma-dangle.md +++ b/docs/src/rules/no-comma-dangle.md @@ -1,7 +1,6 @@ --- title: no-comma-dangle layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-comma-dangle.md --- diff --git a/docs/src/rules/no-compare-neg-zero.md b/docs/src/rules/no-compare-neg-zero.md index 04a88170c0a..5d7da2a45eb 100644 --- a/docs/src/rules/no-compare-neg-zero.md +++ b/docs/src/rules/no-compare-neg-zero.md @@ -1,7 +1,6 @@ --- title: no-compare-neg-zero layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-compare-neg-zero.md rule_type: problem --- diff --git a/docs/src/rules/no-cond-assign.md b/docs/src/rules/no-cond-assign.md index f223ee7ec39..af0454884c5 100644 --- a/docs/src/rules/no-cond-assign.md +++ b/docs/src/rules/no-cond-assign.md @@ -1,7 +1,6 @@ --- title: no-cond-assign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-cond-assign.md rule_type: problem related_rules: - no-extra-parens diff --git a/docs/src/rules/no-confusing-arrow.md b/docs/src/rules/no-confusing-arrow.md index be4bb96fd5a..18d05638a12 100644 --- a/docs/src/rules/no-confusing-arrow.md +++ b/docs/src/rules/no-confusing-arrow.md @@ -1,7 +1,6 @@ --- title: no-confusing-arrow layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-confusing-arrow.md rule_type: suggestion related_rules: - no-constant-condition diff --git a/docs/src/rules/no-console.md b/docs/src/rules/no-console.md index 5fdfbae020c..05a1dfef51a 100644 --- a/docs/src/rules/no-console.md +++ b/docs/src/rules/no-console.md @@ -1,7 +1,6 @@ --- title: no-console layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-console.md rule_type: suggestion related_rules: - no-alert diff --git a/docs/src/rules/no-const-assign.md b/docs/src/rules/no-const-assign.md index a0df9d6a276..67be27ee614 100644 --- a/docs/src/rules/no-const-assign.md +++ b/docs/src/rules/no-const-assign.md @@ -1,7 +1,6 @@ --- title: no-const-assign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-const-assign.md rule_type: problem --- diff --git a/docs/src/rules/no-constant-binary-expression.md b/docs/src/rules/no-constant-binary-expression.md index 1d0bf89d7b1..43deeae7008 100644 --- a/docs/src/rules/no-constant-binary-expression.md +++ b/docs/src/rules/no-constant-binary-expression.md @@ -1,7 +1,6 @@ --- title: no-constant-binary-expression layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-constant-binary-expression.md rule_type: problem related_rules: - no-constant-condition diff --git a/docs/src/rules/no-constant-condition.md b/docs/src/rules/no-constant-condition.md index 959e3d6c87e..a3bad571d1c 100644 --- a/docs/src/rules/no-constant-condition.md +++ b/docs/src/rules/no-constant-condition.md @@ -1,7 +1,6 @@ --- title: no-constant-condition layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-constant-condition.md rule_type: problem related_rules: - no-constant-binary-expression diff --git a/docs/src/rules/no-constructor-return.md b/docs/src/rules/no-constructor-return.md index f6e941b1b96..1e74eb747d5 100644 --- a/docs/src/rules/no-constructor-return.md +++ b/docs/src/rules/no-constructor-return.md @@ -1,7 +1,6 @@ --- title: no-constructor-return layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-constructor-return.md rule_type: problem --- diff --git a/docs/src/rules/no-continue.md b/docs/src/rules/no-continue.md index 4ab311d6b61..0753e363ee6 100644 --- a/docs/src/rules/no-continue.md +++ b/docs/src/rules/no-continue.md @@ -1,7 +1,6 @@ --- title: no-continue layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-continue.md rule_type: suggestion --- diff --git a/docs/src/rules/no-control-regex.md b/docs/src/rules/no-control-regex.md index 3e957063222..65149cdceb5 100644 --- a/docs/src/rules/no-control-regex.md +++ b/docs/src/rules/no-control-regex.md @@ -1,7 +1,6 @@ --- title: no-control-regex layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-control-regex.md rule_type: problem related_rules: - no-div-regex diff --git a/docs/src/rules/no-debugger.md b/docs/src/rules/no-debugger.md index f9bd8b31f95..07da9b8a376 100644 --- a/docs/src/rules/no-debugger.md +++ b/docs/src/rules/no-debugger.md @@ -1,7 +1,6 @@ --- title: no-debugger layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-debugger.md rule_type: problem related_rules: - no-alert diff --git a/docs/src/rules/no-delete-var.md b/docs/src/rules/no-delete-var.md index 6abedd7f1e4..8d5f6801049 100644 --- a/docs/src/rules/no-delete-var.md +++ b/docs/src/rules/no-delete-var.md @@ -1,7 +1,6 @@ --- title: no-delete-var layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-delete-var.md rule_type: suggestion --- diff --git a/docs/src/rules/no-div-regex.md b/docs/src/rules/no-div-regex.md index 31653a94208..d44b3ddb2dc 100644 --- a/docs/src/rules/no-div-regex.md +++ b/docs/src/rules/no-div-regex.md @@ -1,7 +1,6 @@ --- title: no-div-regex layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-div-regex.md rule_type: suggestion related_rules: - no-control-regex diff --git a/docs/src/rules/no-dupe-args.md b/docs/src/rules/no-dupe-args.md index 0556d70e9a0..84ca185bd1d 100644 --- a/docs/src/rules/no-dupe-args.md +++ b/docs/src/rules/no-dupe-args.md @@ -1,7 +1,6 @@ --- title: no-dupe-args layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-dupe-args.md rule_type: problem --- diff --git a/docs/src/rules/no-dupe-class-members.md b/docs/src/rules/no-dupe-class-members.md index cc32d47085a..91b096f5e79 100644 --- a/docs/src/rules/no-dupe-class-members.md +++ b/docs/src/rules/no-dupe-class-members.md @@ -1,7 +1,6 @@ --- title: no-dupe-class-members layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-dupe-class-members.md rule_type: problem --- diff --git a/docs/src/rules/no-dupe-else-if.md b/docs/src/rules/no-dupe-else-if.md index b0010189e9f..2ab75a68d9a 100644 --- a/docs/src/rules/no-dupe-else-if.md +++ b/docs/src/rules/no-dupe-else-if.md @@ -1,7 +1,6 @@ --- title: no-dupe-else-if layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-dupe-else-if.md rule_type: problem related_rules: - no-duplicate-case diff --git a/docs/src/rules/no-dupe-keys.md b/docs/src/rules/no-dupe-keys.md index 45c8bbf3449..aa336932ed7 100644 --- a/docs/src/rules/no-dupe-keys.md +++ b/docs/src/rules/no-dupe-keys.md @@ -1,7 +1,6 @@ --- title: no-dupe-keys layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-dupe-keys.md rule_type: problem --- diff --git a/docs/src/rules/no-duplicate-case.md b/docs/src/rules/no-duplicate-case.md index 5f221fabdc3..26ffeb0ad68 100644 --- a/docs/src/rules/no-duplicate-case.md +++ b/docs/src/rules/no-duplicate-case.md @@ -1,7 +1,6 @@ --- title: no-duplicate-case layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-duplicate-case.md rule_type: problem --- diff --git a/docs/src/rules/no-duplicate-imports.md b/docs/src/rules/no-duplicate-imports.md index f029093e7fe..c94a1782f17 100644 --- a/docs/src/rules/no-duplicate-imports.md +++ b/docs/src/rules/no-duplicate-imports.md @@ -1,7 +1,6 @@ --- title: no-duplicate-imports layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-duplicate-imports.md rule_type: problem --- diff --git a/docs/src/rules/no-else-return.md b/docs/src/rules/no-else-return.md index 8380d5a7b2e..c67c5f3834a 100644 --- a/docs/src/rules/no-else-return.md +++ b/docs/src/rules/no-else-return.md @@ -1,7 +1,6 @@ --- title: no-else-return layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-else-return.md rule_type: suggestion --- diff --git a/docs/src/rules/no-empty-character-class.md b/docs/src/rules/no-empty-character-class.md index 3d8f544e6ba..d91695052bb 100644 --- a/docs/src/rules/no-empty-character-class.md +++ b/docs/src/rules/no-empty-character-class.md @@ -1,7 +1,6 @@ --- title: no-empty-character-class layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-empty-character-class.md rule_type: problem --- diff --git a/docs/src/rules/no-empty-class.md b/docs/src/rules/no-empty-class.md index e9431716084..4326054ebda 100644 --- a/docs/src/rules/no-empty-class.md +++ b/docs/src/rules/no-empty-class.md @@ -1,7 +1,6 @@ --- title: no-empty-class layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-empty-class.md --- diff --git a/docs/src/rules/no-empty-function.md b/docs/src/rules/no-empty-function.md index 192de97a3e7..6542317d582 100644 --- a/docs/src/rules/no-empty-function.md +++ b/docs/src/rules/no-empty-function.md @@ -1,7 +1,6 @@ --- title: no-empty-function layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-empty-function.md rule_type: suggestion related_rules: - no-empty diff --git a/docs/src/rules/no-empty-label.md b/docs/src/rules/no-empty-label.md index b12d403aeec..6666960c03c 100644 --- a/docs/src/rules/no-empty-label.md +++ b/docs/src/rules/no-empty-label.md @@ -1,7 +1,6 @@ --- title: no-empty-label layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-empty-label.md related_rules: - no-labels diff --git a/docs/src/rules/no-empty-pattern.md b/docs/src/rules/no-empty-pattern.md index a259bf22b07..374535fdc20 100644 --- a/docs/src/rules/no-empty-pattern.md +++ b/docs/src/rules/no-empty-pattern.md @@ -1,7 +1,6 @@ --- title: no-empty-pattern layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-empty-pattern.md rule_type: problem --- diff --git a/docs/src/rules/no-empty.md b/docs/src/rules/no-empty.md index 70935afb3b6..68a3634cec3 100644 --- a/docs/src/rules/no-empty.md +++ b/docs/src/rules/no-empty.md @@ -1,7 +1,6 @@ --- title: no-empty layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-empty.md rule_type: suggestion related_rules: - no-empty-function diff --git a/docs/src/rules/no-eq-null.md b/docs/src/rules/no-eq-null.md index f2e17ac66c1..6511bd7c37b 100644 --- a/docs/src/rules/no-eq-null.md +++ b/docs/src/rules/no-eq-null.md @@ -1,7 +1,6 @@ --- title: no-eq-null layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-eq-null.md rule_type: suggestion --- diff --git a/docs/src/rules/no-eval.md b/docs/src/rules/no-eval.md index 1488c1132ce..166087d5b1c 100644 --- a/docs/src/rules/no-eval.md +++ b/docs/src/rules/no-eval.md @@ -1,7 +1,6 @@ --- title: no-eval layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-eval.md rule_type: suggestion related_rules: - no-implied-eval diff --git a/docs/src/rules/no-ex-assign.md b/docs/src/rules/no-ex-assign.md index 9835a658bee..edf2fca6d3e 100644 --- a/docs/src/rules/no-ex-assign.md +++ b/docs/src/rules/no-ex-assign.md @@ -1,7 +1,6 @@ --- title: no-ex-assign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-ex-assign.md rule_type: problem further_reading: - https://bocoup.com/blog/the-catch-with-try-catch diff --git a/docs/src/rules/no-extend-native.md b/docs/src/rules/no-extend-native.md index 065b214cbc0..abdf8127114 100644 --- a/docs/src/rules/no-extend-native.md +++ b/docs/src/rules/no-extend-native.md @@ -1,7 +1,6 @@ --- title: no-extend-native layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-extend-native.md rule_type: suggestion related_rules: - no-global-assign diff --git a/docs/src/rules/no-extra-bind.md b/docs/src/rules/no-extra-bind.md index a783de9de28..4133e75c1c8 100644 --- a/docs/src/rules/no-extra-bind.md +++ b/docs/src/rules/no-extra-bind.md @@ -1,7 +1,6 @@ --- title: no-extra-bind layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-extra-bind.md rule_type: suggestion further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind diff --git a/docs/src/rules/no-extra-boolean-cast.md b/docs/src/rules/no-extra-boolean-cast.md index 5429d8c6fc3..d08a4ea6d3d 100644 --- a/docs/src/rules/no-extra-boolean-cast.md +++ b/docs/src/rules/no-extra-boolean-cast.md @@ -1,7 +1,6 @@ --- title: no-extra-boolean-cast layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-extra-boolean-cast.md rule_type: suggestion --- diff --git a/docs/src/rules/no-extra-label.md b/docs/src/rules/no-extra-label.md index 30a0ea2dcf7..bd2cb581019 100644 --- a/docs/src/rules/no-extra-label.md +++ b/docs/src/rules/no-extra-label.md @@ -1,7 +1,6 @@ --- title: no-extra-label layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-extra-label.md rule_type: suggestion related_rules: - no-labels diff --git a/docs/src/rules/no-extra-parens.md b/docs/src/rules/no-extra-parens.md index 669130cb074..ab3fd1ceda6 100644 --- a/docs/src/rules/no-extra-parens.md +++ b/docs/src/rules/no-extra-parens.md @@ -1,7 +1,6 @@ --- title: no-extra-parens layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-extra-parens.md rule_type: layout related_rules: - arrow-parens diff --git a/docs/src/rules/no-extra-semi.md b/docs/src/rules/no-extra-semi.md index 65d32df2833..6132bcbf1e8 100644 --- a/docs/src/rules/no-extra-semi.md +++ b/docs/src/rules/no-extra-semi.md @@ -1,7 +1,6 @@ --- title: no-extra-semi layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-extra-semi.md rule_type: suggestion related_rules: - semi diff --git a/docs/src/rules/no-extra-strict.md b/docs/src/rules/no-extra-strict.md index 4aa4fdcdc5c..caeff8af6bb 100644 --- a/docs/src/rules/no-extra-strict.md +++ b/docs/src/rules/no-extra-strict.md @@ -1,7 +1,6 @@ --- title: no-extra-strict layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-extra-strict.md further_reading: - https://es5.github.io/#C diff --git a/docs/src/rules/no-fallthrough.md b/docs/src/rules/no-fallthrough.md index ee9b4db2aab..bb97a402954 100644 --- a/docs/src/rules/no-fallthrough.md +++ b/docs/src/rules/no-fallthrough.md @@ -1,7 +1,6 @@ --- title: no-fallthrough layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-fallthrough.md rule_type: problem related_rules: - default-case diff --git a/docs/src/rules/no-floating-decimal.md b/docs/src/rules/no-floating-decimal.md index 02dea7d2060..e1c26d233b8 100644 --- a/docs/src/rules/no-floating-decimal.md +++ b/docs/src/rules/no-floating-decimal.md @@ -1,7 +1,6 @@ --- title: no-floating-decimal layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-floating-decimal.md rule_type: suggestion --- diff --git a/docs/src/rules/no-func-assign.md b/docs/src/rules/no-func-assign.md index b98652c3aa1..84971db7aed 100644 --- a/docs/src/rules/no-func-assign.md +++ b/docs/src/rules/no-func-assign.md @@ -1,7 +1,6 @@ --- title: no-func-assign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-func-assign.md rule_type: problem --- diff --git a/docs/src/rules/no-global-assign.md b/docs/src/rules/no-global-assign.md index e29789dc625..95ca90d1614 100644 --- a/docs/src/rules/no-global-assign.md +++ b/docs/src/rules/no-global-assign.md @@ -1,7 +1,6 @@ --- title: no-global-assign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-global-assign.md rule_type: suggestion related_rules: - no-extend-native diff --git a/docs/src/rules/no-implicit-coercion.md b/docs/src/rules/no-implicit-coercion.md index 2739292eceb..746c9889f5a 100644 --- a/docs/src/rules/no-implicit-coercion.md +++ b/docs/src/rules/no-implicit-coercion.md @@ -1,7 +1,6 @@ --- title: no-implicit-coercion layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-implicit-coercion.md rule_type: suggestion --- diff --git a/docs/src/rules/no-implicit-globals.md b/docs/src/rules/no-implicit-globals.md index ce942e91c8f..15c03861d55 100644 --- a/docs/src/rules/no-implicit-globals.md +++ b/docs/src/rules/no-implicit-globals.md @@ -1,7 +1,6 @@ --- title: no-implicit-globals layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-implicit-globals.md rule_type: suggestion related_rules: - no-undef diff --git a/docs/src/rules/no-implied-eval.md b/docs/src/rules/no-implied-eval.md index 433c28360b3..acfcfd5d230 100644 --- a/docs/src/rules/no-implied-eval.md +++ b/docs/src/rules/no-implied-eval.md @@ -1,7 +1,6 @@ --- title: no-implied-eval layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-implied-eval.md rule_type: suggestion related_rules: - no-eval diff --git a/docs/src/rules/no-import-assign.md b/docs/src/rules/no-import-assign.md index 980d230a501..c19cfd200c1 100644 --- a/docs/src/rules/no-import-assign.md +++ b/docs/src/rules/no-import-assign.md @@ -1,7 +1,6 @@ --- title: no-import-assign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-import-assign.md rule_type: problem --- diff --git a/docs/src/rules/no-inline-comments.md b/docs/src/rules/no-inline-comments.md index 4b2d9c3f92d..093214cc98c 100644 --- a/docs/src/rules/no-inline-comments.md +++ b/docs/src/rules/no-inline-comments.md @@ -1,7 +1,6 @@ --- title: no-inline-comments layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-inline-comments.md rule_type: suggestion --- diff --git a/docs/src/rules/no-inner-declarations.md b/docs/src/rules/no-inner-declarations.md index 3f126f4344d..d09899913b8 100644 --- a/docs/src/rules/no-inner-declarations.md +++ b/docs/src/rules/no-inner-declarations.md @@ -1,7 +1,6 @@ --- title: no-inner-declarations layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-inner-declarations.md rule_type: problem --- diff --git a/docs/src/rules/no-invalid-regexp.md b/docs/src/rules/no-invalid-regexp.md index 42c8d7bf348..59fe9dc6f60 100644 --- a/docs/src/rules/no-invalid-regexp.md +++ b/docs/src/rules/no-invalid-regexp.md @@ -1,7 +1,6 @@ --- title: no-invalid-regexp layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-invalid-regexp.md rule_type: problem further_reading: - https://es5.github.io/#x7.8.5 diff --git a/docs/src/rules/no-invalid-this.md b/docs/src/rules/no-invalid-this.md index 2fb5ec8b63c..62c11ba11b9 100644 --- a/docs/src/rules/no-invalid-this.md +++ b/docs/src/rules/no-invalid-this.md @@ -1,7 +1,6 @@ --- title: no-invalid-this layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-invalid-this.md rule_type: suggestion --- diff --git a/docs/src/rules/no-irregular-whitespace.md b/docs/src/rules/no-irregular-whitespace.md index 5996fb53021..3f27133f71e 100644 --- a/docs/src/rules/no-irregular-whitespace.md +++ b/docs/src/rules/no-irregular-whitespace.md @@ -1,7 +1,6 @@ --- title: no-irregular-whitespace layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-irregular-whitespace.md rule_type: problem further_reading: - https://es5.github.io/#x7.2 diff --git a/docs/src/rules/no-iterator.md b/docs/src/rules/no-iterator.md index fba039adcbd..b0335e8fde3 100644 --- a/docs/src/rules/no-iterator.md +++ b/docs/src/rules/no-iterator.md @@ -1,7 +1,6 @@ --- title: no-iterator layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-iterator.md rule_type: suggestion further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators diff --git a/docs/src/rules/no-label-var.md b/docs/src/rules/no-label-var.md index c0a1ec13c4c..422538a934d 100644 --- a/docs/src/rules/no-label-var.md +++ b/docs/src/rules/no-label-var.md @@ -1,7 +1,6 @@ --- title: no-label-var layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-label-var.md rule_type: suggestion related_rules: - no-extra-label diff --git a/docs/src/rules/no-labels.md b/docs/src/rules/no-labels.md index 6df5f52fab6..c8d65c82dc1 100644 --- a/docs/src/rules/no-labels.md +++ b/docs/src/rules/no-labels.md @@ -1,7 +1,6 @@ --- title: no-labels layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-labels.md rule_type: suggestion related_rules: - no-extra-label diff --git a/docs/src/rules/no-lone-blocks.md b/docs/src/rules/no-lone-blocks.md index 8255b3dafba..22703f8ce83 100644 --- a/docs/src/rules/no-lone-blocks.md +++ b/docs/src/rules/no-lone-blocks.md @@ -1,7 +1,6 @@ --- title: no-lone-blocks layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-lone-blocks.md rule_type: suggestion --- diff --git a/docs/src/rules/no-lonely-if.md b/docs/src/rules/no-lonely-if.md index 1ef30c57244..2b306d4385c 100644 --- a/docs/src/rules/no-lonely-if.md +++ b/docs/src/rules/no-lonely-if.md @@ -1,7 +1,6 @@ --- title: no-lonely-if layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-lonely-if.md rule_type: suggestion --- diff --git a/docs/src/rules/no-loop-func.md b/docs/src/rules/no-loop-func.md index e37fe82a1e0..07e22b5e6af 100644 --- a/docs/src/rules/no-loop-func.md +++ b/docs/src/rules/no-loop-func.md @@ -1,7 +1,6 @@ --- title: no-loop-func layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-loop-func.md rule_type: suggestion --- diff --git a/docs/src/rules/no-loss-of-precision.md b/docs/src/rules/no-loss-of-precision.md index 3932866036e..e060f8c0fb5 100644 --- a/docs/src/rules/no-loss-of-precision.md +++ b/docs/src/rules/no-loss-of-precision.md @@ -1,7 +1,6 @@ --- title: no-loss-of-precision layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-loss-of-precision.md rule_type: problem --- diff --git a/docs/src/rules/no-magic-numbers.md b/docs/src/rules/no-magic-numbers.md index 2f862575646..fca63d6f12d 100644 --- a/docs/src/rules/no-magic-numbers.md +++ b/docs/src/rules/no-magic-numbers.md @@ -1,7 +1,6 @@ --- title: no-magic-numbers layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-magic-numbers.md rule_type: suggestion --- diff --git a/docs/src/rules/no-misleading-character-class.md b/docs/src/rules/no-misleading-character-class.md index a3d156a4a4c..57b3ee66b88 100644 --- a/docs/src/rules/no-misleading-character-class.md +++ b/docs/src/rules/no-misleading-character-class.md @@ -1,7 +1,6 @@ --- title: no-misleading-character-class layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-misleading-character-class.md rule_type: problem --- diff --git a/docs/src/rules/no-mixed-operators.md b/docs/src/rules/no-mixed-operators.md index 9db3066925e..17422cb401e 100644 --- a/docs/src/rules/no-mixed-operators.md +++ b/docs/src/rules/no-mixed-operators.md @@ -1,7 +1,6 @@ --- title: no-mixed-operators layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-mixed-operators.md rule_type: suggestion related_rules: - no-extra-parens diff --git a/docs/src/rules/no-mixed-requires.md b/docs/src/rules/no-mixed-requires.md index 6584e8fb7f1..1f813d9a13a 100644 --- a/docs/src/rules/no-mixed-requires.md +++ b/docs/src/rules/no-mixed-requires.md @@ -1,7 +1,6 @@ --- title: no-mixed-requires layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-mixed-requires.md rule_type: suggestion --- diff --git a/docs/src/rules/no-mixed-spaces-and-tabs.md b/docs/src/rules/no-mixed-spaces-and-tabs.md index 0dc791a9a35..4f34752b3b9 100644 --- a/docs/src/rules/no-mixed-spaces-and-tabs.md +++ b/docs/src/rules/no-mixed-spaces-and-tabs.md @@ -1,7 +1,6 @@ --- title: no-mixed-spaces-and-tabs layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-mixed-spaces-and-tabs.md rule_type: layout further_reading: - https://www.emacswiki.org/emacs/SmartTabs diff --git a/docs/src/rules/no-multi-assign.md b/docs/src/rules/no-multi-assign.md index a6b08849cb4..351e4a63969 100644 --- a/docs/src/rules/no-multi-assign.md +++ b/docs/src/rules/no-multi-assign.md @@ -1,7 +1,6 @@ --- title: no-multi-assign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-multi-assign.md rule_type: suggestion related_rules: - max-statements-per-line diff --git a/docs/src/rules/no-multi-spaces.md b/docs/src/rules/no-multi-spaces.md index e8a38dd96b9..03453365dc9 100644 --- a/docs/src/rules/no-multi-spaces.md +++ b/docs/src/rules/no-multi-spaces.md @@ -1,7 +1,6 @@ --- title: no-multi-spaces layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-multi-spaces.md rule_type: layout related_rules: - key-spacing diff --git a/docs/src/rules/no-multi-str.md b/docs/src/rules/no-multi-str.md index 3548be839d8..c118a517f46 100644 --- a/docs/src/rules/no-multi-str.md +++ b/docs/src/rules/no-multi-str.md @@ -1,7 +1,6 @@ --- title: no-multi-str layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-multi-str.md rule_type: suggestion --- diff --git a/docs/src/rules/no-multiple-empty-lines.md b/docs/src/rules/no-multiple-empty-lines.md index 5606beacf6c..8ca5d2384cf 100644 --- a/docs/src/rules/no-multiple-empty-lines.md +++ b/docs/src/rules/no-multiple-empty-lines.md @@ -1,7 +1,6 @@ --- title: no-multiple-empty-lines layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-multiple-empty-lines.md rule_type: layout --- diff --git a/docs/src/rules/no-native-reassign.md b/docs/src/rules/no-native-reassign.md index 43772e027fc..226a1735bc5 100644 --- a/docs/src/rules/no-native-reassign.md +++ b/docs/src/rules/no-native-reassign.md @@ -1,7 +1,6 @@ --- title: no-native-reassign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-native-reassign.md rule_type: suggestion related_rules: - no-extend-native diff --git a/docs/src/rules/no-negated-condition.md b/docs/src/rules/no-negated-condition.md index 3c8ff950388..ab9e2263876 100644 --- a/docs/src/rules/no-negated-condition.md +++ b/docs/src/rules/no-negated-condition.md @@ -1,7 +1,6 @@ --- title: no-negated-condition layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-negated-condition.md rule_type: suggestion --- diff --git a/docs/src/rules/no-negated-in-lhs.md b/docs/src/rules/no-negated-in-lhs.md index 02329fd2dfc..da39b055356 100644 --- a/docs/src/rules/no-negated-in-lhs.md +++ b/docs/src/rules/no-negated-in-lhs.md @@ -1,7 +1,6 @@ --- title: no-negated-in-lhs layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-negated-in-lhs.md rule_type: problem --- diff --git a/docs/src/rules/no-nested-ternary.md b/docs/src/rules/no-nested-ternary.md index 92e6a4124c0..9716be88c30 100644 --- a/docs/src/rules/no-nested-ternary.md +++ b/docs/src/rules/no-nested-ternary.md @@ -1,7 +1,6 @@ --- title: no-nested-ternary layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-nested-ternary.md rule_type: suggestion related_rules: - no-ternary diff --git a/docs/src/rules/no-new-func.md b/docs/src/rules/no-new-func.md index a82454440f1..abe4d00be22 100644 --- a/docs/src/rules/no-new-func.md +++ b/docs/src/rules/no-new-func.md @@ -1,7 +1,6 @@ --- title: no-new-func layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-new-func.md rule_type: suggestion --- diff --git a/docs/src/rules/no-new-object.md b/docs/src/rules/no-new-object.md index fb007c89e41..377a682a9ef 100644 --- a/docs/src/rules/no-new-object.md +++ b/docs/src/rules/no-new-object.md @@ -1,7 +1,6 @@ --- title: no-new-object layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-new-object.md rule_type: suggestion related_rules: - no-array-constructor diff --git a/docs/src/rules/no-new-require.md b/docs/src/rules/no-new-require.md index 7b684ecf29b..f168795f3c5 100644 --- a/docs/src/rules/no-new-require.md +++ b/docs/src/rules/no-new-require.md @@ -1,7 +1,6 @@ --- title: no-new-require layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-new-require.md rule_type: suggestion --- diff --git a/docs/src/rules/no-new-symbol.md b/docs/src/rules/no-new-symbol.md index d28383f1e2c..f182f27b780 100644 --- a/docs/src/rules/no-new-symbol.md +++ b/docs/src/rules/no-new-symbol.md @@ -1,7 +1,6 @@ --- title: no-new-symbol layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-new-symbol.md rule_type: problem further_reading: - https://www.ecma-international.org/ecma-262/6.0/#sec-symbol-objects diff --git a/docs/src/rules/no-new-wrappers.md b/docs/src/rules/no-new-wrappers.md index ee5c8546d7f..b15488d4a34 100644 --- a/docs/src/rules/no-new-wrappers.md +++ b/docs/src/rules/no-new-wrappers.md @@ -1,7 +1,6 @@ --- title: no-new-wrappers layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-new-wrappers.md rule_type: suggestion related_rules: - no-array-constructor diff --git a/docs/src/rules/no-new.md b/docs/src/rules/no-new.md index b62a2975943..15f4b9eaa8d 100644 --- a/docs/src/rules/no-new.md +++ b/docs/src/rules/no-new.md @@ -1,7 +1,6 @@ --- title: no-new layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-new.md rule_type: suggestion --- diff --git a/docs/src/rules/no-nonoctal-decimal-escape.md b/docs/src/rules/no-nonoctal-decimal-escape.md index ba58cbf6386..ec267e12121 100644 --- a/docs/src/rules/no-nonoctal-decimal-escape.md +++ b/docs/src/rules/no-nonoctal-decimal-escape.md @@ -1,7 +1,6 @@ --- title: no-nonoctal-decimal-escape layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-nonoctal-decimal-escape.md rule_type: suggestion related_rules: - no-octal-escape diff --git a/docs/src/rules/no-obj-calls.md b/docs/src/rules/no-obj-calls.md index 04cfe61b695..78f4de06be0 100644 --- a/docs/src/rules/no-obj-calls.md +++ b/docs/src/rules/no-obj-calls.md @@ -1,7 +1,6 @@ --- title: no-obj-calls layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-obj-calls.md rule_type: problem further_reading: - https://es5.github.io/#x15.8 diff --git a/docs/src/rules/no-octal-escape.md b/docs/src/rules/no-octal-escape.md index 366b3940b67..38fa4fcadb3 100644 --- a/docs/src/rules/no-octal-escape.md +++ b/docs/src/rules/no-octal-escape.md @@ -1,7 +1,6 @@ --- title: no-octal-escape layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-octal-escape.md rule_type: suggestion --- diff --git a/docs/src/rules/no-octal.md b/docs/src/rules/no-octal.md index cb86480d630..2c961a4386a 100644 --- a/docs/src/rules/no-octal.md +++ b/docs/src/rules/no-octal.md @@ -1,7 +1,6 @@ --- title: no-octal layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-octal.md rule_type: suggestion --- diff --git a/docs/src/rules/no-param-reassign.md b/docs/src/rules/no-param-reassign.md index 694c861c109..db740ea577a 100644 --- a/docs/src/rules/no-param-reassign.md +++ b/docs/src/rules/no-param-reassign.md @@ -1,7 +1,6 @@ --- title: no-param-reassign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-param-reassign.md rule_type: suggestion further_reading: - https://spin.atomicobject.com/2011/04/10/javascript-don-t-reassign-your-function-arguments/ diff --git a/docs/src/rules/no-path-concat.md b/docs/src/rules/no-path-concat.md index c1887926d37..ebde85c45b3 100644 --- a/docs/src/rules/no-path-concat.md +++ b/docs/src/rules/no-path-concat.md @@ -1,7 +1,6 @@ --- title: no-path-concat layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-path-concat.md rule_type: suggestion --- diff --git a/docs/src/rules/no-plusplus.md b/docs/src/rules/no-plusplus.md index 4c1df56a7de..47a10386925 100644 --- a/docs/src/rules/no-plusplus.md +++ b/docs/src/rules/no-plusplus.md @@ -1,7 +1,6 @@ --- title: no-plusplus layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-plusplus.md rule_type: suggestion --- diff --git a/docs/src/rules/no-process-env.md b/docs/src/rules/no-process-env.md index dd95ec90492..a08bc258314 100644 --- a/docs/src/rules/no-process-env.md +++ b/docs/src/rules/no-process-env.md @@ -1,7 +1,6 @@ --- title: no-process-env layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-process-env.md rule_type: suggestion further_reading: - https://stackoverflow.com/questions/5869216/how-to-store-node-js-deployment-settings-configuration-files diff --git a/docs/src/rules/no-process-exit.md b/docs/src/rules/no-process-exit.md index 8af40c50f90..f224218a7e1 100644 --- a/docs/src/rules/no-process-exit.md +++ b/docs/src/rules/no-process-exit.md @@ -1,7 +1,6 @@ --- title: no-process-exit layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-process-exit.md rule_type: suggestion --- diff --git a/docs/src/rules/no-promise-executor-return.md b/docs/src/rules/no-promise-executor-return.md index ffbc12124e4..95283d7b701 100644 --- a/docs/src/rules/no-promise-executor-return.md +++ b/docs/src/rules/no-promise-executor-return.md @@ -1,7 +1,6 @@ --- title: no-promise-executor-return layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-promise-executor-return.md rule_type: problem related_rules: - no-async-promise-executor diff --git a/docs/src/rules/no-proto.md b/docs/src/rules/no-proto.md index c8c15e4f403..7b6c8c4607c 100644 --- a/docs/src/rules/no-proto.md +++ b/docs/src/rules/no-proto.md @@ -1,7 +1,6 @@ --- title: no-proto layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-proto.md rule_type: suggestion further_reading: - https://johnresig.com/blog/objectgetprototypeof/ diff --git a/docs/src/rules/no-prototype-builtins.md b/docs/src/rules/no-prototype-builtins.md index ece2bb9f1c1..43e93736a4a 100644 --- a/docs/src/rules/no-prototype-builtins.md +++ b/docs/src/rules/no-prototype-builtins.md @@ -1,7 +1,6 @@ --- title: no-prototype-builtins layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-prototype-builtins.md rule_type: problem --- diff --git a/docs/src/rules/no-redeclare.md b/docs/src/rules/no-redeclare.md index 141339a63c6..1c16b12ab4d 100644 --- a/docs/src/rules/no-redeclare.md +++ b/docs/src/rules/no-redeclare.md @@ -1,7 +1,6 @@ --- title: no-redeclare layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-redeclare.md rule_type: suggestion related_rules: - no-shadow diff --git a/docs/src/rules/no-regex-spaces.md b/docs/src/rules/no-regex-spaces.md index f1c7b748b5a..48d3e45276d 100644 --- a/docs/src/rules/no-regex-spaces.md +++ b/docs/src/rules/no-regex-spaces.md @@ -1,7 +1,6 @@ --- title: no-regex-spaces layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-regex-spaces.md rule_type: suggestion related_rules: - no-div-regex diff --git a/docs/src/rules/no-reserved-keys.md b/docs/src/rules/no-reserved-keys.md index 66cc08e4317..1b4f04862b5 100644 --- a/docs/src/rules/no-reserved-keys.md +++ b/docs/src/rules/no-reserved-keys.md @@ -1,7 +1,6 @@ --- title: no-reserved-keys layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-reserved-keys.md further_reading: - https://kangax.github.io/compat-table/es5/#Reserved_words_as_property_names diff --git a/docs/src/rules/no-restricted-exports.md b/docs/src/rules/no-restricted-exports.md index 0136a1f6d19..b1b20657eda 100644 --- a/docs/src/rules/no-restricted-exports.md +++ b/docs/src/rules/no-restricted-exports.md @@ -1,7 +1,6 @@ --- title: no-restricted-exports layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-restricted-exports.md rule_type: suggestion --- diff --git a/docs/src/rules/no-restricted-globals.md b/docs/src/rules/no-restricted-globals.md index a3f602beee6..0bcf27d37aa 100644 --- a/docs/src/rules/no-restricted-globals.md +++ b/docs/src/rules/no-restricted-globals.md @@ -1,7 +1,6 @@ --- title: no-restricted-globals layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-restricted-globals.md rule_type: suggestion related_rules: - no-restricted-properties diff --git a/docs/src/rules/no-restricted-imports.md b/docs/src/rules/no-restricted-imports.md index 72768cd0d42..646e1b0f2be 100644 --- a/docs/src/rules/no-restricted-imports.md +++ b/docs/src/rules/no-restricted-imports.md @@ -1,7 +1,6 @@ --- title: no-restricted-imports layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-restricted-imports.md rule_type: suggestion --- diff --git a/docs/src/rules/no-restricted-modules.md b/docs/src/rules/no-restricted-modules.md index 3718edcdbc9..c8f77bfb246 100644 --- a/docs/src/rules/no-restricted-modules.md +++ b/docs/src/rules/no-restricted-modules.md @@ -1,7 +1,6 @@ --- title: no-restricted-modules layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-restricted-modules.md rule_type: suggestion --- diff --git a/docs/src/rules/no-restricted-properties.md b/docs/src/rules/no-restricted-properties.md index 30ff9ac28e5..758bd5c8512 100644 --- a/docs/src/rules/no-restricted-properties.md +++ b/docs/src/rules/no-restricted-properties.md @@ -1,7 +1,6 @@ --- title: no-restricted-properties layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-restricted-properties.md rule_type: suggestion related_rules: - no-restricted-globals diff --git a/docs/src/rules/no-restricted-syntax.md b/docs/src/rules/no-restricted-syntax.md index 9b73a9c3e62..bb700f0aad3 100644 --- a/docs/src/rules/no-restricted-syntax.md +++ b/docs/src/rules/no-restricted-syntax.md @@ -1,7 +1,6 @@ --- title: no-restricted-syntax layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-restricted-syntax.md rule_type: suggestion related_rules: - no-alert diff --git a/docs/src/rules/no-return-assign.md b/docs/src/rules/no-return-assign.md index c180685655c..0a637241100 100644 --- a/docs/src/rules/no-return-assign.md +++ b/docs/src/rules/no-return-assign.md @@ -1,7 +1,6 @@ --- title: no-return-assign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-return-assign.md rule_type: suggestion --- diff --git a/docs/src/rules/no-return-await.md b/docs/src/rules/no-return-await.md index d05f6367070..164843d7d68 100644 --- a/docs/src/rules/no-return-await.md +++ b/docs/src/rules/no-return-await.md @@ -1,7 +1,6 @@ --- title: no-return-await layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-return-await.md rule_type: suggestion further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function diff --git a/docs/src/rules/no-script-url.md b/docs/src/rules/no-script-url.md index f4bc56e0191..6255cf9ce8a 100644 --- a/docs/src/rules/no-script-url.md +++ b/docs/src/rules/no-script-url.md @@ -1,7 +1,6 @@ --- title: no-script-url layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-script-url.md rule_type: suggestion further_reading: - https://stackoverflow.com/questions/13497971/what-is-the-matter-with-script-targeted-urls diff --git a/docs/src/rules/no-self-assign.md b/docs/src/rules/no-self-assign.md index 74eac23cdf3..a65b242b620 100644 --- a/docs/src/rules/no-self-assign.md +++ b/docs/src/rules/no-self-assign.md @@ -1,7 +1,6 @@ --- title: no-self-assign layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-self-assign.md rule_type: problem --- diff --git a/docs/src/rules/no-self-compare.md b/docs/src/rules/no-self-compare.md index a0ba9bdd0cb..12b277625f8 100644 --- a/docs/src/rules/no-self-compare.md +++ b/docs/src/rules/no-self-compare.md @@ -1,7 +1,6 @@ --- title: no-self-compare layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-self-compare.md rule_type: problem --- diff --git a/docs/src/rules/no-sequences.md b/docs/src/rules/no-sequences.md index 6e9ab59d2e5..dcc13f14c42 100644 --- a/docs/src/rules/no-sequences.md +++ b/docs/src/rules/no-sequences.md @@ -1,7 +1,6 @@ --- title: no-sequences layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-sequences.md rule_type: suggestion --- diff --git a/docs/src/rules/no-setter-return.md b/docs/src/rules/no-setter-return.md index 2538cd8f797..2ed21d38069 100644 --- a/docs/src/rules/no-setter-return.md +++ b/docs/src/rules/no-setter-return.md @@ -1,7 +1,6 @@ --- title: no-setter-return layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-setter-return.md rule_type: problem related_rules: - getter-return diff --git a/docs/src/rules/no-shadow-restricted-names.md b/docs/src/rules/no-shadow-restricted-names.md index 64a00184d41..cea6a120614 100644 --- a/docs/src/rules/no-shadow-restricted-names.md +++ b/docs/src/rules/no-shadow-restricted-names.md @@ -1,7 +1,6 @@ --- title: no-shadow-restricted-names layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-shadow-restricted-names.md rule_type: suggestion related_rules: - no-shadow diff --git a/docs/src/rules/no-shadow.md b/docs/src/rules/no-shadow.md index 5d8ccf732e1..229cdcb187a 100644 --- a/docs/src/rules/no-shadow.md +++ b/docs/src/rules/no-shadow.md @@ -1,7 +1,6 @@ --- title: no-shadow layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-shadow.md rule_type: suggestion related_rules: - no-shadow-restricted-names diff --git a/docs/src/rules/no-space-before-semi.md b/docs/src/rules/no-space-before-semi.md index 03a39fe47a8..5e5052099bc 100644 --- a/docs/src/rules/no-space-before-semi.md +++ b/docs/src/rules/no-space-before-semi.md @@ -1,7 +1,6 @@ --- title: no-space-before-semi layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-space-before-semi.md related_rules: - semi diff --git a/docs/src/rules/no-spaced-func.md b/docs/src/rules/no-spaced-func.md index 5858cea9b44..c8449960781 100644 --- a/docs/src/rules/no-spaced-func.md +++ b/docs/src/rules/no-spaced-func.md @@ -1,7 +1,6 @@ --- title: no-spaced-func layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-spaced-func.md rule_type: layout --- diff --git a/docs/src/rules/no-sparse-arrays.md b/docs/src/rules/no-sparse-arrays.md index d948d943b48..cbeb57c63cf 100644 --- a/docs/src/rules/no-sparse-arrays.md +++ b/docs/src/rules/no-sparse-arrays.md @@ -1,7 +1,6 @@ --- title: no-sparse-arrays layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-sparse-arrays.md rule_type: problem further_reading: - https://www.nczonline.net/blog/2007/09/09/inconsistent-array-literals/ diff --git a/docs/src/rules/no-sync.md b/docs/src/rules/no-sync.md index 1e48dd3bb8d..4b5eb576810 100644 --- a/docs/src/rules/no-sync.md +++ b/docs/src/rules/no-sync.md @@ -1,7 +1,6 @@ --- title: no-sync layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-sync.md rule_type: suggestion --- diff --git a/docs/src/rules/no-tabs.md b/docs/src/rules/no-tabs.md index 756070950ef..279e0c8ddb7 100644 --- a/docs/src/rules/no-tabs.md +++ b/docs/src/rules/no-tabs.md @@ -1,7 +1,6 @@ --- title: no-tabs layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-tabs.md rule_type: layout --- diff --git a/docs/src/rules/no-template-curly-in-string.md b/docs/src/rules/no-template-curly-in-string.md index ff968df3c97..79f42e723bd 100644 --- a/docs/src/rules/no-template-curly-in-string.md +++ b/docs/src/rules/no-template-curly-in-string.md @@ -1,7 +1,6 @@ --- title: no-template-curly-in-string layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-template-curly-in-string.md rule_type: problem --- diff --git a/docs/src/rules/no-ternary.md b/docs/src/rules/no-ternary.md index 28c935c8b1b..7502c5b2912 100644 --- a/docs/src/rules/no-ternary.md +++ b/docs/src/rules/no-ternary.md @@ -1,7 +1,6 @@ --- title: no-ternary layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-ternary.md rule_type: suggestion related_rules: - no-nested-ternary diff --git a/docs/src/rules/no-this-before-super.md b/docs/src/rules/no-this-before-super.md index 0493064867c..e6e26ddad6b 100644 --- a/docs/src/rules/no-this-before-super.md +++ b/docs/src/rules/no-this-before-super.md @@ -1,7 +1,6 @@ --- title: no-this-before-super layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-this-before-super.md rule_type: problem --- diff --git a/docs/src/rules/no-throw-literal.md b/docs/src/rules/no-throw-literal.md index 798d5c80eea..6f57e363b2c 100644 --- a/docs/src/rules/no-throw-literal.md +++ b/docs/src/rules/no-throw-literal.md @@ -1,7 +1,6 @@ --- title: no-throw-literal layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-throw-literal.md rule_type: suggestion --- diff --git a/docs/src/rules/no-trailing-spaces.md b/docs/src/rules/no-trailing-spaces.md index 40e70c52ca1..831ab331a5a 100644 --- a/docs/src/rules/no-trailing-spaces.md +++ b/docs/src/rules/no-trailing-spaces.md @@ -1,7 +1,6 @@ --- title: no-trailing-spaces layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-trailing-spaces.md rule_type: layout --- diff --git a/docs/src/rules/no-undef-init.md b/docs/src/rules/no-undef-init.md index 6bfa7386c8f..9f36bc4f6c1 100644 --- a/docs/src/rules/no-undef-init.md +++ b/docs/src/rules/no-undef-init.md @@ -1,7 +1,6 @@ --- title: no-undef-init layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-undef-init.md rule_type: suggestion related_rules: - no-undefined diff --git a/docs/src/rules/no-undef.md b/docs/src/rules/no-undef.md index e1e4c6780a2..94a735202dd 100644 --- a/docs/src/rules/no-undef.md +++ b/docs/src/rules/no-undef.md @@ -1,7 +1,6 @@ --- title: no-undef layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-undef.md rule_type: problem related_rules: - no-global-assign diff --git a/docs/src/rules/no-undefined.md b/docs/src/rules/no-undefined.md index e4c561b346e..978fc42b5f2 100644 --- a/docs/src/rules/no-undefined.md +++ b/docs/src/rules/no-undefined.md @@ -1,7 +1,6 @@ --- title: no-undefined layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-undefined.md rule_type: suggestion related_rules: - no-undef-init diff --git a/docs/src/rules/no-underscore-dangle.md b/docs/src/rules/no-underscore-dangle.md index 82c7af71720..f74beacf003 100644 --- a/docs/src/rules/no-underscore-dangle.md +++ b/docs/src/rules/no-underscore-dangle.md @@ -1,7 +1,6 @@ --- title: no-underscore-dangle layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-underscore-dangle.md rule_type: suggestion --- diff --git a/docs/src/rules/no-unexpected-multiline.md b/docs/src/rules/no-unexpected-multiline.md index 5e27842c8e1..6a51c231aac 100644 --- a/docs/src/rules/no-unexpected-multiline.md +++ b/docs/src/rules/no-unexpected-multiline.md @@ -1,7 +1,6 @@ --- title: no-unexpected-multiline layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unexpected-multiline.md rule_type: problem related_rules: - func-call-spacing diff --git a/docs/src/rules/no-unmodified-loop-condition.md b/docs/src/rules/no-unmodified-loop-condition.md index 3deaa86122d..f214c6cff25 100644 --- a/docs/src/rules/no-unmodified-loop-condition.md +++ b/docs/src/rules/no-unmodified-loop-condition.md @@ -1,7 +1,6 @@ --- title: no-unmodified-loop-condition layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unmodified-loop-condition.md rule_type: problem --- diff --git a/docs/src/rules/no-unneeded-ternary.md b/docs/src/rules/no-unneeded-ternary.md index 6bd9d96ae8b..e1b0ba2d77f 100644 --- a/docs/src/rules/no-unneeded-ternary.md +++ b/docs/src/rules/no-unneeded-ternary.md @@ -1,7 +1,6 @@ --- title: no-unneeded-ternary layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unneeded-ternary.md rule_type: suggestion related_rules: - no-ternary diff --git a/docs/src/rules/no-unreachable-loop.md b/docs/src/rules/no-unreachable-loop.md index b5e79ef1d2a..4f24e57d8ca 100644 --- a/docs/src/rules/no-unreachable-loop.md +++ b/docs/src/rules/no-unreachable-loop.md @@ -1,7 +1,6 @@ --- title: no-unreachable-loop layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unreachable-loop.md rule_type: problem related_rules: - no-unreachable diff --git a/docs/src/rules/no-unreachable.md b/docs/src/rules/no-unreachable.md index 789815b1c03..456fea45a95 100644 --- a/docs/src/rules/no-unreachable.md +++ b/docs/src/rules/no-unreachable.md @@ -1,7 +1,6 @@ --- title: no-unreachable layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unreachable.md rule_type: problem --- diff --git a/docs/src/rules/no-unsafe-finally.md b/docs/src/rules/no-unsafe-finally.md index 6451bc93706..a2540a0ab52 100644 --- a/docs/src/rules/no-unsafe-finally.md +++ b/docs/src/rules/no-unsafe-finally.md @@ -1,7 +1,6 @@ --- title: no-unsafe-finally layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unsafe-finally.md rule_type: problem --- diff --git a/docs/src/rules/no-unsafe-negation.md b/docs/src/rules/no-unsafe-negation.md index 3bbd5b8f5f3..1d5a22ab2b2 100644 --- a/docs/src/rules/no-unsafe-negation.md +++ b/docs/src/rules/no-unsafe-negation.md @@ -1,7 +1,6 @@ --- title: no-unsafe-negation layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unsafe-negation.md rule_type: problem --- diff --git a/docs/src/rules/no-unsafe-optional-chaining.md b/docs/src/rules/no-unsafe-optional-chaining.md index a04520df000..1161accb06b 100644 --- a/docs/src/rules/no-unsafe-optional-chaining.md +++ b/docs/src/rules/no-unsafe-optional-chaining.md @@ -1,7 +1,6 @@ --- title: no-unsafe-optional-chaining layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unsafe-optional-chaining.md rule_type: problem --- diff --git a/docs/src/rules/no-unused-expressions.md b/docs/src/rules/no-unused-expressions.md index 769f483527c..cc9f3115a92 100644 --- a/docs/src/rules/no-unused-expressions.md +++ b/docs/src/rules/no-unused-expressions.md @@ -1,7 +1,6 @@ --- title: no-unused-expressions layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unused-expressions.md rule_type: suggestion --- diff --git a/docs/src/rules/no-unused-labels.md b/docs/src/rules/no-unused-labels.md index 5ebd95ca233..2b3ce7cf520 100644 --- a/docs/src/rules/no-unused-labels.md +++ b/docs/src/rules/no-unused-labels.md @@ -1,7 +1,6 @@ --- title: no-unused-labels layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unused-labels.md rule_type: suggestion related_rules: - no-extra-label diff --git a/docs/src/rules/no-unused-private-class-members.md b/docs/src/rules/no-unused-private-class-members.md index f277c677eb8..bd4accbcdaa 100644 --- a/docs/src/rules/no-unused-private-class-members.md +++ b/docs/src/rules/no-unused-private-class-members.md @@ -1,7 +1,6 @@ --- title: no-unused-private-class-members layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unused-private-class-members.md rule_type: problem --- diff --git a/docs/src/rules/no-unused-vars.md b/docs/src/rules/no-unused-vars.md index 06a83cab24c..8fd4b68c133 100644 --- a/docs/src/rules/no-unused-vars.md +++ b/docs/src/rules/no-unused-vars.md @@ -1,7 +1,6 @@ --- title: no-unused-vars layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-unused-vars.md rule_type: problem --- diff --git a/docs/src/rules/no-use-before-define.md b/docs/src/rules/no-use-before-define.md index 01b2c387d6e..9c71d092d76 100644 --- a/docs/src/rules/no-use-before-define.md +++ b/docs/src/rules/no-use-before-define.md @@ -1,7 +1,6 @@ --- title: no-use-before-define layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-use-before-define.md rule_type: problem --- diff --git a/docs/src/rules/no-useless-backreference.md b/docs/src/rules/no-useless-backreference.md index 5178a2ec937..e534ada7bb7 100644 --- a/docs/src/rules/no-useless-backreference.md +++ b/docs/src/rules/no-useless-backreference.md @@ -1,7 +1,6 @@ --- title: no-useless-backreference layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-useless-backreference.md rule_type: problem related_rules: - no-control-regex diff --git a/docs/src/rules/no-useless-call.md b/docs/src/rules/no-useless-call.md index 1999cf163df..65691d6d666 100644 --- a/docs/src/rules/no-useless-call.md +++ b/docs/src/rules/no-useless-call.md @@ -1,7 +1,6 @@ --- title: no-useless-call layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-useless-call.md rule_type: suggestion related_rules: - prefer-spread diff --git a/docs/src/rules/no-useless-catch.md b/docs/src/rules/no-useless-catch.md index 4ca8cc331b0..ee53ab6ae8d 100644 --- a/docs/src/rules/no-useless-catch.md +++ b/docs/src/rules/no-useless-catch.md @@ -1,7 +1,6 @@ --- title: no-useless-catch layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-useless-catch.md rule_type: suggestion --- diff --git a/docs/src/rules/no-useless-computed-key.md b/docs/src/rules/no-useless-computed-key.md index be4aa353d9f..2516d195aed 100644 --- a/docs/src/rules/no-useless-computed-key.md +++ b/docs/src/rules/no-useless-computed-key.md @@ -1,7 +1,6 @@ --- title: no-useless-computed-key layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-useless-computed-key.md rule_type: suggestion --- diff --git a/docs/src/rules/no-useless-concat.md b/docs/src/rules/no-useless-concat.md index 57cf297c250..63062a2f539 100644 --- a/docs/src/rules/no-useless-concat.md +++ b/docs/src/rules/no-useless-concat.md @@ -1,7 +1,6 @@ --- title: no-useless-concat layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-useless-concat.md rule_type: suggestion --- diff --git a/docs/src/rules/no-useless-constructor.md b/docs/src/rules/no-useless-constructor.md index 1830b2e085f..b01a86d5e9e 100644 --- a/docs/src/rules/no-useless-constructor.md +++ b/docs/src/rules/no-useless-constructor.md @@ -1,7 +1,6 @@ --- title: no-useless-constructor layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-useless-constructor.md rule_type: suggestion --- diff --git a/docs/src/rules/no-useless-escape.md b/docs/src/rules/no-useless-escape.md index b52f569d923..46add219536 100644 --- a/docs/src/rules/no-useless-escape.md +++ b/docs/src/rules/no-useless-escape.md @@ -1,7 +1,6 @@ --- title: no-useless-escape layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-useless-escape.md rule_type: suggestion --- diff --git a/docs/src/rules/no-useless-rename.md b/docs/src/rules/no-useless-rename.md index 97ee34c7b30..73a5c79c073 100644 --- a/docs/src/rules/no-useless-rename.md +++ b/docs/src/rules/no-useless-rename.md @@ -1,7 +1,6 @@ --- title: no-useless-rename layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-useless-rename.md rule_type: suggestion related_rules: - object-shorthand diff --git a/docs/src/rules/no-useless-return.md b/docs/src/rules/no-useless-return.md index e52673601f1..fa82a2f3574 100644 --- a/docs/src/rules/no-useless-return.md +++ b/docs/src/rules/no-useless-return.md @@ -1,7 +1,6 @@ --- title: no-useless-return layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-useless-return.md rule_type: suggestion --- diff --git a/docs/src/rules/no-var.md b/docs/src/rules/no-var.md index dbd266b4523..7ddd1737e07 100644 --- a/docs/src/rules/no-var.md +++ b/docs/src/rules/no-var.md @@ -1,7 +1,6 @@ --- title: no-var layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-var.md rule_type: suggestion --- diff --git a/docs/src/rules/no-void.md b/docs/src/rules/no-void.md index 6ca4a15599c..5f9d24db176 100644 --- a/docs/src/rules/no-void.md +++ b/docs/src/rules/no-void.md @@ -1,7 +1,6 @@ --- title: no-void layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-void.md rule_type: suggestion related_rules: - no-undef-init diff --git a/docs/src/rules/no-warning-comments.md b/docs/src/rules/no-warning-comments.md index 6ddef3c5de4..c7a82897968 100644 --- a/docs/src/rules/no-warning-comments.md +++ b/docs/src/rules/no-warning-comments.md @@ -1,7 +1,6 @@ --- title: no-warning-comments layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-warning-comments.md rule_type: suggestion --- diff --git a/docs/src/rules/no-whitespace-before-property.md b/docs/src/rules/no-whitespace-before-property.md index 1a46c56b698..d22e45b76f2 100644 --- a/docs/src/rules/no-whitespace-before-property.md +++ b/docs/src/rules/no-whitespace-before-property.md @@ -1,7 +1,6 @@ --- title: no-whitespace-before-property layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-whitespace-before-property.md rule_type: layout --- diff --git a/docs/src/rules/no-with.md b/docs/src/rules/no-with.md index 6e1740acdf3..f72fbdb56f1 100644 --- a/docs/src/rules/no-with.md +++ b/docs/src/rules/no-with.md @@ -1,7 +1,6 @@ --- title: no-with layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-with.md rule_type: suggestion further_reading: - https://web.archive.org/web/20200717110117/https://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/ diff --git a/docs/src/rules/no-wrap-func.md b/docs/src/rules/no-wrap-func.md index 22c57a390fd..76a8406e551 100644 --- a/docs/src/rules/no-wrap-func.md +++ b/docs/src/rules/no-wrap-func.md @@ -1,7 +1,6 @@ --- title: no-wrap-func layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-wrap-func.md --- diff --git a/docs/src/rules/nonblock-statement-body-position.md b/docs/src/rules/nonblock-statement-body-position.md index 6c6c2cfdccb..fc1189bbc1f 100644 --- a/docs/src/rules/nonblock-statement-body-position.md +++ b/docs/src/rules/nonblock-statement-body-position.md @@ -1,7 +1,6 @@ --- title: nonblock-statement-body-position layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/nonblock-statement-body-position.md rule_type: layout further_reading: - https://jscs-dev.github.io/rule/requireNewlineBeforeSingleStatementsInIf diff --git a/docs/src/rules/object-curly-newline.md b/docs/src/rules/object-curly-newline.md index 6c992c7aa27..ece2fcafa56 100644 --- a/docs/src/rules/object-curly-newline.md +++ b/docs/src/rules/object-curly-newline.md @@ -1,7 +1,6 @@ --- title: object-curly-newline layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/object-curly-newline.md rule_type: layout related_rules: - comma-spacing diff --git a/docs/src/rules/object-curly-spacing.md b/docs/src/rules/object-curly-spacing.md index 0b36ade9ea9..2df4727fd32 100644 --- a/docs/src/rules/object-curly-spacing.md +++ b/docs/src/rules/object-curly-spacing.md @@ -1,7 +1,6 @@ --- title: object-curly-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/object-curly-spacing.md rule_type: layout related_rules: - array-bracket-spacing diff --git a/docs/src/rules/object-property-newline.md b/docs/src/rules/object-property-newline.md index 0b8a657b0b9..314fa7b3024 100644 --- a/docs/src/rules/object-property-newline.md +++ b/docs/src/rules/object-property-newline.md @@ -1,7 +1,6 @@ --- title: object-property-newline layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/object-property-newline.md rule_type: layout related_rules: - brace-style diff --git a/docs/src/rules/object-shorthand.md b/docs/src/rules/object-shorthand.md index aa05bb3f083..08651268a8a 100644 --- a/docs/src/rules/object-shorthand.md +++ b/docs/src/rules/object-shorthand.md @@ -1,7 +1,6 @@ --- title: object-shorthand layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/object-shorthand.md rule_type: suggestion related_rules: - no-useless-rename diff --git a/docs/src/rules/one-var-declaration-per-line.md b/docs/src/rules/one-var-declaration-per-line.md index b2b21d447d8..46ee9ab32e4 100644 --- a/docs/src/rules/one-var-declaration-per-line.md +++ b/docs/src/rules/one-var-declaration-per-line.md @@ -1,7 +1,6 @@ --- title: one-var-declaration-per-line layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/one-var-declaration-per-line.md rule_type: suggestion related_rules: - one-var diff --git a/docs/src/rules/one-var.md b/docs/src/rules/one-var.md index 1835b6b2be8..8d95633b2c6 100644 --- a/docs/src/rules/one-var.md +++ b/docs/src/rules/one-var.md @@ -1,7 +1,6 @@ --- title: one-var layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/one-var.md rule_type: suggestion --- diff --git a/docs/src/rules/operator-assignment.md b/docs/src/rules/operator-assignment.md index 9b6d4e3c9b0..c071b19e400 100644 --- a/docs/src/rules/operator-assignment.md +++ b/docs/src/rules/operator-assignment.md @@ -1,7 +1,6 @@ --- title: operator-assignment layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/operator-assignment.md rule_type: suggestion --- diff --git a/docs/src/rules/operator-linebreak.md b/docs/src/rules/operator-linebreak.md index fedb7e92a32..3994cb41d0a 100644 --- a/docs/src/rules/operator-linebreak.md +++ b/docs/src/rules/operator-linebreak.md @@ -1,7 +1,6 @@ --- title: operator-linebreak layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/operator-linebreak.md rule_type: layout related_rules: - comma-style diff --git a/docs/src/rules/padded-blocks.md b/docs/src/rules/padded-blocks.md index 2665620d4b5..faa53331a69 100644 --- a/docs/src/rules/padded-blocks.md +++ b/docs/src/rules/padded-blocks.md @@ -1,7 +1,6 @@ --- title: padded-blocks layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/padded-blocks.md rule_type: layout related_rules: - lines-between-class-members diff --git a/docs/src/rules/padding-line-between-statements.md b/docs/src/rules/padding-line-between-statements.md index 8eef570e1b5..a66fa8941f5 100644 --- a/docs/src/rules/padding-line-between-statements.md +++ b/docs/src/rules/padding-line-between-statements.md @@ -1,7 +1,6 @@ --- title: padding-line-between-statements layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/padding-line-between-statements.md rule_type: layout --- diff --git a/docs/src/rules/prefer-arrow-callback.md b/docs/src/rules/prefer-arrow-callback.md index 37f5c9d3b21..0534ccdd3e8 100644 --- a/docs/src/rules/prefer-arrow-callback.md +++ b/docs/src/rules/prefer-arrow-callback.md @@ -1,7 +1,6 @@ --- title: prefer-arrow-callback layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-arrow-callback.md rule_type: suggestion further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions diff --git a/docs/src/rules/prefer-const.md b/docs/src/rules/prefer-const.md index 1e9268f84c4..2892bea0268 100644 --- a/docs/src/rules/prefer-const.md +++ b/docs/src/rules/prefer-const.md @@ -1,7 +1,6 @@ --- title: prefer-const layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-const.md rule_type: suggestion related_rules: - no-var diff --git a/docs/src/rules/prefer-destructuring.md b/docs/src/rules/prefer-destructuring.md index 3ee5a5b74d2..da9e3580690 100644 --- a/docs/src/rules/prefer-destructuring.md +++ b/docs/src/rules/prefer-destructuring.md @@ -1,7 +1,6 @@ --- title: prefer-destructuring layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-destructuring.md rule_type: suggestion further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment diff --git a/docs/src/rules/prefer-exponentiation-operator.md b/docs/src/rules/prefer-exponentiation-operator.md index c814948366c..d29d467172e 100644 --- a/docs/src/rules/prefer-exponentiation-operator.md +++ b/docs/src/rules/prefer-exponentiation-operator.md @@ -1,7 +1,6 @@ --- title: prefer-exponentiation-operator layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-exponentiation-operator.md rule_type: suggestion further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation diff --git a/docs/src/rules/prefer-named-capture-group.md b/docs/src/rules/prefer-named-capture-group.md index c67847d2348..459e06370a3 100644 --- a/docs/src/rules/prefer-named-capture-group.md +++ b/docs/src/rules/prefer-named-capture-group.md @@ -1,7 +1,6 @@ --- title: prefer-named-capture-group layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-named-capture-group.md rule_type: suggestion related_rules: - no-invalid-regexp diff --git a/docs/src/rules/prefer-numeric-literals.md b/docs/src/rules/prefer-numeric-literals.md index c0506d1b6b1..33109f50ae8 100644 --- a/docs/src/rules/prefer-numeric-literals.md +++ b/docs/src/rules/prefer-numeric-literals.md @@ -1,7 +1,6 @@ --- title: prefer-numeric-literals layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-numeric-literals.md rule_type: suggestion --- diff --git a/docs/src/rules/prefer-object-has-own.md b/docs/src/rules/prefer-object-has-own.md index 3445ae17836..504847fa2c4 100644 --- a/docs/src/rules/prefer-object-has-own.md +++ b/docs/src/rules/prefer-object-has-own.md @@ -1,7 +1,6 @@ --- title: prefer-object-has-own layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-object-has-own.md rule_type: suggestion further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn diff --git a/docs/src/rules/prefer-object-spread.md b/docs/src/rules/prefer-object-spread.md index 73b9aa8c498..7b447e82ab5 100644 --- a/docs/src/rules/prefer-object-spread.md +++ b/docs/src/rules/prefer-object-spread.md @@ -1,7 +1,6 @@ --- title: prefer-object-spread layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-object-spread.md rule_type: suggestion --- diff --git a/docs/src/rules/prefer-promise-reject-errors.md b/docs/src/rules/prefer-promise-reject-errors.md index 9959737a680..90164bd812c 100644 --- a/docs/src/rules/prefer-promise-reject-errors.md +++ b/docs/src/rules/prefer-promise-reject-errors.md @@ -1,7 +1,6 @@ --- title: prefer-promise-reject-errors layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-promise-reject-errors.md rule_type: suggestion related_rules: - no-throw-literal diff --git a/docs/src/rules/prefer-reflect.md b/docs/src/rules/prefer-reflect.md index 2d388c413e4..ea2ee7d416d 100644 --- a/docs/src/rules/prefer-reflect.md +++ b/docs/src/rules/prefer-reflect.md @@ -1,7 +1,6 @@ --- title: prefer-reflect layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-reflect.md rule_type: suggestion related_rules: - no-useless-call diff --git a/docs/src/rules/prefer-regex-literals.md b/docs/src/rules/prefer-regex-literals.md index 34ac8aaa341..ed477c51d25 100644 --- a/docs/src/rules/prefer-regex-literals.md +++ b/docs/src/rules/prefer-regex-literals.md @@ -1,7 +1,6 @@ --- title: prefer-regex-literals layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-regex-literals.md rule_type: suggestion further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions diff --git a/docs/src/rules/prefer-rest-params.md b/docs/src/rules/prefer-rest-params.md index 2962713ffd8..2c2f05ccd4b 100644 --- a/docs/src/rules/prefer-rest-params.md +++ b/docs/src/rules/prefer-rest-params.md @@ -1,7 +1,6 @@ --- title: prefer-rest-params layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-rest-params.md rule_type: suggestion related_rules: - prefer-spread diff --git a/docs/src/rules/prefer-spread.md b/docs/src/rules/prefer-spread.md index 24febc0841f..6d6bc2bc90f 100644 --- a/docs/src/rules/prefer-spread.md +++ b/docs/src/rules/prefer-spread.md @@ -1,7 +1,6 @@ --- title: prefer-spread layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-spread.md rule_type: suggestion related_rules: - no-useless-call diff --git a/docs/src/rules/prefer-template.md b/docs/src/rules/prefer-template.md index 026992e0aec..15a4c98c112 100644 --- a/docs/src/rules/prefer-template.md +++ b/docs/src/rules/prefer-template.md @@ -1,7 +1,6 @@ --- title: prefer-template layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/prefer-template.md rule_type: suggestion related_rules: - no-useless-concat diff --git a/docs/src/rules/quote-props.md b/docs/src/rules/quote-props.md index 8e93e98ba43..f6a17e776ee 100644 --- a/docs/src/rules/quote-props.md +++ b/docs/src/rules/quote-props.md @@ -1,7 +1,6 @@ --- title: quote-props layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/quote-props.md rule_type: suggestion further_reading: - https://kangax.github.io/compat-table/es5/#Reserved_words_as_property_names diff --git a/docs/src/rules/quotes.md b/docs/src/rules/quotes.md index 9260c442339..afa65a1e87a 100644 --- a/docs/src/rules/quotes.md +++ b/docs/src/rules/quotes.md @@ -1,7 +1,6 @@ --- title: quotes layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/quotes.md rule_type: layout --- diff --git a/docs/src/rules/radix.md b/docs/src/rules/radix.md index e9220d71cab..de8b51a8be4 100644 --- a/docs/src/rules/radix.md +++ b/docs/src/rules/radix.md @@ -1,7 +1,6 @@ --- title: radix layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/radix.md rule_type: suggestion further_reading: - https://davidwalsh.name/parseint-radix diff --git a/docs/src/rules/require-atomic-updates.md b/docs/src/rules/require-atomic-updates.md index 43797e5079e..fe0254dfe68 100644 --- a/docs/src/rules/require-atomic-updates.md +++ b/docs/src/rules/require-atomic-updates.md @@ -1,7 +1,6 @@ --- title: require-atomic-updates layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/require-atomic-updates.md rule_type: problem --- diff --git a/docs/src/rules/require-await.md b/docs/src/rules/require-await.md index f2f0bd948a3..d3115189a37 100644 --- a/docs/src/rules/require-await.md +++ b/docs/src/rules/require-await.md @@ -1,7 +1,6 @@ --- title: require-await layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/require-await.md rule_type: suggestion related_rules: - require-yield diff --git a/docs/src/rules/require-jsdoc.md b/docs/src/rules/require-jsdoc.md index 6802a31f107..4ff17df7ade 100644 --- a/docs/src/rules/require-jsdoc.md +++ b/docs/src/rules/require-jsdoc.md @@ -1,7 +1,6 @@ --- title: require-jsdoc layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/require-jsdoc.md rule_type: suggestion related_rules: - valid-jsdoc diff --git a/docs/src/rules/require-unicode-regexp.md b/docs/src/rules/require-unicode-regexp.md index 8b914281232..0efe1a878a1 100644 --- a/docs/src/rules/require-unicode-regexp.md +++ b/docs/src/rules/require-unicode-regexp.md @@ -1,7 +1,6 @@ --- title: require-unicode-regexp layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/require-unicode-regexp.md rule_type: suggestion --- diff --git a/docs/src/rules/require-yield.md b/docs/src/rules/require-yield.md index 1086eb5a587..ce3cbe8894c 100644 --- a/docs/src/rules/require-yield.md +++ b/docs/src/rules/require-yield.md @@ -1,7 +1,6 @@ --- title: require-yield layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/require-yield.md rule_type: suggestion related_rules: - require-await diff --git a/docs/src/rules/rest-spread-spacing.md b/docs/src/rules/rest-spread-spacing.md index c124bb01ee8..8850bead00f 100644 --- a/docs/src/rules/rest-spread-spacing.md +++ b/docs/src/rules/rest-spread-spacing.md @@ -1,7 +1,6 @@ --- title: rest-spread-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/rest-spread-spacing.md rule_type: layout further_reading: - https://github.com/tc39/proposal-object-rest-spread diff --git a/docs/src/rules/semi-spacing.md b/docs/src/rules/semi-spacing.md index b7131b40a34..01b3c3ffb0d 100644 --- a/docs/src/rules/semi-spacing.md +++ b/docs/src/rules/semi-spacing.md @@ -1,7 +1,6 @@ --- title: semi-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/semi-spacing.md rule_type: layout related_rules: - semi diff --git a/docs/src/rules/semi-style.md b/docs/src/rules/semi-style.md index 2082539ffe2..0d82f30bb97 100644 --- a/docs/src/rules/semi-style.md +++ b/docs/src/rules/semi-style.md @@ -1,7 +1,6 @@ --- title: semi-style layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/semi-style.md rule_type: layout related_rules: - no-extra-semi diff --git a/docs/src/rules/semi.md b/docs/src/rules/semi.md index cb5a37b0f28..be018356869 100644 --- a/docs/src/rules/semi.md +++ b/docs/src/rules/semi.md @@ -1,7 +1,6 @@ --- title: semi layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/semi.md rule_type: layout related_rules: - no-extra-semi diff --git a/docs/src/rules/sort-imports.md b/docs/src/rules/sort-imports.md index f82c892c6bc..d42bd97eaeb 100644 --- a/docs/src/rules/sort-imports.md +++ b/docs/src/rules/sort-imports.md @@ -1,7 +1,6 @@ --- title: sort-imports layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/sort-imports.md rule_type: suggestion related_rules: - sort-keys diff --git a/docs/src/rules/sort-keys.md b/docs/src/rules/sort-keys.md index f4047cde3e5..4c90e6c9120 100644 --- a/docs/src/rules/sort-keys.md +++ b/docs/src/rules/sort-keys.md @@ -1,7 +1,6 @@ --- title: sort-keys layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/sort-keys.md rule_type: suggestion related_rules: - sort-imports diff --git a/docs/src/rules/sort-vars.md b/docs/src/rules/sort-vars.md index bcb82427471..cc85f10dabd 100644 --- a/docs/src/rules/sort-vars.md +++ b/docs/src/rules/sort-vars.md @@ -1,7 +1,6 @@ --- title: sort-vars layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/sort-vars.md rule_type: suggestion related_rules: - sort-keys diff --git a/docs/src/rules/space-after-function-name.md b/docs/src/rules/space-after-function-name.md index 047f7be757a..b90f31678c3 100644 --- a/docs/src/rules/space-after-function-name.md +++ b/docs/src/rules/space-after-function-name.md @@ -1,7 +1,6 @@ --- title: space-after-function-name layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-after-function-name.md --- diff --git a/docs/src/rules/space-after-keywords.md b/docs/src/rules/space-after-keywords.md index a7805adebb1..ac619ed0e5d 100644 --- a/docs/src/rules/space-after-keywords.md +++ b/docs/src/rules/space-after-keywords.md @@ -1,7 +1,6 @@ --- title: space-after-keywords layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-after-keywords.md --- diff --git a/docs/src/rules/space-before-blocks.md b/docs/src/rules/space-before-blocks.md index 742665f529f..de90dc0c2c0 100644 --- a/docs/src/rules/space-before-blocks.md +++ b/docs/src/rules/space-before-blocks.md @@ -1,7 +1,6 @@ --- title: space-before-blocks layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-before-blocks.md rule_type: layout related_rules: - keyword-spacing diff --git a/docs/src/rules/space-before-function-paren.md b/docs/src/rules/space-before-function-paren.md index f825ee9d779..e1410052e3e 100644 --- a/docs/src/rules/space-before-function-paren.md +++ b/docs/src/rules/space-before-function-paren.md @@ -1,7 +1,6 @@ --- title: space-before-function-paren layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-before-function-paren.md rule_type: layout related_rules: - space-after-keywords diff --git a/docs/src/rules/space-before-function-parentheses.md b/docs/src/rules/space-before-function-parentheses.md index 1b2ed43e6e6..f60bd445fe2 100644 --- a/docs/src/rules/space-before-function-parentheses.md +++ b/docs/src/rules/space-before-function-parentheses.md @@ -1,7 +1,6 @@ --- title: space-before-function-parentheses layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-before-function-parentheses.md related_rules: - space-after-keywords diff --git a/docs/src/rules/space-before-keywords.md b/docs/src/rules/space-before-keywords.md index bc484717779..efd2b35af06 100644 --- a/docs/src/rules/space-before-keywords.md +++ b/docs/src/rules/space-before-keywords.md @@ -1,7 +1,6 @@ --- title: space-before-keywords layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-before-keywords.md related_rules: - space-after-keywords diff --git a/docs/src/rules/space-in-brackets.md b/docs/src/rules/space-in-brackets.md index 15941dedb84..bbd2216a164 100644 --- a/docs/src/rules/space-in-brackets.md +++ b/docs/src/rules/space-in-brackets.md @@ -1,7 +1,6 @@ --- title: space-in-brackets layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-in-brackets.md related_rules: - array-bracket-spacing diff --git a/docs/src/rules/space-in-parens.md b/docs/src/rules/space-in-parens.md index fea11f6e857..5389637cfb6 100644 --- a/docs/src/rules/space-in-parens.md +++ b/docs/src/rules/space-in-parens.md @@ -1,7 +1,6 @@ --- title: space-in-parens layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-in-parens.md rule_type: layout related_rules: - array-bracket-spacing diff --git a/docs/src/rules/space-infix-ops.md b/docs/src/rules/space-infix-ops.md index c7a7d4ad444..856a87ebc8b 100644 --- a/docs/src/rules/space-infix-ops.md +++ b/docs/src/rules/space-infix-ops.md @@ -1,7 +1,6 @@ --- title: space-infix-ops layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-infix-ops.md rule_type: layout --- diff --git a/docs/src/rules/space-return-throw-case.md b/docs/src/rules/space-return-throw-case.md index ca65dd75840..898a4d64919 100644 --- a/docs/src/rules/space-return-throw-case.md +++ b/docs/src/rules/space-return-throw-case.md @@ -1,7 +1,6 @@ --- title: space-return-throw-case layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-return-throw-case.md --- diff --git a/docs/src/rules/space-unary-ops.md b/docs/src/rules/space-unary-ops.md index adac27429f1..e775e9f9c7b 100644 --- a/docs/src/rules/space-unary-ops.md +++ b/docs/src/rules/space-unary-ops.md @@ -1,7 +1,6 @@ --- title: space-unary-ops layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-unary-ops.md rule_type: layout --- diff --git a/docs/src/rules/space-unary-word-ops.md b/docs/src/rules/space-unary-word-ops.md index 15629ae821c..145141c1b86 100644 --- a/docs/src/rules/space-unary-word-ops.md +++ b/docs/src/rules/space-unary-word-ops.md @@ -1,7 +1,6 @@ --- title: space-unary-word-ops layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/space-unary-word-ops.md --- diff --git a/docs/src/rules/spaced-comment.md b/docs/src/rules/spaced-comment.md index 35ff1baf486..f9d6381dd63 100644 --- a/docs/src/rules/spaced-comment.md +++ b/docs/src/rules/spaced-comment.md @@ -1,7 +1,6 @@ --- title: spaced-comment layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/spaced-comment.md rule_type: suggestion related_rules: - spaced-line-comment diff --git a/docs/src/rules/spaced-line-comment.md b/docs/src/rules/spaced-line-comment.md index 78d0ace2d28..ca5a99f2a9b 100644 --- a/docs/src/rules/spaced-line-comment.md +++ b/docs/src/rules/spaced-line-comment.md @@ -1,7 +1,6 @@ --- title: spaced-line-comment layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/spaced-line-comment.md related_rules: - spaced-comment diff --git a/docs/src/rules/strict.md b/docs/src/rules/strict.md index 4fbf09af1fa..f811a6022e3 100644 --- a/docs/src/rules/strict.md +++ b/docs/src/rules/strict.md @@ -1,7 +1,6 @@ --- title: strict layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/strict.md rule_type: suggestion --- diff --git a/docs/src/rules/switch-colon-spacing.md b/docs/src/rules/switch-colon-spacing.md index 4dfff02896d..6942aadca43 100644 --- a/docs/src/rules/switch-colon-spacing.md +++ b/docs/src/rules/switch-colon-spacing.md @@ -1,7 +1,6 @@ --- title: switch-colon-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/switch-colon-spacing.md rule_type: layout --- diff --git a/docs/src/rules/symbol-description.md b/docs/src/rules/symbol-description.md index 44be78bd783..78e4e662a0f 100644 --- a/docs/src/rules/symbol-description.md +++ b/docs/src/rules/symbol-description.md @@ -1,7 +1,6 @@ --- title: symbol-description layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/symbol-description.md rule_type: suggestion further_reading: - https://www.ecma-international.org/ecma-262/6.0/#sec-symbol-description diff --git a/docs/src/rules/template-curly-spacing.md b/docs/src/rules/template-curly-spacing.md index 4eca3b980e3..f0079ee7617 100644 --- a/docs/src/rules/template-curly-spacing.md +++ b/docs/src/rules/template-curly-spacing.md @@ -1,7 +1,6 @@ --- title: template-curly-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/template-curly-spacing.md rule_type: layout --- diff --git a/docs/src/rules/template-tag-spacing.md b/docs/src/rules/template-tag-spacing.md index 7289ddf27f4..309474f70c6 100644 --- a/docs/src/rules/template-tag-spacing.md +++ b/docs/src/rules/template-tag-spacing.md @@ -1,7 +1,6 @@ --- title: template-tag-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/template-tag-spacing.md rule_type: layout further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_template_literals diff --git a/docs/src/rules/unicode-bom.md b/docs/src/rules/unicode-bom.md index fb9857e2cab..1b8683c9681 100644 --- a/docs/src/rules/unicode-bom.md +++ b/docs/src/rules/unicode-bom.md @@ -1,7 +1,6 @@ --- title: unicode-bom layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/unicode-bom.md rule_type: layout --- diff --git a/docs/src/rules/use-isnan.md b/docs/src/rules/use-isnan.md index cb27f751df2..e76dcb49fc7 100644 --- a/docs/src/rules/use-isnan.md +++ b/docs/src/rules/use-isnan.md @@ -1,7 +1,6 @@ --- title: use-isnan layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/use-isnan.md rule_type: problem --- diff --git a/docs/src/rules/valid-jsdoc.md b/docs/src/rules/valid-jsdoc.md index b12f6b96f47..1eca97ef51f 100644 --- a/docs/src/rules/valid-jsdoc.md +++ b/docs/src/rules/valid-jsdoc.md @@ -1,7 +1,6 @@ --- title: valid-jsdoc layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/valid-jsdoc.md rule_type: suggestion related_rules: - require-jsdoc diff --git a/docs/src/rules/valid-typeof.md b/docs/src/rules/valid-typeof.md index 45a30a3f368..66f972475b6 100644 --- a/docs/src/rules/valid-typeof.md +++ b/docs/src/rules/valid-typeof.md @@ -1,7 +1,6 @@ --- title: valid-typeof layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/valid-typeof.md rule_type: problem further_reading: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof diff --git a/docs/src/rules/vars-on-top.md b/docs/src/rules/vars-on-top.md index 72384d32935..97006004fd4 100644 --- a/docs/src/rules/vars-on-top.md +++ b/docs/src/rules/vars-on-top.md @@ -1,7 +1,6 @@ --- title: vars-on-top layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/vars-on-top.md rule_type: suggestion further_reading: - https://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html diff --git a/docs/src/rules/wrap-iife.md b/docs/src/rules/wrap-iife.md index 3c6158f64c8..22b3b9e5338 100644 --- a/docs/src/rules/wrap-iife.md +++ b/docs/src/rules/wrap-iife.md @@ -1,7 +1,6 @@ --- title: wrap-iife layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/wrap-iife.md rule_type: layout --- diff --git a/docs/src/rules/wrap-regex.md b/docs/src/rules/wrap-regex.md index 7b0204ed47d..450a7d6a987 100644 --- a/docs/src/rules/wrap-regex.md +++ b/docs/src/rules/wrap-regex.md @@ -1,7 +1,6 @@ --- title: wrap-regex layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/wrap-regex.md rule_type: layout --- diff --git a/docs/src/rules/yield-star-spacing.md b/docs/src/rules/yield-star-spacing.md index d1d1ee5f291..3c4c43ecd79 100644 --- a/docs/src/rules/yield-star-spacing.md +++ b/docs/src/rules/yield-star-spacing.md @@ -1,7 +1,6 @@ --- title: yield-star-spacing layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/yield-star-spacing.md rule_type: layout further_reading: - https://leanpub.com/understandinges6/read/#leanpub-auto-generators diff --git a/docs/src/rules/yoda.md b/docs/src/rules/yoda.md index 4d2ba28cc53..60cf3e410b6 100644 --- a/docs/src/rules/yoda.md +++ b/docs/src/rules/yoda.md @@ -1,7 +1,6 @@ --- title: yoda layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/yoda.md rule_type: suggestion further_reading: - https://en.wikipedia.org/wiki/Yoda_conditions diff --git a/docs/src/user-guide/command-line-interface.md b/docs/src/user-guide/command-line-interface.md index c4f65aade44..c8ddefe0f21 100644 --- a/docs/src/user-guide/command-line-interface.md +++ b/docs/src/user-guide/command-line-interface.md @@ -1,7 +1,6 @@ --- title: Command Line Interface layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/command-line-interface.md eleventyNavigation: key: command line interface parent: user guide diff --git a/docs/src/user-guide/configuring/configuration-files-new.md b/docs/src/user-guide/configuring/configuration-files-new.md index 98d8a5f3f8b..56af3a55e6a 100644 --- a/docs/src/user-guide/configuring/configuration-files-new.md +++ b/docs/src/user-guide/configuring/configuration-files-new.md @@ -1,7 +1,6 @@ --- title: Configuration Files (New) layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/configuring/configuration-files-new.md eleventyNavigation: key: configuration files parent: configuring diff --git a/docs/src/user-guide/configuring/configuration-files.md b/docs/src/user-guide/configuring/configuration-files.md index 085b4420fb7..75b6d40c192 100644 --- a/docs/src/user-guide/configuring/configuration-files.md +++ b/docs/src/user-guide/configuring/configuration-files.md @@ -1,7 +1,6 @@ --- title: Configuration Files layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/configuring/configuration-files.md eleventyNavigation: key: configuration files parent: configuring diff --git a/docs/src/user-guide/configuring/ignoring-code.md b/docs/src/user-guide/configuring/ignoring-code.md index 119d1873b78..c41422c9093 100644 --- a/docs/src/user-guide/configuring/ignoring-code.md +++ b/docs/src/user-guide/configuring/ignoring-code.md @@ -1,7 +1,6 @@ --- title: Ignoring Code layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/configuring/ignoring-code.md eleventyNavigation: key: ignoring code parent: configuring diff --git a/docs/src/user-guide/configuring/index.md b/docs/src/user-guide/configuring/index.md index f9351dd75f2..2eaad9c37c5 100644 --- a/docs/src/user-guide/configuring/index.md +++ b/docs/src/user-guide/configuring/index.md @@ -1,7 +1,6 @@ --- title: Configuring ESLint layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/configuring/index.md eleventyNavigation: key: configuring parent: user guide @@ -13,7 +12,7 @@ eleventyNavigation: ESLint is designed to be flexible and configurable for your use case. You can turn off every rule and run only with basic syntax validation or mix and match the bundled rules and your custom rules to fit the needs of your project. There are two primary ways to configure ESLint: 1. **Configuration Comments** - use JavaScript comments to embed configuration information directly into a file. -1. **Configuration Files** - use a JavaScript, JSON, or YAML file to specify configuration information for an entire directory and all of its subdirectories. This can be in the form of a [`.eslintrc.*`](./configuration-files#configuration-file-formats) file or an `eslintConfig` field in a [`package.json`](https://docs.npmjs.com/files/package.json) file, both of which ESLint will look for and read automatically, or you can specify a configuration file on the [command line](../command-line-interface). +2. **Configuration Files** - use a JavaScript, JSON, or YAML file to specify configuration information for an entire directory and all of its subdirectories. This can be in the form of a [`.eslintrc.*`](./configuration-files#configuration-file-formats) file or an `eslintConfig` field in a [`package.json`](https://docs.npmjs.com/files/package.json) file, both of which ESLint will look for and read automatically, or you can specify a configuration file on the [command line](../command-line-interface). Here are some of the options that you can configure in ESLint: diff --git a/docs/src/user-guide/configuring/language-options.md b/docs/src/user-guide/configuring/language-options.md index 379c678f48c..4acc15c4d8c 100644 --- a/docs/src/user-guide/configuring/language-options.md +++ b/docs/src/user-guide/configuring/language-options.md @@ -1,7 +1,6 @@ --- title: Language Options layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/configuring/language-options.md eleventyNavigation: key: configuring language options parent: configuring diff --git a/docs/src/user-guide/configuring/plugins.md b/docs/src/user-guide/configuring/plugins.md index 3314ef9a130..12eef7e4512 100644 --- a/docs/src/user-guide/configuring/plugins.md +++ b/docs/src/user-guide/configuring/plugins.md @@ -1,7 +1,6 @@ --- title: Plugins layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/configuring/plugins.md eleventyNavigation: key: configuring plugins parent: configuring diff --git a/docs/src/user-guide/configuring/rules.md b/docs/src/user-guide/configuring/rules.md index ebc070f8cd7..e504a53198e 100644 --- a/docs/src/user-guide/configuring/rules.md +++ b/docs/src/user-guide/configuring/rules.md @@ -1,7 +1,6 @@ --- title: Rules layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/configuring/rules.md eleventyNavigation: key: configuring rules parent: configuring diff --git a/docs/src/user-guide/getting-started.md b/docs/src/user-guide/getting-started.md index 0004f40522b..675e94f10d0 100644 --- a/docs/src/user-guide/getting-started.md +++ b/docs/src/user-guide/getting-started.md @@ -1,7 +1,6 @@ --- title: Getting Started with ESLint layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/getting-started.md eleventyNavigation: key: getting started parent: user guide diff --git a/docs/src/user-guide/index.md b/docs/src/user-guide/index.md index 558195fe9c5..3b26ee5bc59 100644 --- a/docs/src/user-guide/index.md +++ b/docs/src/user-guide/index.md @@ -1,7 +1,6 @@ --- title: User Guide layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/index.md eleventyNavigation: key: user guide title: User Guide diff --git a/docs/src/user-guide/integrations.md b/docs/src/user-guide/integrations.md index ff9aa0a3450..5d734840c59 100644 --- a/docs/src/user-guide/integrations.md +++ b/docs/src/user-guide/integrations.md @@ -1,7 +1,6 @@ --- title: Integrations layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/integrations.md eleventyNavigation: key: integrations parent: user guide diff --git a/docs/src/user-guide/migrating-from-jscs.md b/docs/src/user-guide/migrating-from-jscs.md index c25af456656..7ff36865bd2 100644 --- a/docs/src/user-guide/migrating-from-jscs.md +++ b/docs/src/user-guide/migrating-from-jscs.md @@ -1,7 +1,6 @@ --- title: Migrating from JSCS layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/migrating-from-jscs.md --- diff --git a/docs/src/user-guide/migrating-to-1.0.0.md b/docs/src/user-guide/migrating-to-1.0.0.md index f71b428ed7d..70bdb5bc954 100644 --- a/docs/src/user-guide/migrating-to-1.0.0.md +++ b/docs/src/user-guide/migrating-to-1.0.0.md @@ -1,7 +1,6 @@ --- title: Migrating to v1.0.0 layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/migrating-to-1.0.0.md --- diff --git a/docs/src/user-guide/migrating-to-2.0.0.md b/docs/src/user-guide/migrating-to-2.0.0.md index aa216aa3f49..974e89f31c3 100644 --- a/docs/src/user-guide/migrating-to-2.0.0.md +++ b/docs/src/user-guide/migrating-to-2.0.0.md @@ -1,7 +1,6 @@ --- title: Migrating to v2.0.0 layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/migrating-to-2.0.0.md --- diff --git a/docs/src/user-guide/migrating-to-3.0.0.md b/docs/src/user-guide/migrating-to-3.0.0.md index 8435e28ebb3..ab31a4c7ae7 100644 --- a/docs/src/user-guide/migrating-to-3.0.0.md +++ b/docs/src/user-guide/migrating-to-3.0.0.md @@ -1,7 +1,6 @@ --- title: Migrating to v3.0.0 layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/migrating-to-3.0.0.md --- diff --git a/docs/src/user-guide/migrating-to-4.0.0.md b/docs/src/user-guide/migrating-to-4.0.0.md index cef90a3ddcc..e96b8ac26b6 100644 --- a/docs/src/user-guide/migrating-to-4.0.0.md +++ b/docs/src/user-guide/migrating-to-4.0.0.md @@ -1,7 +1,6 @@ --- title: Migrating to v4.0.0 layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/migrating-to-4.0.0.md --- diff --git a/docs/src/user-guide/migrating-to-5.0.0.md b/docs/src/user-guide/migrating-to-5.0.0.md index 0bddbe1dcb1..36db7d43ebb 100644 --- a/docs/src/user-guide/migrating-to-5.0.0.md +++ b/docs/src/user-guide/migrating-to-5.0.0.md @@ -1,7 +1,6 @@ --- title: Migrating to v5.0.0 layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/migrating-to-5.0.0.md --- diff --git a/docs/src/user-guide/migrating-to-6.0.0.md b/docs/src/user-guide/migrating-to-6.0.0.md index 14cc7d868cf..84c74e40659 100644 --- a/docs/src/user-guide/migrating-to-6.0.0.md +++ b/docs/src/user-guide/migrating-to-6.0.0.md @@ -1,7 +1,6 @@ --- title: Migrating to v6.0.0 layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/migrating-to-6.0.0.md --- diff --git a/docs/src/user-guide/migrating-to-7.0.0.md b/docs/src/user-guide/migrating-to-7.0.0.md index b04b143f231..9e2a7022a8c 100644 --- a/docs/src/user-guide/migrating-to-7.0.0.md +++ b/docs/src/user-guide/migrating-to-7.0.0.md @@ -1,7 +1,6 @@ --- title: Migrating to v7.0.0 layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/migrating-to-7.0.0.md --- diff --git a/docs/src/user-guide/migrating-to-8.0.0.md b/docs/src/user-guide/migrating-to-8.0.0.md index d61955f771c..2b263e42bb9 100644 --- a/docs/src/user-guide/migrating-to-8.0.0.md +++ b/docs/src/user-guide/migrating-to-8.0.0.md @@ -1,7 +1,6 @@ --- title: Migrating to v8.0.0 layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/migrating-to-8.0.0.md eleventyNavigation: key: migrating to v8 parent: user guide diff --git a/docs/src/user-guide/rule-deprecation.md b/docs/src/user-guide/rule-deprecation.md index 2b929473187..7766b551e08 100644 --- a/docs/src/user-guide/rule-deprecation.md +++ b/docs/src/user-guide/rule-deprecation.md @@ -1,7 +1,6 @@ --- title: Rule Deprecation layout: doc -edit_link: https://github.com/eslint/eslint/edit/main/docs/src/user-guide/rule-deprecation.md ---