From e058bcac52f4c34b2e98d4e3e76e7b733e49d888 Mon Sep 17 00:00:00 2001 From: Shinigami92 Date: Sun, 22 Oct 2023 16:22:24 +0200 Subject: [PATCH 1/3] Remove native support for plugin types --- .eslintrc.cjs | 24 +- package.json | 40 +- pnpm-lock.yaml | 4104 ++--------------- release.sh | 28 - scripts/generate-eslint-dts.ts | 77 + scripts/generate-rule-files/cli.ts | 9 - .../generate-rule-files/contracts/index.ts | 12 - .../eslint/no-constructor-return.d.ts.diff | 22 - .../naming-convention.d.ts.diff | 14 - .../node/file-extension-in-import.d.ts.diff | 13 - ...sx-no-constructed-context-values.d.ts.diff | 23 - .../react/jsx-props-no-spreading.d.ts.diff | 13 - .../diffs/rules/vitest/valid-title.d.ts.diff | 21 - scripts/generate-rule-files/index.ts | 187 - scripts/generate-rule-files/src/format.ts | 19 - .../generate-rule-files/src/js-doc-builder.ts | 27 - .../src/json-schema-to-ts.ts | 65 - .../generate-rule-files/src/plugins-map.ts | 121 - scripts/generate-rule-files/src/rule-file.ts | 263 -- .../extends/eslint-plugin-eslint-comment.d.ts | 6 - src/config/extends/eslint-plugin-graphql.d.ts | 11 - src/config/extends/eslint-plugin-import.d.ts | 9 - src/config/extends/eslint-plugin-jsdoc.d.ts | 6 - src/config/extends/eslint-plugin-jsonc.d.ts | 13 - .../extends/eslint-plugin-jsx-a11y.d.ts | 8 - src/config/extends/eslint-plugin-mdx.d.ts | 10 - src/config/extends/eslint-plugin-n.d.ts | 9 - src/config/extends/eslint-plugin-node.d.ts | 9 - .../extends/eslint-plugin-prettier.d.ts | 6 - src/config/extends/eslint-plugin-promise.d.ts | 6 - .../extends/eslint-plugin-react-hooks.d.ts | 6 - src/config/extends/eslint-plugin-react.d.ts | 9 - src/config/extends/eslint-plugin-sonarjs.d.ts | 6 - .../eslint-plugin-testing-library.d.ts | 11 - src/config/extends/eslint-plugin-unicorn.d.ts | 8 - src/config/extends/eslint-plugin-vitest.d.ts | 6 - src/config/extends/eslint-plugin-vue-pug.d.ts | 13 - src/config/extends/eslint-plugin-vue.d.ts | 13 - src/config/extends/eslint.d.ts | 4 - src/config/extends/index.d.ts | 44 +- src/config/extends/intlify-vue-i18n.d.ts | 6 - src/config/extends/typescript-eslint.d.ts | 17 - src/config/plugin.d.ts | 23 +- src/config/settings/import.d.ts | 66 - src/config/settings/index.d.ts | 15 +- src/config/settings/jsdoc.d.ts | 59 - src/config/settings/jsx-a11y.d.ts | 10 - src/config/settings/mdx.d.ts | 6 - src/config/settings/node.d.ts | 18 - src/config/settings/react.d.ts | 103 - src/config/settings/testing-library.d.ts | 24 - src/flat-config/index.d.ts | 13 +- src/parser-options.d.ts | 166 +- src/rules/deprecation/deprecation.d.ts | 22 - src/rules/deprecation/index.d.ts | 6 - .../eslint-comments/disable-enable-pair.d.ts | 34 - src/rules/eslint-comments/index.d.ts | 22 - .../no-aggregating-enable.d.ts | 22 - .../eslint-comments/no-duplicate-disable.d.ts | 22 - .../no-restricted-disable.d.ts | 33 - .../eslint-comments/no-unlimited-disable.d.ts | 22 - .../eslint-comments/no-unused-disable.d.ts | 22 - .../eslint-comments/no-unused-enable.d.ts | 22 - src/rules/eslint-comments/no-use.d.ts | 44 - .../eslint-comments/require-description.d.ts | 45 - src/rules/eslint/accessor-pairs.d.ts | 33 +- src/rules/eslint/array-bracket-newline.d.ts | 34 +- src/rules/eslint/array-bracket-spacing.d.ts | 42 +- src/rules/eslint/array-callback-return.d.ts | 34 +- src/rules/eslint/array-element-newline.d.ts | 34 +- src/rules/eslint/arrow-body-style.d.ts | 33 +- src/rules/eslint/arrow-parens.d.ts | 38 +- src/rules/eslint/arrow-spacing.d.ts | 33 +- src/rules/eslint/block-scoped-var.d.ts | 23 +- src/rules/eslint/block-spacing.d.ts | 33 +- src/rules/eslint/brace-style.d.ts | 38 +- src/rules/eslint/callback-return.d.ts | 39 +- src/rules/eslint/camelcase.d.ts | 33 +- src/rules/eslint/capitalized-comments.d.ts | 42 +- src/rules/eslint/class-methods-use-this.d.ts | 34 +- src/rules/eslint/comma-dangle.d.ts | 33 +- src/rules/eslint/comma-spacing.d.ts | 33 +- src/rules/eslint/comma-style.d.ts | 38 +- src/rules/eslint/complexity.d.ts | 33 +- .../eslint/computed-property-spacing.d.ts | 42 +- src/rules/eslint/consistent-return.d.ts | 33 +- src/rules/eslint/consistent-this.d.ts | 33 +- src/rules/eslint/constructor-super.d.ts | 23 +- src/rules/eslint/curly.d.ts | 33 +- src/rules/eslint/default-case-last.d.ts | 23 +- src/rules/eslint/default-case.d.ts | 33 +- src/rules/eslint/default-param-last.d.ts | 23 +- src/rules/eslint/dot-location.d.ts | 33 +- src/rules/eslint/dot-notation.d.ts | 33 +- src/rules/eslint/eol-last.d.ts | 33 +- src/rules/eslint/eqeqeq.d.ts | 33 +- src/rules/eslint/for-direction.d.ts | 23 +- src/rules/eslint/func-call-spacing.d.ts | 33 +- src/rules/eslint/func-name-matching.d.ts | 33 +- src/rules/eslint/func-names.d.ts | 33 +- src/rules/eslint/func-style.d.ts | 38 +- .../function-call-argument-newline.d.ts | 39 +- src/rules/eslint/function-paren-newline.d.ts | 34 +- src/rules/eslint/generator-star-spacing.d.ts | 34 +- src/rules/eslint/getter-return.d.ts | 33 +- src/rules/eslint/global-require.d.ts | 29 +- src/rules/eslint/grouped-accessor-pairs.d.ts | 37 +- src/rules/eslint/guard-for-in.d.ts | 23 +- src/rules/eslint/handle-callback-err.d.ts | 39 +- src/rules/eslint/id-blacklist.d.ts | 39 +- src/rules/eslint/id-denylist.d.ts | 33 +- src/rules/eslint/id-length.d.ts | 33 +- src/rules/eslint/id-match.d.ts | 38 +- .../eslint/implicit-arrow-linebreak.d.ts | 34 +- src/rules/eslint/indent-legacy.d.ts | 52 +- src/rules/eslint/indent.d.ts | 38 +- src/rules/eslint/index.d.ts | 2625 ++++++++--- src/rules/eslint/init-declarations.d.ts | 33 +- src/rules/eslint/jsx-quotes.d.ts | 33 +- src/rules/eslint/key-spacing.d.ts | 33 +- src/rules/eslint/keyword-spacing.d.ts | 33 +- src/rules/eslint/line-comment-position.d.ts | 34 +- src/rules/eslint/linebreak-style.d.ts | 33 +- src/rules/eslint/lines-around-comment.d.ts | 34 +- src/rules/eslint/lines-around-directive.d.ts | 40 +- .../eslint/lines-between-class-members.d.ts | 46 +- .../eslint/logical-assignment-operators.d.ts | 37 +- src/rules/eslint/max-classes-per-file.d.ts | 33 +- src/rules/eslint/max-depth.d.ts | 33 +- src/rules/eslint/max-len.d.ts | 65 +- src/rules/eslint/max-lines-per-function.d.ts | 34 +- src/rules/eslint/max-lines.d.ts | 33 +- src/rules/eslint/max-nested-callbacks.d.ts | 34 +- src/rules/eslint/max-params.d.ts | 33 +- src/rules/eslint/max-statements-per-line.d.ts | 34 +- src/rules/eslint/max-statements.d.ts | 42 +- src/rules/eslint/multiline-comment-style.d.ts | 34 +- src/rules/eslint/multiline-ternary.d.ts | 33 +- src/rules/eslint/new-cap.d.ts | 33 +- src/rules/eslint/new-parens.d.ts | 33 +- src/rules/eslint/newline-after-var.d.ts | 39 +- src/rules/eslint/newline-before-return.d.ts | 29 +- .../eslint/newline-per-chained-call.d.ts | 34 +- src/rules/eslint/no-alert.d.ts | 23 +- src/rules/eslint/no-array-constructor.d.ts | 23 +- .../eslint/no-async-promise-executor.d.ts | 23 +- src/rules/eslint/no-await-in-loop.d.ts | 23 +- src/rules/eslint/no-bitwise.d.ts | 33 +- src/rules/eslint/no-buffer-constructor.d.ts | 29 +- src/rules/eslint/no-caller.d.ts | 23 +- src/rules/eslint/no-case-declarations.d.ts | 23 +- src/rules/eslint/no-catch-shadow.d.ts | 29 +- src/rules/eslint/no-class-assign.d.ts | 23 +- src/rules/eslint/no-compare-neg-zero.d.ts | 23 +- src/rules/eslint/no-cond-assign.d.ts | 33 +- src/rules/eslint/no-confusing-arrow.d.ts | 33 +- src/rules/eslint/no-console.d.ts | 33 +- src/rules/eslint/no-const-assign.d.ts | 23 +- .../eslint/no-constant-binary-expression.d.ts | 23 +- src/rules/eslint/no-constant-condition.d.ts | 34 +- src/rules/eslint/no-constructor-return.d.ts | 31 +- src/rules/eslint/no-continue.d.ts | 23 +- src/rules/eslint/no-control-regex.d.ts | 23 +- src/rules/eslint/no-debugger.d.ts | 23 +- src/rules/eslint/no-delete-var.d.ts | 23 +- src/rules/eslint/no-div-regex.d.ts | 23 +- src/rules/eslint/no-dupe-args.d.ts | 23 +- src/rules/eslint/no-dupe-class-members.d.ts | 23 +- src/rules/eslint/no-dupe-else-if.d.ts | 23 +- src/rules/eslint/no-dupe-keys.d.ts | 23 +- src/rules/eslint/no-duplicate-case.d.ts | 23 +- src/rules/eslint/no-duplicate-imports.d.ts | 34 +- src/rules/eslint/no-else-return.d.ts | 33 +- .../eslint/no-empty-character-class.d.ts | 23 +- src/rules/eslint/no-empty-function.d.ts | 33 +- src/rules/eslint/no-empty-pattern.d.ts | 33 +- src/rules/eslint/no-empty-static-block.d.ts | 23 +- src/rules/eslint/no-empty.d.ts | 33 +- src/rules/eslint/no-eq-null.d.ts | 23 +- src/rules/eslint/no-eval.d.ts | 33 +- src/rules/eslint/no-ex-assign.d.ts | 23 +- src/rules/eslint/no-extend-native.d.ts | 33 +- src/rules/eslint/no-extra-bind.d.ts | 23 +- src/rules/eslint/no-extra-boolean-cast.d.ts | 34 +- src/rules/eslint/no-extra-label.d.ts | 23 +- src/rules/eslint/no-extra-parens.d.ts | 33 +- src/rules/eslint/no-extra-semi.d.ts | 23 +- src/rules/eslint/no-fallthrough.d.ts | 33 +- src/rules/eslint/no-floating-decimal.d.ts | 23 +- src/rules/eslint/no-func-assign.d.ts | 23 +- src/rules/eslint/no-global-assign.d.ts | 33 +- src/rules/eslint/no-implicit-coercion.d.ts | 34 +- src/rules/eslint/no-implicit-globals.d.ts | 33 +- src/rules/eslint/no-implied-eval.d.ts | 23 +- src/rules/eslint/no-import-assign.d.ts | 23 +- src/rules/eslint/no-inline-comments.d.ts | 33 +- src/rules/eslint/no-inner-declarations.d.ts | 34 +- src/rules/eslint/no-invalid-regexp.d.ts | 33 +- src/rules/eslint/no-invalid-this.d.ts | 33 +- src/rules/eslint/no-irregular-whitespace.d.ts | 34 +- src/rules/eslint/no-iterator.d.ts | 23 +- src/rules/eslint/no-label-var.d.ts | 23 +- src/rules/eslint/no-labels.d.ts | 33 +- src/rules/eslint/no-lone-blocks.d.ts | 23 +- src/rules/eslint/no-lonely-if.d.ts | 23 +- src/rules/eslint/no-loop-func.d.ts | 23 +- src/rules/eslint/no-loss-of-precision.d.ts | 23 +- src/rules/eslint/no-magic-numbers.d.ts | 33 +- .../eslint/no-misleading-character-class.d.ts | 23 +- src/rules/eslint/no-mixed-operators.d.ts | 33 +- src/rules/eslint/no-mixed-requires.d.ts | 39 +- .../eslint/no-mixed-spaces-and-tabs.d.ts | 34 +- src/rules/eslint/no-multi-assign.d.ts | 33 +- src/rules/eslint/no-multi-spaces.d.ts | 35 +- src/rules/eslint/no-multi-str.d.ts | 23 +- src/rules/eslint/no-multiple-empty-lines.d.ts | 34 +- src/rules/eslint/no-native-reassign.d.ts | 39 +- src/rules/eslint/no-negated-condition.d.ts | 23 +- src/rules/eslint/no-negated-in-lhs.d.ts | 29 +- src/rules/eslint/no-nested-ternary.d.ts | 23 +- src/rules/eslint/no-new-func.d.ts | 23 +- .../eslint/no-new-native-nonconstructor.d.ts | 23 +- src/rules/eslint/no-new-object.d.ts | 29 +- src/rules/eslint/no-new-require.d.ts | 29 +- src/rules/eslint/no-new-symbol.d.ts | 23 +- src/rules/eslint/no-new-wrappers.d.ts | 23 +- src/rules/eslint/no-new.d.ts | 23 +- .../eslint/no-nonoctal-decimal-escape.d.ts | 23 +- src/rules/eslint/no-obj-calls.d.ts | 23 +- src/rules/eslint/no-object-constructor.d.ts | 23 +- src/rules/eslint/no-octal-escape.d.ts | 23 +- src/rules/eslint/no-octal.d.ts | 23 +- src/rules/eslint/no-param-reassign.d.ts | 33 +- src/rules/eslint/no-path-concat.d.ts | 29 +- src/rules/eslint/no-plusplus.d.ts | 33 +- src/rules/eslint/no-process-env.d.ts | 29 +- src/rules/eslint/no-process-exit.d.ts | 29 +- .../eslint/no-promise-executor-return.d.ts | 34 +- src/rules/eslint/no-proto.d.ts | 23 +- src/rules/eslint/no-prototype-builtins.d.ts | 23 +- src/rules/eslint/no-redeclare.d.ts | 33 +- src/rules/eslint/no-regex-spaces.d.ts | 23 +- src/rules/eslint/no-restricted-exports.d.ts | 34 +- src/rules/eslint/no-restricted-globals.d.ts | 34 +- src/rules/eslint/no-restricted-imports.d.ts | 34 +- src/rules/eslint/no-restricted-modules.d.ts | 40 +- .../eslint/no-restricted-properties.d.ts | 34 +- src/rules/eslint/no-restricted-syntax.d.ts | 34 +- src/rules/eslint/no-return-assign.d.ts | 33 +- src/rules/eslint/no-return-await.d.ts | 29 +- src/rules/eslint/no-script-url.d.ts | 23 +- src/rules/eslint/no-self-assign.d.ts | 33 +- src/rules/eslint/no-self-compare.d.ts | 23 +- src/rules/eslint/no-sequences.d.ts | 33 +- src/rules/eslint/no-setter-return.d.ts | 23 +- .../eslint/no-shadow-restricted-names.d.ts | 23 +- src/rules/eslint/no-shadow.d.ts | 33 +- src/rules/eslint/no-spaced-func.d.ts | 29 +- src/rules/eslint/no-sparse-arrays.d.ts | 23 +- src/rules/eslint/no-sync.d.ts | 39 +- src/rules/eslint/no-tabs.d.ts | 33 +- .../eslint/no-template-curly-in-string.d.ts | 23 +- src/rules/eslint/no-ternary.d.ts | 23 +- src/rules/eslint/no-this-before-super.d.ts | 23 +- src/rules/eslint/no-throw-literal.d.ts | 23 +- src/rules/eslint/no-trailing-spaces.d.ts | 33 +- src/rules/eslint/no-undef-init.d.ts | 23 +- src/rules/eslint/no-undef.d.ts | 33 +- src/rules/eslint/no-undefined.d.ts | 23 +- src/rules/eslint/no-underscore-dangle.d.ts | 34 +- src/rules/eslint/no-unexpected-multiline.d.ts | 23 +- .../eslint/no-unmodified-loop-condition.d.ts | 23 +- src/rules/eslint/no-unneeded-ternary.d.ts | 33 +- src/rules/eslint/no-unreachable-loop.d.ts | 33 +- src/rules/eslint/no-unreachable.d.ts | 23 +- src/rules/eslint/no-unsafe-finally.d.ts | 23 +- src/rules/eslint/no-unsafe-negation.d.ts | 33 +- .../eslint/no-unsafe-optional-chaining.d.ts | 34 +- src/rules/eslint/no-unused-expressions.d.ts | 34 +- src/rules/eslint/no-unused-labels.d.ts | 23 +- .../no-unused-private-class-members.d.ts | 23 +- src/rules/eslint/no-unused-vars.d.ts | 33 +- src/rules/eslint/no-use-before-define.d.ts | 33 +- .../eslint/no-useless-backreference.d.ts | 23 +- src/rules/eslint/no-useless-call.d.ts | 23 +- src/rules/eslint/no-useless-catch.d.ts | 23 +- src/rules/eslint/no-useless-computed-key.d.ts | 34 +- src/rules/eslint/no-useless-concat.d.ts | 23 +- src/rules/eslint/no-useless-constructor.d.ts | 23 +- src/rules/eslint/no-useless-escape.d.ts | 23 +- src/rules/eslint/no-useless-rename.d.ts | 33 +- src/rules/eslint/no-useless-return.d.ts | 23 +- src/rules/eslint/no-var.d.ts | 23 +- src/rules/eslint/no-void.d.ts | 33 +- src/rules/eslint/no-warning-comments.d.ts | 33 +- .../eslint/no-whitespace-before-property.d.ts | 23 +- src/rules/eslint/no-with.d.ts | 23 +- .../nonblock-statement-body-position.d.ts | 42 +- src/rules/eslint/object-curly-newline.d.ts | 34 +- src/rules/eslint/object-curly-spacing.d.ts | 42 +- src/rules/eslint/object-property-newline.d.ts | 34 +- src/rules/eslint/object-shorthand.d.ts | 33 +- .../eslint/one-var-declaration-per-line.d.ts | 34 +- src/rules/eslint/one-var.d.ts | 33 +- src/rules/eslint/operator-assignment.d.ts | 34 +- src/rules/eslint/operator-linebreak.d.ts | 41 +- src/rules/eslint/padded-blocks.d.ts | 42 +- .../padding-line-between-statements.d.ts | 35 +- src/rules/eslint/prefer-arrow-callback.d.ts | 34 +- src/rules/eslint/prefer-const.d.ts | 33 +- src/rules/eslint/prefer-destructuring.d.ts | 46 +- .../prefer-exponentiation-operator.d.ts | 23 +- .../eslint/prefer-named-capture-group.d.ts | 23 +- src/rules/eslint/prefer-numeric-literals.d.ts | 23 +- src/rules/eslint/prefer-object-has-own.d.ts | 23 +- src/rules/eslint/prefer-object-spread.d.ts | 23 +- .../eslint/prefer-promise-reject-errors.d.ts | 36 +- src/rules/eslint/prefer-reflect.d.ts | 39 +- src/rules/eslint/prefer-regex-literals.d.ts | 34 +- src/rules/eslint/prefer-rest-params.d.ts | 23 +- src/rules/eslint/prefer-spread.d.ts | 23 +- src/rules/eslint/prefer-template.d.ts | 23 +- src/rules/eslint/quote-props.d.ts | 33 +- src/rules/eslint/quotes.d.ts | 38 +- src/rules/eslint/radix.d.ts | 33 +- src/rules/eslint/require-atomic-updates.d.ts | 34 +- src/rules/eslint/require-await.d.ts | 23 +- src/rules/eslint/require-jsdoc.d.ts | 39 +- src/rules/eslint/require-unicode-regexp.d.ts | 23 +- src/rules/eslint/require-yield.d.ts | 23 +- src/rules/eslint/rest-spread-spacing.d.ts | 33 +- src/rules/eslint/semi-spacing.d.ts | 33 +- src/rules/eslint/semi-style.d.ts | 33 +- src/rules/eslint/semi.d.ts | 33 +- src/rules/eslint/sort-imports.d.ts | 33 +- src/rules/eslint/sort-keys.d.ts | 38 +- src/rules/eslint/sort-vars.d.ts | 33 +- src/rules/eslint/space-before-blocks.d.ts | 33 +- .../eslint/space-before-function-paren.d.ts | 34 +- src/rules/eslint/space-in-parens.d.ts | 38 +- src/rules/eslint/space-infix-ops.d.ts | 33 +- src/rules/eslint/space-unary-ops.d.ts | 33 +- src/rules/eslint/spaced-comment.d.ts | 38 +- src/rules/eslint/strict.d.ts | 33 +- src/rules/eslint/switch-colon-spacing.d.ts | 34 +- src/rules/eslint/symbol-description.d.ts | 23 +- src/rules/eslint/template-curly-spacing.d.ts | 34 +- src/rules/eslint/template-tag-spacing.d.ts | 34 +- src/rules/eslint/unicode-bom.d.ts | 33 +- src/rules/eslint/use-isnan.d.ts | 33 +- src/rules/eslint/valid-jsdoc.d.ts | 39 +- src/rules/eslint/valid-typeof.d.ts | 33 +- src/rules/eslint/vars-on-top.d.ts | 23 +- src/rules/eslint/wrap-iife.d.ts | 38 +- src/rules/eslint/wrap-regex.d.ts | 23 +- src/rules/eslint/yield-star-spacing.d.ts | 33 +- src/rules/eslint/yoda.d.ts | 38 +- src/rules/graphql-eslint/alphabetize.d.ts | 96 - .../graphql-eslint/description-style.d.ts | 41 - .../executable-definitions.d.ts | 25 - .../fields-on-correct-type.d.ts | 25 - .../fragments-on-composite-type.d.ts | 25 - src/rules/graphql-eslint/index.d.ts | 134 - src/rules/graphql-eslint/input-name.d.ts | 59 - .../graphql-eslint/known-argument-names.d.ts | 25 - .../graphql-eslint/known-directives.d.ts | 47 - .../graphql-eslint/known-fragment-names.d.ts | 25 - .../graphql-eslint/known-type-names.d.ts | 25 - .../lone-anonymous-operation.d.ts | 25 - .../lone-executable-definition.d.ts | 58 - .../lone-schema-definition.d.ts | 25 - .../match-document-filename.d.ts | 67 - .../graphql-eslint/naming-convention.d.ts | 140 - .../no-anonymous-operations.d.ts | 22 - ...se-insensitive-enum-values-duplicates.d.ts | 22 - src/rules/graphql-eslint/no-deprecated.d.ts | 22 - .../graphql-eslint/no-duplicate-fields.d.ts | 22 - .../graphql-eslint/no-fragment-cycles.d.ts | 25 - .../no-hashtag-description.d.ts | 25 - .../no-one-place-fragments.d.ts | 22 - src/rules/graphql-eslint/no-root-type.d.ts | 43 - .../no-scalar-result-type-on-mutation.d.ts | 22 - .../graphql-eslint/no-typename-prefix.d.ts | 22 - .../no-undefined-variables.d.ts | 25 - .../graphql-eslint/no-unreachable-types.d.ts | 22 - .../graphql-eslint/no-unused-fields.d.ts | 22 - .../graphql-eslint/no-unused-fragments.d.ts | 25 - .../graphql-eslint/no-unused-variables.d.ts | 25 - .../one-field-subscriptions.d.ts | 25 - .../overlapping-fields-can-be-merged.d.ts | 25 - .../possible-fragment-spread.d.ts | 25 - .../possible-type-extension.d.ts | 25 - .../provided-required-arguments.d.ts | 25 - src/rules/graphql-eslint/relay-arguments.d.ts | 80 - .../relay-connection-types.d.ts | 37 - .../graphql-eslint/relay-edge-types.d.ts | 76 - src/rules/graphql-eslint/relay-page-info.d.ts | 34 - .../require-deprecation-date.d.ts | 42 - .../require-deprecation-reason.d.ts | 22 - .../graphql-eslint/require-description.d.ts | 99 - ...ield-of-type-query-in-mutation-result.d.ts | 25 - .../require-id-when-available.d.ts | 47 - .../require-import-fragment.d.ts | 22 - .../require-nullable-fields-with-oneof.d.ts | 22 - .../require-nullable-result-in-root.d.ts | 22 - .../require-type-pattern-with-oneof.d.ts | 22 - src/rules/graphql-eslint/scalar-leafs.d.ts | 25 - .../graphql-eslint/selection-set-depth.d.ts | 44 - .../graphql-eslint/strict-id-in-types.d.ts | 62 - .../graphql-eslint/unique-argument-names.d.ts | 25 - .../unique-directive-names-per-location.d.ts | 25 - .../unique-directive-names.d.ts | 25 - .../unique-enum-value-names.d.ts | 25 - .../unique-field-definition-names.d.ts | 25 - .../graphql-eslint/unique-fragment-name.d.ts | 22 - .../unique-input-field-names.d.ts | 25 - .../graphql-eslint/unique-operation-name.d.ts | 22 - .../unique-operation-types.d.ts | 25 - .../graphql-eslint/unique-type-names.d.ts | 25 - .../graphql-eslint/unique-variable-names.d.ts | 25 - .../value-literals-of-correct-type.d.ts | 25 - .../variables-are-input-types.d.ts | 25 - .../variables-in-allowed-position.d.ts | 25 - .../consistent-type-specifier-style.d.ts | 37 - src/rules/import/default.d.ts | 22 - .../import/dynamic-import-chunkname.d.ts | 37 - src/rules/import/export.d.ts | 22 - src/rules/import/exports-last.d.ts | 22 - src/rules/import/extensions.d.ts | 78 - src/rules/import/first.d.ts | 32 - src/rules/import/group-exports.d.ts | 22 - src/rules/import/imports-first.d.ts | 38 - src/rules/import/index.d.ts | 94 - src/rules/import/max-dependencies.d.ts | 35 - src/rules/import/named.d.ts | 34 - src/rules/import/namespace.d.ts | 37 - src/rules/import/newline-after-import.d.ts | 36 - src/rules/import/no-absolute-path.d.ts | 40 - src/rules/import/no-amd.d.ts | 22 - .../import/no-anonymous-default-export.d.ts | 66 - src/rules/import/no-commonjs.d.ts | 42 - src/rules/import/no-cycle.d.ts | 49 - src/rules/import/no-default-export.d.ts | 22 - src/rules/import/no-deprecated.d.ts | 22 - src/rules/import/no-duplicates.d.ts | 35 - src/rules/import/no-dynamic-require.d.ts | 34 - src/rules/import/no-empty-named-blocks.d.ts | 22 - .../import/no-extraneous-dependencies.d.ts | 41 - .../import/no-import-module-exports.d.ts | 32 - src/rules/import/no-internal-modules.d.ts | 38 - src/rules/import/no-mutable-exports.d.ts | 22 - .../import/no-named-as-default-member.d.ts | 22 - src/rules/import/no-named-as-default.d.ts | 22 - src/rules/import/no-named-default.d.ts | 22 - src/rules/import/no-named-export.d.ts | 22 - src/rules/import/no-namespace.d.ts | 35 - src/rules/import/no-nodejs-modules.d.ts | 34 - src/rules/import/no-relative-packages.d.ts | 41 - .../import/no-relative-parent-imports.d.ts | 41 - src/rules/import/no-restricted-paths.d.ts | 51 - src/rules/import/no-self-import.d.ts | 22 - src/rules/import/no-unassigned-import.d.ts | 38 - src/rules/import/no-unresolved.d.ts | 42 - src/rules/import/no-unused-modules.d.ts | 62 - .../import/no-useless-path-segments.d.ts | 36 - .../import/no-webpack-loader-syntax.d.ts | 22 - src/rules/import/order.d.ts | 64 - src/rules/import/prefer-default-export.d.ts | 35 - src/rules/import/unambiguous.d.ts | 22 - src/rules/index.d.ts | 44 - src/rules/jsdoc/check-access.d.ts | 22 - src/rules/jsdoc/check-alignment.d.ts | 22 - src/rules/jsdoc/check-examples.d.ts | 52 - src/rules/jsdoc/check-indentation.d.ts | 34 - src/rules/jsdoc/check-line-alignment.d.ts | 52 - src/rules/jsdoc/check-param-names.d.ts | 40 - src/rules/jsdoc/check-property-names.d.ts | 35 - src/rules/jsdoc/check-syntax.d.ts | 22 - src/rules/jsdoc/check-tag-names.d.ts | 37 - src/rules/jsdoc/check-types.d.ts | 39 - src/rules/jsdoc/check-values.d.ts | 37 - src/rules/jsdoc/empty-tags.d.ts | 34 - src/rules/jsdoc/implements-on-classes.d.ts | 41 - src/rules/jsdoc/imports-as-dependencies.d.ts | 22 - src/rules/jsdoc/index.d.ts | 110 - src/rules/jsdoc/informative-docs.d.ts | 40 - src/rules/jsdoc/match-description.d.ts | 61 - src/rules/jsdoc/match-name.d.ts | 42 - src/rules/jsdoc/multiline-blocks.d.ts | 41 - src/rules/jsdoc/no-bad-blocks.d.ts | 35 - .../jsdoc/no-blank-block-descriptions.d.ts | 22 - src/rules/jsdoc/no-blank-blocks.d.ts | 34 - src/rules/jsdoc/no-defaults.d.ts | 41 - src/rules/jsdoc/no-missing-syntax.d.ts | 42 - src/rules/jsdoc/no-multi-asterisks.d.ts | 33 - src/rules/jsdoc/no-restricted-syntax.d.ts | 42 - src/rules/jsdoc/no-types.d.ts | 40 - src/rules/jsdoc/no-undefined-types.d.ts | 36 - src/rules/jsdoc/require-asterisk-prefix.d.ts | 48 - ...require-description-complete-sentence.d.ts | 39 - src/rules/jsdoc/require-description.d.ts | 46 - src/rules/jsdoc/require-example.d.ts | 46 - src/rules/jsdoc/require-file-overview.d.ts | 43 - ...quire-hyphen-before-param-description.d.ts | 49 - src/rules/jsdoc/require-jsdoc.d.ts | 65 - .../jsdoc/require-param-description.d.ts | 43 - src/rules/jsdoc/require-param-name.d.ts | 40 - src/rules/jsdoc/require-param-type.d.ts | 42 - src/rules/jsdoc/require-param.d.ts | 54 - .../jsdoc/require-property-description.d.ts | 22 - src/rules/jsdoc/require-property-name.d.ts | 22 - src/rules/jsdoc/require-property-type.d.ts | 22 - src/rules/jsdoc/require-property.d.ts | 22 - src/rules/jsdoc/require-returns-check.d.ts | 37 - .../jsdoc/require-returns-description.d.ts | 43 - src/rules/jsdoc/require-returns-type.d.ts | 41 - src/rules/jsdoc/require-returns.d.ts | 55 - src/rules/jsdoc/require-throws.d.ts | 41 - src/rules/jsdoc/require-yields-check.d.ts | 44 - src/rules/jsdoc/require-yields.d.ts | 46 - src/rules/jsdoc/sort-tags.d.ts | 41 - src/rules/jsdoc/tag-lines.d.ts | 50 - src/rules/jsdoc/text-escaping.d.ts | 32 - src/rules/jsdoc/valid-types.d.ts | 34 - src/rules/jsonc/array-bracket-newline.d.ts | 38 - src/rules/jsonc/array-bracket-spacing.d.ts | 45 - src/rules/jsonc/array-element-newline.d.ts | 47 - src/rules/jsonc/auto.d.ts | 22 - src/rules/jsonc/comma-dangle.d.ts | 50 - src/rules/jsonc/comma-style.d.ts | 41 - src/rules/jsonc/indent.d.ts | 69 - src/rules/jsonc/index.d.ts | 92 - src/rules/jsonc/key-name-casing.d.ts | 39 - src/rules/jsonc/key-spacing.d.ts | 83 - src/rules/jsonc/no-bigint-literals.d.ts | 22 - src/rules/jsonc/no-binary-expression.d.ts | 22 - .../jsonc/no-binary-numeric-literals.d.ts | 22 - src/rules/jsonc/no-comments.d.ts | 22 - src/rules/jsonc/no-dupe-keys.d.ts | 22 - .../no-escape-sequence-in-identifier.d.ts | 22 - src/rules/jsonc/no-floating-decimal.d.ts | 22 - .../no-hexadecimal-numeric-literals.d.ts | 22 - src/rules/jsonc/no-infinity.d.ts | 22 - src/rules/jsonc/no-irregular-whitespace.d.ts | 39 - src/rules/jsonc/no-multi-str.d.ts | 22 - src/rules/jsonc/no-nan.d.ts | 22 - src/rules/jsonc/no-number-props.d.ts | 22 - src/rules/jsonc/no-numeric-separators.d.ts | 22 - src/rules/jsonc/no-octal-escape.d.ts | 22 - .../jsonc/no-octal-numeric-literals.d.ts | 22 - src/rules/jsonc/no-octal.d.ts | 22 - src/rules/jsonc/no-parenthesized.d.ts | 22 - src/rules/jsonc/no-plus-sign.d.ts | 22 - src/rules/jsonc/no-regexp-literals.d.ts | 22 - src/rules/jsonc/no-sparse-arrays.d.ts | 22 - src/rules/jsonc/no-template-literals.d.ts | 22 - src/rules/jsonc/no-undefined-value.d.ts | 22 - .../jsonc/no-unicode-codepoint-escapes.d.ts | 22 - src/rules/jsonc/no-useless-escape.d.ts | 22 - src/rules/jsonc/object-curly-newline.d.ts | 71 - src/rules/jsonc/object-curly-spacing.d.ts | 44 - src/rules/jsonc/object-property-newline.d.ts | 36 - src/rules/jsonc/quote-props.d.ts | 44 - src/rules/jsonc/quotes.d.ts | 42 - src/rules/jsonc/sort-array-values.d.ts | 78 - src/rules/jsonc/sort-keys.d.ts | 91 - src/rules/jsonc/space-unary-ops.d.ts | 38 - src/rules/jsonc/valid-json-number.d.ts | 22 - .../vue-custom-block/no-parsing-error.d.ts | 22 - src/rules/jsx-a11y/accessible-emoji.d.ts | 40 - src/rules/jsx-a11y/alt-text.d.ts | 39 - src/rules/jsx-a11y/anchor-ambiguous-text.d.ts | 36 - src/rules/jsx-a11y/anchor-has-content.d.ts | 35 - src/rules/jsx-a11y/anchor-is-valid.d.ts | 43 - .../aria-activedescendant-has-tabindex.d.ts | 37 - src/rules/jsx-a11y/aria-props.d.ts | 34 - src/rules/jsx-a11y/aria-proptypes.d.ts | 34 - src/rules/jsx-a11y/aria-role.d.ts | 36 - .../jsx-a11y/aria-unsupported-elements.d.ts | 35 - src/rules/jsx-a11y/autocomplete-valid.d.ts | 35 - .../click-events-have-key-events.d.ts | 35 - .../control-has-associated-label.d.ts | 45 - src/rules/jsx-a11y/heading-has-content.d.ts | 35 - src/rules/jsx-a11y/html-has-lang.d.ts | 34 - src/rules/jsx-a11y/iframe-has-title.d.ts | 34 - src/rules/jsx-a11y/img-redundant-alt.d.ts | 36 - src/rules/jsx-a11y/index.d.ts | 82 - .../jsx-a11y/interactive-supports-focus.d.ts | 74 - .../label-has-associated-control.d.ts | 48 - src/rules/jsx-a11y/label-has-for.d.ts | 58 - src/rules/jsx-a11y/lang.d.ts | 34 - src/rules/jsx-a11y/media-has-caption.d.ts | 37 - .../mouse-events-have-key-events.d.ts | 35 - src/rules/jsx-a11y/no-access-key.d.ts | 34 - .../jsx-a11y/no-aria-hidden-on-focusable.d.ts | 35 - src/rules/jsx-a11y/no-autofocus.d.ts | 35 - .../jsx-a11y/no-distracting-elements.d.ts | 39 - ...active-element-to-noninteractive-role.d.ts | 37 - ...o-noninteractive-element-interactions.d.ts | 38 - ...teractive-element-to-interactive-role.d.ts | 37 - .../jsx-a11y/no-noninteractive-tabindex.d.ts | 43 - src/rules/jsx-a11y/no-onchange.d.ts | 40 - src/rules/jsx-a11y/no-redundant-roles.d.ts | 34 - .../no-static-element-interactions.d.ts | 38 - src/rules/jsx-a11y/prefer-tag-over-role.d.ts | 34 - .../role-has-required-aria-props.d.ts | 35 - .../jsx-a11y/role-supports-aria-props.d.ts | 35 - src/rules/jsx-a11y/scope.d.ts | 34 - src/rules/jsx-a11y/tabindex-no-positive.d.ts | 35 - src/rules/mdx/index.d.ts | 6 - src/rules/mdx/remark.d.ts | 19 - src/rules/n/callback-return.d.ts | 32 - src/rules/n/exports-style.d.ts | 39 - src/rules/n/file-extension-in-import.d.ts | 43 - src/rules/n/global-require.d.ts | 22 - src/rules/n/handle-callback-err.d.ts | 32 - src/rules/n/index.d.ts | 82 - src/rules/n/no-callback-literal.d.ts | 22 - src/rules/n/no-deprecated-api.d.ts | 141 - src/rules/n/no-exports-assign.d.ts | 22 - src/rules/n/no-extraneous-import.d.ts | 71 - src/rules/n/no-extraneous-require.d.ts | 72 - src/rules/n/no-hide-core-modules.d.ts | 72 - src/rules/n/no-missing-import.d.ts | 39 - src/rules/n/no-missing-require.d.ts | 40 - src/rules/n/no-mixed-requires.d.ts | 37 - src/rules/n/no-new-require.d.ts | 22 - src/rules/n/no-path-concat.d.ts | 22 - src/rules/n/no-process-env.d.ts | 22 - src/rules/n/no-process-exit.d.ts | 22 - src/rules/n/no-restricted-import.d.ts | 39 - src/rules/n/no-restricted-require.d.ts | 39 - src/rules/n/no-sync.d.ts | 34 - src/rules/n/no-unpublished-bin.d.ts | 69 - src/rules/n/no-unpublished-import.d.ts | 72 - src/rules/n/no-unpublished-require.d.ts | 72 - src/rules/n/no-unsupported-features.d.ts | 182 - .../no-unsupported-features/es-builtins.d.ts | 102 - .../n/no-unsupported-features/es-syntax.d.ts | 76 - .../node-builtins.d.ts | 211 - src/rules/n/prefer-global/buffer.d.ts | 33 - src/rules/n/prefer-global/console.d.ts | 33 - src/rules/n/prefer-global/process.d.ts | 33 - src/rules/n/prefer-global/text-decoder.d.ts | 33 - src/rules/n/prefer-global/text-encoder.d.ts | 33 - .../n/prefer-global/url-search-params.d.ts | 35 - src/rules/n/prefer-global/url.d.ts | 32 - src/rules/n/prefer-promises/dns.d.ts | 22 - src/rules/n/prefer-promises/fs.d.ts | 22 - src/rules/n/process-exit-as-throw.d.ts | 22 - src/rules/n/shebang.d.ts | 68 - src/rules/node/callback-return.d.ts | 32 - src/rules/node/exports-style.d.ts | 39 - src/rules/node/file-extension-in-import.d.ts | 44 - src/rules/node/global-require.d.ts | 22 - src/rules/node/handle-callback-err.d.ts | 32 - src/rules/node/index.d.ts | 82 - src/rules/node/no-callback-literal.d.ts | 22 - src/rules/node/no-deprecated-api.d.ts | 141 - src/rules/node/no-exports-assign.d.ts | 22 - src/rules/node/no-extraneous-import.d.ts | 72 - src/rules/node/no-extraneous-require.d.ts | 72 - src/rules/node/no-hide-core-modules.d.ts | 72 - src/rules/node/no-missing-import.d.ts | 36 - src/rules/node/no-missing-require.d.ts | 36 - src/rules/node/no-mixed-requires.d.ts | 37 - src/rules/node/no-new-require.d.ts | 22 - src/rules/node/no-path-concat.d.ts | 22 - src/rules/node/no-process-env.d.ts | 22 - src/rules/node/no-process-exit.d.ts | 22 - src/rules/node/no-restricted-import.d.ts | 39 - src/rules/node/no-restricted-require.d.ts | 39 - src/rules/node/no-sync.d.ts | 34 - src/rules/node/no-unpublished-bin.d.ts | 69 - src/rules/node/no-unpublished-import.d.ts | 72 - src/rules/node/no-unpublished-require.d.ts | 72 - src/rules/node/no-unsupported-features.d.ts | 182 - .../no-unsupported-features/es-builtins.d.ts | 102 - .../no-unsupported-features/es-syntax.d.ts | 74 - .../node-builtins.d.ts | 195 - src/rules/node/prefer-global/buffer.d.ts | 33 - src/rules/node/prefer-global/console.d.ts | 33 - src/rules/node/prefer-global/process.d.ts | 33 - .../node/prefer-global/text-decoder.d.ts | 33 - .../node/prefer-global/text-encoder.d.ts | 33 - .../node/prefer-global/url-search-params.d.ts | 35 - src/rules/node/prefer-global/url.d.ts | 32 - src/rules/node/prefer-promises/dns.d.ts | 22 - src/rules/node/prefer-promises/fs.d.ts | 22 - src/rules/node/process-exit-as-throw.d.ts | 22 - src/rules/node/shebang.d.ts | 68 - src/rules/promise/always-return.d.ts | 31 - src/rules/promise/avoid-new.d.ts | 19 - src/rules/promise/catch-or-return.d.ts | 33 - src/rules/promise/index.d.ts | 34 - src/rules/promise/no-callback-in-promise.d.ts | 32 - src/rules/promise/no-multiple-resolved.d.ts | 19 - src/rules/promise/no-native.d.ts | 19 - src/rules/promise/no-nesting.d.ts | 19 - src/rules/promise/no-new-statics.d.ts | 19 - src/rules/promise/no-promise-in-callback.d.ts | 19 - src/rules/promise/no-return-in-finally.d.ts | 19 - src/rules/promise/no-return-wrap.d.ts | 31 - src/rules/promise/param-names.d.ts | 32 - .../promise/prefer-await-to-callbacks.d.ts | 19 - src/rules/promise/prefer-await-to-then.d.ts | 19 - src/rules/promise/valid-params.d.ts | 22 - src/rules/react-hooks/exhaustive-deps.d.ts | 35 - src/rules/react-hooks/index.d.ts | 7 - src/rules/react-hooks/rules-of-hooks.d.ts | 22 - src/rules/react/boolean-prop-naming.d.ts | 40 - src/rules/react/button-has-type.d.ts | 36 - .../react/default-props-match-prop-types.d.ts | 37 - src/rules/react/destructuring-assignment.d.ts | 44 - src/rules/react/display-name.d.ts | 35 - src/rules/react/forbid-component-props.d.ts | 51 - src/rules/react/forbid-dom-props.d.ts | 42 - src/rules/react/forbid-elements.d.ts | 40 - .../react/forbid-foreign-prop-types.d.ts | 35 - src/rules/react/forbid-prop-types.d.ts | 37 - .../react/function-component-definition.d.ts | 43 - src/rules/react/hook-use-state.d.ts | 34 - src/rules/react/iframe-missing-sandbox.d.ts | 22 - src/rules/react/index.d.ts | 204 - src/rules/react/jsx-boolean-value.d.ts | 50 - .../react/jsx-child-element-spacing.d.ts | 22 - .../react/jsx-closing-bracket-location.d.ts | 57 - src/rules/react/jsx-closing-tag-location.d.ts | 22 - src/rules/react/jsx-curly-brace-presence.d.ts | 39 - src/rules/react/jsx-curly-newline.d.ts | 37 - src/rules/react/jsx-curly-spacing.d.ts | 69 - src/rules/react/jsx-equals-spacing.d.ts | 32 - src/rules/react/jsx-filename-extension.d.ts | 36 - src/rules/react/jsx-first-prop-new-line.d.ts | 38 - src/rules/react/jsx-fragments.d.ts | 32 - src/rules/react/jsx-handler-names.d.ts | 56 - src/rules/react/jsx-indent-props.d.ts | 39 - src/rules/react/jsx-indent.d.ts | 40 - src/rules/react/jsx-key.d.ts | 36 - src/rules/react/jsx-max-depth.d.ts | 34 - src/rules/react/jsx-max-props-per-line.d.ts | 44 - src/rules/react/jsx-newline.d.ts | 35 - src/rules/react/jsx-no-bind.d.ts | 38 - src/rules/react/jsx-no-comment-textnodes.d.ts | 22 - .../jsx-no-constructed-context-values.d.ts | 28 - src/rules/react/jsx-no-duplicate-props.d.ts | 35 - src/rules/react/jsx-no-leaked-render.d.ts | 34 - src/rules/react/jsx-no-literals.d.ts | 37 - src/rules/react/jsx-no-script-url.d.ts | 35 - src/rules/react/jsx-no-target-blank.d.ts | 38 - src/rules/react/jsx-no-undef.d.ts | 34 - src/rules/react/jsx-no-useless-fragment.d.ts | 36 - .../react/jsx-one-expression-per-line.d.ts | 35 - src/rules/react/jsx-pascal-case.d.ts | 40 - .../react/jsx-props-no-multi-spaces.d.ts | 22 - src/rules/react/jsx-props-no-spreading.d.ts | 38 - src/rules/react/jsx-sort-default-props.d.ts | 41 - src/rules/react/jsx-sort-props.d.ts | 41 - src/rules/react/jsx-space-before-closing.d.ts | 39 - src/rules/react/jsx-tag-spacing.d.ts | 37 - src/rules/react/jsx-uses-react.d.ts | 22 - src/rules/react/jsx-uses-vars.d.ts | 22 - src/rules/react/jsx-wrap-multilines.d.ts | 40 - .../react/no-access-state-in-setstate.d.ts | 22 - .../react/no-adjacent-inline-elements.d.ts | 22 - src/rules/react/no-array-index-key.d.ts | 22 - .../react/no-arrow-function-lifecycle.d.ts | 22 - src/rules/react/no-children-prop.d.ts | 34 - src/rules/react/no-danger-with-children.d.ts | 22 - src/rules/react/no-danger.d.ts | 22 - src/rules/react/no-deprecated.d.ts | 22 - src/rules/react/no-did-mount-set-state.d.ts | 33 - src/rules/react/no-did-update-set-state.d.ts | 33 - src/rules/react/no-direct-mutation-state.d.ts | 22 - src/rules/react/no-find-dom-node.d.ts | 22 - .../react/no-invalid-html-attribute.d.ts | 33 - src/rules/react/no-is-mounted.d.ts | 22 - src/rules/react/no-multi-comp.d.ts | 34 - src/rules/react/no-namespace.d.ts | 22 - .../react/no-object-type-as-default-prop.d.ts | 22 - .../no-redundant-should-component-update.d.ts | 22 - src/rules/react/no-render-return-value.d.ts | 22 - src/rules/react/no-set-state.d.ts | 22 - src/rules/react/no-string-refs.d.ts | 34 - src/rules/react/no-this-in-sfc.d.ts | 22 - src/rules/react/no-typos.d.ts | 22 - src/rules/react/no-unescaped-entities.d.ts | 42 - src/rules/react/no-unknown-property.d.ts | 34 - src/rules/react/no-unsafe.d.ts | 34 - .../react/no-unstable-nested-components.d.ts | 38 - .../no-unused-class-component-methods.d.ts | 22 - src/rules/react/no-unused-prop-types.d.ts | 36 - src/rules/react/no-unused-state.d.ts | 22 - src/rules/react/no-will-update-set-state.d.ts | 33 - src/rules/react/prefer-es6-class.d.ts | 32 - src/rules/react/prefer-exact-props.d.ts | 22 - src/rules/react/prefer-read-only-props.d.ts | 22 - .../react/prefer-stateless-function.d.ts | 35 - src/rules/react/prop-types.d.ts | 36 - src/rules/react/react-in-jsx-scope.d.ts | 22 - src/rules/react/require-default-props.d.ts | 38 - src/rules/react/require-optimization.d.ts | 35 - src/rules/react/require-render-return.d.ts | 22 - src/rules/react/self-closing-comp.d.ts | 35 - src/rules/react/sort-comp.d.ts | 39 - src/rules/react/sort-default-props.d.ts | 34 - src/rules/react/sort-prop-types.d.ts | 38 - src/rules/react/state-in-constructor.d.ts | 33 - .../react/static-property-placement.d.ts | 60 - src/rules/react/style-prop-object.d.ts | 35 - .../react/void-dom-elements-no-children.d.ts | 22 - src/rules/rule-config.d.ts | 16 +- src/rules/sonarjs/cognitive-complexity.d.ts | 41 - src/rules/sonarjs/elseif-without-else.d.ts | 22 - src/rules/sonarjs/index.d.ts | 68 - src/rules/sonarjs/max-switch-cases.d.ts | 32 - .../sonarjs/no-all-duplicated-branches.d.ts | 22 - src/rules/sonarjs/no-collapsible-if.d.ts | 32 - .../sonarjs/no-collection-size-mischeck.d.ts | 22 - src/rules/sonarjs/no-duplicate-string.d.ts | 44 - src/rules/sonarjs/no-duplicated-branches.d.ts | 33 - src/rules/sonarjs/no-element-overwrite.d.ts | 33 - src/rules/sonarjs/no-empty-collection.d.ts | 22 - src/rules/sonarjs/no-extra-arguments.d.ts | 32 - .../sonarjs/no-gratuitous-expressions.d.ts | 33 - .../sonarjs/no-identical-conditions.d.ts | 33 - .../sonarjs/no-identical-expressions.d.ts | 33 - src/rules/sonarjs/no-identical-functions.d.ts | 41 - src/rules/sonarjs/no-ignored-return.d.ts | 22 - .../sonarjs/no-inverted-boolean-check.d.ts | 22 - src/rules/sonarjs/no-nested-switch.d.ts | 22 - .../sonarjs/no-nested-template-literals.d.ts | 22 - src/rules/sonarjs/no-one-iteration-loop.d.ts | 22 - src/rules/sonarjs/no-redundant-boolean.d.ts | 22 - src/rules/sonarjs/no-redundant-jump.d.ts | 22 - .../sonarjs/no-same-line-conditional.d.ts | 33 - src/rules/sonarjs/no-small-switch.d.ts | 22 - src/rules/sonarjs/no-unused-collection.d.ts | 22 - .../sonarjs/no-use-of-empty-return-value.d.ts | 22 - src/rules/sonarjs/no-useless-catch.d.ts | 22 - src/rules/sonarjs/non-existent-operator.d.ts | 22 - .../sonarjs/prefer-immediate-return.d.ts | 22 - src/rules/sonarjs/prefer-object-literal.d.ts | 22 - .../sonarjs/prefer-single-boolean-return.d.ts | 22 - src/rules/sonarjs/prefer-while.d.ts | 22 - src/rules/spellcheck/index.d.ts | 6 - src/rules/spellcheck/spell-checker.d.ts | 42 - .../testing-library/await-async-events.d.ts | 34 - .../testing-library/await-async-queries.d.ts | 22 - .../testing-library/await-async-utils.d.ts | 22 - .../consistent-data-testid.d.ts | 37 - src/rules/testing-library/index.d.ts | 56 - .../testing-library/no-await-sync-events.d.ts | 40 - .../no-await-sync-queries.d.ts | 22 - src/rules/testing-library/no-container.d.ts | 22 - .../testing-library/no-debugging-utils.d.ts | 41 - src/rules/testing-library/no-dom-import.d.ts | 32 - .../no-global-regexp-flag-in-query.d.ts | 22 - .../testing-library/no-manual-cleanup.d.ts | 22 - src/rules/testing-library/no-node-access.d.ts | 35 - .../no-promise-in-fire-event.d.ts | 22 - .../no-render-in-lifecycle.d.ts | 36 - .../testing-library/no-unnecessary-act.d.ts | 35 - .../no-wait-for-multiple-assertions.d.ts | 22 - .../no-wait-for-side-effects.d.ts | 22 - .../testing-library/no-wait-for-snapshot.d.ts | 22 - .../prefer-explicit-assert.d.ts | 36 - src/rules/testing-library/prefer-find-by.d.ts | 22 - .../prefer-presence-queries.d.ts | 36 - .../prefer-query-by-disappearance.d.ts | 22 - .../prefer-query-matchers.d.ts | 39 - .../prefer-screen-queries.d.ts | 22 - .../testing-library/prefer-user-event.d.ts | 35 - .../render-result-naming-convention.d.ts | 22 - .../adjacent-overload-signatures.d.ts | 22 - src/rules/typescript-eslint/array-type.d.ts | 41 - .../typescript-eslint/await-thenable.d.ts | 22 - .../typescript-eslint/ban-ts-comment.d.ts | 45 - .../typescript-eslint/ban-tslint-comment.d.ts | 22 - src/rules/typescript-eslint/ban-types.d.ts | 57 - .../typescript-eslint/block-spacing.d.ts | 32 - src/rules/typescript-eslint/brace-style.d.ts | 39 - .../class-literal-property-style.d.ts | 35 - .../class-methods-use-this.d.ts | 50 - src/rules/typescript-eslint/comma-dangle.d.ts | 53 - .../typescript-eslint/comma-spacing.d.ts | 35 - .../consistent-generic-constructors.d.ts | 37 - .../consistent-indexed-object-style.d.ts | 35 - .../consistent-type-assertions.d.ts | 40 - .../consistent-type-definitions.d.ts | 35 - .../consistent-type-exports.d.ts | 35 - .../consistent-type-imports.d.ts | 37 - .../typescript-eslint/default-param-last.d.ts | 22 - src/rules/typescript-eslint/dot-notation.d.ts | 38 - .../explicit-function-return-type.d.ts | 68 - .../explicit-member-accessibility.d.ts | 47 - .../explicit-module-boundary-types.d.ts | 58 - .../typescript-eslint/func-call-spacing.d.ts | 42 - src/rules/typescript-eslint/indent.d.ts | 69 - src/rules/typescript-eslint/index.d.ts | 270 -- .../typescript-eslint/init-declarations.d.ts | 42 - src/rules/typescript-eslint/key-spacing.d.ts | 83 - .../typescript-eslint/keyword-spacing.d.ts | 313 -- .../lines-around-comment.d.ts | 56 - .../lines-between-class-members.d.ts | 62 - .../member-delimiter-style.d.ts | 60 - .../typescript-eslint/member-ordering.d.ts | 201 - .../method-signature-style.d.ts | 33 - .../typescript-eslint/naming-convention.d.ts | 480 -- .../no-array-constructor.d.ts | 22 - .../typescript-eslint/no-base-to-string.d.ts | 34 - .../no-confusing-non-null-assertion.d.ts | 22 - .../no-confusing-void-expression.d.ts | 38 - .../no-dupe-class-members.d.ts | 22 - .../no-duplicate-enum-values.d.ts | 22 - .../no-duplicate-type-constituents.d.ts | 38 - .../typescript-eslint/no-dynamic-delete.d.ts | 22 - .../typescript-eslint/no-empty-function.d.ts | 49 - .../typescript-eslint/no-empty-interface.d.ts | 34 - .../typescript-eslint/no-explicit-any.d.ts | 41 - .../no-extra-non-null-assertion.d.ts | 22 - .../typescript-eslint/no-extra-parens.d.ts | 51 - .../typescript-eslint/no-extra-semi.d.ts | 22 - .../no-extraneous-class.d.ts | 49 - .../no-floating-promises.d.ts | 42 - .../typescript-eslint/no-for-in-array.d.ts | 22 - .../typescript-eslint/no-implied-eval.d.ts | 22 - .../no-import-type-side-effects.d.ts | 22 - .../no-inferrable-types.d.ts | 35 - .../typescript-eslint/no-invalid-this.d.ts | 34 - .../no-invalid-void-type.d.ts | 35 - src/rules/typescript-eslint/no-loop-func.d.ts | 22 - .../no-loss-of-precision.d.ts | 22 - .../typescript-eslint/no-magic-numbers.d.ts | 43 - .../no-meaningless-void-operator.d.ts | 37 - .../typescript-eslint/no-misused-new.d.ts | 22 - .../no-misused-promises.d.ts | 44 - .../typescript-eslint/no-mixed-enums.d.ts | 22 - src/rules/typescript-eslint/no-namespace.d.ts | 41 - ...-non-null-asserted-nullish-coalescing.d.ts | 22 - .../no-non-null-asserted-optional-chain.d.ts | 22 - .../no-non-null-assertion.d.ts | 22 - src/rules/typescript-eslint/no-redeclare.d.ts | 35 - .../no-redundant-type-constituents.d.ts | 22 - .../typescript-eslint/no-require-imports.d.ts | 22 - .../no-restricted-imports.d.ts | 80 - src/rules/typescript-eslint/no-shadow.d.ts | 39 - .../typescript-eslint/no-this-alias.d.ts | 41 - .../typescript-eslint/no-throw-literal.d.ts | 35 - .../typescript-eslint/no-type-alias.d.ts | 91 - ...o-unnecessary-boolean-literal-compare.d.ts | 44 - .../no-unnecessary-condition.d.ts | 42 - .../no-unnecessary-qualifier.d.ts | 22 - .../no-unnecessary-type-arguments.d.ts | 22 - .../no-unnecessary-type-assertion.d.ts | 40 - .../no-unnecessary-type-constraint.d.ts | 22 - .../typescript-eslint/no-unsafe-argument.d.ts | 22 - .../no-unsafe-assignment.d.ts | 22 - .../typescript-eslint/no-unsafe-call.d.ts | 22 - .../no-unsafe-declaration-merging.d.ts | 22 - .../no-unsafe-enum-comparison.d.ts | 22 - .../no-unsafe-member-access.d.ts | 22 - .../typescript-eslint/no-unsafe-return.d.ts | 22 - .../no-unused-expressions.d.ts | 38 - .../typescript-eslint/no-unused-vars.d.ts | 43 - .../no-use-before-define.d.ts | 42 - .../no-useless-constructor.d.ts | 22 - .../no-useless-empty-export.d.ts | 22 - .../typescript-eslint/no-var-requires.d.ts | 22 - .../non-nullable-type-assertion-style.d.ts | 22 - .../object-curly-spacing.d.ts | 44 - .../padding-line-between-statements.d.ts | 168 - .../parameter-properties.d.ts | 45 - .../typescript-eslint/prefer-as-const.d.ts | 22 - .../prefer-enum-initializers.d.ts | 22 - .../typescript-eslint/prefer-for-of.d.ts | 22 - .../prefer-function-type.d.ts | 22 - .../typescript-eslint/prefer-includes.d.ts | 22 - .../prefer-literal-enum-member.d.ts | 35 - .../prefer-namespace-keyword.d.ts | 22 - .../prefer-nullish-coalescing.d.ts | 47 - .../prefer-optional-chain.d.ts | 66 - .../prefer-readonly-parameter-types.d.ts | 56 - .../typescript-eslint/prefer-readonly.d.ts | 34 - .../prefer-reduce-type-parameter.d.ts | 22 - .../typescript-eslint/prefer-regexp-exec.d.ts | 22 - .../prefer-return-this-type.d.ts | 22 - .../prefer-string-starts-ends-with.d.ts | 22 - .../prefer-ts-expect-error.d.ts | 22 - .../promise-function-async.d.ts | 46 - src/rules/typescript-eslint/quotes.d.ts | 42 - .../require-array-sort-compare.d.ts | 38 - .../typescript-eslint/require-await.d.ts | 22 - .../restrict-plus-operands.d.ts | 58 - .../restrict-template-expressions.d.ts | 60 - src/rules/typescript-eslint/return-await.d.ts | 32 - src/rules/typescript-eslint/semi.d.ts | 49 - .../sort-type-constituents.d.ts | 59 - .../space-before-blocks.d.ts | 38 - .../space-before-function-paren.d.ts | 39 - .../typescript-eslint/space-infix-ops.d.ts | 34 - .../strict-boolean-expressions.d.ts | 43 - .../switch-exhaustiveness-check.d.ts | 22 - .../triple-slash-reference.d.ts | 37 - .../type-annotation-spacing.d.ts | 48 - src/rules/typescript-eslint/typedef.d.ts | 41 - .../typescript-eslint/unbound-method.d.ts | 37 - .../typescript-eslint/unified-signatures.d.ts | 37 - src/rules/unicorn/better-regex.d.ts | 34 - src/rules/unicorn/catch-error-name.d.ts | 35 - .../unicorn/consistent-destructuring.d.ts | 22 - .../unicorn/consistent-function-scoping.d.ts | 37 - .../unicorn/custom-error-definition.d.ts | 22 - src/rules/unicorn/empty-brace-spaces.d.ts | 22 - src/rules/unicorn/error-message.d.ts | 22 - src/rules/unicorn/escape-case.d.ts | 22 - src/rules/unicorn/expiring-todo-comments.d.ts | 39 - src/rules/unicorn/explicit-length-check.d.ts | 35 - src/rules/unicorn/filename-case.d.ts | 45 - src/rules/unicorn/import-index.d.ts | 25 - src/rules/unicorn/import-style.d.ts | 51 - src/rules/unicorn/index.d.ts | 256 - src/rules/unicorn/new-for-builtins.d.ts | 22 - .../unicorn/no-abusive-eslint-disable.d.ts | 22 - .../unicorn/no-array-callback-reference.d.ts | 22 - src/rules/unicorn/no-array-for-each.d.ts | 22 - src/rules/unicorn/no-array-instanceof.d.ts | 25 - .../no-array-method-this-argument.d.ts | 22 - src/rules/unicorn/no-array-push-push.d.ts | 34 - src/rules/unicorn/no-array-reduce.d.ts | 34 - .../unicorn/no-await-expression-member.d.ts | 22 - src/rules/unicorn/no-console-spaces.d.ts | 22 - src/rules/unicorn/no-document-cookie.d.ts | 22 - src/rules/unicorn/no-empty-file.d.ts | 22 - .../unicorn/no-fn-reference-in-iterator.d.ts | 25 - src/rules/unicorn/no-for-loop.d.ts | 22 - src/rules/unicorn/no-hex-escape.d.ts | 22 - src/rules/unicorn/no-instanceof-array.d.ts | 22 - .../no-invalid-remove-event-listener.d.ts | 22 - src/rules/unicorn/no-keyword-prefix.d.ts | 39 - src/rules/unicorn/no-lonely-if.d.ts | 22 - src/rules/unicorn/no-negated-condition.d.ts | 22 - src/rules/unicorn/no-nested-ternary.d.ts | 22 - src/rules/unicorn/no-new-array.d.ts | 22 - src/rules/unicorn/no-new-buffer.d.ts | 22 - src/rules/unicorn/no-null.d.ts | 34 - .../no-object-as-default-parameter.d.ts | 22 - src/rules/unicorn/no-process-exit.d.ts | 22 - src/rules/unicorn/no-reduce.d.ts | 25 - src/rules/unicorn/no-static-only-class.d.ts | 22 - src/rules/unicorn/no-thenable.d.ts | 22 - src/rules/unicorn/no-this-assignment.d.ts | 22 - src/rules/unicorn/no-typeof-undefined.d.ts | 34 - src/rules/unicorn/no-unnecessary-await.d.ts | 22 - .../no-unreadable-array-destructuring.d.ts | 22 - src/rules/unicorn/no-unreadable-iife.d.ts | 22 - src/rules/unicorn/no-unsafe-regex.d.ts | 25 - src/rules/unicorn/no-unused-properties.d.ts | 22 - .../no-useless-fallback-in-spread.d.ts | 22 - .../unicorn/no-useless-length-check.d.ts | 22 - .../no-useless-promise-resolve-reject.d.ts | 22 - src/rules/unicorn/no-useless-spread.d.ts | 22 - src/rules/unicorn/no-useless-switch-case.d.ts | 22 - src/rules/unicorn/no-useless-undefined.d.ts | 35 - src/rules/unicorn/no-zero-fractions.d.ts | 22 - src/rules/unicorn/number-literal-case.d.ts | 22 - .../unicorn/numeric-separators-style.d.ts | 55 - .../unicorn/prefer-add-event-listener.d.ts | 35 - src/rules/unicorn/prefer-array-find.d.ts | 34 - src/rules/unicorn/prefer-array-flat-map.d.ts | 22 - src/rules/unicorn/prefer-array-flat.d.ts | 34 - src/rules/unicorn/prefer-array-index-of.d.ts | 22 - src/rules/unicorn/prefer-array-some.d.ts | 22 - src/rules/unicorn/prefer-at.d.ts | 35 - .../unicorn/prefer-blob-reading-methods.d.ts | 22 - src/rules/unicorn/prefer-code-point.d.ts | 22 - src/rules/unicorn/prefer-dataset.d.ts | 25 - src/rules/unicorn/prefer-date-now.d.ts | 22 - .../unicorn/prefer-default-parameters.d.ts | 22 - src/rules/unicorn/prefer-dom-node-append.d.ts | 22 - .../unicorn/prefer-dom-node-dataset.d.ts | 22 - src/rules/unicorn/prefer-dom-node-remove.d.ts | 22 - .../unicorn/prefer-dom-node-text-content.d.ts | 22 - src/rules/unicorn/prefer-event-key.d.ts | 25 - src/rules/unicorn/prefer-event-target.d.ts | 22 - .../prefer-exponentiation-operator.d.ts | 25 - src/rules/unicorn/prefer-export-from.d.ts | 34 - src/rules/unicorn/prefer-flat-map.d.ts | 25 - src/rules/unicorn/prefer-includes.d.ts | 22 - .../unicorn/prefer-json-parse-buffer.d.ts | 22 - .../unicorn/prefer-keyboard-event-key.d.ts | 22 - .../prefer-logical-operator-over-ternary.d.ts | 22 - src/rules/unicorn/prefer-math-trunc.d.ts | 22 - src/rules/unicorn/prefer-modern-dom-apis.d.ts | 22 - .../unicorn/prefer-modern-math-apis.d.ts | 22 - src/rules/unicorn/prefer-module.d.ts | 22 - .../prefer-native-coercion-functions.d.ts | 22 - src/rules/unicorn/prefer-negative-index.d.ts | 22 - src/rules/unicorn/prefer-node-append.d.ts | 25 - src/rules/unicorn/prefer-node-protocol.d.ts | 22 - src/rules/unicorn/prefer-node-remove.d.ts | 25 - .../unicorn/prefer-number-properties.d.ts | 35 - .../unicorn/prefer-object-from-entries.d.ts | 35 - src/rules/unicorn/prefer-object-has-own.d.ts | 25 - .../prefer-optional-catch-binding.d.ts | 22 - .../unicorn/prefer-prototype-methods.d.ts | 22 - src/rules/unicorn/prefer-query-selector.d.ts | 22 - src/rules/unicorn/prefer-reflect-apply.d.ts | 22 - src/rules/unicorn/prefer-regexp-test.d.ts | 22 - src/rules/unicorn/prefer-replace-all.d.ts | 25 - src/rules/unicorn/prefer-set-has.d.ts | 22 - src/rules/unicorn/prefer-set-size.d.ts | 22 - src/rules/unicorn/prefer-spread.d.ts | 22 - .../unicorn/prefer-starts-ends-with.d.ts | 25 - .../unicorn/prefer-string-replace-all.d.ts | 22 - src/rules/unicorn/prefer-string-slice.d.ts | 22 - .../prefer-string-starts-ends-with.d.ts | 22 - .../unicorn/prefer-string-trim-start-end.d.ts | 22 - src/rules/unicorn/prefer-switch.d.ts | 38 - src/rules/unicorn/prefer-ternary.d.ts | 32 - src/rules/unicorn/prefer-text-content.d.ts | 25 - src/rules/unicorn/prefer-top-level-await.d.ts | 22 - src/rules/unicorn/prefer-trim-start-end.d.ts | 25 - src/rules/unicorn/prefer-type-error.d.ts | 22 - src/rules/unicorn/prevent-abbreviations.d.ts | 57 - src/rules/unicorn/regex-shorthand.d.ts | 25 - src/rules/unicorn/relative-url-style.d.ts | 32 - .../unicorn/require-array-join-separator.d.ts | 22 - ...quire-number-to-fixed-digits-argument.d.ts | 22 - .../require-post-message-target-origin.d.ts | 22 - src/rules/unicorn/string-content.d.ts | 42 - src/rules/unicorn/switch-case-braces.d.ts | 32 - src/rules/unicorn/template-indent.d.ts | 38 - .../text-encoding-identifier-case.d.ts | 22 - src/rules/unicorn/throw-new-error.d.ts | 22 - .../vitest/consistent-test-filename.d.ts | 36 - src/rules/vitest/consistent-test-it.d.ts | 35 - src/rules/vitest/expect-expect.d.ts | 34 - src/rules/vitest/index.d.ts | 102 - src/rules/vitest/max-expects.d.ts | 34 - src/rules/vitest/max-nested-describe.d.ts | 34 - src/rules/vitest/no-alias-methods.d.ts | 22 - src/rules/vitest/no-commented-out-tests.d.ts | 22 - src/rules/vitest/no-conditional-expect.d.ts | 22 - src/rules/vitest/no-conditional-in-test.d.ts | 22 - src/rules/vitest/no-conditional-tests.d.ts | 22 - src/rules/vitest/no-disabled-tests.d.ts | 22 - src/rules/vitest/no-done-callback.d.ts | 22 - src/rules/vitest/no-duplicate-hooks.d.ts | 22 - src/rules/vitest/no-focused-tests.d.ts | 22 - src/rules/vitest/no-hooks.d.ts | 34 - src/rules/vitest/no-identical-title.d.ts | 22 - .../vitest/no-interpolation-in-snapshots.d.ts | 22 - src/rules/vitest/no-large-snapshots.d.ts | 38 - src/rules/vitest/no-mocks-import.d.ts | 22 - src/rules/vitest/no-restricted-matchers.d.ts | 35 - .../vitest/no-restricted-vi-methods.d.ts | 35 - src/rules/vitest/no-standalone-expect.d.ts | 35 - src/rules/vitest/no-test-prefixes.d.ts | 22 - .../vitest/no-test-return-statement.d.ts | 22 - src/rules/vitest/prefer-called-with.d.ts | 22 - .../vitest/prefer-comparison-matcher.d.ts | 22 - src/rules/vitest/prefer-each.d.ts | 22 - src/rules/vitest/prefer-equality-matcher.d.ts | 22 - src/rules/vitest/prefer-expect-resolves.d.ts | 22 - src/rules/vitest/prefer-hooks-in-order.d.ts | 22 - src/rules/vitest/prefer-hooks-on-top.d.ts | 22 - src/rules/vitest/prefer-lowercase-title.d.ts | 38 - .../vitest/prefer-mock-promise-shorthand.d.ts | 22 - src/rules/vitest/prefer-snapshot-hint.d.ts | 33 - src/rules/vitest/prefer-spy-on.d.ts | 22 - src/rules/vitest/prefer-strict-equal.d.ts | 22 - src/rules/vitest/prefer-to-be-falsy.d.ts | 22 - src/rules/vitest/prefer-to-be-object.d.ts | 22 - src/rules/vitest/prefer-to-be-truthy.d.ts | 22 - src/rules/vitest/prefer-to-be.d.ts | 22 - src/rules/vitest/prefer-to-contain.d.ts | 22 - src/rules/vitest/prefer-to-have-length.d.ts | 22 - src/rules/vitest/prefer-todo.d.ts | 22 - src/rules/vitest/require-hook.d.ts | 34 - .../vitest/require-to-throw-message.d.ts | 22 - .../vitest/require-top-level-describe.d.ts | 35 - src/rules/vitest/valid-describe-callback.d.ts | 22 - src/rules/vitest/valid-expect.d.ts | 37 - src/rules/vitest/valid-title.d.ts | 37 - src/rules/vue-i18n/index.d.ts | 40 - src/rules/vue-i18n/key-format-style.d.ts | 47 - .../no-deprecated-i18n-component.d.ts | 22 - .../no-deprecated-i18n-place-attr.d.ts | 22 - .../no-deprecated-i18n-places-prop.d.ts | 22 - .../vue-i18n/no-duplicate-keys-in-locale.d.ts | 35 - src/rules/vue-i18n/no-dynamic-keys.d.ts | 22 - src/rules/vue-i18n/no-html-messages.d.ts | 22 - src/rules/vue-i18n/no-i18n-t-path-prop.d.ts | 22 - .../no-missing-keys-in-other-locales.d.ts | 37 - src/rules/vue-i18n/no-missing-keys.d.ts | 22 - src/rules/vue-i18n/no-raw-text.d.ts | 42 - src/rules/vue-i18n/no-unknown-locale.d.ts | 35 - src/rules/vue-i18n/no-unused-keys.d.ts | 37 - src/rules/vue-i18n/no-v-html.d.ts | 22 - .../prefer-linked-key-with-paren.d.ts | 22 - src/rules/vue-i18n/prefer-sfc-lang-attr.d.ts | 22 - src/rules/vue-i18n/sfc-locale-attr.d.ts | 32 - src/rules/vue-i18n/valid-message-syntax.d.ts | 35 - .../component-name-in-template-casing.d.ts | 44 - src/rules/vue-pug/index.d.ts | 10 - src/rules/vue-pug/no-parsing-error.d.ts | 60 - src/rules/vue-pug/no-pug-control-flow.d.ts | 22 - src/rules/vue/array-bracket-newline.d.ts | 38 - src/rules/vue/array-bracket-spacing.d.ts | 45 - src/rules/vue/array-element-newline.d.ts | 47 - src/rules/vue/arrow-spacing.d.ts | 35 - src/rules/vue/attribute-hyphenation.d.ts | 43 - src/rules/vue/attributes-order.d.ts | 70 - src/rules/vue/block-lang.d.ts | 39 - src/rules/vue/block-order.d.ts | 34 - src/rules/vue/block-spacing.d.ts | 32 - src/rules/vue/block-tag-newline.d.ts | 45 - src/rules/vue/brace-style.d.ts | 39 - src/rules/vue/camelcase.d.ts | 41 - src/rules/vue/comma-dangle.d.ts | 50 - src/rules/vue/comma-spacing.d.ts | 35 - src/rules/vue/comma-style.d.ts | 41 - src/rules/vue/comment-directive.d.ts | 34 - src/rules/vue/component-api-style.d.ts | 38 - .../vue/component-definition-name-casing.d.ts | 35 - .../component-name-in-template-casing.d.ts | 45 - .../vue/component-options-name-casing.d.ts | 38 - src/rules/vue/component-tags-order.d.ts | 41 - src/rules/vue/custom-event-name-casing.d.ts | 47 - src/rules/vue/define-emits-declaration.d.ts | 33 - src/rules/vue/define-macros-order.d.ts | 34 - src/rules/vue/define-props-declaration.d.ts | 33 - src/rules/vue/dot-location.d.ts | 32 - src/rules/vue/dot-notation.d.ts | 35 - src/rules/vue/eqeqeq.d.ts | 42 - src/rules/vue/first-attribute-linebreak.d.ts | 36 - src/rules/vue/func-call-spacing.d.ts | 42 - src/rules/vue/html-button-has-type.d.ts | 36 - .../vue/html-closing-bracket-newline.d.ts | 38 - .../vue/html-closing-bracket-spacing.d.ts | 39 - .../vue/html-comment-content-newline.d.ts | 48 - .../vue/html-comment-content-spacing.d.ts | 43 - src/rules/vue/html-comment-indent.d.ts | 32 - src/rules/vue/html-end-tags.d.ts | 22 - src/rules/vue/html-indent.d.ts | 50 - src/rules/vue/html-quotes.d.ts | 39 - src/rules/vue/html-self-closing.d.ts | 48 - src/rules/vue/index.d.ts | 476 -- src/rules/vue/jsx-uses-vars.d.ts | 22 - src/rules/vue/key-spacing.d.ts | 83 - src/rules/vue/keyword-spacing.d.ts | 309 -- src/rules/vue/match-component-file-name.d.ts | 36 - .../vue/match-component-import-name.d.ts | 22 - src/rules/vue/max-attributes-per-line.d.ts | 44 - src/rules/vue/max-len.d.ts | 88 - src/rules/vue/max-lines-per-block.d.ts | 37 - src/rules/vue/multi-word-component-names.d.ts | 35 - ...ultiline-html-element-content-newline.d.ts | 39 - src/rules/vue/multiline-ternary.d.ts | 32 - .../vue/mustache-interpolation-spacing.d.ts | 35 - .../new-line-between-multi-line-property.d.ts | 37 - src/rules/vue/next-tick-style.d.ts | 32 - .../vue/no-arrow-functions-in-watch.d.ts | 22 - .../vue/no-async-in-computed-properties.d.ts | 22 - .../vue/no-bare-strings-in-template.d.ts | 41 - src/rules/vue/no-boolean-default.d.ts | 32 - src/rules/vue/no-child-content.d.ts | 37 - .../vue/no-computed-properties-in-data.d.ts | 22 - src/rules/vue/no-console.d.ts | 37 - src/rules/vue/no-constant-condition.d.ts | 35 - .../vue/no-custom-modifiers-on-v-model.d.ts | 22 - ...no-deprecated-data-object-declaration.d.ts | 22 - .../no-deprecated-destroyed-lifecycle.d.ts | 22 - .../no-deprecated-dollar-listeners-api.d.ts | 22 - .../no-deprecated-dollar-scopedslots-api.d.ts | 22 - src/rules/vue/no-deprecated-events-api.d.ts | 22 - src/rules/vue/no-deprecated-filter.d.ts | 22 - .../no-deprecated-functional-template.d.ts | 22 - .../vue/no-deprecated-html-element-is.d.ts | 22 - .../vue/no-deprecated-inline-template.d.ts | 22 - .../vue/no-deprecated-model-definition.d.ts | 37 - .../vue/no-deprecated-props-default-this.d.ts | 22 - .../no-deprecated-router-link-tag-prop.d.ts | 40 - .../vue/no-deprecated-scope-attribute.d.ts | 22 - .../vue/no-deprecated-slot-attribute.d.ts | 22 - .../no-deprecated-slot-scope-attribute.d.ts | 22 - src/rules/vue/no-deprecated-v-bind-sync.d.ts | 22 - src/rules/vue/no-deprecated-v-is.d.ts | 22 - .../no-deprecated-v-on-native-modifier.d.ts | 22 - .../no-deprecated-v-on-number-modifiers.d.ts | 22 - .../no-deprecated-vue-config-keycodes.d.ts | 22 - src/rules/vue/no-dupe-keys.d.ts | 34 - src/rules/vue/no-dupe-v-else-if.d.ts | 22 - .../vue/no-duplicate-attr-inheritance.d.ts | 22 - src/rules/vue/no-duplicate-attributes.d.ts | 36 - src/rules/vue/no-empty-component-block.d.ts | 22 - src/rules/vue/no-empty-pattern.d.ts | 34 - src/rules/vue/no-export-in-script-setup.d.ts | 22 - src/rules/vue/no-expose-after-await.d.ts | 22 - src/rules/vue/no-extra-parens.d.ts | 51 - src/rules/vue/no-invalid-model-keys.d.ts | 28 - src/rules/vue/no-irregular-whitespace.d.ts | 40 - src/rules/vue/no-lifecycle-after-await.d.ts | 22 - src/rules/vue/no-lone-template.d.ts | 34 - src/rules/vue/no-loss-of-precision.d.ts | 22 - src/rules/vue/no-multi-spaces.d.ts | 34 - .../vue/no-multiple-objects-in-class.d.ts | 22 - src/rules/vue/no-multiple-slot-args.d.ts | 22 - src/rules/vue/no-multiple-template-root.d.ts | 22 - src/rules/vue/no-mutating-props.d.ts | 34 - src/rules/vue/no-parsing-error.d.ts | 69 - .../no-potential-component-option-typo.d.ts | 45 - src/rules/vue/no-ref-as-operand.d.ts | 22 - src/rules/vue/no-ref-object-destructure.d.ts | 28 - .../vue/no-ref-object-reactivity-loss.d.ts | 22 - .../vue/no-required-prop-with-default.d.ts | 37 - .../vue/no-reserved-component-names.d.ts | 36 - src/rules/vue/no-reserved-keys.d.ts | 35 - src/rules/vue/no-reserved-props.d.ts | 34 - src/rules/vue/no-restricted-block.d.ts | 41 - .../vue/no-restricted-call-after-await.d.ts | 41 - src/rules/vue/no-restricted-class.d.ts | 32 - .../vue/no-restricted-component-names.d.ts | 44 - .../vue/no-restricted-component-options.d.ts | 44 - src/rules/vue/no-restricted-custom-event.d.ts | 43 - .../vue/no-restricted-html-elements.d.ts | 42 - src/rules/vue/no-restricted-props.d.ts | 42 - .../vue/no-restricted-static-attribute.d.ts | 45 - src/rules/vue/no-restricted-syntax.d.ts | 42 - src/rules/vue/no-restricted-v-bind.d.ts | 43 - src/rules/vue/no-root-v-if.d.ts | 22 - src/rules/vue/no-setup-props-destructure.d.ts | 28 - .../vue/no-setup-props-reactivity-loss.d.ts | 22 - src/rules/vue/no-shared-component-data.d.ts | 22 - ...o-side-effects-in-computed-properties.d.ts | 22 - ...paces-around-equal-signs-in-attribute.d.ts | 22 - src/rules/vue/no-sparse-arrays.d.ts | 22 - src/rules/vue/no-static-inline-styles.d.ts | 35 - src/rules/vue/no-template-key.d.ts | 22 - src/rules/vue/no-template-shadow.d.ts | 22 - src/rules/vue/no-template-target-blank.d.ts | 36 - src/rules/vue/no-textarea-mustache.d.ts | 22 - .../vue/no-this-in-before-route-enter.d.ts | 22 - src/rules/vue/no-undef-components.d.ts | 34 - src/rules/vue/no-undef-properties.d.ts | 34 - src/rules/vue/no-unsupported-features.d.ts | 51 - src/rules/vue/no-unused-components.d.ts | 35 - src/rules/vue/no-unused-properties.d.ts | 48 - src/rules/vue/no-unused-refs.d.ts | 22 - src/rules/vue/no-unused-vars.d.ts | 34 - .../no-use-computed-property-like-method.d.ts | 22 - src/rules/vue/no-use-v-else-with-v-for.d.ts | 22 - src/rules/vue/no-use-v-if-with-v-for.d.ts | 34 - src/rules/vue/no-useless-concat.d.ts | 22 - src/rules/vue/no-useless-mustaches.d.ts | 36 - .../vue/no-useless-template-attributes.d.ts | 22 - src/rules/vue/no-useless-v-bind.d.ts | 35 - .../vue/no-v-for-template-key-on-child.d.ts | 22 - src/rules/vue/no-v-for-template-key.d.ts | 22 - src/rules/vue/no-v-html.d.ts | 22 - src/rules/vue/no-v-model-argument.d.ts | 22 - .../vue/no-v-text-v-html-on-component.d.ts | 22 - src/rules/vue/no-v-text.d.ts | 22 - src/rules/vue/no-watch-after-await.d.ts | 22 - src/rules/vue/object-curly-newline.d.ts | 71 - src/rules/vue/object-curly-spacing.d.ts | 44 - src/rules/vue/object-property-newline.d.ts | 36 - src/rules/vue/object-shorthand.d.ts | 60 - src/rules/vue/one-component-per-file.d.ts | 22 - src/rules/vue/operator-linebreak.d.ts | 44 - src/rules/vue/order-in-components.d.ts | 34 - .../vue/padding-line-between-blocks.d.ts | 33 - src/rules/vue/padding-line-between-tags.d.ts | 37 - ...padding-lines-in-component-definition.d.ts | 52 - src/rules/vue/prefer-define-options.d.ts | 22 - src/rules/vue/prefer-import-from-vue.d.ts | 22 - .../vue/prefer-prop-type-boolean-first.d.ts | 22 - .../vue/prefer-separate-static-class.d.ts | 22 - src/rules/vue/prefer-template.d.ts | 22 - .../vue/prefer-true-attribute-shorthand.d.ts | 35 - src/rules/vue/prop-name-casing.d.ts | 32 - src/rules/vue/quote-props.d.ts | 44 - src/rules/vue/require-component-is.d.ts | 22 - src/rules/vue/require-default-prop.d.ts | 22 - src/rules/vue/require-direct-export.d.ts | 35 - src/rules/vue/require-emit-validator.d.ts | 22 - src/rules/vue/require-explicit-emits.d.ts | 35 - src/rules/vue/require-expose.d.ts | 22 - .../vue/require-macro-variable-name.d.ts | 39 - src/rules/vue/require-name-property.d.ts | 22 - src/rules/vue/require-prop-comment.d.ts | 35 - .../vue/require-prop-type-constructor.d.ts | 22 - src/rules/vue/require-prop-types.d.ts | 22 - src/rules/vue/require-render-return.d.ts | 22 - src/rules/vue/require-slots-as-functions.d.ts | 22 - .../vue/require-toggle-inside-transition.d.ts | 22 - src/rules/vue/require-typed-object-prop.d.ts | 22 - src/rules/vue/require-typed-ref.d.ts | 22 - src/rules/vue/require-v-for-key.d.ts | 22 - src/rules/vue/require-valid-default-prop.d.ts | 22 - .../vue/return-in-computed-property.d.ts | 35 - src/rules/vue/return-in-emits-validator.d.ts | 22 - src/rules/vue/script-indent.d.ts | 41 - src/rules/vue/script-setup-uses-vars.d.ts | 28 - ...ngleline-html-element-content-newline.d.ts | 39 - src/rules/vue/sort-keys.d.ts | 44 - src/rules/vue/space-in-parens.d.ts | 39 - src/rules/vue/space-infix-ops.d.ts | 34 - src/rules/vue/space-unary-ops.d.ts | 38 - src/rules/vue/static-class-names-order.d.ts | 22 - src/rules/vue/template-curly-spacing.d.ts | 33 - src/rules/vue/this-in-template.d.ts | 32 - src/rules/vue/use-v-on-exact.d.ts | 22 - src/rules/vue/v-bind-style.d.ts | 32 - src/rules/vue/v-for-delimiter-style.d.ts | 33 - src/rules/vue/v-on-event-hyphenation.d.ts | 44 - src/rules/vue/v-on-function-call.d.ts | 48 - src/rules/vue/v-on-handler-style.d.ts | 44 - src/rules/vue/v-on-style.d.ts | 32 - src/rules/vue/v-slot-style.d.ts | 38 - src/rules/vue/valid-attribute-name.d.ts | 22 - src/rules/vue/valid-define-emits.d.ts | 22 - src/rules/vue/valid-define-options.d.ts | 22 - src/rules/vue/valid-define-props.d.ts | 22 - src/rules/vue/valid-model-definition.d.ts | 22 - src/rules/vue/valid-next-tick.d.ts | 22 - src/rules/vue/valid-template-root.d.ts | 22 - src/rules/vue/valid-v-bind-sync.d.ts | 22 - src/rules/vue/valid-v-bind.d.ts | 22 - src/rules/vue/valid-v-cloak.d.ts | 22 - src/rules/vue/valid-v-else-if.d.ts | 22 - src/rules/vue/valid-v-else.d.ts | 22 - src/rules/vue/valid-v-for.d.ts | 22 - src/rules/vue/valid-v-html.d.ts | 22 - src/rules/vue/valid-v-if.d.ts | 22 - src/rules/vue/valid-v-is.d.ts | 22 - src/rules/vue/valid-v-memo.d.ts | 22 - src/rules/vue/valid-v-model.d.ts | 22 - src/rules/vue/valid-v-on.d.ts | 34 - src/rules/vue/valid-v-once.d.ts | 22 - src/rules/vue/valid-v-pre.d.ts | 22 - src/rules/vue/valid-v-show.d.ts | 22 - src/rules/vue/valid-v-slot.d.ts | 34 - src/rules/vue/valid-v-text.d.ts | 22 - ...block-mapping-colon-indicator-newline.d.ts | 35 - ...ck-mapping-question-indicator-newline.d.ts | 35 - src/rules/yml/block-mapping.d.ts | 37 - ...ock-sequence-hyphen-indicator-newline.d.ts | 44 - src/rules/yml/block-sequence.d.ts | 37 - src/rules/yml/file-extension.d.ts | 35 - src/rules/yml/flow-mapping-curly-newline.d.ts | 39 - src/rules/yml/flow-mapping-curly-spacing.d.ts | 44 - .../yml/flow-sequence-bracket-newline.d.ts | 40 - .../yml/flow-sequence-bracket-spacing.d.ts | 45 - src/rules/yml/indent.d.ts | 40 - src/rules/yml/index.d.ts | 60 - src/rules/yml/key-name-casing.d.ts | 39 - src/rules/yml/key-spacing.d.ts | 83 - src/rules/yml/no-empty-document.d.ts | 22 - src/rules/yml/no-empty-key.d.ts | 22 - src/rules/yml/no-empty-mapping-value.d.ts | 22 - src/rules/yml/no-empty-sequence-entry.d.ts | 22 - src/rules/yml/no-irregular-whitespace.d.ts | 36 - src/rules/yml/no-multiple-empty-lines.d.ts | 37 - src/rules/yml/no-tab-indent.d.ts | 22 - src/rules/yml/no-trailing-zeros.d.ts | 22 - src/rules/yml/plain-scalar.d.ts | 39 - src/rules/yml/quotes.d.ts | 35 - src/rules/yml/require-string-key.d.ts | 22 - src/rules/yml/sort-keys.d.ts | 91 - src/rules/yml/sort-sequence-values.d.ts | 79 - src/rules/yml/spaced-comment.d.ts | 40 - .../vue-custom-block/no-parsing-error.d.ts | 22 - src/utility-types.d.ts | 6 +- .../generate-rule-files.test.ts.snap | 162 - tests/define.test-d.ts | 20 - tests/generate-rule-files.test.ts | 143 - tsconfig.json | 7 +- 1479 files changed, 3072 insertions(+), 55424 deletions(-) delete mode 100755 release.sh create mode 100644 scripts/generate-eslint-dts.ts delete mode 100644 scripts/generate-rule-files/cli.ts delete mode 100644 scripts/generate-rule-files/contracts/index.ts delete mode 100644 scripts/generate-rule-files/diffs/rules/eslint/no-constructor-return.d.ts.diff delete mode 100644 scripts/generate-rule-files/diffs/rules/graphql-eslint/naming-convention.d.ts.diff delete mode 100644 scripts/generate-rule-files/diffs/rules/node/file-extension-in-import.d.ts.diff delete mode 100644 scripts/generate-rule-files/diffs/rules/react/jsx-no-constructed-context-values.d.ts.diff delete mode 100644 scripts/generate-rule-files/diffs/rules/react/jsx-props-no-spreading.d.ts.diff delete mode 100644 scripts/generate-rule-files/diffs/rules/vitest/valid-title.d.ts.diff delete mode 100644 scripts/generate-rule-files/index.ts delete mode 100644 scripts/generate-rule-files/src/format.ts delete mode 100644 scripts/generate-rule-files/src/js-doc-builder.ts delete mode 100644 scripts/generate-rule-files/src/json-schema-to-ts.ts delete mode 100644 scripts/generate-rule-files/src/plugins-map.ts delete mode 100644 scripts/generate-rule-files/src/rule-file.ts delete mode 100644 src/config/extends/eslint-plugin-eslint-comment.d.ts delete mode 100644 src/config/extends/eslint-plugin-graphql.d.ts delete mode 100644 src/config/extends/eslint-plugin-import.d.ts delete mode 100644 src/config/extends/eslint-plugin-jsdoc.d.ts delete mode 100644 src/config/extends/eslint-plugin-jsonc.d.ts delete mode 100644 src/config/extends/eslint-plugin-jsx-a11y.d.ts delete mode 100644 src/config/extends/eslint-plugin-mdx.d.ts delete mode 100644 src/config/extends/eslint-plugin-n.d.ts delete mode 100644 src/config/extends/eslint-plugin-node.d.ts delete mode 100644 src/config/extends/eslint-plugin-prettier.d.ts delete mode 100644 src/config/extends/eslint-plugin-promise.d.ts delete mode 100644 src/config/extends/eslint-plugin-react-hooks.d.ts delete mode 100644 src/config/extends/eslint-plugin-react.d.ts delete mode 100644 src/config/extends/eslint-plugin-sonarjs.d.ts delete mode 100644 src/config/extends/eslint-plugin-testing-library.d.ts delete mode 100644 src/config/extends/eslint-plugin-unicorn.d.ts delete mode 100644 src/config/extends/eslint-plugin-vitest.d.ts delete mode 100644 src/config/extends/eslint-plugin-vue-pug.d.ts delete mode 100644 src/config/extends/eslint-plugin-vue.d.ts delete mode 100644 src/config/extends/eslint.d.ts delete mode 100644 src/config/extends/intlify-vue-i18n.d.ts delete mode 100644 src/config/extends/typescript-eslint.d.ts delete mode 100644 src/config/settings/import.d.ts delete mode 100644 src/config/settings/jsdoc.d.ts delete mode 100644 src/config/settings/jsx-a11y.d.ts delete mode 100644 src/config/settings/mdx.d.ts delete mode 100644 src/config/settings/node.d.ts delete mode 100644 src/config/settings/react.d.ts delete mode 100644 src/config/settings/testing-library.d.ts delete mode 100644 src/rules/deprecation/deprecation.d.ts delete mode 100644 src/rules/deprecation/index.d.ts delete mode 100644 src/rules/eslint-comments/disable-enable-pair.d.ts delete mode 100644 src/rules/eslint-comments/index.d.ts delete mode 100644 src/rules/eslint-comments/no-aggregating-enable.d.ts delete mode 100644 src/rules/eslint-comments/no-duplicate-disable.d.ts delete mode 100644 src/rules/eslint-comments/no-restricted-disable.d.ts delete mode 100644 src/rules/eslint-comments/no-unlimited-disable.d.ts delete mode 100644 src/rules/eslint-comments/no-unused-disable.d.ts delete mode 100644 src/rules/eslint-comments/no-unused-enable.d.ts delete mode 100644 src/rules/eslint-comments/no-use.d.ts delete mode 100644 src/rules/eslint-comments/require-description.d.ts delete mode 100644 src/rules/graphql-eslint/alphabetize.d.ts delete mode 100644 src/rules/graphql-eslint/description-style.d.ts delete mode 100644 src/rules/graphql-eslint/executable-definitions.d.ts delete mode 100644 src/rules/graphql-eslint/fields-on-correct-type.d.ts delete mode 100644 src/rules/graphql-eslint/fragments-on-composite-type.d.ts delete mode 100644 src/rules/graphql-eslint/index.d.ts delete mode 100644 src/rules/graphql-eslint/input-name.d.ts delete mode 100644 src/rules/graphql-eslint/known-argument-names.d.ts delete mode 100644 src/rules/graphql-eslint/known-directives.d.ts delete mode 100644 src/rules/graphql-eslint/known-fragment-names.d.ts delete mode 100644 src/rules/graphql-eslint/known-type-names.d.ts delete mode 100644 src/rules/graphql-eslint/lone-anonymous-operation.d.ts delete mode 100644 src/rules/graphql-eslint/lone-executable-definition.d.ts delete mode 100644 src/rules/graphql-eslint/lone-schema-definition.d.ts delete mode 100644 src/rules/graphql-eslint/match-document-filename.d.ts delete mode 100644 src/rules/graphql-eslint/naming-convention.d.ts delete mode 100644 src/rules/graphql-eslint/no-anonymous-operations.d.ts delete mode 100644 src/rules/graphql-eslint/no-case-insensitive-enum-values-duplicates.d.ts delete mode 100644 src/rules/graphql-eslint/no-deprecated.d.ts delete mode 100644 src/rules/graphql-eslint/no-duplicate-fields.d.ts delete mode 100644 src/rules/graphql-eslint/no-fragment-cycles.d.ts delete mode 100644 src/rules/graphql-eslint/no-hashtag-description.d.ts delete mode 100644 src/rules/graphql-eslint/no-one-place-fragments.d.ts delete mode 100644 src/rules/graphql-eslint/no-root-type.d.ts delete mode 100644 src/rules/graphql-eslint/no-scalar-result-type-on-mutation.d.ts delete mode 100644 src/rules/graphql-eslint/no-typename-prefix.d.ts delete mode 100644 src/rules/graphql-eslint/no-undefined-variables.d.ts delete mode 100644 src/rules/graphql-eslint/no-unreachable-types.d.ts delete mode 100644 src/rules/graphql-eslint/no-unused-fields.d.ts delete mode 100644 src/rules/graphql-eslint/no-unused-fragments.d.ts delete mode 100644 src/rules/graphql-eslint/no-unused-variables.d.ts delete mode 100644 src/rules/graphql-eslint/one-field-subscriptions.d.ts delete mode 100644 src/rules/graphql-eslint/overlapping-fields-can-be-merged.d.ts delete mode 100644 src/rules/graphql-eslint/possible-fragment-spread.d.ts delete mode 100644 src/rules/graphql-eslint/possible-type-extension.d.ts delete mode 100644 src/rules/graphql-eslint/provided-required-arguments.d.ts delete mode 100644 src/rules/graphql-eslint/relay-arguments.d.ts delete mode 100644 src/rules/graphql-eslint/relay-connection-types.d.ts delete mode 100644 src/rules/graphql-eslint/relay-edge-types.d.ts delete mode 100644 src/rules/graphql-eslint/relay-page-info.d.ts delete mode 100644 src/rules/graphql-eslint/require-deprecation-date.d.ts delete mode 100644 src/rules/graphql-eslint/require-deprecation-reason.d.ts delete mode 100644 src/rules/graphql-eslint/require-description.d.ts delete mode 100644 src/rules/graphql-eslint/require-field-of-type-query-in-mutation-result.d.ts delete mode 100644 src/rules/graphql-eslint/require-id-when-available.d.ts delete mode 100644 src/rules/graphql-eslint/require-import-fragment.d.ts delete mode 100644 src/rules/graphql-eslint/require-nullable-fields-with-oneof.d.ts delete mode 100644 src/rules/graphql-eslint/require-nullable-result-in-root.d.ts delete mode 100644 src/rules/graphql-eslint/require-type-pattern-with-oneof.d.ts delete mode 100644 src/rules/graphql-eslint/scalar-leafs.d.ts delete mode 100644 src/rules/graphql-eslint/selection-set-depth.d.ts delete mode 100644 src/rules/graphql-eslint/strict-id-in-types.d.ts delete mode 100644 src/rules/graphql-eslint/unique-argument-names.d.ts delete mode 100644 src/rules/graphql-eslint/unique-directive-names-per-location.d.ts delete mode 100644 src/rules/graphql-eslint/unique-directive-names.d.ts delete mode 100644 src/rules/graphql-eslint/unique-enum-value-names.d.ts delete mode 100644 src/rules/graphql-eslint/unique-field-definition-names.d.ts delete mode 100644 src/rules/graphql-eslint/unique-fragment-name.d.ts delete mode 100644 src/rules/graphql-eslint/unique-input-field-names.d.ts delete mode 100644 src/rules/graphql-eslint/unique-operation-name.d.ts delete mode 100644 src/rules/graphql-eslint/unique-operation-types.d.ts delete mode 100644 src/rules/graphql-eslint/unique-type-names.d.ts delete mode 100644 src/rules/graphql-eslint/unique-variable-names.d.ts delete mode 100644 src/rules/graphql-eslint/value-literals-of-correct-type.d.ts delete mode 100644 src/rules/graphql-eslint/variables-are-input-types.d.ts delete mode 100644 src/rules/graphql-eslint/variables-in-allowed-position.d.ts delete mode 100644 src/rules/import/consistent-type-specifier-style.d.ts delete mode 100644 src/rules/import/default.d.ts delete mode 100644 src/rules/import/dynamic-import-chunkname.d.ts delete mode 100644 src/rules/import/export.d.ts delete mode 100644 src/rules/import/exports-last.d.ts delete mode 100644 src/rules/import/extensions.d.ts delete mode 100644 src/rules/import/first.d.ts delete mode 100644 src/rules/import/group-exports.d.ts delete mode 100644 src/rules/import/imports-first.d.ts delete mode 100644 src/rules/import/index.d.ts delete mode 100644 src/rules/import/max-dependencies.d.ts delete mode 100644 src/rules/import/named.d.ts delete mode 100644 src/rules/import/namespace.d.ts delete mode 100644 src/rules/import/newline-after-import.d.ts delete mode 100644 src/rules/import/no-absolute-path.d.ts delete mode 100644 src/rules/import/no-amd.d.ts delete mode 100644 src/rules/import/no-anonymous-default-export.d.ts delete mode 100644 src/rules/import/no-commonjs.d.ts delete mode 100644 src/rules/import/no-cycle.d.ts delete mode 100644 src/rules/import/no-default-export.d.ts delete mode 100644 src/rules/import/no-deprecated.d.ts delete mode 100644 src/rules/import/no-duplicates.d.ts delete mode 100644 src/rules/import/no-dynamic-require.d.ts delete mode 100644 src/rules/import/no-empty-named-blocks.d.ts delete mode 100644 src/rules/import/no-extraneous-dependencies.d.ts delete mode 100644 src/rules/import/no-import-module-exports.d.ts delete mode 100644 src/rules/import/no-internal-modules.d.ts delete mode 100644 src/rules/import/no-mutable-exports.d.ts delete mode 100644 src/rules/import/no-named-as-default-member.d.ts delete mode 100644 src/rules/import/no-named-as-default.d.ts delete mode 100644 src/rules/import/no-named-default.d.ts delete mode 100644 src/rules/import/no-named-export.d.ts delete mode 100644 src/rules/import/no-namespace.d.ts delete mode 100644 src/rules/import/no-nodejs-modules.d.ts delete mode 100644 src/rules/import/no-relative-packages.d.ts delete mode 100644 src/rules/import/no-relative-parent-imports.d.ts delete mode 100644 src/rules/import/no-restricted-paths.d.ts delete mode 100644 src/rules/import/no-self-import.d.ts delete mode 100644 src/rules/import/no-unassigned-import.d.ts delete mode 100644 src/rules/import/no-unresolved.d.ts delete mode 100644 src/rules/import/no-unused-modules.d.ts delete mode 100644 src/rules/import/no-useless-path-segments.d.ts delete mode 100644 src/rules/import/no-webpack-loader-syntax.d.ts delete mode 100644 src/rules/import/order.d.ts delete mode 100644 src/rules/import/prefer-default-export.d.ts delete mode 100644 src/rules/import/unambiguous.d.ts delete mode 100644 src/rules/jsdoc/check-access.d.ts delete mode 100644 src/rules/jsdoc/check-alignment.d.ts delete mode 100644 src/rules/jsdoc/check-examples.d.ts delete mode 100644 src/rules/jsdoc/check-indentation.d.ts delete mode 100644 src/rules/jsdoc/check-line-alignment.d.ts delete mode 100644 src/rules/jsdoc/check-param-names.d.ts delete mode 100644 src/rules/jsdoc/check-property-names.d.ts delete mode 100644 src/rules/jsdoc/check-syntax.d.ts delete mode 100644 src/rules/jsdoc/check-tag-names.d.ts delete mode 100644 src/rules/jsdoc/check-types.d.ts delete mode 100644 src/rules/jsdoc/check-values.d.ts delete mode 100644 src/rules/jsdoc/empty-tags.d.ts delete mode 100644 src/rules/jsdoc/implements-on-classes.d.ts delete mode 100644 src/rules/jsdoc/imports-as-dependencies.d.ts delete mode 100644 src/rules/jsdoc/index.d.ts delete mode 100644 src/rules/jsdoc/informative-docs.d.ts delete mode 100644 src/rules/jsdoc/match-description.d.ts delete mode 100644 src/rules/jsdoc/match-name.d.ts delete mode 100644 src/rules/jsdoc/multiline-blocks.d.ts delete mode 100644 src/rules/jsdoc/no-bad-blocks.d.ts delete mode 100644 src/rules/jsdoc/no-blank-block-descriptions.d.ts delete mode 100644 src/rules/jsdoc/no-blank-blocks.d.ts delete mode 100644 src/rules/jsdoc/no-defaults.d.ts delete mode 100644 src/rules/jsdoc/no-missing-syntax.d.ts delete mode 100644 src/rules/jsdoc/no-multi-asterisks.d.ts delete mode 100644 src/rules/jsdoc/no-restricted-syntax.d.ts delete mode 100644 src/rules/jsdoc/no-types.d.ts delete mode 100644 src/rules/jsdoc/no-undefined-types.d.ts delete mode 100644 src/rules/jsdoc/require-asterisk-prefix.d.ts delete mode 100644 src/rules/jsdoc/require-description-complete-sentence.d.ts delete mode 100644 src/rules/jsdoc/require-description.d.ts delete mode 100644 src/rules/jsdoc/require-example.d.ts delete mode 100644 src/rules/jsdoc/require-file-overview.d.ts delete mode 100644 src/rules/jsdoc/require-hyphen-before-param-description.d.ts delete mode 100644 src/rules/jsdoc/require-jsdoc.d.ts delete mode 100644 src/rules/jsdoc/require-param-description.d.ts delete mode 100644 src/rules/jsdoc/require-param-name.d.ts delete mode 100644 src/rules/jsdoc/require-param-type.d.ts delete mode 100644 src/rules/jsdoc/require-param.d.ts delete mode 100644 src/rules/jsdoc/require-property-description.d.ts delete mode 100644 src/rules/jsdoc/require-property-name.d.ts delete mode 100644 src/rules/jsdoc/require-property-type.d.ts delete mode 100644 src/rules/jsdoc/require-property.d.ts delete mode 100644 src/rules/jsdoc/require-returns-check.d.ts delete mode 100644 src/rules/jsdoc/require-returns-description.d.ts delete mode 100644 src/rules/jsdoc/require-returns-type.d.ts delete mode 100644 src/rules/jsdoc/require-returns.d.ts delete mode 100644 src/rules/jsdoc/require-throws.d.ts delete mode 100644 src/rules/jsdoc/require-yields-check.d.ts delete mode 100644 src/rules/jsdoc/require-yields.d.ts delete mode 100644 src/rules/jsdoc/sort-tags.d.ts delete mode 100644 src/rules/jsdoc/tag-lines.d.ts delete mode 100644 src/rules/jsdoc/text-escaping.d.ts delete mode 100644 src/rules/jsdoc/valid-types.d.ts delete mode 100644 src/rules/jsonc/array-bracket-newline.d.ts delete mode 100644 src/rules/jsonc/array-bracket-spacing.d.ts delete mode 100644 src/rules/jsonc/array-element-newline.d.ts delete mode 100644 src/rules/jsonc/auto.d.ts delete mode 100644 src/rules/jsonc/comma-dangle.d.ts delete mode 100644 src/rules/jsonc/comma-style.d.ts delete mode 100644 src/rules/jsonc/indent.d.ts delete mode 100644 src/rules/jsonc/index.d.ts delete mode 100644 src/rules/jsonc/key-name-casing.d.ts delete mode 100644 src/rules/jsonc/key-spacing.d.ts delete mode 100644 src/rules/jsonc/no-bigint-literals.d.ts delete mode 100644 src/rules/jsonc/no-binary-expression.d.ts delete mode 100644 src/rules/jsonc/no-binary-numeric-literals.d.ts delete mode 100644 src/rules/jsonc/no-comments.d.ts delete mode 100644 src/rules/jsonc/no-dupe-keys.d.ts delete mode 100644 src/rules/jsonc/no-escape-sequence-in-identifier.d.ts delete mode 100644 src/rules/jsonc/no-floating-decimal.d.ts delete mode 100644 src/rules/jsonc/no-hexadecimal-numeric-literals.d.ts delete mode 100644 src/rules/jsonc/no-infinity.d.ts delete mode 100644 src/rules/jsonc/no-irregular-whitespace.d.ts delete mode 100644 src/rules/jsonc/no-multi-str.d.ts delete mode 100644 src/rules/jsonc/no-nan.d.ts delete mode 100644 src/rules/jsonc/no-number-props.d.ts delete mode 100644 src/rules/jsonc/no-numeric-separators.d.ts delete mode 100644 src/rules/jsonc/no-octal-escape.d.ts delete mode 100644 src/rules/jsonc/no-octal-numeric-literals.d.ts delete mode 100644 src/rules/jsonc/no-octal.d.ts delete mode 100644 src/rules/jsonc/no-parenthesized.d.ts delete mode 100644 src/rules/jsonc/no-plus-sign.d.ts delete mode 100644 src/rules/jsonc/no-regexp-literals.d.ts delete mode 100644 src/rules/jsonc/no-sparse-arrays.d.ts delete mode 100644 src/rules/jsonc/no-template-literals.d.ts delete mode 100644 src/rules/jsonc/no-undefined-value.d.ts delete mode 100644 src/rules/jsonc/no-unicode-codepoint-escapes.d.ts delete mode 100644 src/rules/jsonc/no-useless-escape.d.ts delete mode 100644 src/rules/jsonc/object-curly-newline.d.ts delete mode 100644 src/rules/jsonc/object-curly-spacing.d.ts delete mode 100644 src/rules/jsonc/object-property-newline.d.ts delete mode 100644 src/rules/jsonc/quote-props.d.ts delete mode 100644 src/rules/jsonc/quotes.d.ts delete mode 100644 src/rules/jsonc/sort-array-values.d.ts delete mode 100644 src/rules/jsonc/sort-keys.d.ts delete mode 100644 src/rules/jsonc/space-unary-ops.d.ts delete mode 100644 src/rules/jsonc/valid-json-number.d.ts delete mode 100644 src/rules/jsonc/vue-custom-block/no-parsing-error.d.ts delete mode 100644 src/rules/jsx-a11y/accessible-emoji.d.ts delete mode 100644 src/rules/jsx-a11y/alt-text.d.ts delete mode 100644 src/rules/jsx-a11y/anchor-ambiguous-text.d.ts delete mode 100644 src/rules/jsx-a11y/anchor-has-content.d.ts delete mode 100644 src/rules/jsx-a11y/anchor-is-valid.d.ts delete mode 100644 src/rules/jsx-a11y/aria-activedescendant-has-tabindex.d.ts delete mode 100644 src/rules/jsx-a11y/aria-props.d.ts delete mode 100644 src/rules/jsx-a11y/aria-proptypes.d.ts delete mode 100644 src/rules/jsx-a11y/aria-role.d.ts delete mode 100644 src/rules/jsx-a11y/aria-unsupported-elements.d.ts delete mode 100644 src/rules/jsx-a11y/autocomplete-valid.d.ts delete mode 100644 src/rules/jsx-a11y/click-events-have-key-events.d.ts delete mode 100644 src/rules/jsx-a11y/control-has-associated-label.d.ts delete mode 100644 src/rules/jsx-a11y/heading-has-content.d.ts delete mode 100644 src/rules/jsx-a11y/html-has-lang.d.ts delete mode 100644 src/rules/jsx-a11y/iframe-has-title.d.ts delete mode 100644 src/rules/jsx-a11y/img-redundant-alt.d.ts delete mode 100644 src/rules/jsx-a11y/index.d.ts delete mode 100644 src/rules/jsx-a11y/interactive-supports-focus.d.ts delete mode 100644 src/rules/jsx-a11y/label-has-associated-control.d.ts delete mode 100644 src/rules/jsx-a11y/label-has-for.d.ts delete mode 100644 src/rules/jsx-a11y/lang.d.ts delete mode 100644 src/rules/jsx-a11y/media-has-caption.d.ts delete mode 100644 src/rules/jsx-a11y/mouse-events-have-key-events.d.ts delete mode 100644 src/rules/jsx-a11y/no-access-key.d.ts delete mode 100644 src/rules/jsx-a11y/no-aria-hidden-on-focusable.d.ts delete mode 100644 src/rules/jsx-a11y/no-autofocus.d.ts delete mode 100644 src/rules/jsx-a11y/no-distracting-elements.d.ts delete mode 100644 src/rules/jsx-a11y/no-interactive-element-to-noninteractive-role.d.ts delete mode 100644 src/rules/jsx-a11y/no-noninteractive-element-interactions.d.ts delete mode 100644 src/rules/jsx-a11y/no-noninteractive-element-to-interactive-role.d.ts delete mode 100644 src/rules/jsx-a11y/no-noninteractive-tabindex.d.ts delete mode 100644 src/rules/jsx-a11y/no-onchange.d.ts delete mode 100644 src/rules/jsx-a11y/no-redundant-roles.d.ts delete mode 100644 src/rules/jsx-a11y/no-static-element-interactions.d.ts delete mode 100644 src/rules/jsx-a11y/prefer-tag-over-role.d.ts delete mode 100644 src/rules/jsx-a11y/role-has-required-aria-props.d.ts delete mode 100644 src/rules/jsx-a11y/role-supports-aria-props.d.ts delete mode 100644 src/rules/jsx-a11y/scope.d.ts delete mode 100644 src/rules/jsx-a11y/tabindex-no-positive.d.ts delete mode 100644 src/rules/mdx/index.d.ts delete mode 100644 src/rules/mdx/remark.d.ts delete mode 100644 src/rules/n/callback-return.d.ts delete mode 100644 src/rules/n/exports-style.d.ts delete mode 100644 src/rules/n/file-extension-in-import.d.ts delete mode 100644 src/rules/n/global-require.d.ts delete mode 100644 src/rules/n/handle-callback-err.d.ts delete mode 100644 src/rules/n/index.d.ts delete mode 100644 src/rules/n/no-callback-literal.d.ts delete mode 100644 src/rules/n/no-deprecated-api.d.ts delete mode 100644 src/rules/n/no-exports-assign.d.ts delete mode 100644 src/rules/n/no-extraneous-import.d.ts delete mode 100644 src/rules/n/no-extraneous-require.d.ts delete mode 100644 src/rules/n/no-hide-core-modules.d.ts delete mode 100644 src/rules/n/no-missing-import.d.ts delete mode 100644 src/rules/n/no-missing-require.d.ts delete mode 100644 src/rules/n/no-mixed-requires.d.ts delete mode 100644 src/rules/n/no-new-require.d.ts delete mode 100644 src/rules/n/no-path-concat.d.ts delete mode 100644 src/rules/n/no-process-env.d.ts delete mode 100644 src/rules/n/no-process-exit.d.ts delete mode 100644 src/rules/n/no-restricted-import.d.ts delete mode 100644 src/rules/n/no-restricted-require.d.ts delete mode 100644 src/rules/n/no-sync.d.ts delete mode 100644 src/rules/n/no-unpublished-bin.d.ts delete mode 100644 src/rules/n/no-unpublished-import.d.ts delete mode 100644 src/rules/n/no-unpublished-require.d.ts delete mode 100644 src/rules/n/no-unsupported-features.d.ts delete mode 100644 src/rules/n/no-unsupported-features/es-builtins.d.ts delete mode 100644 src/rules/n/no-unsupported-features/es-syntax.d.ts delete mode 100644 src/rules/n/no-unsupported-features/node-builtins.d.ts delete mode 100644 src/rules/n/prefer-global/buffer.d.ts delete mode 100644 src/rules/n/prefer-global/console.d.ts delete mode 100644 src/rules/n/prefer-global/process.d.ts delete mode 100644 src/rules/n/prefer-global/text-decoder.d.ts delete mode 100644 src/rules/n/prefer-global/text-encoder.d.ts delete mode 100644 src/rules/n/prefer-global/url-search-params.d.ts delete mode 100644 src/rules/n/prefer-global/url.d.ts delete mode 100644 src/rules/n/prefer-promises/dns.d.ts delete mode 100644 src/rules/n/prefer-promises/fs.d.ts delete mode 100644 src/rules/n/process-exit-as-throw.d.ts delete mode 100644 src/rules/n/shebang.d.ts delete mode 100644 src/rules/node/callback-return.d.ts delete mode 100644 src/rules/node/exports-style.d.ts delete mode 100644 src/rules/node/file-extension-in-import.d.ts delete mode 100644 src/rules/node/global-require.d.ts delete mode 100644 src/rules/node/handle-callback-err.d.ts delete mode 100644 src/rules/node/index.d.ts delete mode 100644 src/rules/node/no-callback-literal.d.ts delete mode 100644 src/rules/node/no-deprecated-api.d.ts delete mode 100644 src/rules/node/no-exports-assign.d.ts delete mode 100644 src/rules/node/no-extraneous-import.d.ts delete mode 100644 src/rules/node/no-extraneous-require.d.ts delete mode 100644 src/rules/node/no-hide-core-modules.d.ts delete mode 100644 src/rules/node/no-missing-import.d.ts delete mode 100644 src/rules/node/no-missing-require.d.ts delete mode 100644 src/rules/node/no-mixed-requires.d.ts delete mode 100644 src/rules/node/no-new-require.d.ts delete mode 100644 src/rules/node/no-path-concat.d.ts delete mode 100644 src/rules/node/no-process-env.d.ts delete mode 100644 src/rules/node/no-process-exit.d.ts delete mode 100644 src/rules/node/no-restricted-import.d.ts delete mode 100644 src/rules/node/no-restricted-require.d.ts delete mode 100644 src/rules/node/no-sync.d.ts delete mode 100644 src/rules/node/no-unpublished-bin.d.ts delete mode 100644 src/rules/node/no-unpublished-import.d.ts delete mode 100644 src/rules/node/no-unpublished-require.d.ts delete mode 100644 src/rules/node/no-unsupported-features.d.ts delete mode 100644 src/rules/node/no-unsupported-features/es-builtins.d.ts delete mode 100644 src/rules/node/no-unsupported-features/es-syntax.d.ts delete mode 100644 src/rules/node/no-unsupported-features/node-builtins.d.ts delete mode 100644 src/rules/node/prefer-global/buffer.d.ts delete mode 100644 src/rules/node/prefer-global/console.d.ts delete mode 100644 src/rules/node/prefer-global/process.d.ts delete mode 100644 src/rules/node/prefer-global/text-decoder.d.ts delete mode 100644 src/rules/node/prefer-global/text-encoder.d.ts delete mode 100644 src/rules/node/prefer-global/url-search-params.d.ts delete mode 100644 src/rules/node/prefer-global/url.d.ts delete mode 100644 src/rules/node/prefer-promises/dns.d.ts delete mode 100644 src/rules/node/prefer-promises/fs.d.ts delete mode 100644 src/rules/node/process-exit-as-throw.d.ts delete mode 100644 src/rules/node/shebang.d.ts delete mode 100644 src/rules/promise/always-return.d.ts delete mode 100644 src/rules/promise/avoid-new.d.ts delete mode 100644 src/rules/promise/catch-or-return.d.ts delete mode 100644 src/rules/promise/index.d.ts delete mode 100644 src/rules/promise/no-callback-in-promise.d.ts delete mode 100644 src/rules/promise/no-multiple-resolved.d.ts delete mode 100644 src/rules/promise/no-native.d.ts delete mode 100644 src/rules/promise/no-nesting.d.ts delete mode 100644 src/rules/promise/no-new-statics.d.ts delete mode 100644 src/rules/promise/no-promise-in-callback.d.ts delete mode 100644 src/rules/promise/no-return-in-finally.d.ts delete mode 100644 src/rules/promise/no-return-wrap.d.ts delete mode 100644 src/rules/promise/param-names.d.ts delete mode 100644 src/rules/promise/prefer-await-to-callbacks.d.ts delete mode 100644 src/rules/promise/prefer-await-to-then.d.ts delete mode 100644 src/rules/promise/valid-params.d.ts delete mode 100644 src/rules/react-hooks/exhaustive-deps.d.ts delete mode 100644 src/rules/react-hooks/index.d.ts delete mode 100644 src/rules/react-hooks/rules-of-hooks.d.ts delete mode 100644 src/rules/react/boolean-prop-naming.d.ts delete mode 100644 src/rules/react/button-has-type.d.ts delete mode 100644 src/rules/react/default-props-match-prop-types.d.ts delete mode 100644 src/rules/react/destructuring-assignment.d.ts delete mode 100644 src/rules/react/display-name.d.ts delete mode 100644 src/rules/react/forbid-component-props.d.ts delete mode 100644 src/rules/react/forbid-dom-props.d.ts delete mode 100644 src/rules/react/forbid-elements.d.ts delete mode 100644 src/rules/react/forbid-foreign-prop-types.d.ts delete mode 100644 src/rules/react/forbid-prop-types.d.ts delete mode 100644 src/rules/react/function-component-definition.d.ts delete mode 100644 src/rules/react/hook-use-state.d.ts delete mode 100644 src/rules/react/iframe-missing-sandbox.d.ts delete mode 100644 src/rules/react/index.d.ts delete mode 100644 src/rules/react/jsx-boolean-value.d.ts delete mode 100644 src/rules/react/jsx-child-element-spacing.d.ts delete mode 100644 src/rules/react/jsx-closing-bracket-location.d.ts delete mode 100644 src/rules/react/jsx-closing-tag-location.d.ts delete mode 100644 src/rules/react/jsx-curly-brace-presence.d.ts delete mode 100644 src/rules/react/jsx-curly-newline.d.ts delete mode 100644 src/rules/react/jsx-curly-spacing.d.ts delete mode 100644 src/rules/react/jsx-equals-spacing.d.ts delete mode 100644 src/rules/react/jsx-filename-extension.d.ts delete mode 100644 src/rules/react/jsx-first-prop-new-line.d.ts delete mode 100644 src/rules/react/jsx-fragments.d.ts delete mode 100644 src/rules/react/jsx-handler-names.d.ts delete mode 100644 src/rules/react/jsx-indent-props.d.ts delete mode 100644 src/rules/react/jsx-indent.d.ts delete mode 100644 src/rules/react/jsx-key.d.ts delete mode 100644 src/rules/react/jsx-max-depth.d.ts delete mode 100644 src/rules/react/jsx-max-props-per-line.d.ts delete mode 100644 src/rules/react/jsx-newline.d.ts delete mode 100644 src/rules/react/jsx-no-bind.d.ts delete mode 100644 src/rules/react/jsx-no-comment-textnodes.d.ts delete mode 100644 src/rules/react/jsx-no-constructed-context-values.d.ts delete mode 100644 src/rules/react/jsx-no-duplicate-props.d.ts delete mode 100644 src/rules/react/jsx-no-leaked-render.d.ts delete mode 100644 src/rules/react/jsx-no-literals.d.ts delete mode 100644 src/rules/react/jsx-no-script-url.d.ts delete mode 100644 src/rules/react/jsx-no-target-blank.d.ts delete mode 100644 src/rules/react/jsx-no-undef.d.ts delete mode 100644 src/rules/react/jsx-no-useless-fragment.d.ts delete mode 100644 src/rules/react/jsx-one-expression-per-line.d.ts delete mode 100644 src/rules/react/jsx-pascal-case.d.ts delete mode 100644 src/rules/react/jsx-props-no-multi-spaces.d.ts delete mode 100644 src/rules/react/jsx-props-no-spreading.d.ts delete mode 100644 src/rules/react/jsx-sort-default-props.d.ts delete mode 100644 src/rules/react/jsx-sort-props.d.ts delete mode 100644 src/rules/react/jsx-space-before-closing.d.ts delete mode 100644 src/rules/react/jsx-tag-spacing.d.ts delete mode 100644 src/rules/react/jsx-uses-react.d.ts delete mode 100644 src/rules/react/jsx-uses-vars.d.ts delete mode 100644 src/rules/react/jsx-wrap-multilines.d.ts delete mode 100644 src/rules/react/no-access-state-in-setstate.d.ts delete mode 100644 src/rules/react/no-adjacent-inline-elements.d.ts delete mode 100644 src/rules/react/no-array-index-key.d.ts delete mode 100644 src/rules/react/no-arrow-function-lifecycle.d.ts delete mode 100644 src/rules/react/no-children-prop.d.ts delete mode 100644 src/rules/react/no-danger-with-children.d.ts delete mode 100644 src/rules/react/no-danger.d.ts delete mode 100644 src/rules/react/no-deprecated.d.ts delete mode 100644 src/rules/react/no-did-mount-set-state.d.ts delete mode 100644 src/rules/react/no-did-update-set-state.d.ts delete mode 100644 src/rules/react/no-direct-mutation-state.d.ts delete mode 100644 src/rules/react/no-find-dom-node.d.ts delete mode 100644 src/rules/react/no-invalid-html-attribute.d.ts delete mode 100644 src/rules/react/no-is-mounted.d.ts delete mode 100644 src/rules/react/no-multi-comp.d.ts delete mode 100644 src/rules/react/no-namespace.d.ts delete mode 100644 src/rules/react/no-object-type-as-default-prop.d.ts delete mode 100644 src/rules/react/no-redundant-should-component-update.d.ts delete mode 100644 src/rules/react/no-render-return-value.d.ts delete mode 100644 src/rules/react/no-set-state.d.ts delete mode 100644 src/rules/react/no-string-refs.d.ts delete mode 100644 src/rules/react/no-this-in-sfc.d.ts delete mode 100644 src/rules/react/no-typos.d.ts delete mode 100644 src/rules/react/no-unescaped-entities.d.ts delete mode 100644 src/rules/react/no-unknown-property.d.ts delete mode 100644 src/rules/react/no-unsafe.d.ts delete mode 100644 src/rules/react/no-unstable-nested-components.d.ts delete mode 100644 src/rules/react/no-unused-class-component-methods.d.ts delete mode 100644 src/rules/react/no-unused-prop-types.d.ts delete mode 100644 src/rules/react/no-unused-state.d.ts delete mode 100644 src/rules/react/no-will-update-set-state.d.ts delete mode 100644 src/rules/react/prefer-es6-class.d.ts delete mode 100644 src/rules/react/prefer-exact-props.d.ts delete mode 100644 src/rules/react/prefer-read-only-props.d.ts delete mode 100644 src/rules/react/prefer-stateless-function.d.ts delete mode 100644 src/rules/react/prop-types.d.ts delete mode 100644 src/rules/react/react-in-jsx-scope.d.ts delete mode 100644 src/rules/react/require-default-props.d.ts delete mode 100644 src/rules/react/require-optimization.d.ts delete mode 100644 src/rules/react/require-render-return.d.ts delete mode 100644 src/rules/react/self-closing-comp.d.ts delete mode 100644 src/rules/react/sort-comp.d.ts delete mode 100644 src/rules/react/sort-default-props.d.ts delete mode 100644 src/rules/react/sort-prop-types.d.ts delete mode 100644 src/rules/react/state-in-constructor.d.ts delete mode 100644 src/rules/react/static-property-placement.d.ts delete mode 100644 src/rules/react/style-prop-object.d.ts delete mode 100644 src/rules/react/void-dom-elements-no-children.d.ts delete mode 100644 src/rules/sonarjs/cognitive-complexity.d.ts delete mode 100644 src/rules/sonarjs/elseif-without-else.d.ts delete mode 100644 src/rules/sonarjs/index.d.ts delete mode 100644 src/rules/sonarjs/max-switch-cases.d.ts delete mode 100644 src/rules/sonarjs/no-all-duplicated-branches.d.ts delete mode 100644 src/rules/sonarjs/no-collapsible-if.d.ts delete mode 100644 src/rules/sonarjs/no-collection-size-mischeck.d.ts delete mode 100644 src/rules/sonarjs/no-duplicate-string.d.ts delete mode 100644 src/rules/sonarjs/no-duplicated-branches.d.ts delete mode 100644 src/rules/sonarjs/no-element-overwrite.d.ts delete mode 100644 src/rules/sonarjs/no-empty-collection.d.ts delete mode 100644 src/rules/sonarjs/no-extra-arguments.d.ts delete mode 100644 src/rules/sonarjs/no-gratuitous-expressions.d.ts delete mode 100644 src/rules/sonarjs/no-identical-conditions.d.ts delete mode 100644 src/rules/sonarjs/no-identical-expressions.d.ts delete mode 100644 src/rules/sonarjs/no-identical-functions.d.ts delete mode 100644 src/rules/sonarjs/no-ignored-return.d.ts delete mode 100644 src/rules/sonarjs/no-inverted-boolean-check.d.ts delete mode 100644 src/rules/sonarjs/no-nested-switch.d.ts delete mode 100644 src/rules/sonarjs/no-nested-template-literals.d.ts delete mode 100644 src/rules/sonarjs/no-one-iteration-loop.d.ts delete mode 100644 src/rules/sonarjs/no-redundant-boolean.d.ts delete mode 100644 src/rules/sonarjs/no-redundant-jump.d.ts delete mode 100644 src/rules/sonarjs/no-same-line-conditional.d.ts delete mode 100644 src/rules/sonarjs/no-small-switch.d.ts delete mode 100644 src/rules/sonarjs/no-unused-collection.d.ts delete mode 100644 src/rules/sonarjs/no-use-of-empty-return-value.d.ts delete mode 100644 src/rules/sonarjs/no-useless-catch.d.ts delete mode 100644 src/rules/sonarjs/non-existent-operator.d.ts delete mode 100644 src/rules/sonarjs/prefer-immediate-return.d.ts delete mode 100644 src/rules/sonarjs/prefer-object-literal.d.ts delete mode 100644 src/rules/sonarjs/prefer-single-boolean-return.d.ts delete mode 100644 src/rules/sonarjs/prefer-while.d.ts delete mode 100644 src/rules/spellcheck/index.d.ts delete mode 100644 src/rules/spellcheck/spell-checker.d.ts delete mode 100644 src/rules/testing-library/await-async-events.d.ts delete mode 100644 src/rules/testing-library/await-async-queries.d.ts delete mode 100644 src/rules/testing-library/await-async-utils.d.ts delete mode 100644 src/rules/testing-library/consistent-data-testid.d.ts delete mode 100644 src/rules/testing-library/index.d.ts delete mode 100644 src/rules/testing-library/no-await-sync-events.d.ts delete mode 100644 src/rules/testing-library/no-await-sync-queries.d.ts delete mode 100644 src/rules/testing-library/no-container.d.ts delete mode 100644 src/rules/testing-library/no-debugging-utils.d.ts delete mode 100644 src/rules/testing-library/no-dom-import.d.ts delete mode 100644 src/rules/testing-library/no-global-regexp-flag-in-query.d.ts delete mode 100644 src/rules/testing-library/no-manual-cleanup.d.ts delete mode 100644 src/rules/testing-library/no-node-access.d.ts delete mode 100644 src/rules/testing-library/no-promise-in-fire-event.d.ts delete mode 100644 src/rules/testing-library/no-render-in-lifecycle.d.ts delete mode 100644 src/rules/testing-library/no-unnecessary-act.d.ts delete mode 100644 src/rules/testing-library/no-wait-for-multiple-assertions.d.ts delete mode 100644 src/rules/testing-library/no-wait-for-side-effects.d.ts delete mode 100644 src/rules/testing-library/no-wait-for-snapshot.d.ts delete mode 100644 src/rules/testing-library/prefer-explicit-assert.d.ts delete mode 100644 src/rules/testing-library/prefer-find-by.d.ts delete mode 100644 src/rules/testing-library/prefer-presence-queries.d.ts delete mode 100644 src/rules/testing-library/prefer-query-by-disappearance.d.ts delete mode 100644 src/rules/testing-library/prefer-query-matchers.d.ts delete mode 100644 src/rules/testing-library/prefer-screen-queries.d.ts delete mode 100644 src/rules/testing-library/prefer-user-event.d.ts delete mode 100644 src/rules/testing-library/render-result-naming-convention.d.ts delete mode 100644 src/rules/typescript-eslint/adjacent-overload-signatures.d.ts delete mode 100644 src/rules/typescript-eslint/array-type.d.ts delete mode 100644 src/rules/typescript-eslint/await-thenable.d.ts delete mode 100644 src/rules/typescript-eslint/ban-ts-comment.d.ts delete mode 100644 src/rules/typescript-eslint/ban-tslint-comment.d.ts delete mode 100644 src/rules/typescript-eslint/ban-types.d.ts delete mode 100644 src/rules/typescript-eslint/block-spacing.d.ts delete mode 100644 src/rules/typescript-eslint/brace-style.d.ts delete mode 100644 src/rules/typescript-eslint/class-literal-property-style.d.ts delete mode 100644 src/rules/typescript-eslint/class-methods-use-this.d.ts delete mode 100644 src/rules/typescript-eslint/comma-dangle.d.ts delete mode 100644 src/rules/typescript-eslint/comma-spacing.d.ts delete mode 100644 src/rules/typescript-eslint/consistent-generic-constructors.d.ts delete mode 100644 src/rules/typescript-eslint/consistent-indexed-object-style.d.ts delete mode 100644 src/rules/typescript-eslint/consistent-type-assertions.d.ts delete mode 100644 src/rules/typescript-eslint/consistent-type-definitions.d.ts delete mode 100644 src/rules/typescript-eslint/consistent-type-exports.d.ts delete mode 100644 src/rules/typescript-eslint/consistent-type-imports.d.ts delete mode 100644 src/rules/typescript-eslint/default-param-last.d.ts delete mode 100644 src/rules/typescript-eslint/dot-notation.d.ts delete mode 100644 src/rules/typescript-eslint/explicit-function-return-type.d.ts delete mode 100644 src/rules/typescript-eslint/explicit-member-accessibility.d.ts delete mode 100644 src/rules/typescript-eslint/explicit-module-boundary-types.d.ts delete mode 100644 src/rules/typescript-eslint/func-call-spacing.d.ts delete mode 100644 src/rules/typescript-eslint/indent.d.ts delete mode 100644 src/rules/typescript-eslint/index.d.ts delete mode 100644 src/rules/typescript-eslint/init-declarations.d.ts delete mode 100644 src/rules/typescript-eslint/key-spacing.d.ts delete mode 100644 src/rules/typescript-eslint/keyword-spacing.d.ts delete mode 100644 src/rules/typescript-eslint/lines-around-comment.d.ts delete mode 100644 src/rules/typescript-eslint/lines-between-class-members.d.ts delete mode 100644 src/rules/typescript-eslint/member-delimiter-style.d.ts delete mode 100644 src/rules/typescript-eslint/member-ordering.d.ts delete mode 100644 src/rules/typescript-eslint/method-signature-style.d.ts delete mode 100644 src/rules/typescript-eslint/naming-convention.d.ts delete mode 100644 src/rules/typescript-eslint/no-array-constructor.d.ts delete mode 100644 src/rules/typescript-eslint/no-base-to-string.d.ts delete mode 100644 src/rules/typescript-eslint/no-confusing-non-null-assertion.d.ts delete mode 100644 src/rules/typescript-eslint/no-confusing-void-expression.d.ts delete mode 100644 src/rules/typescript-eslint/no-dupe-class-members.d.ts delete mode 100644 src/rules/typescript-eslint/no-duplicate-enum-values.d.ts delete mode 100644 src/rules/typescript-eslint/no-duplicate-type-constituents.d.ts delete mode 100644 src/rules/typescript-eslint/no-dynamic-delete.d.ts delete mode 100644 src/rules/typescript-eslint/no-empty-function.d.ts delete mode 100644 src/rules/typescript-eslint/no-empty-interface.d.ts delete mode 100644 src/rules/typescript-eslint/no-explicit-any.d.ts delete mode 100644 src/rules/typescript-eslint/no-extra-non-null-assertion.d.ts delete mode 100644 src/rules/typescript-eslint/no-extra-parens.d.ts delete mode 100644 src/rules/typescript-eslint/no-extra-semi.d.ts delete mode 100644 src/rules/typescript-eslint/no-extraneous-class.d.ts delete mode 100644 src/rules/typescript-eslint/no-floating-promises.d.ts delete mode 100644 src/rules/typescript-eslint/no-for-in-array.d.ts delete mode 100644 src/rules/typescript-eslint/no-implied-eval.d.ts delete mode 100644 src/rules/typescript-eslint/no-import-type-side-effects.d.ts delete mode 100644 src/rules/typescript-eslint/no-inferrable-types.d.ts delete mode 100644 src/rules/typescript-eslint/no-invalid-this.d.ts delete mode 100644 src/rules/typescript-eslint/no-invalid-void-type.d.ts delete mode 100644 src/rules/typescript-eslint/no-loop-func.d.ts delete mode 100644 src/rules/typescript-eslint/no-loss-of-precision.d.ts delete mode 100644 src/rules/typescript-eslint/no-magic-numbers.d.ts delete mode 100644 src/rules/typescript-eslint/no-meaningless-void-operator.d.ts delete mode 100644 src/rules/typescript-eslint/no-misused-new.d.ts delete mode 100644 src/rules/typescript-eslint/no-misused-promises.d.ts delete mode 100644 src/rules/typescript-eslint/no-mixed-enums.d.ts delete mode 100644 src/rules/typescript-eslint/no-namespace.d.ts delete mode 100644 src/rules/typescript-eslint/no-non-null-asserted-nullish-coalescing.d.ts delete mode 100644 src/rules/typescript-eslint/no-non-null-asserted-optional-chain.d.ts delete mode 100644 src/rules/typescript-eslint/no-non-null-assertion.d.ts delete mode 100644 src/rules/typescript-eslint/no-redeclare.d.ts delete mode 100644 src/rules/typescript-eslint/no-redundant-type-constituents.d.ts delete mode 100644 src/rules/typescript-eslint/no-require-imports.d.ts delete mode 100644 src/rules/typescript-eslint/no-restricted-imports.d.ts delete mode 100644 src/rules/typescript-eslint/no-shadow.d.ts delete mode 100644 src/rules/typescript-eslint/no-this-alias.d.ts delete mode 100644 src/rules/typescript-eslint/no-throw-literal.d.ts delete mode 100644 src/rules/typescript-eslint/no-type-alias.d.ts delete mode 100644 src/rules/typescript-eslint/no-unnecessary-boolean-literal-compare.d.ts delete mode 100644 src/rules/typescript-eslint/no-unnecessary-condition.d.ts delete mode 100644 src/rules/typescript-eslint/no-unnecessary-qualifier.d.ts delete mode 100644 src/rules/typescript-eslint/no-unnecessary-type-arguments.d.ts delete mode 100644 src/rules/typescript-eslint/no-unnecessary-type-assertion.d.ts delete mode 100644 src/rules/typescript-eslint/no-unnecessary-type-constraint.d.ts delete mode 100644 src/rules/typescript-eslint/no-unsafe-argument.d.ts delete mode 100644 src/rules/typescript-eslint/no-unsafe-assignment.d.ts delete mode 100644 src/rules/typescript-eslint/no-unsafe-call.d.ts delete mode 100644 src/rules/typescript-eslint/no-unsafe-declaration-merging.d.ts delete mode 100644 src/rules/typescript-eslint/no-unsafe-enum-comparison.d.ts delete mode 100644 src/rules/typescript-eslint/no-unsafe-member-access.d.ts delete mode 100644 src/rules/typescript-eslint/no-unsafe-return.d.ts delete mode 100644 src/rules/typescript-eslint/no-unused-expressions.d.ts delete mode 100644 src/rules/typescript-eslint/no-unused-vars.d.ts delete mode 100644 src/rules/typescript-eslint/no-use-before-define.d.ts delete mode 100644 src/rules/typescript-eslint/no-useless-constructor.d.ts delete mode 100644 src/rules/typescript-eslint/no-useless-empty-export.d.ts delete mode 100644 src/rules/typescript-eslint/no-var-requires.d.ts delete mode 100644 src/rules/typescript-eslint/non-nullable-type-assertion-style.d.ts delete mode 100644 src/rules/typescript-eslint/object-curly-spacing.d.ts delete mode 100644 src/rules/typescript-eslint/padding-line-between-statements.d.ts delete mode 100644 src/rules/typescript-eslint/parameter-properties.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-as-const.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-enum-initializers.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-for-of.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-function-type.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-includes.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-literal-enum-member.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-namespace-keyword.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-nullish-coalescing.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-optional-chain.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-readonly-parameter-types.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-readonly.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-reduce-type-parameter.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-regexp-exec.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-return-this-type.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-string-starts-ends-with.d.ts delete mode 100644 src/rules/typescript-eslint/prefer-ts-expect-error.d.ts delete mode 100644 src/rules/typescript-eslint/promise-function-async.d.ts delete mode 100644 src/rules/typescript-eslint/quotes.d.ts delete mode 100644 src/rules/typescript-eslint/require-array-sort-compare.d.ts delete mode 100644 src/rules/typescript-eslint/require-await.d.ts delete mode 100644 src/rules/typescript-eslint/restrict-plus-operands.d.ts delete mode 100644 src/rules/typescript-eslint/restrict-template-expressions.d.ts delete mode 100644 src/rules/typescript-eslint/return-await.d.ts delete mode 100644 src/rules/typescript-eslint/semi.d.ts delete mode 100644 src/rules/typescript-eslint/sort-type-constituents.d.ts delete mode 100644 src/rules/typescript-eslint/space-before-blocks.d.ts delete mode 100644 src/rules/typescript-eslint/space-before-function-paren.d.ts delete mode 100644 src/rules/typescript-eslint/space-infix-ops.d.ts delete mode 100644 src/rules/typescript-eslint/strict-boolean-expressions.d.ts delete mode 100644 src/rules/typescript-eslint/switch-exhaustiveness-check.d.ts delete mode 100644 src/rules/typescript-eslint/triple-slash-reference.d.ts delete mode 100644 src/rules/typescript-eslint/type-annotation-spacing.d.ts delete mode 100644 src/rules/typescript-eslint/typedef.d.ts delete mode 100644 src/rules/typescript-eslint/unbound-method.d.ts delete mode 100644 src/rules/typescript-eslint/unified-signatures.d.ts delete mode 100644 src/rules/unicorn/better-regex.d.ts delete mode 100644 src/rules/unicorn/catch-error-name.d.ts delete mode 100644 src/rules/unicorn/consistent-destructuring.d.ts delete mode 100644 src/rules/unicorn/consistent-function-scoping.d.ts delete mode 100644 src/rules/unicorn/custom-error-definition.d.ts delete mode 100644 src/rules/unicorn/empty-brace-spaces.d.ts delete mode 100644 src/rules/unicorn/error-message.d.ts delete mode 100644 src/rules/unicorn/escape-case.d.ts delete mode 100644 src/rules/unicorn/expiring-todo-comments.d.ts delete mode 100644 src/rules/unicorn/explicit-length-check.d.ts delete mode 100644 src/rules/unicorn/filename-case.d.ts delete mode 100644 src/rules/unicorn/import-index.d.ts delete mode 100644 src/rules/unicorn/import-style.d.ts delete mode 100644 src/rules/unicorn/index.d.ts delete mode 100644 src/rules/unicorn/new-for-builtins.d.ts delete mode 100644 src/rules/unicorn/no-abusive-eslint-disable.d.ts delete mode 100644 src/rules/unicorn/no-array-callback-reference.d.ts delete mode 100644 src/rules/unicorn/no-array-for-each.d.ts delete mode 100644 src/rules/unicorn/no-array-instanceof.d.ts delete mode 100644 src/rules/unicorn/no-array-method-this-argument.d.ts delete mode 100644 src/rules/unicorn/no-array-push-push.d.ts delete mode 100644 src/rules/unicorn/no-array-reduce.d.ts delete mode 100644 src/rules/unicorn/no-await-expression-member.d.ts delete mode 100644 src/rules/unicorn/no-console-spaces.d.ts delete mode 100644 src/rules/unicorn/no-document-cookie.d.ts delete mode 100644 src/rules/unicorn/no-empty-file.d.ts delete mode 100644 src/rules/unicorn/no-fn-reference-in-iterator.d.ts delete mode 100644 src/rules/unicorn/no-for-loop.d.ts delete mode 100644 src/rules/unicorn/no-hex-escape.d.ts delete mode 100644 src/rules/unicorn/no-instanceof-array.d.ts delete mode 100644 src/rules/unicorn/no-invalid-remove-event-listener.d.ts delete mode 100644 src/rules/unicorn/no-keyword-prefix.d.ts delete mode 100644 src/rules/unicorn/no-lonely-if.d.ts delete mode 100644 src/rules/unicorn/no-negated-condition.d.ts delete mode 100644 src/rules/unicorn/no-nested-ternary.d.ts delete mode 100644 src/rules/unicorn/no-new-array.d.ts delete mode 100644 src/rules/unicorn/no-new-buffer.d.ts delete mode 100644 src/rules/unicorn/no-null.d.ts delete mode 100644 src/rules/unicorn/no-object-as-default-parameter.d.ts delete mode 100644 src/rules/unicorn/no-process-exit.d.ts delete mode 100644 src/rules/unicorn/no-reduce.d.ts delete mode 100644 src/rules/unicorn/no-static-only-class.d.ts delete mode 100644 src/rules/unicorn/no-thenable.d.ts delete mode 100644 src/rules/unicorn/no-this-assignment.d.ts delete mode 100644 src/rules/unicorn/no-typeof-undefined.d.ts delete mode 100644 src/rules/unicorn/no-unnecessary-await.d.ts delete mode 100644 src/rules/unicorn/no-unreadable-array-destructuring.d.ts delete mode 100644 src/rules/unicorn/no-unreadable-iife.d.ts delete mode 100644 src/rules/unicorn/no-unsafe-regex.d.ts delete mode 100644 src/rules/unicorn/no-unused-properties.d.ts delete mode 100644 src/rules/unicorn/no-useless-fallback-in-spread.d.ts delete mode 100644 src/rules/unicorn/no-useless-length-check.d.ts delete mode 100644 src/rules/unicorn/no-useless-promise-resolve-reject.d.ts delete mode 100644 src/rules/unicorn/no-useless-spread.d.ts delete mode 100644 src/rules/unicorn/no-useless-switch-case.d.ts delete mode 100644 src/rules/unicorn/no-useless-undefined.d.ts delete mode 100644 src/rules/unicorn/no-zero-fractions.d.ts delete mode 100644 src/rules/unicorn/number-literal-case.d.ts delete mode 100644 src/rules/unicorn/numeric-separators-style.d.ts delete mode 100644 src/rules/unicorn/prefer-add-event-listener.d.ts delete mode 100644 src/rules/unicorn/prefer-array-find.d.ts delete mode 100644 src/rules/unicorn/prefer-array-flat-map.d.ts delete mode 100644 src/rules/unicorn/prefer-array-flat.d.ts delete mode 100644 src/rules/unicorn/prefer-array-index-of.d.ts delete mode 100644 src/rules/unicorn/prefer-array-some.d.ts delete mode 100644 src/rules/unicorn/prefer-at.d.ts delete mode 100644 src/rules/unicorn/prefer-blob-reading-methods.d.ts delete mode 100644 src/rules/unicorn/prefer-code-point.d.ts delete mode 100644 src/rules/unicorn/prefer-dataset.d.ts delete mode 100644 src/rules/unicorn/prefer-date-now.d.ts delete mode 100644 src/rules/unicorn/prefer-default-parameters.d.ts delete mode 100644 src/rules/unicorn/prefer-dom-node-append.d.ts delete mode 100644 src/rules/unicorn/prefer-dom-node-dataset.d.ts delete mode 100644 src/rules/unicorn/prefer-dom-node-remove.d.ts delete mode 100644 src/rules/unicorn/prefer-dom-node-text-content.d.ts delete mode 100644 src/rules/unicorn/prefer-event-key.d.ts delete mode 100644 src/rules/unicorn/prefer-event-target.d.ts delete mode 100644 src/rules/unicorn/prefer-exponentiation-operator.d.ts delete mode 100644 src/rules/unicorn/prefer-export-from.d.ts delete mode 100644 src/rules/unicorn/prefer-flat-map.d.ts delete mode 100644 src/rules/unicorn/prefer-includes.d.ts delete mode 100644 src/rules/unicorn/prefer-json-parse-buffer.d.ts delete mode 100644 src/rules/unicorn/prefer-keyboard-event-key.d.ts delete mode 100644 src/rules/unicorn/prefer-logical-operator-over-ternary.d.ts delete mode 100644 src/rules/unicorn/prefer-math-trunc.d.ts delete mode 100644 src/rules/unicorn/prefer-modern-dom-apis.d.ts delete mode 100644 src/rules/unicorn/prefer-modern-math-apis.d.ts delete mode 100644 src/rules/unicorn/prefer-module.d.ts delete mode 100644 src/rules/unicorn/prefer-native-coercion-functions.d.ts delete mode 100644 src/rules/unicorn/prefer-negative-index.d.ts delete mode 100644 src/rules/unicorn/prefer-node-append.d.ts delete mode 100644 src/rules/unicorn/prefer-node-protocol.d.ts delete mode 100644 src/rules/unicorn/prefer-node-remove.d.ts delete mode 100644 src/rules/unicorn/prefer-number-properties.d.ts delete mode 100644 src/rules/unicorn/prefer-object-from-entries.d.ts delete mode 100644 src/rules/unicorn/prefer-object-has-own.d.ts delete mode 100644 src/rules/unicorn/prefer-optional-catch-binding.d.ts delete mode 100644 src/rules/unicorn/prefer-prototype-methods.d.ts delete mode 100644 src/rules/unicorn/prefer-query-selector.d.ts delete mode 100644 src/rules/unicorn/prefer-reflect-apply.d.ts delete mode 100644 src/rules/unicorn/prefer-regexp-test.d.ts delete mode 100644 src/rules/unicorn/prefer-replace-all.d.ts delete mode 100644 src/rules/unicorn/prefer-set-has.d.ts delete mode 100644 src/rules/unicorn/prefer-set-size.d.ts delete mode 100644 src/rules/unicorn/prefer-spread.d.ts delete mode 100644 src/rules/unicorn/prefer-starts-ends-with.d.ts delete mode 100644 src/rules/unicorn/prefer-string-replace-all.d.ts delete mode 100644 src/rules/unicorn/prefer-string-slice.d.ts delete mode 100644 src/rules/unicorn/prefer-string-starts-ends-with.d.ts delete mode 100644 src/rules/unicorn/prefer-string-trim-start-end.d.ts delete mode 100644 src/rules/unicorn/prefer-switch.d.ts delete mode 100644 src/rules/unicorn/prefer-ternary.d.ts delete mode 100644 src/rules/unicorn/prefer-text-content.d.ts delete mode 100644 src/rules/unicorn/prefer-top-level-await.d.ts delete mode 100644 src/rules/unicorn/prefer-trim-start-end.d.ts delete mode 100644 src/rules/unicorn/prefer-type-error.d.ts delete mode 100644 src/rules/unicorn/prevent-abbreviations.d.ts delete mode 100644 src/rules/unicorn/regex-shorthand.d.ts delete mode 100644 src/rules/unicorn/relative-url-style.d.ts delete mode 100644 src/rules/unicorn/require-array-join-separator.d.ts delete mode 100644 src/rules/unicorn/require-number-to-fixed-digits-argument.d.ts delete mode 100644 src/rules/unicorn/require-post-message-target-origin.d.ts delete mode 100644 src/rules/unicorn/string-content.d.ts delete mode 100644 src/rules/unicorn/switch-case-braces.d.ts delete mode 100644 src/rules/unicorn/template-indent.d.ts delete mode 100644 src/rules/unicorn/text-encoding-identifier-case.d.ts delete mode 100644 src/rules/unicorn/throw-new-error.d.ts delete mode 100644 src/rules/vitest/consistent-test-filename.d.ts delete mode 100644 src/rules/vitest/consistent-test-it.d.ts delete mode 100644 src/rules/vitest/expect-expect.d.ts delete mode 100644 src/rules/vitest/index.d.ts delete mode 100644 src/rules/vitest/max-expects.d.ts delete mode 100644 src/rules/vitest/max-nested-describe.d.ts delete mode 100644 src/rules/vitest/no-alias-methods.d.ts delete mode 100644 src/rules/vitest/no-commented-out-tests.d.ts delete mode 100644 src/rules/vitest/no-conditional-expect.d.ts delete mode 100644 src/rules/vitest/no-conditional-in-test.d.ts delete mode 100644 src/rules/vitest/no-conditional-tests.d.ts delete mode 100644 src/rules/vitest/no-disabled-tests.d.ts delete mode 100644 src/rules/vitest/no-done-callback.d.ts delete mode 100644 src/rules/vitest/no-duplicate-hooks.d.ts delete mode 100644 src/rules/vitest/no-focused-tests.d.ts delete mode 100644 src/rules/vitest/no-hooks.d.ts delete mode 100644 src/rules/vitest/no-identical-title.d.ts delete mode 100644 src/rules/vitest/no-interpolation-in-snapshots.d.ts delete mode 100644 src/rules/vitest/no-large-snapshots.d.ts delete mode 100644 src/rules/vitest/no-mocks-import.d.ts delete mode 100644 src/rules/vitest/no-restricted-matchers.d.ts delete mode 100644 src/rules/vitest/no-restricted-vi-methods.d.ts delete mode 100644 src/rules/vitest/no-standalone-expect.d.ts delete mode 100644 src/rules/vitest/no-test-prefixes.d.ts delete mode 100644 src/rules/vitest/no-test-return-statement.d.ts delete mode 100644 src/rules/vitest/prefer-called-with.d.ts delete mode 100644 src/rules/vitest/prefer-comparison-matcher.d.ts delete mode 100644 src/rules/vitest/prefer-each.d.ts delete mode 100644 src/rules/vitest/prefer-equality-matcher.d.ts delete mode 100644 src/rules/vitest/prefer-expect-resolves.d.ts delete mode 100644 src/rules/vitest/prefer-hooks-in-order.d.ts delete mode 100644 src/rules/vitest/prefer-hooks-on-top.d.ts delete mode 100644 src/rules/vitest/prefer-lowercase-title.d.ts delete mode 100644 src/rules/vitest/prefer-mock-promise-shorthand.d.ts delete mode 100644 src/rules/vitest/prefer-snapshot-hint.d.ts delete mode 100644 src/rules/vitest/prefer-spy-on.d.ts delete mode 100644 src/rules/vitest/prefer-strict-equal.d.ts delete mode 100644 src/rules/vitest/prefer-to-be-falsy.d.ts delete mode 100644 src/rules/vitest/prefer-to-be-object.d.ts delete mode 100644 src/rules/vitest/prefer-to-be-truthy.d.ts delete mode 100644 src/rules/vitest/prefer-to-be.d.ts delete mode 100644 src/rules/vitest/prefer-to-contain.d.ts delete mode 100644 src/rules/vitest/prefer-to-have-length.d.ts delete mode 100644 src/rules/vitest/prefer-todo.d.ts delete mode 100644 src/rules/vitest/require-hook.d.ts delete mode 100644 src/rules/vitest/require-to-throw-message.d.ts delete mode 100644 src/rules/vitest/require-top-level-describe.d.ts delete mode 100644 src/rules/vitest/valid-describe-callback.d.ts delete mode 100644 src/rules/vitest/valid-expect.d.ts delete mode 100644 src/rules/vitest/valid-title.d.ts delete mode 100644 src/rules/vue-i18n/index.d.ts delete mode 100644 src/rules/vue-i18n/key-format-style.d.ts delete mode 100644 src/rules/vue-i18n/no-deprecated-i18n-component.d.ts delete mode 100644 src/rules/vue-i18n/no-deprecated-i18n-place-attr.d.ts delete mode 100644 src/rules/vue-i18n/no-deprecated-i18n-places-prop.d.ts delete mode 100644 src/rules/vue-i18n/no-duplicate-keys-in-locale.d.ts delete mode 100644 src/rules/vue-i18n/no-dynamic-keys.d.ts delete mode 100644 src/rules/vue-i18n/no-html-messages.d.ts delete mode 100644 src/rules/vue-i18n/no-i18n-t-path-prop.d.ts delete mode 100644 src/rules/vue-i18n/no-missing-keys-in-other-locales.d.ts delete mode 100644 src/rules/vue-i18n/no-missing-keys.d.ts delete mode 100644 src/rules/vue-i18n/no-raw-text.d.ts delete mode 100644 src/rules/vue-i18n/no-unknown-locale.d.ts delete mode 100644 src/rules/vue-i18n/no-unused-keys.d.ts delete mode 100644 src/rules/vue-i18n/no-v-html.d.ts delete mode 100644 src/rules/vue-i18n/prefer-linked-key-with-paren.d.ts delete mode 100644 src/rules/vue-i18n/prefer-sfc-lang-attr.d.ts delete mode 100644 src/rules/vue-i18n/sfc-locale-attr.d.ts delete mode 100644 src/rules/vue-i18n/valid-message-syntax.d.ts delete mode 100644 src/rules/vue-pug/component-name-in-template-casing.d.ts delete mode 100644 src/rules/vue-pug/index.d.ts delete mode 100644 src/rules/vue-pug/no-parsing-error.d.ts delete mode 100644 src/rules/vue-pug/no-pug-control-flow.d.ts delete mode 100644 src/rules/vue/array-bracket-newline.d.ts delete mode 100644 src/rules/vue/array-bracket-spacing.d.ts delete mode 100644 src/rules/vue/array-element-newline.d.ts delete mode 100644 src/rules/vue/arrow-spacing.d.ts delete mode 100644 src/rules/vue/attribute-hyphenation.d.ts delete mode 100644 src/rules/vue/attributes-order.d.ts delete mode 100644 src/rules/vue/block-lang.d.ts delete mode 100644 src/rules/vue/block-order.d.ts delete mode 100644 src/rules/vue/block-spacing.d.ts delete mode 100644 src/rules/vue/block-tag-newline.d.ts delete mode 100644 src/rules/vue/brace-style.d.ts delete mode 100644 src/rules/vue/camelcase.d.ts delete mode 100644 src/rules/vue/comma-dangle.d.ts delete mode 100644 src/rules/vue/comma-spacing.d.ts delete mode 100644 src/rules/vue/comma-style.d.ts delete mode 100644 src/rules/vue/comment-directive.d.ts delete mode 100644 src/rules/vue/component-api-style.d.ts delete mode 100644 src/rules/vue/component-definition-name-casing.d.ts delete mode 100644 src/rules/vue/component-name-in-template-casing.d.ts delete mode 100644 src/rules/vue/component-options-name-casing.d.ts delete mode 100644 src/rules/vue/component-tags-order.d.ts delete mode 100644 src/rules/vue/custom-event-name-casing.d.ts delete mode 100644 src/rules/vue/define-emits-declaration.d.ts delete mode 100644 src/rules/vue/define-macros-order.d.ts delete mode 100644 src/rules/vue/define-props-declaration.d.ts delete mode 100644 src/rules/vue/dot-location.d.ts delete mode 100644 src/rules/vue/dot-notation.d.ts delete mode 100644 src/rules/vue/eqeqeq.d.ts delete mode 100644 src/rules/vue/first-attribute-linebreak.d.ts delete mode 100644 src/rules/vue/func-call-spacing.d.ts delete mode 100644 src/rules/vue/html-button-has-type.d.ts delete mode 100644 src/rules/vue/html-closing-bracket-newline.d.ts delete mode 100644 src/rules/vue/html-closing-bracket-spacing.d.ts delete mode 100644 src/rules/vue/html-comment-content-newline.d.ts delete mode 100644 src/rules/vue/html-comment-content-spacing.d.ts delete mode 100644 src/rules/vue/html-comment-indent.d.ts delete mode 100644 src/rules/vue/html-end-tags.d.ts delete mode 100644 src/rules/vue/html-indent.d.ts delete mode 100644 src/rules/vue/html-quotes.d.ts delete mode 100644 src/rules/vue/html-self-closing.d.ts delete mode 100644 src/rules/vue/index.d.ts delete mode 100644 src/rules/vue/jsx-uses-vars.d.ts delete mode 100644 src/rules/vue/key-spacing.d.ts delete mode 100644 src/rules/vue/keyword-spacing.d.ts delete mode 100644 src/rules/vue/match-component-file-name.d.ts delete mode 100644 src/rules/vue/match-component-import-name.d.ts delete mode 100644 src/rules/vue/max-attributes-per-line.d.ts delete mode 100644 src/rules/vue/max-len.d.ts delete mode 100644 src/rules/vue/max-lines-per-block.d.ts delete mode 100644 src/rules/vue/multi-word-component-names.d.ts delete mode 100644 src/rules/vue/multiline-html-element-content-newline.d.ts delete mode 100644 src/rules/vue/multiline-ternary.d.ts delete mode 100644 src/rules/vue/mustache-interpolation-spacing.d.ts delete mode 100644 src/rules/vue/new-line-between-multi-line-property.d.ts delete mode 100644 src/rules/vue/next-tick-style.d.ts delete mode 100644 src/rules/vue/no-arrow-functions-in-watch.d.ts delete mode 100644 src/rules/vue/no-async-in-computed-properties.d.ts delete mode 100644 src/rules/vue/no-bare-strings-in-template.d.ts delete mode 100644 src/rules/vue/no-boolean-default.d.ts delete mode 100644 src/rules/vue/no-child-content.d.ts delete mode 100644 src/rules/vue/no-computed-properties-in-data.d.ts delete mode 100644 src/rules/vue/no-console.d.ts delete mode 100644 src/rules/vue/no-constant-condition.d.ts delete mode 100644 src/rules/vue/no-custom-modifiers-on-v-model.d.ts delete mode 100644 src/rules/vue/no-deprecated-data-object-declaration.d.ts delete mode 100644 src/rules/vue/no-deprecated-destroyed-lifecycle.d.ts delete mode 100644 src/rules/vue/no-deprecated-dollar-listeners-api.d.ts delete mode 100644 src/rules/vue/no-deprecated-dollar-scopedslots-api.d.ts delete mode 100644 src/rules/vue/no-deprecated-events-api.d.ts delete mode 100644 src/rules/vue/no-deprecated-filter.d.ts delete mode 100644 src/rules/vue/no-deprecated-functional-template.d.ts delete mode 100644 src/rules/vue/no-deprecated-html-element-is.d.ts delete mode 100644 src/rules/vue/no-deprecated-inline-template.d.ts delete mode 100644 src/rules/vue/no-deprecated-model-definition.d.ts delete mode 100644 src/rules/vue/no-deprecated-props-default-this.d.ts delete mode 100644 src/rules/vue/no-deprecated-router-link-tag-prop.d.ts delete mode 100644 src/rules/vue/no-deprecated-scope-attribute.d.ts delete mode 100644 src/rules/vue/no-deprecated-slot-attribute.d.ts delete mode 100644 src/rules/vue/no-deprecated-slot-scope-attribute.d.ts delete mode 100644 src/rules/vue/no-deprecated-v-bind-sync.d.ts delete mode 100644 src/rules/vue/no-deprecated-v-is.d.ts delete mode 100644 src/rules/vue/no-deprecated-v-on-native-modifier.d.ts delete mode 100644 src/rules/vue/no-deprecated-v-on-number-modifiers.d.ts delete mode 100644 src/rules/vue/no-deprecated-vue-config-keycodes.d.ts delete mode 100644 src/rules/vue/no-dupe-keys.d.ts delete mode 100644 src/rules/vue/no-dupe-v-else-if.d.ts delete mode 100644 src/rules/vue/no-duplicate-attr-inheritance.d.ts delete mode 100644 src/rules/vue/no-duplicate-attributes.d.ts delete mode 100644 src/rules/vue/no-empty-component-block.d.ts delete mode 100644 src/rules/vue/no-empty-pattern.d.ts delete mode 100644 src/rules/vue/no-export-in-script-setup.d.ts delete mode 100644 src/rules/vue/no-expose-after-await.d.ts delete mode 100644 src/rules/vue/no-extra-parens.d.ts delete mode 100644 src/rules/vue/no-invalid-model-keys.d.ts delete mode 100644 src/rules/vue/no-irregular-whitespace.d.ts delete mode 100644 src/rules/vue/no-lifecycle-after-await.d.ts delete mode 100644 src/rules/vue/no-lone-template.d.ts delete mode 100644 src/rules/vue/no-loss-of-precision.d.ts delete mode 100644 src/rules/vue/no-multi-spaces.d.ts delete mode 100644 src/rules/vue/no-multiple-objects-in-class.d.ts delete mode 100644 src/rules/vue/no-multiple-slot-args.d.ts delete mode 100644 src/rules/vue/no-multiple-template-root.d.ts delete mode 100644 src/rules/vue/no-mutating-props.d.ts delete mode 100644 src/rules/vue/no-parsing-error.d.ts delete mode 100644 src/rules/vue/no-potential-component-option-typo.d.ts delete mode 100644 src/rules/vue/no-ref-as-operand.d.ts delete mode 100644 src/rules/vue/no-ref-object-destructure.d.ts delete mode 100644 src/rules/vue/no-ref-object-reactivity-loss.d.ts delete mode 100644 src/rules/vue/no-required-prop-with-default.d.ts delete mode 100644 src/rules/vue/no-reserved-component-names.d.ts delete mode 100644 src/rules/vue/no-reserved-keys.d.ts delete mode 100644 src/rules/vue/no-reserved-props.d.ts delete mode 100644 src/rules/vue/no-restricted-block.d.ts delete mode 100644 src/rules/vue/no-restricted-call-after-await.d.ts delete mode 100644 src/rules/vue/no-restricted-class.d.ts delete mode 100644 src/rules/vue/no-restricted-component-names.d.ts delete mode 100644 src/rules/vue/no-restricted-component-options.d.ts delete mode 100644 src/rules/vue/no-restricted-custom-event.d.ts delete mode 100644 src/rules/vue/no-restricted-html-elements.d.ts delete mode 100644 src/rules/vue/no-restricted-props.d.ts delete mode 100644 src/rules/vue/no-restricted-static-attribute.d.ts delete mode 100644 src/rules/vue/no-restricted-syntax.d.ts delete mode 100644 src/rules/vue/no-restricted-v-bind.d.ts delete mode 100644 src/rules/vue/no-root-v-if.d.ts delete mode 100644 src/rules/vue/no-setup-props-destructure.d.ts delete mode 100644 src/rules/vue/no-setup-props-reactivity-loss.d.ts delete mode 100644 src/rules/vue/no-shared-component-data.d.ts delete mode 100644 src/rules/vue/no-side-effects-in-computed-properties.d.ts delete mode 100644 src/rules/vue/no-spaces-around-equal-signs-in-attribute.d.ts delete mode 100644 src/rules/vue/no-sparse-arrays.d.ts delete mode 100644 src/rules/vue/no-static-inline-styles.d.ts delete mode 100644 src/rules/vue/no-template-key.d.ts delete mode 100644 src/rules/vue/no-template-shadow.d.ts delete mode 100644 src/rules/vue/no-template-target-blank.d.ts delete mode 100644 src/rules/vue/no-textarea-mustache.d.ts delete mode 100644 src/rules/vue/no-this-in-before-route-enter.d.ts delete mode 100644 src/rules/vue/no-undef-components.d.ts delete mode 100644 src/rules/vue/no-undef-properties.d.ts delete mode 100644 src/rules/vue/no-unsupported-features.d.ts delete mode 100644 src/rules/vue/no-unused-components.d.ts delete mode 100644 src/rules/vue/no-unused-properties.d.ts delete mode 100644 src/rules/vue/no-unused-refs.d.ts delete mode 100644 src/rules/vue/no-unused-vars.d.ts delete mode 100644 src/rules/vue/no-use-computed-property-like-method.d.ts delete mode 100644 src/rules/vue/no-use-v-else-with-v-for.d.ts delete mode 100644 src/rules/vue/no-use-v-if-with-v-for.d.ts delete mode 100644 src/rules/vue/no-useless-concat.d.ts delete mode 100644 src/rules/vue/no-useless-mustaches.d.ts delete mode 100644 src/rules/vue/no-useless-template-attributes.d.ts delete mode 100644 src/rules/vue/no-useless-v-bind.d.ts delete mode 100644 src/rules/vue/no-v-for-template-key-on-child.d.ts delete mode 100644 src/rules/vue/no-v-for-template-key.d.ts delete mode 100644 src/rules/vue/no-v-html.d.ts delete mode 100644 src/rules/vue/no-v-model-argument.d.ts delete mode 100644 src/rules/vue/no-v-text-v-html-on-component.d.ts delete mode 100644 src/rules/vue/no-v-text.d.ts delete mode 100644 src/rules/vue/no-watch-after-await.d.ts delete mode 100644 src/rules/vue/object-curly-newline.d.ts delete mode 100644 src/rules/vue/object-curly-spacing.d.ts delete mode 100644 src/rules/vue/object-property-newline.d.ts delete mode 100644 src/rules/vue/object-shorthand.d.ts delete mode 100644 src/rules/vue/one-component-per-file.d.ts delete mode 100644 src/rules/vue/operator-linebreak.d.ts delete mode 100644 src/rules/vue/order-in-components.d.ts delete mode 100644 src/rules/vue/padding-line-between-blocks.d.ts delete mode 100644 src/rules/vue/padding-line-between-tags.d.ts delete mode 100644 src/rules/vue/padding-lines-in-component-definition.d.ts delete mode 100644 src/rules/vue/prefer-define-options.d.ts delete mode 100644 src/rules/vue/prefer-import-from-vue.d.ts delete mode 100644 src/rules/vue/prefer-prop-type-boolean-first.d.ts delete mode 100644 src/rules/vue/prefer-separate-static-class.d.ts delete mode 100644 src/rules/vue/prefer-template.d.ts delete mode 100644 src/rules/vue/prefer-true-attribute-shorthand.d.ts delete mode 100644 src/rules/vue/prop-name-casing.d.ts delete mode 100644 src/rules/vue/quote-props.d.ts delete mode 100644 src/rules/vue/require-component-is.d.ts delete mode 100644 src/rules/vue/require-default-prop.d.ts delete mode 100644 src/rules/vue/require-direct-export.d.ts delete mode 100644 src/rules/vue/require-emit-validator.d.ts delete mode 100644 src/rules/vue/require-explicit-emits.d.ts delete mode 100644 src/rules/vue/require-expose.d.ts delete mode 100644 src/rules/vue/require-macro-variable-name.d.ts delete mode 100644 src/rules/vue/require-name-property.d.ts delete mode 100644 src/rules/vue/require-prop-comment.d.ts delete mode 100644 src/rules/vue/require-prop-type-constructor.d.ts delete mode 100644 src/rules/vue/require-prop-types.d.ts delete mode 100644 src/rules/vue/require-render-return.d.ts delete mode 100644 src/rules/vue/require-slots-as-functions.d.ts delete mode 100644 src/rules/vue/require-toggle-inside-transition.d.ts delete mode 100644 src/rules/vue/require-typed-object-prop.d.ts delete mode 100644 src/rules/vue/require-typed-ref.d.ts delete mode 100644 src/rules/vue/require-v-for-key.d.ts delete mode 100644 src/rules/vue/require-valid-default-prop.d.ts delete mode 100644 src/rules/vue/return-in-computed-property.d.ts delete mode 100644 src/rules/vue/return-in-emits-validator.d.ts delete mode 100644 src/rules/vue/script-indent.d.ts delete mode 100644 src/rules/vue/script-setup-uses-vars.d.ts delete mode 100644 src/rules/vue/singleline-html-element-content-newline.d.ts delete mode 100644 src/rules/vue/sort-keys.d.ts delete mode 100644 src/rules/vue/space-in-parens.d.ts delete mode 100644 src/rules/vue/space-infix-ops.d.ts delete mode 100644 src/rules/vue/space-unary-ops.d.ts delete mode 100644 src/rules/vue/static-class-names-order.d.ts delete mode 100644 src/rules/vue/template-curly-spacing.d.ts delete mode 100644 src/rules/vue/this-in-template.d.ts delete mode 100644 src/rules/vue/use-v-on-exact.d.ts delete mode 100644 src/rules/vue/v-bind-style.d.ts delete mode 100644 src/rules/vue/v-for-delimiter-style.d.ts delete mode 100644 src/rules/vue/v-on-event-hyphenation.d.ts delete mode 100644 src/rules/vue/v-on-function-call.d.ts delete mode 100644 src/rules/vue/v-on-handler-style.d.ts delete mode 100644 src/rules/vue/v-on-style.d.ts delete mode 100644 src/rules/vue/v-slot-style.d.ts delete mode 100644 src/rules/vue/valid-attribute-name.d.ts delete mode 100644 src/rules/vue/valid-define-emits.d.ts delete mode 100644 src/rules/vue/valid-define-options.d.ts delete mode 100644 src/rules/vue/valid-define-props.d.ts delete mode 100644 src/rules/vue/valid-model-definition.d.ts delete mode 100644 src/rules/vue/valid-next-tick.d.ts delete mode 100644 src/rules/vue/valid-template-root.d.ts delete mode 100644 src/rules/vue/valid-v-bind-sync.d.ts delete mode 100644 src/rules/vue/valid-v-bind.d.ts delete mode 100644 src/rules/vue/valid-v-cloak.d.ts delete mode 100644 src/rules/vue/valid-v-else-if.d.ts delete mode 100644 src/rules/vue/valid-v-else.d.ts delete mode 100644 src/rules/vue/valid-v-for.d.ts delete mode 100644 src/rules/vue/valid-v-html.d.ts delete mode 100644 src/rules/vue/valid-v-if.d.ts delete mode 100644 src/rules/vue/valid-v-is.d.ts delete mode 100644 src/rules/vue/valid-v-memo.d.ts delete mode 100644 src/rules/vue/valid-v-model.d.ts delete mode 100644 src/rules/vue/valid-v-on.d.ts delete mode 100644 src/rules/vue/valid-v-once.d.ts delete mode 100644 src/rules/vue/valid-v-pre.d.ts delete mode 100644 src/rules/vue/valid-v-show.d.ts delete mode 100644 src/rules/vue/valid-v-slot.d.ts delete mode 100644 src/rules/vue/valid-v-text.d.ts delete mode 100644 src/rules/yml/block-mapping-colon-indicator-newline.d.ts delete mode 100644 src/rules/yml/block-mapping-question-indicator-newline.d.ts delete mode 100644 src/rules/yml/block-mapping.d.ts delete mode 100644 src/rules/yml/block-sequence-hyphen-indicator-newline.d.ts delete mode 100644 src/rules/yml/block-sequence.d.ts delete mode 100644 src/rules/yml/file-extension.d.ts delete mode 100644 src/rules/yml/flow-mapping-curly-newline.d.ts delete mode 100644 src/rules/yml/flow-mapping-curly-spacing.d.ts delete mode 100644 src/rules/yml/flow-sequence-bracket-newline.d.ts delete mode 100644 src/rules/yml/flow-sequence-bracket-spacing.d.ts delete mode 100644 src/rules/yml/indent.d.ts delete mode 100644 src/rules/yml/index.d.ts delete mode 100644 src/rules/yml/key-name-casing.d.ts delete mode 100644 src/rules/yml/key-spacing.d.ts delete mode 100644 src/rules/yml/no-empty-document.d.ts delete mode 100644 src/rules/yml/no-empty-key.d.ts delete mode 100644 src/rules/yml/no-empty-mapping-value.d.ts delete mode 100644 src/rules/yml/no-empty-sequence-entry.d.ts delete mode 100644 src/rules/yml/no-irregular-whitespace.d.ts delete mode 100644 src/rules/yml/no-multiple-empty-lines.d.ts delete mode 100644 src/rules/yml/no-tab-indent.d.ts delete mode 100644 src/rules/yml/no-trailing-zeros.d.ts delete mode 100644 src/rules/yml/plain-scalar.d.ts delete mode 100644 src/rules/yml/quotes.d.ts delete mode 100644 src/rules/yml/require-string-key.d.ts delete mode 100644 src/rules/yml/sort-keys.d.ts delete mode 100644 src/rules/yml/sort-sequence-values.d.ts delete mode 100644 src/rules/yml/spaced-comment.d.ts delete mode 100644 src/rules/yml/vue-custom-block/no-parsing-error.d.ts delete mode 100644 tests/__snapshots__/generate-rule-files.test.ts.snap delete mode 100644 tests/generate-rule-files.test.ts diff --git a/.eslintrc.cjs b/.eslintrc.cjs index fbfcc58c..c324c476 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -36,19 +36,28 @@ module.exports = defineConfig({ 'error', { default: 'array-simple', readonly: 'generic' }, ], - '@typescript-eslint/ban-ts-comment': 'error', '@typescript-eslint/consistent-type-imports': 'error', '@typescript-eslint/explicit-module-boundary-types': 'error', '@typescript-eslint/naming-convention': [ 'error', { format: ['PascalCase'], - selector: ['class', 'interface', 'typeAlias', 'typeParameter'], + selector: ['class', 'interface', 'typeAlias', 'enumMember'], leadingUnderscore: 'forbid', trailingUnderscore: 'forbid', }, + { + format: ['PascalCase'], + selector: ['typeParameter'], + prefix: ['T'], + leadingUnderscore: 'forbid', + trailingUnderscore: 'forbid', + }, + ], + '@typescript-eslint/no-inferrable-types': [ + 'error', + { ignoreParameters: true }, ], - '@typescript-eslint/no-inferrable-types': 'off', '@typescript-eslint/no-unsafe-argument': 'error', '@typescript-eslint/no-unsafe-assignment': 'off', '@typescript-eslint/no-unsafe-call': 'off', @@ -58,17 +67,12 @@ module.exports = defineConfig({ 'error', { blankLine: 'always', prev: 'block-like', next: '*' }, ], - '@typescript-eslint/prefer-nullish-coalescing': 'warn', - '@typescript-eslint/prefer-optional-chain': 'warn', - '@typescript-eslint/prefer-readonly': 'warn', + '@typescript-eslint/prefer-regexp-exec': 'error', '@typescript-eslint/restrict-template-expressions': [ 'error', { allowNumber: true, allowBoolean: true }, ], - '@typescript-eslint/typedef': [ - 'warn', - { memberVariableDeclaration: true, variableDeclaration: true }, - ], + '@typescript-eslint/unbound-method': 'off', }, overrides: [ { diff --git a/package.json b/package.json index e691910b..cde4e30e 100644 --- a/package.json +++ b/package.json @@ -6,15 +6,13 @@ "clean": "rimraf coverage .eslintcache dist pnpm-lock.yaml node_modules", "build": "tsup-node", "format": "prettier --cache --write .", - "lint:run": "eslint --cache --cache-strategy content --report-unused-disable-directives .", + "lint:run": "eslint --cache --cache-strategy content --report-unused-disable-directives --fix .", "lint": "run-s build lint:run", "typecheck": "vitest typecheck", "ts-check": "tsc", - "test": "vitest", - "coverage": "vitest run --coverage", - "generate:rules": "tsx ./scripts/generate-rule-files/cli.ts", + "generate:eslint-dts": "tsx ./scripts/generate-eslint-dts.ts", "prepublishOnly": "pnpm run clean && pnpm install && pnpm run build", - "preflight": "pnpm install && run-s format lint ts-check test typecheck" + "preflight": "pnpm install && run-s generate:eslint-dts format lint ts-check typecheck" }, "type": "module", "main": "dist/index.cjs", @@ -65,9 +63,6 @@ "tsconfig.json" ], "devDependencies": { - "@graphql-eslint/eslint-plugin": "~3.20.1", - "@intlify/eslint-plugin-vue-i18n": "~2.0.0", - "@poppinss/cliui": "~3.0.5", "@types/eslint": "~8.44.3", "@types/json-schema": "~7.0.13", "@types/node": "~20.8.3", @@ -78,45 +73,22 @@ "eslint": "~8.51.0", "eslint-config-prettier": "~9.0.0", "eslint-gitignore": "~0.1.0", - "eslint-plugin-deprecation": "~2.0.0", - "eslint-plugin-eslint-comments": "~3.2.0", - "eslint-plugin-import": "~2.28.1", - "eslint-plugin-inclusive-language": "~2.2.1", - "eslint-plugin-jsdoc": "~46.8.2", - "eslint-plugin-jsonc": "~2.9.0", - "eslint-plugin-jsx-a11y": "~6.7.1", - "eslint-plugin-mdx": "~2.2.0", - "eslint-plugin-n": "~16.1.0", - "eslint-plugin-node": "~11.1.0", "eslint-plugin-prettier": "~5.0.0", - "eslint-plugin-promise": "~6.1.1", - "eslint-plugin-react": "~7.33.2", - "eslint-plugin-react-hooks": "~4.6.0", - "eslint-plugin-sonarjs": "~0.21.0", - "eslint-plugin-spellcheck": "~0.0.20", - "eslint-plugin-testing-library": "~6.0.2", - "eslint-plugin-unicorn": "~48.0.1", - "eslint-plugin-vitest": "~0.3.2", - "eslint-plugin-vue": "~9.17.0", - "eslint-plugin-vue-pug": "~0.6.0", - "eslint-plugin-yml": "~1.10.0", "expect-type": "~0.17.3", - "graphql": "~16.8.1", "json-schema": "~0.4.0", "json-schema-to-ts": "~2.9.2", "json-schema-to-typescript": "~13.1.1", "npm-run-all": "~4.1.5", + "package-json-type": "~1.0.3", "prettier": "3.0.3", "prettier-plugin-organize-imports": "~3.2.3", "rimraf": "~5.0.5", - "ts-dedent": "~2.2.0", "tsup": "~7.2.0", "tsx": "~3.13.0", "typescript": "~5.2.2", - "vitest": "~0.34.6", - "vue-eslint-parser": "~9.3.2" + "vitest": "~0.34.6" }, - "packageManager": "pnpm@8.8.0", + "packageManager": "pnpm@8.9.2", "engines": { "node": ">=18.0.0", "npm": ">=9.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ba7cf689..c734a690 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,30 +5,21 @@ settings: excludeLinksFromLockfile: false devDependencies: - '@graphql-eslint/eslint-plugin': - specifier: ~3.20.1 - version: 3.20.1(@babel/core@7.23.0)(@types/node@20.8.3)(graphql@16.8.1) - '@intlify/eslint-plugin-vue-i18n': - specifier: ~2.0.0 - version: 2.0.0(eslint@8.51.0) - '@poppinss/cliui': - specifier: ~3.0.5 - version: 3.0.5 '@types/eslint': specifier: ~8.44.3 - version: 8.44.3 + version: 8.44.6 '@types/json-schema': specifier: ~7.0.13 - version: 7.0.13 + version: 7.0.14 '@types/node': specifier: ~20.8.3 - version: 20.8.3 + version: 20.8.7 '@typescript-eslint/eslint-plugin': specifier: ~6.7.4 - version: 6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@5.2.2) + version: 6.7.5(@typescript-eslint/parser@6.7.5)(eslint@8.51.0)(typescript@5.2.2) '@typescript-eslint/parser': specifier: ~6.7.4 - version: 6.7.4(eslint@8.51.0)(typescript@5.2.2) + version: 6.7.5(eslint@8.51.0)(typescript@5.2.2) '@vitest/coverage-v8': specifier: ~0.34.6 version: 0.34.6(vitest@0.34.6) @@ -44,78 +35,12 @@ devDependencies: eslint-gitignore: specifier: ~0.1.0 version: 0.1.0(eslint@8.51.0) - eslint-plugin-deprecation: - specifier: ~2.0.0 - version: 2.0.0(eslint@8.51.0)(typescript@5.2.2) - eslint-plugin-eslint-comments: - specifier: ~3.2.0 - version: 3.2.0(eslint@8.51.0) - eslint-plugin-import: - specifier: ~2.28.1 - version: 2.28.1(@typescript-eslint/parser@6.7.4)(eslint@8.51.0) - eslint-plugin-inclusive-language: - specifier: ~2.2.1 - version: 2.2.1 - eslint-plugin-jsdoc: - specifier: ~46.8.2 - version: 46.8.2(eslint@8.51.0) - eslint-plugin-jsonc: - specifier: ~2.9.0 - version: 2.9.0(eslint@8.51.0) - eslint-plugin-jsx-a11y: - specifier: ~6.7.1 - version: 6.7.1(eslint@8.51.0) - eslint-plugin-mdx: - specifier: ~2.2.0 - version: 2.2.0(eslint@8.51.0) - eslint-plugin-n: - specifier: ~16.1.0 - version: 16.1.0(eslint@8.51.0) - eslint-plugin-node: - specifier: ~11.1.0 - version: 11.1.0(eslint@8.51.0) eslint-plugin-prettier: specifier: ~5.0.0 - version: 5.0.0(@types/eslint@8.44.3)(eslint-config-prettier@9.0.0)(eslint@8.51.0)(prettier@3.0.3) - eslint-plugin-promise: - specifier: ~6.1.1 - version: 6.1.1(eslint@8.51.0) - eslint-plugin-react: - specifier: ~7.33.2 - version: 7.33.2(eslint@8.51.0) - eslint-plugin-react-hooks: - specifier: ~4.6.0 - version: 4.6.0(eslint@8.51.0) - eslint-plugin-sonarjs: - specifier: ~0.21.0 - version: 0.21.0(eslint@8.51.0) - eslint-plugin-spellcheck: - specifier: ~0.0.20 - version: 0.0.20(eslint@8.51.0) - eslint-plugin-testing-library: - specifier: ~6.0.2 - version: 6.0.2(eslint@8.51.0)(typescript@5.2.2) - eslint-plugin-unicorn: - specifier: ~48.0.1 - version: 48.0.1(eslint@8.51.0) - eslint-plugin-vitest: - specifier: ~0.3.2 - version: 0.3.2(@typescript-eslint/eslint-plugin@6.7.4)(eslint@8.51.0)(typescript@5.2.2)(vitest@0.34.6) - eslint-plugin-vue: - specifier: ~9.17.0 - version: 9.17.0(eslint@8.51.0) - eslint-plugin-vue-pug: - specifier: ~0.6.0 - version: 0.6.0(eslint-plugin-vue@9.17.0)(vue-eslint-parser@9.3.2) - eslint-plugin-yml: - specifier: ~1.10.0 - version: 1.10.0(eslint@8.51.0) + version: 5.0.1(@types/eslint@8.44.6)(eslint-config-prettier@9.0.0)(eslint@8.51.0)(prettier@3.0.3) expect-type: specifier: ~0.17.3 version: 0.17.3 - graphql: - specifier: ~16.8.1 - version: 16.8.1 json-schema: specifier: ~0.4.0 version: 0.4.0 @@ -128,6 +53,9 @@ devDependencies: npm-run-all: specifier: ~4.1.5 version: 4.1.5 + package-json-type: + specifier: ~1.0.3 + version: 1.0.3 prettier: specifier: 3.0.3 version: 3.0.3 @@ -137,9 +65,6 @@ devDependencies: rimraf: specifier: ~5.0.5 version: 5.0.5 - ts-dedent: - specifier: ~2.2.0 - version: 2.2.0 tsup: specifier: ~7.2.0 version: 7.2.0(typescript@5.2.2) @@ -152,9 +77,6 @@ devDependencies: vitest: specifier: ~0.34.6 version: 0.34.6 - vue-eslint-parser: - specifier: ~9.3.2 - version: 9.3.2(eslint@8.51.0) packages: @@ -168,237 +90,22 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.19 + '@jridgewell/trace-mapping': 0.3.20 dev: true - /@ardatan/sync-fetch@0.0.1: - resolution: {integrity: sha512-xhlTqH0m31mnsG0tIP4ETgfSB6gXDaYYsUWTrlUV93fFQPI9dd8hE0Ot6MHLCtqgB32hwJAC3YZMWlXZw7AleA==} - engines: {node: '>=14'} - dependencies: - node-fetch: 2.7.0 - transitivePeerDependencies: - - encoding - dev: true - - /@babel/code-frame@7.22.13: - resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.22.20 - chalk: 2.4.2 - dev: true - - /@babel/compat-data@7.22.20: - resolution: {integrity: sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/core@7.23.0: - resolution: {integrity: sha512-97z/ju/Jy1rZmDxybphrBuI+jtJjFVoz7Mr9yUQVVVi+DNZE333uFQeMOqcCIy1x3WYBIbWftUSLmbNXNT7qFQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@ampproject/remapping': 2.2.1 - '@babel/code-frame': 7.22.13 - '@babel/generator': 7.23.0 - '@babel/helper-compilation-targets': 7.22.15 - '@babel/helper-module-transforms': 7.23.0(@babel/core@7.23.0) - '@babel/helpers': 7.23.1 - '@babel/parser': 7.23.0 - '@babel/template': 7.22.15 - '@babel/traverse': 7.23.0 - '@babel/types': 7.23.0 - convert-source-map: 2.0.0 - debug: 4.3.4 - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/generator@7.23.0: - resolution: {integrity: sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.23.0 - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.19 - jsesc: 2.5.2 - dev: true - - /@babel/helper-compilation-targets@7.22.15: - resolution: {integrity: sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/compat-data': 7.22.20 - '@babel/helper-validator-option': 7.22.15 - browserslist: 4.22.1 - lru-cache: 5.1.1 - semver: 6.3.1 - dev: true - - /@babel/helper-environment-visitor@7.22.20: - resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-function-name@7.23.0: - resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.22.15 - '@babel/types': 7.23.0 - dev: true - - /@babel/helper-hoist-variables@7.22.5: - resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.23.0 - dev: true - - /@babel/helper-module-imports@7.22.15: - resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.23.0 - dev: true - - /@babel/helper-module-transforms@7.23.0(@babel/core@7.23.0): - resolution: {integrity: sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-module-imports': 7.22.15 - '@babel/helper-simple-access': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/helper-validator-identifier': 7.22.20 - dev: true - - /@babel/helper-plugin-utils@7.22.5: - resolution: {integrity: sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-simple-access@7.22.5: - resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.23.0 - dev: true - - /@babel/helper-split-export-declaration@7.22.6: - resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.23.0 - dev: true - - /@babel/helper-string-parser@7.22.5: - resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-validator-identifier@7.22.20: - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-validator-option@7.22.15: - resolution: {integrity: sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/helpers@7.23.1: - resolution: {integrity: sha512-chNpneuK18yW5Oxsr+t553UZzzAs3aZnFm4bxhebsNTeshrC95yA7l5yl7GBAG+JG1rF0F7zzD2EixK9mWSDoA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.22.15 - '@babel/traverse': 7.23.0 - '@babel/types': 7.23.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/highlight@7.22.20: - resolution: {integrity: sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.22.20 - chalk: 2.4.2 - js-tokens: 4.0.0 - dev: true - - /@babel/parser@7.23.0: - resolution: {integrity: sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.23.0 - dev: true - - /@babel/plugin-syntax-import-assertions@7.22.5(@babel/core@7.23.0): - resolution: {integrity: sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - - /@babel/runtime@7.23.1: - resolution: {integrity: sha512-hC2v6p8ZSI/W0HUzh3V8C5g+NwSKzKPtJwSpTjwl0o297GP9+ZLQSkdvHz46CM3LqyoXxq+5G9komY+eSqSO0g==} + /@babel/runtime@7.23.2: + resolution: {integrity: sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.14.0 dev: true - /@babel/template@7.22.15: - resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.22.13 - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 - dev: true - - /@babel/traverse@7.23.0: - resolution: {integrity: sha512-t/QaEvyIoIkwzpiZ7aoSKK8kObQYeF7T2v+dazAYCb8SXtp58zEVkWW7zAnju8FNKNdr4ScAOEDmMItbyOmEYw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.22.13 - '@babel/generator': 7.23.0 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 - debug: 4.3.4 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/types@7.23.0: - resolution: {integrity: sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.22.5 - '@babel/helper-validator-identifier': 7.22.20 - to-fast-properties: 2.0.0 - dev: true - /@bcherny/json-schema-ref-parser@10.0.5-fork: resolution: {integrity: sha512-E/jKbPoca1tfUPj3iSbitDZTGnq6FUFjkH6L8U2oDwSuwK1WhnnVtCG7oFOTg/DDnyoXbQYUiUiGOibHqaGVnw==} engines: {node: '>= 16'} dependencies: '@jsdevtools/ono': 7.1.3 - '@types/json-schema': 7.0.13 + '@types/json-schema': 7.0.14 call-me-maybe: 1.0.2 js-yaml: 4.1.0 dev: true @@ -407,22 +114,6 @@ packages: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true - /@colors/colors@1.5.0: - resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} - engines: {node: '>=0.1.90'} - requiresBuild: true - dev: true - optional: true - - /@es-joy/jsdoccomment@0.40.1: - resolution: {integrity: sha512-YORCdZSusAlBrFpZ77pJjc5r1bQs5caPWtAu+WWmiSo+8XaUzseapVrfAtiRFbQWnrBxxLLEwF6f6ZG/UgCQCg==} - engines: {node: '>=16'} - dependencies: - comment-parser: 1.4.0 - esquery: 1.5.0 - jsdoc-type-pratt-parser: 4.0.0 - dev: true - /@esbuild/android-arm64@0.18.20: resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} engines: {node: '>=12'} @@ -636,23 +327,6 @@ packages: engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true - /@eslint/eslintrc@1.4.1: - resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - ajv: 6.12.6 - debug: 4.3.4 - espree: 9.6.1 - globals: 13.23.0 - ignore: 5.2.4 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - dev: true - /@eslint/eslintrc@2.1.2: resolution: {integrity: sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -675,661 +349,188 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@graphql-eslint/eslint-plugin@3.20.1(@babel/core@7.23.0)(@types/node@20.8.3)(graphql@16.8.1): - resolution: {integrity: sha512-RbwVlz1gcYG62sECR1u0XqMh8w5e5XMCCZoMvPQ3nJzEBCTfXLGX727GBoRmSvY1x4gJmqNZ1lsOX7lZY14RIw==} - engines: {node: '>=12'} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + /@humanwhocodes/config-array@0.11.13: + resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==} + engines: {node: '>=10.10.0'} dependencies: - '@babel/code-frame': 7.22.13 - '@graphql-tools/code-file-loader': 7.3.23(@babel/core@7.23.0)(graphql@16.8.1) - '@graphql-tools/graphql-tag-pluck': 7.5.2(@babel/core@7.23.0)(graphql@16.8.1) - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - chalk: 4.1.2 + '@humanwhocodes/object-schema': 2.0.1 debug: 4.3.4 - fast-glob: 3.3.1 - graphql: 16.8.1 - graphql-config: 4.5.0(@types/node@20.8.3)(graphql@16.8.1) - graphql-depth-limit: 1.1.0(graphql@16.8.1) - lodash.lowercase: 4.3.0 - tslib: 2.6.2 + minimatch: 3.1.2 transitivePeerDependencies: - - '@babel/core' - - '@types/node' - - bufferutil - - cosmiconfig-toml-loader - - encoding - supports-color - - utf-8-validate dev: true - /@graphql-tools/batch-execute@8.5.22(graphql@16.8.1): - resolution: {integrity: sha512-hcV1JaY6NJQFQEwCKrYhpfLK8frSXDbtNMoTur98u10Cmecy1zrqNKSqhEyGetpgHxaJRqszGzKeI3RuroDN6A==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - dataloader: 2.2.2 - graphql: 16.8.1 - tslib: 2.6.2 - value-or-promise: 1.0.12 + /@humanwhocodes/module-importer@1.0.1: + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} dev: true - /@graphql-tools/code-file-loader@7.3.23(@babel/core@7.23.0)(graphql@16.8.1): - resolution: {integrity: sha512-8Wt1rTtyTEs0p47uzsPJ1vAtfAx0jmxPifiNdmo9EOCuUPyQGEbMaik/YkqZ7QUFIEYEQu+Vgfo8tElwOPtx5Q==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/graphql-tag-pluck': 7.5.2(@babel/core@7.23.0)(graphql@16.8.1) - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - globby: 11.1.0 - graphql: 16.8.1 - tslib: 2.6.2 - unixify: 1.0.0 - transitivePeerDependencies: - - '@babel/core' - - supports-color + /@humanwhocodes/object-schema@2.0.1: + resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} dev: true - /@graphql-tools/delegate@9.0.35(graphql@16.8.1): - resolution: {integrity: sha512-jwPu8NJbzRRMqi4Vp/5QX1vIUeUPpWmlQpOkXQD2r1X45YsVceyUUBnktCrlJlDB4jPRVy7JQGwmYo3KFiOBMA==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/batch-execute': 8.5.22(graphql@16.8.1) - '@graphql-tools/executor': 0.0.20(graphql@16.8.1) - '@graphql-tools/schema': 9.0.19(graphql@16.8.1) - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - dataloader: 2.2.2 - graphql: 16.8.1 - tslib: 2.6.2 - value-or-promise: 1.0.12 + /@isaacs/cliui@8.0.2: + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} + dependencies: + string-width: 5.1.2 + string-width-cjs: /string-width@4.2.3 + strip-ansi: 7.1.0 + strip-ansi-cjs: /strip-ansi@6.0.1 + wrap-ansi: 8.1.0 + wrap-ansi-cjs: /wrap-ansi@7.0.0 dev: true - /@graphql-tools/executor-graphql-ws@0.0.14(graphql@16.8.1): - resolution: {integrity: sha512-P2nlkAsPZKLIXImFhj0YTtny5NQVGSsKnhi7PzXiaHSXc6KkzqbWZHKvikD4PObanqg+7IO58rKFpGXP7eeO+w==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - '@repeaterjs/repeater': 3.0.4 - '@types/ws': 8.5.6 - graphql: 16.8.1 - graphql-ws: 5.12.1(graphql@16.8.1) - isomorphic-ws: 5.0.0(ws@8.13.0) - tslib: 2.6.2 - ws: 8.13.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate + /@istanbuljs/schema@0.1.3: + resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} + engines: {node: '>=8'} dev: true - /@graphql-tools/executor-http@0.1.10(@types/node@20.8.3)(graphql@16.8.1): - resolution: {integrity: sha512-hnAfbKv0/lb9s31LhWzawQ5hghBfHS+gYWtqxME6Rl0Aufq9GltiiLBcl7OVVOnkLF0KhwgbYP1mB5VKmgTGpg==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - '@repeaterjs/repeater': 3.0.4 - '@whatwg-node/fetch': 0.8.8 - dset: 3.1.2 - extract-files: 11.0.0 - graphql: 16.8.1 - meros: 1.3.0(@types/node@20.8.3) - tslib: 2.6.2 - value-or-promise: 1.0.12 - transitivePeerDependencies: - - '@types/node' + /@jest/schemas@29.6.3: + resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@sinclair/typebox': 0.27.8 dev: true - /@graphql-tools/executor-legacy-ws@0.0.11(graphql@16.8.1): - resolution: {integrity: sha512-4ai+NnxlNfvIQ4c70hWFvOZlSUN8lt7yc+ZsrwtNFbFPH/EroIzFMapAxM9zwyv9bH38AdO3TQxZ5zNxgBdvUw==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + /@jridgewell/gen-mapping@0.3.3: + resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} + engines: {node: '>=6.0.0'} dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - '@types/ws': 8.5.6 - graphql: 16.8.1 - isomorphic-ws: 5.0.0(ws@8.13.0) - tslib: 2.6.2 - ws: 8.13.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate + '@jridgewell/set-array': 1.1.2 + '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/trace-mapping': 0.3.20 dev: true - /@graphql-tools/executor@0.0.20(graphql@16.8.1): - resolution: {integrity: sha512-GdvNc4vszmfeGvUqlcaH1FjBoguvMYzxAfT6tDd4/LgwymepHhinqLNA5otqwVLW+JETcDaK7xGENzFomuE6TA==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - '@graphql-typed-document-node/core': 3.2.0(graphql@16.8.1) - '@repeaterjs/repeater': 3.0.4 - graphql: 16.8.1 - tslib: 2.6.2 - value-or-promise: 1.0.12 + /@jridgewell/resolve-uri@3.1.1: + resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + engines: {node: '>=6.0.0'} dev: true - /@graphql-tools/graphql-file-loader@7.5.17(graphql@16.8.1): - resolution: {integrity: sha512-hVwwxPf41zOYgm4gdaZILCYnKB9Zap7Ys9OhY1hbwuAuC4MMNY9GpUjoTU3CQc3zUiPoYStyRtUGkHSJZ3HxBw==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/import': 6.7.18(graphql@16.8.1) - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - globby: 11.1.0 - graphql: 16.8.1 - tslib: 2.6.2 - unixify: 1.0.0 + /@jridgewell/set-array@1.1.2: + resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} + engines: {node: '>=6.0.0'} dev: true - /@graphql-tools/graphql-tag-pluck@7.5.2(@babel/core@7.23.0)(graphql@16.8.1): - resolution: {integrity: sha512-RW+H8FqOOLQw0BPXaahYepVSRjuOHw+7IL8Opaa5G5uYGOBxoXR7DceyQ7BcpMgktAOOmpDNQ2WtcboChOJSRA==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@babel/parser': 7.23.0 - '@babel/plugin-syntax-import-assertions': 7.22.5(@babel/core@7.23.0) - '@babel/traverse': 7.23.0 - '@babel/types': 7.23.0 - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - graphql: 16.8.1 - tslib: 2.6.2 - transitivePeerDependencies: - - '@babel/core' - - supports-color + /@jridgewell/sourcemap-codec@1.4.15: + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true - /@graphql-tools/import@6.7.18(graphql@16.8.1): - resolution: {integrity: sha512-XQDdyZTp+FYmT7as3xRWH/x8dx0QZA2WZqfMF5EWb36a0PiH7WwlRQYIdyYXj8YCLpiWkeBXgBRHmMnwEYR8iQ==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + /@jridgewell/trace-mapping@0.3.20: + resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - graphql: 16.8.1 - resolve-from: 5.0.0 - tslib: 2.6.2 + '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /@graphql-tools/json-file-loader@7.4.18(graphql@16.8.1): - resolution: {integrity: sha512-AJ1b6Y1wiVgkwsxT5dELXhIVUPs/u3VZ8/0/oOtpcoyO/vAeM5rOvvWegzicOOnQw8G45fgBRMkkRfeuwVt6+w==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - globby: 11.1.0 - graphql: 16.8.1 - tslib: 2.6.2 - unixify: 1.0.0 + /@jsdevtools/ono@7.1.3: + resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==} dev: true - /@graphql-tools/load@7.8.14(graphql@16.8.1): - resolution: {integrity: sha512-ASQvP+snHMYm+FhIaLxxFgVdRaM0vrN9wW2BKInQpktwWTXVyk+yP5nQUCEGmn0RTdlPKrffBaigxepkEAJPrg==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + /@nodelib/fs.scandir@2.1.5: + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} dependencies: - '@graphql-tools/schema': 9.0.19(graphql@16.8.1) - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - graphql: 16.8.1 - p-limit: 3.1.0 - tslib: 2.6.2 + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 dev: true - /@graphql-tools/merge@8.4.2(graphql@16.8.1): - resolution: {integrity: sha512-XbrHAaj8yDuINph+sAfuq3QCZ/tKblrTLOpirK0+CAgNlZUCHs0Fa+xtMUURgwCVThLle1AF7svJCxFizygLsw==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - graphql: 16.8.1 - tslib: 2.6.2 + /@nodelib/fs.stat@2.0.5: + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} dev: true - /@graphql-tools/schema@9.0.19(graphql@16.8.1): - resolution: {integrity: sha512-oBRPoNBtCkk0zbUsyP4GaIzCt8C0aCI4ycIRUL67KK5pOHljKLBBtGT+Jr6hkzA74C8Gco8bpZPe7aWFjiaK2w==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + /@nodelib/fs.walk@1.2.8: + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} dependencies: - '@graphql-tools/merge': 8.4.2(graphql@16.8.1) - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - graphql: 16.8.1 - tslib: 2.6.2 - value-or-promise: 1.0.12 + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.15.0 dev: true - /@graphql-tools/url-loader@7.17.18(@types/node@20.8.3)(graphql@16.8.1): - resolution: {integrity: sha512-ear0CiyTj04jCVAxi7TvgbnGDIN2HgqzXzwsfcqiVg9cvjT40NcMlZ2P1lZDgqMkZ9oyLTV8Bw6j+SyG6A+xPw==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@ardatan/sync-fetch': 0.0.1 - '@graphql-tools/delegate': 9.0.35(graphql@16.8.1) - '@graphql-tools/executor-graphql-ws': 0.0.14(graphql@16.8.1) - '@graphql-tools/executor-http': 0.1.10(@types/node@20.8.3)(graphql@16.8.1) - '@graphql-tools/executor-legacy-ws': 0.0.11(graphql@16.8.1) - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - '@graphql-tools/wrap': 9.4.2(graphql@16.8.1) - '@types/ws': 8.5.6 - '@whatwg-node/fetch': 0.8.8 - graphql: 16.8.1 - isomorphic-ws: 5.0.0(ws@8.14.2) - tslib: 2.6.2 - value-or-promise: 1.0.12 - ws: 8.14.2 - transitivePeerDependencies: - - '@types/node' - - bufferutil - - encoding - - utf-8-validate + /@pkgjs/parseargs@0.11.0: + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + requiresBuild: true dev: true + optional: true - /@graphql-tools/utils@9.2.1(graphql@16.8.1): - resolution: {integrity: sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + /@pkgr/utils@2.4.2: + resolution: {integrity: sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.8.1) - graphql: 16.8.1 + cross-spawn: 7.0.3 + fast-glob: 3.3.1 + is-glob: 4.0.3 + open: 9.1.0 + picocolors: 1.0.0 tslib: 2.6.2 dev: true - /@graphql-tools/wrap@9.4.2(graphql@16.8.1): - resolution: {integrity: sha512-DFcd9r51lmcEKn0JW43CWkkI2D6T9XI1juW/Yo86i04v43O9w2/k4/nx2XTJv4Yv+iXwUw7Ok81PGltwGJSDSA==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/delegate': 9.0.35(graphql@16.8.1) - '@graphql-tools/schema': 9.0.19(graphql@16.8.1) - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - graphql: 16.8.1 - tslib: 2.6.2 - value-or-promise: 1.0.12 - dev: true - - /@graphql-typed-document-node/core@3.2.0(graphql@16.8.1): - resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - graphql: 16.8.1 - dev: true - - /@humanwhocodes/config-array@0.11.11: - resolution: {integrity: sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==} - engines: {node: '>=10.10.0'} - dependencies: - '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4 - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@humanwhocodes/module-importer@1.0.1: - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} - dev: true - - /@humanwhocodes/object-schema@1.2.1: - resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} - dev: true - - /@intlify/core-base@9.5.0: - resolution: {integrity: sha512-y3ufM1RJbI/DSmJf3lYs9ACq3S/iRvaSsE3rPIk0MGH7fp+JxU6rdryv/EYcwfcr3Y1aHFlCBir6S391hRZ57w==} - engines: {node: '>= 16'} - dependencies: - '@intlify/message-compiler': 9.5.0 - '@intlify/shared': 9.5.0 - dev: true - - /@intlify/eslint-plugin-vue-i18n@2.0.0(eslint@8.51.0): - resolution: {integrity: sha512-ECBD0TvQNa56XKyuM6FPIGAAl7MP6ODcgjBQJrzucNxcTb8fYTWmZ+xgBuvmvAtA0iE0D4Wp18UMild2N0bGyw==} - engines: {node: ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@eslint/eslintrc': 1.4.1 - '@intlify/core-base': 9.5.0 - '@intlify/message-compiler': 9.5.0 - debug: 4.3.4 - eslint: 8.51.0 - glob: 8.1.0 - ignore: 5.2.4 - is-language-code: 3.1.0 - js-yaml: 4.1.0 - json5: 2.2.3 - jsonc-eslint-parser: 2.3.0 - lodash: 4.17.21 - parse5: 7.1.2 - semver: 7.5.4 - vue-eslint-parser: 9.3.2(eslint@8.51.0) - yaml-eslint-parser: 1.2.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@intlify/message-compiler@9.5.0: - resolution: {integrity: sha512-CAhVNfEZcOVFg0/5MNyt+OFjvs4J/ARjCj2b+54/FvFP0EDJI5lIqMTSDBE7k0atMROSP0SvWCkwu/AZ5xkK1g==} - engines: {node: '>= 16'} - dependencies: - '@intlify/shared': 9.5.0 - source-map-js: 1.0.2 - dev: true - - /@intlify/shared@9.5.0: - resolution: {integrity: sha512-tAxV14LMXZDZbu32XzLMTsowNlgJNmLwWHYzvMUl6L8gvQeoYiZONjY7AUsqZW8TOZDX9lfvF6adPkk9FSRdDA==} - engines: {node: '>= 16'} - dev: true - - /@isaacs/cliui@8.0.2: - resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} - engines: {node: '>=12'} - dependencies: - string-width: 5.1.2 - string-width-cjs: /string-width@4.2.3 - strip-ansi: 7.1.0 - strip-ansi-cjs: /strip-ansi@6.0.1 - wrap-ansi: 8.1.0 - wrap-ansi-cjs: /wrap-ansi@7.0.0 - dev: true - - /@istanbuljs/schema@0.1.3: - resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} - engines: {node: '>=8'} - dev: true - - /@jest/schemas@29.6.3: - resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@sinclair/typebox': 0.27.8 - dev: true - - /@jridgewell/gen-mapping@0.3.3: - resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.19 - dev: true - - /@jridgewell/resolve-uri@3.1.1: - resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} - engines: {node: '>=6.0.0'} - dev: true - - /@jridgewell/set-array@1.1.2: - resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} - engines: {node: '>=6.0.0'} - dev: true - - /@jridgewell/sourcemap-codec@1.4.15: - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - dev: true - - /@jridgewell/trace-mapping@0.3.19: - resolution: {integrity: sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==} - dependencies: - '@jridgewell/resolve-uri': 3.1.1 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - - /@jsdevtools/ono@7.1.3: - resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==} - dev: true - - /@nodelib/fs.scandir@2.1.5: - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 - dev: true - - /@nodelib/fs.stat@2.0.5: - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - dev: true - - /@nodelib/fs.walk@1.2.8: - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.15.0 - dev: true - - /@npmcli/config@6.4.0: - resolution: {integrity: sha512-/fQjIbuNVIT/PbXvw178Tm97bxV0E0nVUFKHivMKtSI2pcs8xKdaWkHJxf9dTI0G/y5hp/KuCvgcUu5HwAtI1w==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - '@npmcli/map-workspaces': 3.0.4 - ci-info: 3.9.0 - ini: 4.1.1 - nopt: 7.2.0 - proc-log: 3.0.0 - read-package-json-fast: 3.0.2 - semver: 7.5.4 - walk-up-path: 3.0.1 - dev: true - - /@npmcli/map-workspaces@3.0.4: - resolution: {integrity: sha512-Z0TbvXkRbacjFFLpVpV0e2mheCh+WzQpcqL+4xp49uNJOxOnIAPZyXtUxZ5Qn3QBTGKA11Exjd9a5411rBrhDg==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - '@npmcli/name-from-folder': 2.0.0 - glob: 10.3.10 - minimatch: 9.0.3 - read-package-json-fast: 3.0.2 - dev: true - - /@npmcli/name-from-folder@2.0.0: - resolution: {integrity: sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - - /@peculiar/asn1-schema@2.3.6: - resolution: {integrity: sha512-izNRxPoaeJeg/AyH8hER6s+H7p4itk+03QCa4sbxI3lNdseQYCuxzgsuNK8bTXChtLTjpJz6NmXKA73qLa3rCA==} - dependencies: - asn1js: 3.0.5 - pvtsutils: 1.3.5 - tslib: 2.6.2 - dev: true - - /@peculiar/json-schema@1.1.12: - resolution: {integrity: sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w==} - engines: {node: '>=8.0.0'} - dependencies: - tslib: 2.6.2 - dev: true - - /@peculiar/webcrypto@1.4.3: - resolution: {integrity: sha512-VtaY4spKTdN5LjJ04im/d/joXuvLbQdgy5Z4DXF4MFZhQ+MTrejbNMkfZBp1Bs3O5+bFqnJgyGdPuZQflvIa5A==} - engines: {node: '>=10.12.0'} - dependencies: - '@peculiar/asn1-schema': 2.3.6 - '@peculiar/json-schema': 1.1.12 - pvtsutils: 1.3.5 - tslib: 2.6.2 - webcrypto-core: 1.7.7 - dev: true - - /@pkgjs/parseargs@0.11.0: - resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} - engines: {node: '>=14'} - requiresBuild: true - dev: true - optional: true - - /@pkgr/utils@2.4.2: - resolution: {integrity: sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} - dependencies: - cross-spawn: 7.0.3 - fast-glob: 3.3.1 - is-glob: 4.0.3 - open: 9.1.0 - picocolors: 1.0.0 - tslib: 2.6.2 - dev: true - - /@poppinss/cliui@3.0.5: - resolution: {integrity: sha512-9TCwhJ6hQDAv7LWredEQL7eSA97kQ/i5Td80T7InV9z9rOXT8keywAM0pSvTUS01bwCeiZQVoT4r/G67DRiPJA==} - dependencies: - '@poppinss/colors': 3.0.3 - cli-boxes: 3.0.0 - cli-table3: 0.6.3 - color-support: 1.1.3 - log-update: 4.0.0 - pretty-hrtime: 1.0.3 - string-width: 4.2.3 - dev: true - - /@poppinss/colors@3.0.3: - resolution: {integrity: sha512-jiZcp91PvIs5s4Wz4gEVY9J2tqH6H1++mZmsrC3TmFam9gbVPUJPEubPM5j4BQYJre7bjs9nkIbYFcWMOFHIVQ==} - dependencies: - color-support: 1.1.3 - kleur: 4.1.5 - dev: true - - /@repeaterjs/repeater@3.0.4: - resolution: {integrity: sha512-AW8PKd6iX3vAZ0vA43nOUOnbq/X5ihgU+mSXXqunMkeQADGiqw/PY0JNeYtD5sr0PAy51YPgAPbDoeapv9r8WA==} - dev: true - /@sinclair/typebox@0.27.8: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true - /@types/acorn@4.0.6: - resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==} - dependencies: - '@types/estree': 1.0.2 - dev: true - - /@types/chai-subset@1.3.3: - resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} - dependencies: - '@types/chai': 4.3.6 - dev: true - - /@types/chai@4.3.6: - resolution: {integrity: sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==} - dev: true - - /@types/concat-stream@2.0.0: - resolution: {integrity: sha512-t3YCerNM7NTVjLuICZo5gYAXYoDvpuuTceCcFQWcDQz26kxUR5uIWolxbIR5jRNIXpMqhOpW/b8imCR1LEmuJw==} - dependencies: - '@types/node': 20.8.3 - dev: true - - /@types/debug@4.1.9: - resolution: {integrity: sha512-8Hz50m2eoS56ldRlepxSBa6PWEVCtzUo/92HgLc2qTMnotJNIm7xP+UZhyWoYsyOdd5dxZ+NZLb24rsKyFs2ow==} + /@types/chai-subset@1.3.4: + resolution: {integrity: sha512-CCWNXrJYSUIojZ1149ksLl3AN9cmZ5djf+yUoVVV+NuYrtydItQVlL2ZDqyC6M6O9LWRnVf8yYDxbXHO2TfQZg==} dependencies: - '@types/ms': 0.7.32 + '@types/chai': 4.3.9 dev: true - /@types/eslint@8.44.3: - resolution: {integrity: sha512-iM/WfkwAhwmPff3wZuPLYiHX18HI24jU8k1ZSH7P8FHwxTjZ2P6CoX2wnF43oprR+YXJM6UUxATkNvyv/JHd+g==} - dependencies: - '@types/estree': 1.0.2 - '@types/json-schema': 7.0.13 + /@types/chai@4.3.9: + resolution: {integrity: sha512-69TtiDzu0bcmKQv3yg1Zx409/Kd7r0b5F1PfpYJfSHzLGtB53547V4u+9iqKYsTu/O2ai6KTb0TInNpvuQ3qmg==} dev: true - /@types/estree-jsx@1.0.1: - resolution: {integrity: sha512-sHyakZlAezNFxmYRo0fopDZW+XvK6ipeZkkp5EAOLjdPfZp8VjZBJ67vSRI99RSCAoqXVmXOHS4fnWoxpuGQtQ==} + /@types/eslint@8.44.6: + resolution: {integrity: sha512-P6bY56TVmX8y9J87jHNgQh43h6VVU+6H7oN7hgvivV81K2XY8qJZ5vqPy/HdUoVIelii2kChYVzQanlswPWVFw==} dependencies: - '@types/estree': 1.0.2 + '@types/estree': 1.0.3 + '@types/json-schema': 7.0.14 dev: true - /@types/estree@1.0.2: - resolution: {integrity: sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==} + /@types/estree@1.0.3: + resolution: {integrity: sha512-CS2rOaoQ/eAgAfcTfq6amKG7bsN+EMcgGY4FAFQdvSj2y1ixvOZTUA9mOtCai7E1SYu283XNw7urKK30nP3wkQ==} dev: true /@types/glob@7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.8.3 - dev: true - - /@types/hast@2.3.6: - resolution: {integrity: sha512-47rJE80oqPmFdVDCD7IheXBrVdwuBgsYwoczFvKmwfo2Mzsnt+V9OONsYauFmICb6lQPpCuXYJWejBNs4pDJRg==} - dependencies: - '@types/unist': 2.0.8 - dev: true - - /@types/is-empty@1.2.1: - resolution: {integrity: sha512-a3xgqnFTuNJDm1fjsTjHocYJ40Cz3t8utYpi5GNaxzrJC2HSD08ym+whIL7fNqiqBCdM9bcqD1H/tORWAFXoZw==} + '@types/node': 20.8.7 dev: true - /@types/istanbul-lib-coverage@2.0.4: - resolution: {integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==} + /@types/istanbul-lib-coverage@2.0.5: + resolution: {integrity: sha512-zONci81DZYCZjiLe0r6equvZut0b+dBRPBN5kBDjsONnutYNtJMoWQ9uR2RkL1gLG9NMTzvf+29e5RFfPbeKhQ==} dev: true - /@types/json-schema@7.0.13: - resolution: {integrity: sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==} + /@types/json-schema@7.0.14: + resolution: {integrity: sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw==} dev: true - /@types/json5@0.0.29: - resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} - dev: true - - /@types/lodash@4.14.199: - resolution: {integrity: sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==} - dev: true - - /@types/mdast@3.0.13: - resolution: {integrity: sha512-HjiGiWedR0DVFkeNljpa6Lv4/IZU1+30VY5d747K7lBudFc3R0Ibr6yJ9lN3BE28VnZyDfLF/VB1Ql1ZIbKrmg==} - dependencies: - '@types/unist': 2.0.8 + /@types/lodash@4.14.200: + resolution: {integrity: sha512-YI/M/4HRImtNf3pJgbF+W6FrXovqj+T+/HpENLTooK9PnkacBsDpeP3IpHab40CClUfhNmdM2WTNP2sa2dni5Q==} dev: true /@types/minimatch@5.1.2: resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==} dev: true - /@types/ms@0.7.32: - resolution: {integrity: sha512-xPSg0jm4mqgEkNhowKgZFBNtwoEwF6gJ4Dhww+GFpm3IgtNseHQZ5IqdNwnquZEoANxyDAKDRAdVo4Z72VvD/g==} - dev: true - - /@types/node@18.18.4: - resolution: {integrity: sha512-t3rNFBgJRugIhackit2mVcLfF6IRc0JE4oeizPQL8Zrm8n2WY/0wOdpOPhdtG0V9Q2TlW/axbF1MJ6z+Yj/kKQ==} - dev: true - - /@types/node@20.8.3: - resolution: {integrity: sha512-jxiZQFpb+NlH5kjW49vXxvxTjeeqlbsnTAdBTKpzEdPs9itay7MscYXz3Fo9VYFEsfQ6LJFitHad3faerLAjCw==} - dev: true - - /@types/normalize-package-data@2.4.2: - resolution: {integrity: sha512-lqa4UEhhv/2sjjIQgjX8B+RBjj47eo0mzGasklVJ78UKGQY1r0VpB9XHDaZZO9qzEFDdy4MrXLuEaSmPrPSe/A==} + /@types/node@20.8.7: + resolution: {integrity: sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==} + dependencies: + undici-types: 5.25.3 dev: true /@types/prettier@2.7.3: resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==} dev: true - /@types/semver@7.5.3: - resolution: {integrity: sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==} - dev: true - - /@types/supports-color@8.1.1: - resolution: {integrity: sha512-dPWnWsf+kzIG140B8z2w3fr5D03TLWbOAFQl45xUpI3vcizeXriNR5VYkWZ+WTMsUHqZ9Xlt3hrxGNANFyNQfw==} - dev: true - - /@types/unist@2.0.8: - resolution: {integrity: sha512-d0XxK3YTObnWVp6rZuev3c49+j4Lo8g4L1ZRm9z5L0xpoZycUPshHgczK5gsUMaZOstjVYYi09p5gYvUtfChYw==} + /@types/semver@7.5.4: + resolution: {integrity: sha512-MMzuxN3GdFwskAnb6fz0orFvhfqi752yjaXylr0Rp4oDg5H0Zn1IuyRhDVvYOwAXoJirx2xuS16I3WjxnAIHiQ==} dev: true - /@types/ws@8.5.6: - resolution: {integrity: sha512-8B5EO9jLVCy+B58PLHvLDuOD8DRVMgQzq8d55SjLCOn9kqGyqOvy27exVaTio1q1nX5zLu8/6N0n2ThSxOM6tg==} - dependencies: - '@types/node': 20.8.3 - dev: true - - /@typescript-eslint/eslint-plugin@6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-DAbgDXwtX+pDkAHwiGhqP3zWUGpW49B7eqmgpPtg+BKJXwdct79ut9+ifqOFPJGClGKSHXn2PTBatCnldJRUoA==} + /@typescript-eslint/eslint-plugin@6.7.5(@typescript-eslint/parser@6.7.5)(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-JhtAwTRhOUcP96D0Y6KYnwig/MRQbOoLGXTON2+LlyB/N35SP9j1boai2zzwXb7ypKELXMx3DVk9UTaEq1vHEw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -1340,11 +541,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.9.1 - '@typescript-eslint/parser': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/type-utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/parser': 6.7.5(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/type-utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 6.7.5 debug: 4.3.4 eslint: 8.51.0 graphemer: 1.4.0 @@ -1357,8 +558,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.7.4(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-I5zVZFY+cw4IMZUeNCU7Sh2PO5O57F7Lr0uyhgCJmhN/BuTlnc55KxPonR4+EM3GBdfiCyGZye6DgMjtubQkmA==} + /@typescript-eslint/parser@6.7.5(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-bIZVSGx2UME/lmhLcjdVc7ePBwn7CLqKarUBL4me1C5feOd663liTGjMBGVcGr+BhnSLeP4SgwdvNnnkbIdkCw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1367,10 +568,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/typescript-estree': 6.7.5(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 6.7.5 debug: 4.3.4 eslint: 8.51.0 typescript: 5.2.2 @@ -1378,24 +579,16 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@5.62.0: - resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/visitor-keys': 5.62.0 - dev: true - - /@typescript-eslint/scope-manager@6.7.4: - resolution: {integrity: sha512-SdGqSLUPTXAXi7c3Ob7peAGVnmMoGzZ361VswK2Mqf8UOYcODiYvs8rs5ILqEdfvX1lE7wEZbLyELCW+Yrql1A==} + /@typescript-eslint/scope-manager@6.7.5: + resolution: {integrity: sha512-GAlk3eQIwWOJeb9F7MKQ6Jbah/vx1zETSDw8likab/eFcqkjSD7BI75SDAeC5N2L0MmConMoPvTsmkrg71+B1A==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/visitor-keys': 6.7.5 dev: true - /@typescript-eslint/type-utils@6.7.4(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-n+g3zi1QzpcAdHFP9KQF+rEFxMb2KxtnJGID3teA/nxKHOVi3ylKovaqEzGBbVY2pBttU6z85gp0D00ufLzViQ==} + /@typescript-eslint/type-utils@6.7.5(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-Gs0qos5wqxnQrvpYv+pf3XfcRXW6jiAn9zE/K+DlmYf6FcpxeNYN0AIETaPR7rHO4K2UY+D0CIbDP9Ut0U4m1g==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1404,8 +597,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.7.5(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) debug: 4.3.4 eslint: 8.51.0 ts-api-utils: 1.0.3(typescript@5.2.2) @@ -1414,39 +607,13 @@ packages: - supports-color dev: true - /@typescript-eslint/types@5.62.0: - resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - - /@typescript-eslint/types@6.7.4: - resolution: {integrity: sha512-o9XWK2FLW6eSS/0r/tgjAGsYasLAnOWg7hvZ/dGYSSNjCh+49k5ocPN8OmG5aZcSJ8pclSOyVKP2x03Sj+RrCA==} + /@typescript-eslint/types@6.7.5: + resolution: {integrity: sha512-WboQBlOXtdj1tDFPyIthpKrUb+kZf2VroLZhxKa/VlwLlLyqv/PwUNgL30BlTVZV1Wu4Asu2mMYPqarSO4L5ZQ==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@5.62.0(typescript@5.2.2): - resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.5.4 - tsutils: 3.21.0(typescript@5.2.2) - typescript: 5.2.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/typescript-estree@6.7.4(typescript@5.2.2): - resolution: {integrity: sha512-ty8b5qHKatlNYd9vmpHooQz3Vki3gG+3PchmtsA4TgrZBKWHNjWfkQid7K7xQogBqqc7/BhGazxMD5vr6Ha+iQ==} + /@typescript-eslint/typescript-estree@6.7.5(typescript@5.2.2): + resolution: {integrity: sha512-NhJiJ4KdtwBIxrKl0BqG1Ur+uw7FiOnOThcYx9DpOGJ/Abc9z2xNzLeirCG02Ig3vkvrc2qFLmYSSsaITbKjlg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1454,8 +621,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/visitor-keys': 6.7.5 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -1466,38 +633,18 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@5.62.0(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - '@types/json-schema': 7.0.13 - '@types/semver': 7.5.3 - '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) - eslint: 8.51.0 - eslint-scope: 5.1.1 - semver: 7.5.4 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /@typescript-eslint/utils@6.7.4(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-PRQAs+HUn85Qdk+khAxsVV+oULy3VkbH3hQ8hxLRJXWBEd7iI+GbQxH5SEUSH7kbEoTp6oT1bOwyga24ELALTA==} + /@typescript-eslint/utils@6.7.5(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-pfRRrH20thJbzPPlPc4j0UNGvH1PjPlhlCMq4Yx7EGjV7lvEeGX0U6MJYe8+SyFutWgSHsdbJ3BXzZccYggezA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - '@types/json-schema': 7.0.13 - '@types/semver': 7.5.3 - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) + '@types/json-schema': 7.0.14 + '@types/semver': 7.5.4 + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/typescript-estree': 6.7.5(typescript@5.2.2) eslint: 8.51.0 semver: 7.5.4 transitivePeerDependencies: @@ -1505,19 +652,11 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@5.62.0: - resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.62.0 - eslint-visitor-keys: 3.4.3 - dev: true - - /@typescript-eslint/visitor-keys@6.7.4: - resolution: {integrity: sha512-pOW37DUhlTZbvph50x5zZCkFn3xzwkGtNoJHzIM3svpiSkJzwOYr/kVBaXmf+RAQiUDs1AHEZVNPg6UJCJpwRA==} + /@typescript-eslint/visitor-keys@6.7.5: + resolution: {integrity: sha512-3MaWdDZtLlsexZzDSdQWsFQ9l9nL8B80Z4fImSpyllFC/KLqWQRdEcB+gGGO+N3Q2uL40EsG66wZLsohPxNXvg==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.7.4 + '@typescript-eslint/types': 6.7.5 eslint-visitor-keys: 3.4.3 dev: true @@ -1532,7 +671,7 @@ packages: istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 4.0.1 istanbul-reports: 3.1.6 - magic-string: 0.30.4 + magic-string: 0.30.5 picocolors: 1.0.0 std-env: 3.4.3 test-exclude: 6.0.0 @@ -1561,7 +700,7 @@ packages: /@vitest/snapshot@0.34.6: resolution: {integrity: sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==} dependencies: - magic-string: 0.30.4 + magic-string: 0.30.5 pathe: 1.1.1 pretty-format: 29.7.0 dev: true @@ -1576,45 +715,16 @@ packages: resolution: {integrity: sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==} dependencies: diff-sequences: 29.6.3 - loupe: 2.3.6 + loupe: 2.3.7 pretty-format: 29.7.0 dev: true - /@whatwg-node/events@0.0.3: - resolution: {integrity: sha512-IqnKIDWfXBJkvy/k6tzskWTc2NK3LcqHlb+KHGCrjOCH4jfQckRX0NAiIcC/vIqQkzLYw2r2CTSwAxcrtcD6lA==} - dev: true - - /@whatwg-node/fetch@0.8.8: - resolution: {integrity: sha512-CdcjGC2vdKhc13KKxgsc6/616BQ7ooDIgPeTuAiE8qfCnS0mGzcfCOoZXypQSz73nxI+GWc7ZReIAVhxoE1KCg==} - dependencies: - '@peculiar/webcrypto': 1.4.3 - '@whatwg-node/node-fetch': 0.3.6 - busboy: 1.6.0 - urlpattern-polyfill: 8.0.2 - web-streams-polyfill: 3.2.1 - dev: true - - /@whatwg-node/node-fetch@0.3.6: - resolution: {integrity: sha512-w9wKgDO4C95qnXZRwZTfCmLWqyRnooGjcIwG0wADWjw9/HN0p7dtvtgSvItZtUyNteEvgTrd8QojNEqV6DAGTA==} - dependencies: - '@whatwg-node/events': 0.0.3 - busboy: 1.6.0 - fast-querystring: 1.1.2 - fast-url-parser: 1.1.3 - tslib: 2.6.2 - dev: true - - /abbrev@2.0.0: - resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - - /acorn-jsx@5.3.2(acorn@8.10.0): - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - acorn: 8.10.0 + /acorn-jsx@5.3.2(acorn@8.10.0): + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + acorn: 8.10.0 dev: true /acorn-walk@8.2.0: @@ -1622,12 +732,6 @@ packages: engines: {node: '>=0.4.0'} dev: true - /acorn@7.4.1: - resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} - engines: {node: '>=0.4.0'} - hasBin: true - dev: true - /acorn@8.10.0: resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} engines: {node: '>=0.4.0'} @@ -1643,13 +747,6 @@ packages: uri-js: 4.4.1 dev: true - /ansi-escapes@4.3.2: - resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.21.3 - dev: true - /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} @@ -1696,83 +793,30 @@ packages: picomatch: 2.3.1 dev: true - /are-docs-informative@0.0.2: - resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==} - engines: {node: '>=14'} - dev: true - /argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} dev: true - /aria-query@5.3.0: - resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} - dependencies: - dequal: 2.0.3 - dev: true - /array-buffer-byte-length@1.0.0: resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 is-array-buffer: 3.0.2 dev: true - /array-includes@3.1.7: - resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - get-intrinsic: 1.2.1 - is-string: 1.0.7 - dev: true - /array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} dev: true - /array.prototype.findlastindex@1.2.3: - resolution: {integrity: sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - es-shim-unscopables: 1.0.0 - get-intrinsic: 1.2.1 - dev: true - - /array.prototype.flat@1.3.2: - resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - es-shim-unscopables: 1.0.0 - dev: true - /array.prototype.flatmap@1.3.2: resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - es-shim-unscopables: 1.0.0 - dev: true - - /array.prototype.tosorted@1.1.2: - resolution: {integrity: sha512-HuQCHOlk1Weat5jzStICBCd83NxiIMwqDg/dHEsoefabn/hJRj5pVdWcPUSpRrwhwxZOsQassMpgN/xRYFBMIg==} - dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 define-properties: 1.2.1 - es-abstract: 1.22.2 - es-shim-unscopables: 1.0.0 - get-intrinsic: 1.2.1 + es-abstract: 1.22.3 + es-shim-unscopables: 1.0.2 dev: true /arraybuffer.prototype.slice@1.0.2: @@ -1780,67 +824,23 @@ packages: engines: {node: '>= 0.4'} dependencies: array-buffer-byte-length: 1.0.0 - call-bind: 1.0.2 + call-bind: 1.0.5 define-properties: 1.2.1 - es-abstract: 1.22.2 - get-intrinsic: 1.2.1 + es-abstract: 1.22.3 + get-intrinsic: 1.2.2 is-array-buffer: 3.0.2 is-shared-array-buffer: 1.0.2 dev: true - /arrify@1.0.1: - resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} - engines: {node: '>=0.10.0'} - dev: true - - /asn1js@3.0.5: - resolution: {integrity: sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ==} - engines: {node: '>=12.0.0'} - dependencies: - pvtsutils: 1.3.5 - pvutils: 1.1.3 - tslib: 2.6.2 - dev: true - /assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} dev: true - /ast-types-flow@0.0.7: - resolution: {integrity: sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag==} - dev: true - - /astral-regex@2.0.0: - resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} - engines: {node: '>=8'} - dev: true - - /asynciterator.prototype@1.0.0: - resolution: {integrity: sha512-wwHYEIS0Q80f5mosx3L/dfG5t5rjEa9Ft51GTaNt862EnpyGHpgz2RkZvLPp1oF5TnAiTohkEKVEu8pQPJI7Vg==} - dependencies: - has-symbols: 1.0.3 - dev: true - /available-typed-arrays@1.0.5: resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} engines: {node: '>= 0.4'} dev: true - /axe-core@4.8.2: - resolution: {integrity: sha512-/dlp0fxyM3R8YW7MFzaHWXrf4zzbr0vaYb23VBFCl83R7nWNPg/yaQw2Dc8jzCMmDVLhSdzH8MjrsuIUuvX+6g==} - engines: {node: '>=4'} - dev: true - - /axobject-query@3.2.1: - resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} - dependencies: - dequal: 2.0.3 - dev: true - - /bail@2.0.2: - resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==} - dev: true - /balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} dev: true @@ -1855,10 +855,6 @@ packages: engines: {node: '>=8'} dev: true - /boolbase@1.0.0: - resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} - dev: true - /bplist-parser@0.2.0: resolution: {integrity: sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==} engines: {node: '>= 5.10.0'} @@ -1886,32 +882,10 @@ packages: fill-range: 7.0.1 dev: true - /browserslist@4.22.1: - resolution: {integrity: sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - dependencies: - caniuse-lite: 1.0.30001546 - electron-to-chromium: 1.4.544 - node-releases: 2.0.13 - update-browserslist-db: 1.0.13(browserslist@4.22.1) - dev: true - /buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} dev: true - /builtin-modules@3.3.0: - resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} - engines: {node: '>=6'} - dev: true - - /builtins@5.0.1: - resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} - dependencies: - semver: 7.5.4 - dev: true - /bundle-name@3.0.0: resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} engines: {node: '>=12'} @@ -1929,23 +903,17 @@ packages: load-tsconfig: 0.2.5 dev: true - /busboy@1.6.0: - resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==} - engines: {node: '>=10.16.0'} - dependencies: - streamsearch: 1.1.0 - dev: true - /cac@6.7.14: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} dev: true - /call-bind@1.0.2: - resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} + /call-bind@1.0.5: + resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} dependencies: - function-bind: 1.1.1 - get-intrinsic: 1.2.1 + function-bind: 1.1.2 + get-intrinsic: 1.2.2 + set-function-length: 1.1.1 dev: true /call-me-maybe@1.0.2: @@ -1964,10 +932,6 @@ packages: tslib: 2.6.2 dev: true - /caniuse-lite@1.0.30001546: - resolution: {integrity: sha512-zvtSJwuQFpewSyRrI3AsftF6rM0X80mZkChIt1spBGEvRglCrjTniXvinc8JKRoqTwXAgvqTImaN9igfSMtUBw==} - dev: true - /capital-case@1.0.4: resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} dependencies: @@ -1976,10 +940,6 @@ packages: upper-case-first: 2.0.2 dev: true - /ccount@2.0.1: - resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} - dev: true - /chai@4.3.10: resolution: {integrity: sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==} engines: {node: '>=4'} @@ -1988,7 +948,7 @@ packages: check-error: 1.0.3 deep-eql: 4.1.3 get-func-name: 2.0.2 - loupe: 2.3.6 + loupe: 2.3.7 pathval: 1.1.1 type-detect: 4.0.8 dev: true @@ -2027,40 +987,6 @@ packages: tslib: 2.6.2 dev: true - /character-entities-html4@2.1.0: - resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==} - dev: true - - /character-entities-legacy@1.1.4: - resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==} - dev: true - - /character-entities-legacy@3.0.0: - resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==} - dev: true - - /character-entities@1.2.4: - resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==} - dev: true - - /character-entities@2.0.2: - resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==} - dev: true - - /character-parser@2.2.0: - resolution: {integrity: sha512-+UqJQjFEFaTAs3bNsF2j2kEN1baG/zghZbdqoYEDxGZtJo9LBzl1A+m0D4n3qKx8N2FNv8/Xp6yV9mQmBuptaw==} - dependencies: - is-regex: 1.1.4 - dev: true - - /character-reference-invalid@1.1.4: - resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} - dev: true - - /character-reference-invalid@2.0.1: - resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==} - dev: true - /check-error@1.0.3: resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} dependencies: @@ -2082,23 +1008,6 @@ packages: fsevents: 2.3.3 dev: true - /ci-info@3.9.0: - resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} - engines: {node: '>=8'} - dev: true - - /clean-regexp@1.0.0: - resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} - engines: {node: '>=4'} - dependencies: - escape-string-regexp: 1.0.5 - dev: true - - /cli-boxes@3.0.0: - resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==} - engines: {node: '>=10'} - dev: true - /cli-color@2.0.3: resolution: {integrity: sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ==} engines: {node: '>=0.10'} @@ -2110,22 +1019,6 @@ packages: timers-ext: 0.1.7 dev: true - /cli-cursor@3.1.0: - resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} - engines: {node: '>=8'} - dependencies: - restore-cursor: 3.1.0 - dev: true - - /cli-table3@0.6.3: - resolution: {integrity: sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==} - engines: {node: 10.* || >= 12.*} - dependencies: - string-width: 4.2.3 - optionalDependencies: - '@colors/colors': 1.5.0 - dev: true - /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} dependencies: @@ -2147,35 +1040,15 @@ packages: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} dev: true - /color-support@1.1.3: - resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} - hasBin: true - dev: true - /commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} dev: true - /comment-parser@1.4.0: - resolution: {integrity: sha512-QLyTNiZ2KDOibvFPlZ6ZngVsZ/0gYnE6uTXi5aoDg8ed3AkJAz4sEje3Y8a29hQ1s6A99MZXe47fLAXQ1rTqaw==} - engines: {node: '>= 12.0.0'} - dev: true - /concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: true - /concat-stream@2.0.0: - resolution: {integrity: sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==} - engines: {'0': node >= 6.0} - dependencies: - buffer-from: 1.1.2 - inherits: 2.0.4 - readable-stream: 3.6.2 - typedarray: 0.0.6 - dev: true - /constant-case@3.0.4: resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==} dependencies: @@ -2188,16 +1061,6 @@ packages: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} dev: true - /cosmiconfig@8.0.0: - resolution: {integrity: sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==} - engines: {node: '>=14'} - dependencies: - import-fresh: 3.3.0 - js-yaml: 4.1.0 - parse-json: 5.2.0 - path-type: 4.0.0 - dev: true - /cross-spawn@6.0.5: resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} engines: {node: '>=4.8'} @@ -2218,12 +1081,6 @@ packages: which: 2.0.2 dev: true - /cssesc@3.0.0: - resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} - engines: {node: '>=4'} - hasBin: true - dev: true - /d@1.0.1: resolution: {integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==} dependencies: @@ -2231,25 +1088,6 @@ packages: type: 1.2.0 dev: true - /damerau-levenshtein@1.0.8: - resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==} - dev: true - - /dataloader@2.2.2: - resolution: {integrity: sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g==} - dev: true - - /debug@3.2.7: - resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.1.3 - dev: true - /debug@4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -2262,12 +1100,6 @@ packages: ms: 2.1.2 dev: true - /decode-named-character-reference@1.0.2: - resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==} - dependencies: - character-entities: 2.0.2 - dev: true - /deep-eql@4.1.3: resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} engines: {node: '>=6'} @@ -2297,13 +1129,13 @@ packages: titleize: 3.0.0 dev: true - /define-data-property@1.1.0: - resolution: {integrity: sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==} + /define-data-property@1.1.1: + resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.2.1 + get-intrinsic: 1.2.2 gopd: 1.0.1 - has-property-descriptors: 1.0.0 + has-property-descriptors: 1.0.1 dev: true /define-lazy-prop@3.0.0: @@ -2315,26 +1147,16 @@ packages: resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.0 - has-property-descriptors: 1.0.0 + define-data-property: 1.1.1 + has-property-descriptors: 1.0.1 object-keys: 1.1.1 dev: true - /dequal@2.0.3: - resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} - engines: {node: '>=6'} - dev: true - /diff-sequences@29.6.3: resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true - /diff@5.1.0: - resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} - engines: {node: '>=0.3.1'} - dev: true - /dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -2342,13 +1164,6 @@ packages: path-type: 4.0.0 dev: true - /doctrine@2.1.0: - resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} - engines: {node: '>=0.10.0'} - dependencies: - esutils: 2.0.3 - dev: true - /doctrine@3.0.0: resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} engines: {node: '>=6.0.0'} @@ -2363,19 +1178,10 @@ packages: tslib: 2.6.2 dev: true - /dset@3.1.2: - resolution: {integrity: sha512-g/M9sqy3oHe477Ar4voQxWtaPIFw1jTdKZuomOjhCcBx9nHUNn0pu6NopuFFrTh/TRZIKEj+76vLWFu9BNKk+Q==} - engines: {node: '>=4'} - dev: true - /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.544: - resolution: {integrity: sha512-54z7squS1FyFRSUqq/knOFSptjjogLZXbKcYk3B0qkE1KZzvqASwRZnY2KzZQJqIYLVD38XZeoiMRflYSwyO4w==} - dev: true - /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} dev: true @@ -2384,37 +1190,32 @@ packages: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} dev: true - /entities@4.5.0: - resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} - engines: {node: '>=0.12'} - dev: true - /error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: is-arrayish: 0.2.1 dev: true - /es-abstract@1.22.2: - resolution: {integrity: sha512-YoxfFcDmhjOgWPWsV13+2RNjq1F6UQnfs+8TftwNqtzlmFzEXvlUwdrNrYeaizfjQzRMxkZ6ElWMOJIFKdVqwA==} + /es-abstract@1.22.3: + resolution: {integrity: sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==} engines: {node: '>= 0.4'} dependencies: array-buffer-byte-length: 1.0.0 arraybuffer.prototype.slice: 1.0.2 available-typed-arrays: 1.0.5 - call-bind: 1.0.2 - es-set-tostringtag: 2.0.1 + call-bind: 1.0.5 + es-set-tostringtag: 2.0.2 es-to-primitive: 1.2.1 function.prototype.name: 1.1.6 - get-intrinsic: 1.2.1 + get-intrinsic: 1.2.2 get-symbol-description: 1.0.0 globalthis: 1.0.3 gopd: 1.0.1 - has: 1.0.4 - has-property-descriptors: 1.0.0 + has-property-descriptors: 1.0.1 has-proto: 1.0.1 has-symbols: 1.0.3 - internal-slot: 1.0.5 + hasown: 2.0.0 + internal-slot: 1.0.6 is-array-buffer: 3.0.2 is-callable: 1.2.7 is-negative-zero: 2.0.2 @@ -2423,7 +1224,7 @@ packages: is-string: 1.0.7 is-typed-array: 1.1.12 is-weakref: 1.0.2 - object-inspect: 1.12.3 + object-inspect: 1.13.1 object-keys: 1.1.1 object.assign: 4.1.4 regexp.prototype.flags: 1.5.1 @@ -2437,41 +1238,22 @@ packages: typed-array-byte-offset: 1.0.0 typed-array-length: 1.0.4 unbox-primitive: 1.0.2 - which-typed-array: 1.1.11 - dev: true - - /es-iterator-helpers@1.0.15: - resolution: {integrity: sha512-GhoY8uYqd6iwUl2kgjTm4CZAf6oo5mHK7BPqx3rKgx893YSsy0LGHV6gfqqQvZt/8xM8xeOnfXBCfqclMKkJ5g==} - dependencies: - asynciterator.prototype: 1.0.0 - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - es-set-tostringtag: 2.0.1 - function-bind: 1.1.1 - get-intrinsic: 1.2.1 - globalthis: 1.0.3 - has-property-descriptors: 1.0.0 - has-proto: 1.0.1 - has-symbols: 1.0.3 - internal-slot: 1.0.5 - iterator.prototype: 1.1.2 - safe-array-concat: 1.0.1 + which-typed-array: 1.1.13 dev: true - /es-set-tostringtag@2.0.1: - resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==} + /es-set-tostringtag@2.0.2: + resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.2.1 - has: 1.0.4 + get-intrinsic: 1.2.2 has-tostringtag: 1.0.0 + hasown: 2.0.0 dev: true - /es-shim-unscopables@1.0.0: - resolution: {integrity: sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==} + /es-shim-unscopables@1.0.2: + resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} dependencies: - has: 1.0.4 + hasown: 2.0.0 dev: true /es-to-primitive@1.2.1: @@ -2547,11 +1329,6 @@ packages: '@esbuild/win32-x64': 0.18.20 dev: true - /escalade@3.1.1: - resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} - engines: {node: '>=6'} - dev: true - /escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} engines: {node: '>=0.8.0'} @@ -2562,15 +1339,6 @@ packages: engines: {node: '>=10'} dev: true - /eslint-compat-utils@0.1.2(eslint@8.51.0): - resolution: {integrity: sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==} - engines: {node: '>=12'} - peerDependencies: - eslint: '>=6.0.0' - dependencies: - eslint: 8.51.0 - dev: true - /eslint-config-prettier@9.0.0(eslint@8.51.0): resolution: {integrity: sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==} hasBin: true @@ -2594,493 +1362,34 @@ packages: - supports-color dev: true - /eslint-import-resolver-node@0.3.9: - resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} - dependencies: - debug: 3.2.7 - is-core-module: 2.13.0 - resolve: 1.22.6 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-mdx@2.2.0(eslint@8.51.0): - resolution: {integrity: sha512-AriN6lCW6KhWQ9GEiXapR1DokKHefOUqKvCmHxnE9puCWYhWiycU2SNKH8jmrasDBreZ+RtJDLi+RcUNLJatjg==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + /eslint-plugin-prettier@5.0.1(@types/eslint@8.44.6)(eslint-config-prettier@9.0.0)(eslint@8.51.0)(prettier@3.0.3): + resolution: {integrity: sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==} + engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: + '@types/eslint': '>=8.0.0' eslint: '>=8.0.0' - dependencies: - acorn: 8.10.0 - acorn-jsx: 5.3.2(acorn@8.10.0) - eslint: 8.51.0 - espree: 9.6.1 - estree-util-visit: 1.2.1 - remark-mdx: 2.3.0 - remark-parse: 10.0.2 - remark-stringify: 10.0.3 - synckit: 0.8.5 - tslib: 2.6.2 - unified: 10.1.2 - unified-engine: 10.1.0 - unist-util-visit: 4.1.2 - uvu: 0.5.6 - vfile: 5.3.7 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint@8.51.0): - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: '*' - eslint-import-resolver-node: '*' - eslint-import-resolver-typescript: '*' - eslint-import-resolver-webpack: '*' + eslint-config-prettier: '*' + prettier: '>=3.0.0' peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - eslint: - optional: true - eslint-import-resolver-node: - optional: true - eslint-import-resolver-typescript: + '@types/eslint': optional: true - eslint-import-resolver-webpack: + eslint-config-prettier: optional: true dependencies: - '@typescript-eslint/parser': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - debug: 3.2.7 + '@types/eslint': 8.44.6 eslint: 8.51.0 - eslint-import-resolver-node: 0.3.9 - transitivePeerDependencies: - - supports-color + eslint-config-prettier: 9.0.0(eslint@8.51.0) + prettier: 3.0.3 + prettier-linter-helpers: 1.0.0 + synckit: 0.8.5 dev: true - /eslint-plugin-deprecation@2.0.0(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-OAm9Ohzbj11/ZFyICyR5N6LbOIvQMp7ZU2zI7Ej0jIc8kiGUERXPNMfw2QqqHD1ZHtjMub3yPZILovYEYucgoQ==} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - typescript: ^4.2.4 || ^5.0.0 + /eslint-scope@7.2.2: + resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - eslint: 8.51.0 - tslib: 2.6.2 - tsutils: 3.21.0(typescript@5.2.2) - typescript: 5.2.2 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-plugin-es-x@7.2.0(eslint@8.51.0): - resolution: {integrity: sha512-9dvv5CcvNjSJPqnS5uZkqb3xmbeqRLnvXKK7iI5+oK/yTusyc46zbBZKENGsOfojm/mKfszyZb+wNqNPAPeGXA==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - eslint: '>=8' - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - '@eslint-community/regexpp': 4.9.1 - eslint: 8.51.0 - dev: true - - /eslint-plugin-es@3.0.1(eslint@8.51.0): - resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==} - engines: {node: '>=8.10.0'} - peerDependencies: - eslint: '>=4.19.1' - dependencies: - eslint: 8.51.0 - eslint-utils: 2.1.0 - regexpp: 3.2.0 - dev: true - - /eslint-plugin-eslint-comments@3.2.0(eslint@8.51.0): - resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} - engines: {node: '>=6.5.0'} - peerDependencies: - eslint: '>=4.19.1' - dependencies: - escape-string-regexp: 1.0.5 - eslint: 8.51.0 - ignore: 5.2.4 - dev: true - - /eslint-plugin-import@2.28.1(@typescript-eslint/parser@6.7.4)(eslint@8.51.0): - resolution: {integrity: sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - dependencies: - '@typescript-eslint/parser': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - array-includes: 3.1.7 - array.prototype.findlastindex: 1.2.3 - array.prototype.flat: 1.3.2 - array.prototype.flatmap: 1.3.2 - debug: 3.2.7 - doctrine: 2.1.0 - eslint: 8.51.0 - eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint@8.51.0) - has: 1.0.4 - is-core-module: 2.13.0 - is-glob: 4.0.3 - minimatch: 3.1.2 - object.fromentries: 2.0.7 - object.groupby: 1.0.1 - object.values: 1.1.7 - semver: 6.3.1 - tsconfig-paths: 3.14.2 - transitivePeerDependencies: - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - supports-color - dev: true - - /eslint-plugin-inclusive-language@2.2.1: - resolution: {integrity: sha512-RL6avDWXCS0Dcp9axhvHRUp65qG07qjOrh6J4BNNahPvRY3PuYGnAd0H1strZ9cob79JiEW4Bq0j3gEuzbv0/A==} - dependencies: - humps: 2.0.1 - dev: true - - /eslint-plugin-jsdoc@46.8.2(eslint@8.51.0): - resolution: {integrity: sha512-5TSnD018f3tUJNne4s4gDWQflbsgOycIKEUBoCLn6XtBMgNHxQFmV8vVxUtiPxAQq8lrX85OaSG/2gnctxw9uQ==} - engines: {node: '>=16'} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - dependencies: - '@es-joy/jsdoccomment': 0.40.1 - are-docs-informative: 0.0.2 - comment-parser: 1.4.0 - debug: 4.3.4 - escape-string-regexp: 4.0.0 - eslint: 8.51.0 - esquery: 1.5.0 - is-builtin-module: 3.2.1 - semver: 7.5.4 - spdx-expression-parse: 3.0.1 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-plugin-jsonc@2.9.0(eslint@8.51.0): - resolution: {integrity: sha512-RK+LeONVukbLwT2+t7/OY54NJRccTXh/QbnXzPuTLpFMVZhPuq1C9E07+qWenGx7rrQl0kAalAWl7EmB+RjpGA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: '>=6.0.0' - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - eslint: 8.51.0 - jsonc-eslint-parser: 2.3.0 - natural-compare: 1.4.0 - dev: true - - /eslint-plugin-jsx-a11y@6.7.1(eslint@8.51.0): - resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==} - engines: {node: '>=4.0'} - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - dependencies: - '@babel/runtime': 7.23.1 - aria-query: 5.3.0 - array-includes: 3.1.7 - array.prototype.flatmap: 1.3.2 - ast-types-flow: 0.0.7 - axe-core: 4.8.2 - axobject-query: 3.2.1 - damerau-levenshtein: 1.0.8 - emoji-regex: 9.2.2 - eslint: 8.51.0 - has: 1.0.4 - jsx-ast-utils: 3.3.5 - language-tags: 1.0.5 - minimatch: 3.1.2 - object.entries: 1.1.7 - object.fromentries: 2.0.7 - semver: 6.3.1 - dev: true - - /eslint-plugin-markdown@3.0.1(eslint@8.51.0): - resolution: {integrity: sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - eslint: 8.51.0 - mdast-util-from-markdown: 0.8.5 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-plugin-mdx@2.2.0(eslint@8.51.0): - resolution: {integrity: sha512-OseoMXUIr8iy3E0me+wJLVAxuB0kxHP1plxuYAJDynzorzOj2OKv8Fhr+rIOJ32zfl3bnEWsqFnUiCnyznr1JQ==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} - peerDependencies: - eslint: '>=8.0.0' - dependencies: - eslint: 8.51.0 - eslint-mdx: 2.2.0(eslint@8.51.0) - eslint-plugin-markdown: 3.0.1(eslint@8.51.0) - remark-mdx: 2.3.0 - remark-parse: 10.0.2 - remark-stringify: 10.0.3 - tslib: 2.6.2 - unified: 10.1.2 - vfile: 5.3.7 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-plugin-n@16.1.0(eslint@8.51.0): - resolution: {integrity: sha512-3wv/TooBst0N4ND+pnvffHuz9gNPmk/NkLwAxOt2JykTl/hcuECe6yhTtLJcZjIxtZwN+GX92ACp/QTLpHA3Hg==} - engines: {node: '>=16.0.0'} - peerDependencies: - eslint: '>=7.0.0' - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - builtins: 5.0.1 - eslint: 8.51.0 - eslint-plugin-es-x: 7.2.0(eslint@8.51.0) - get-tsconfig: 4.7.2 - ignore: 5.2.4 - is-core-module: 2.13.0 - minimatch: 3.1.2 - resolve: 1.22.6 - semver: 7.5.4 - dev: true - - /eslint-plugin-node@11.1.0(eslint@8.51.0): - resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==} - engines: {node: '>=8.10.0'} - peerDependencies: - eslint: '>=5.16.0' - dependencies: - eslint: 8.51.0 - eslint-plugin-es: 3.0.1(eslint@8.51.0) - eslint-utils: 2.1.0 - ignore: 5.2.4 - minimatch: 3.1.2 - resolve: 1.22.6 - semver: 6.3.1 - dev: true - - /eslint-plugin-prettier@5.0.0(@types/eslint@8.44.3)(eslint-config-prettier@9.0.0)(eslint@8.51.0)(prettier@3.0.3): - resolution: {integrity: sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - '@types/eslint': '>=8.0.0' - eslint: '>=8.0.0' - eslint-config-prettier: '*' - prettier: '>=3.0.0' - peerDependenciesMeta: - '@types/eslint': - optional: true - eslint-config-prettier: - optional: true - dependencies: - '@types/eslint': 8.44.3 - eslint: 8.51.0 - eslint-config-prettier: 9.0.0(eslint@8.51.0) - prettier: 3.0.3 - prettier-linter-helpers: 1.0.0 - synckit: 0.8.5 - dev: true - - /eslint-plugin-promise@6.1.1(eslint@8.51.0): - resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - dependencies: - eslint: 8.51.0 - dev: true - - /eslint-plugin-react-hooks@4.6.0(eslint@8.51.0): - resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==} - engines: {node: '>=10'} - peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - dependencies: - eslint: 8.51.0 - dev: true - - /eslint-plugin-react@7.33.2(eslint@8.51.0): - resolution: {integrity: sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==} - engines: {node: '>=4'} - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - dependencies: - array-includes: 3.1.7 - array.prototype.flatmap: 1.3.2 - array.prototype.tosorted: 1.1.2 - doctrine: 2.1.0 - es-iterator-helpers: 1.0.15 - eslint: 8.51.0 - estraverse: 5.3.0 - jsx-ast-utils: 3.3.5 - minimatch: 3.1.2 - object.entries: 1.1.7 - object.fromentries: 2.0.7 - object.hasown: 1.1.3 - object.values: 1.1.7 - prop-types: 15.8.1 - resolve: 2.0.0-next.4 - semver: 6.3.1 - string.prototype.matchall: 4.0.10 - dev: true - - /eslint-plugin-sonarjs@0.21.0(eslint@8.51.0): - resolution: {integrity: sha512-oezUDfFT5S6j3rQheZ4DLPrbetPmMS7zHIKWGHr0CM3g5JgyZroz1FpIKa4jV83NsGpmgIeagpokWDKIJzRQmw==} - engines: {node: '>=14'} - peerDependencies: - eslint: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - eslint: 8.51.0 - dev: true - - /eslint-plugin-spellcheck@0.0.20(eslint@8.51.0): - resolution: {integrity: sha512-GJa6vgzWAYqe0elKADAsiBRrhvqBnKyt7tpFSqlCZJsK2W9+K80oMyHhKolA7vJ13H5RCGs5/KCN+mKUyKoAiA==} - peerDependencies: - eslint: '>=0.8.0' - dependencies: - eslint: 8.51.0 - globals: 13.23.0 - hunspell-spellchecker: 1.0.2 - lodash: 4.17.21 - dev: true - - /eslint-plugin-testing-library@6.0.2(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-3BV6FWtLbpKFb4Y1obSdt8PC9xSqz6T+7EHB/6pSCXqVjKPoS67ck903feKMKQphd5VhrX+N51yHuVaPa7elsw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0, npm: '>=6'} - peerDependencies: - eslint: ^7.5.0 || ^8.0.0 - dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.51.0)(typescript@5.2.2) - eslint: 8.51.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /eslint-plugin-unicorn@48.0.1(eslint@8.51.0): - resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} - engines: {node: '>=16'} - peerDependencies: - eslint: '>=8.44.0' - dependencies: - '@babel/helper-validator-identifier': 7.22.20 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - ci-info: 3.9.0 - clean-regexp: 1.0.0 - eslint: 8.51.0 - esquery: 1.5.0 - indent-string: 4.0.0 - is-builtin-module: 3.2.1 - jsesc: 3.0.2 - lodash: 4.17.21 - pluralize: 8.0.0 - read-pkg-up: 7.0.1 - regexp-tree: 0.1.27 - regjsparser: 0.10.0 - semver: 7.5.4 - strip-indent: 3.0.0 - dev: true - - /eslint-plugin-vitest@0.3.2(@typescript-eslint/eslint-plugin@6.7.4)(eslint@8.51.0)(typescript@5.2.2)(vitest@0.34.6): - resolution: {integrity: sha512-A1P0qJVkqHyfDolwm09h8/gu7SbGFOKbacJSeyZ9IRb8uyddgqLcqv4VrqgQfLA7QmGI9lwj1iV90NyZ1cHp8Q==} - engines: {node: 14.x || >= 16} - peerDependencies: - '@typescript-eslint/eslint-plugin': '*' - eslint: '>=8.0.0' - vitest: '*' - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - dependencies: - '@typescript-eslint/eslint-plugin': 6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - eslint: 8.51.0 - vitest: 0.34.6 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /eslint-plugin-vue-pug@0.6.0(eslint-plugin-vue@9.17.0)(vue-eslint-parser@9.3.2): - resolution: {integrity: sha512-VFCdVctcEob2/sEWBeAVhWPXACUfLpqWpnhTK7tHXuDF+0GM2N3BeiCG0cneFvleI59B/NouGX80GXB6NGrgvA==} - peerDependencies: - eslint-plugin-vue: ^9.8.0 - dependencies: - eslint-plugin-vue: 9.17.0(eslint@8.51.0) - vue-eslint-parser-template-tokenizer-pug: 0.4.10(vue-eslint-parser@9.3.2) - transitivePeerDependencies: - - vue-eslint-parser - dev: true - - /eslint-plugin-vue@9.17.0(eslint@8.51.0): - resolution: {integrity: sha512-r7Bp79pxQk9I5XDP0k2dpUC7Ots3OSWgvGZNu3BxmKK6Zg7NgVtcOB6OCna5Kb9oQwJPl5hq183WD0SY5tZtIQ==} - engines: {node: ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - eslint: 8.51.0 - natural-compare: 1.4.0 - nth-check: 2.1.1 - postcss-selector-parser: 6.0.13 - semver: 7.5.4 - vue-eslint-parser: 9.3.2(eslint@8.51.0) - xml-name-validator: 4.0.0 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-plugin-yml@1.10.0(eslint@8.51.0): - resolution: {integrity: sha512-53SUwuNDna97lVk38hL/5++WXDuugPM9SUQ1T645R0EHMRCdBIIxGye/oOX2qO3FQ7aImxaUZJU/ju+NMUBrLQ==} - engines: {node: ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: '>=6.0.0' - dependencies: - debug: 4.3.4 - eslint: 8.51.0 - eslint-compat-utils: 0.1.2(eslint@8.51.0) - lodash: 4.17.21 - natural-compare: 1.4.0 - yaml-eslint-parser: 1.2.2 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-scope@5.1.1: - resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} - engines: {node: '>=8.0.0'} - dependencies: - esrecurse: 4.3.0 - estraverse: 4.3.0 - dev: true - - /eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - dev: true - - /eslint-utils@2.1.0: - resolution: {integrity: sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==} - engines: {node: '>=6'} - dependencies: - eslint-visitor-keys: 1.3.0 - dev: true - - /eslint-visitor-keys@1.3.0: - resolution: {integrity: sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==} - engines: {node: '>=4'} + esrecurse: 4.3.0 + estraverse: 5.3.0 dev: true /eslint-visitor-keys@3.4.3: @@ -3097,7 +1406,7 @@ packages: '@eslint-community/regexpp': 4.9.1 '@eslint/eslintrc': 2.1.2 '@eslint/js': 8.51.0 - '@humanwhocodes/config-array': 0.11.11 + '@humanwhocodes/config-array': 0.11.13 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 ajv: 6.12.6 @@ -3157,27 +1466,11 @@ packages: estraverse: 5.3.0 dev: true - /estraverse@4.3.0: - resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} - engines: {node: '>=4.0'} - dev: true - /estraverse@5.3.0: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} dev: true - /estree-util-is-identifier-name@2.1.0: - resolution: {integrity: sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ==} - dev: true - - /estree-util-visit@1.2.1: - resolution: {integrity: sha512-xbgqcrkIVbIG+lI/gzbvd9SGTJL4zqJKBFttUl5pP27KhAjtMKbX/mQXJ7qgyXpMgVy/zvpm0xoQQaGL8OloOw==} - dependencies: - '@types/estree-jsx': 1.0.1 - '@types/unist': 2.0.8 - dev: true - /esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -3231,19 +1524,6 @@ packages: type: 2.7.2 dev: true - /extend@3.0.2: - resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} - dev: true - - /extract-files@11.0.0: - resolution: {integrity: sha512-FuoE1qtbJ4bBVvv94CC7s0oTnKUGvQs+Rjf1L2SJFfS+HTVVjhPFtehPdQ0JiGPqVNfSSZvL5yzHHQq2Z4WNhQ==} - engines: {node: ^12.20 || >= 14.13} - dev: true - - /fast-decode-uri-component@1.0.1: - resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==} - dev: true - /fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} dev: true @@ -3271,30 +1551,12 @@ packages: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} dev: true - /fast-querystring@1.1.2: - resolution: {integrity: sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==} - dependencies: - fast-decode-uri-component: 1.0.1 - dev: true - - /fast-url-parser@1.1.3: - resolution: {integrity: sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==} - dependencies: - punycode: 1.4.1 - dev: true - /fastq@1.15.0: resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} dependencies: reusify: 1.0.4 dev: true - /fault@2.0.1: - resolution: {integrity: sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==} - dependencies: - format: 0.2.2 - dev: true - /file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -3309,14 +1571,6 @@ packages: to-regex-range: 5.0.1 dev: true - /find-up@4.1.0: - resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} - dependencies: - locate-path: 5.0.0 - path-exists: 4.0.0 - dev: true - /find-up@5.0.0: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} @@ -3352,11 +1606,6 @@ packages: signal-exit: 4.1.0 dev: true - /format@0.2.2: - resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==} - engines: {node: '>=0.4.x'} - dev: true - /fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true @@ -3369,17 +1618,17 @@ packages: dev: true optional: true - /function-bind@1.1.1: - resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} + /function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} dev: true /function.prototype.name@1.1.6: resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-abstract: 1.22.3 functions-have-names: 1.2.3 dev: true @@ -3387,22 +1636,17 @@ packages: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} dev: true - /gensync@1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} - dev: true - /get-func-name@2.0.2: resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} dev: true - /get-intrinsic@1.2.1: - resolution: {integrity: sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==} + /get-intrinsic@1.2.2: + resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} dependencies: - function-bind: 1.1.1 - has: 1.0.4 + function-bind: 1.1.2 has-proto: 1.0.1 has-symbols: 1.0.3 + hasown: 2.0.0 dev: true /get-stdin@8.0.0: @@ -3419,8 +1663,8 @@ packages: resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 - get-intrinsic: 1.2.1 + call-bind: 1.0.5 + get-intrinsic: 1.2.2 dev: true /get-tsconfig@4.7.2: @@ -3487,22 +1731,6 @@ packages: path-is-absolute: 1.0.1 dev: true - /glob@8.1.0: - resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} - engines: {node: '>=12'} - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 5.1.6 - once: 1.4.0 - dev: true - - /globals@11.12.0: - resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} - engines: {node: '>=4'} - dev: true - /globals@13.23.0: resolution: {integrity: sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==} engines: {node: '>=8'} @@ -3532,7 +1760,7 @@ packages: /gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} dependencies: - get-intrinsic: 1.2.1 + get-intrinsic: 1.2.2 dev: true /graceful-fs@4.2.11: @@ -3543,59 +1771,6 @@ packages: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} dev: true - /graphql-config@4.5.0(@types/node@20.8.3)(graphql@16.8.1): - resolution: {integrity: sha512-x6D0/cftpLUJ0Ch1e5sj1TZn6Wcxx4oMfmhaG9shM0DKajA9iR+j1z86GSTQ19fShbGvrSSvbIQsHku6aQ6BBw==} - engines: {node: '>= 10.0.0'} - peerDependencies: - cosmiconfig-toml-loader: ^1.0.0 - graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - peerDependenciesMeta: - cosmiconfig-toml-loader: - optional: true - dependencies: - '@graphql-tools/graphql-file-loader': 7.5.17(graphql@16.8.1) - '@graphql-tools/json-file-loader': 7.4.18(graphql@16.8.1) - '@graphql-tools/load': 7.8.14(graphql@16.8.1) - '@graphql-tools/merge': 8.4.2(graphql@16.8.1) - '@graphql-tools/url-loader': 7.17.18(@types/node@20.8.3)(graphql@16.8.1) - '@graphql-tools/utils': 9.2.1(graphql@16.8.1) - cosmiconfig: 8.0.0 - graphql: 16.8.1 - jiti: 1.17.1 - minimatch: 4.2.3 - string-env-interpolation: 1.0.1 - tslib: 2.6.2 - transitivePeerDependencies: - - '@types/node' - - bufferutil - - encoding - - utf-8-validate - dev: true - - /graphql-depth-limit@1.1.0(graphql@16.8.1): - resolution: {integrity: sha512-+3B2BaG8qQ8E18kzk9yiSdAa75i/hnnOwgSeAxVJctGQPvmeiLtqKOYF6HETCyRjiF7Xfsyal0HbLlxCQkgkrw==} - engines: {node: '>=6.0.0'} - peerDependencies: - graphql: '*' - dependencies: - arrify: 1.0.1 - graphql: 16.8.1 - dev: true - - /graphql-ws@5.12.1(graphql@16.8.1): - resolution: {integrity: sha512-umt4f5NnMK46ChM2coO36PTFhHouBrK9stWWBczERguwYrGnPNxJ9dimU6IyOBfOkC6Izhkg4H8+F51W/8CYDg==} - engines: {node: '>=10'} - peerDependencies: - graphql: '>=0.11 <=16' - dependencies: - graphql: 16.8.1 - dev: true - - /graphql@16.8.1: - resolution: {integrity: sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==} - engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} - dev: true - /has-bigints@1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} dev: true @@ -3610,10 +1785,10 @@ packages: engines: {node: '>=8'} dev: true - /has-property-descriptors@1.0.0: - resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} + /has-property-descriptors@1.0.1: + resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==} dependencies: - get-intrinsic: 1.2.1 + get-intrinsic: 1.2.2 dev: true /has-proto@1.0.1: @@ -3633,9 +1808,11 @@ packages: has-symbols: 1.0.3 dev: true - /has@1.0.4: - resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} - engines: {node: '>= 0.4.0'} + /hasown@2.0.0: + resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} + engines: {node: '>= 0.4'} + dependencies: + function-bind: 1.1.2 dev: true /header-case@2.0.4: @@ -3663,15 +1840,6 @@ packages: engines: {node: '>=14.18.0'} dev: true - /humps@2.0.1: - resolution: {integrity: sha512-E0eIbrFWUhwfXJmsbdjRQFQPrl5pTEoKlz163j1mTqqUnU9PgR4AgB8AIITzuB3vLBdxZXyZ9TDIrwB2OASz4g==} - dev: true - - /hunspell-spellchecker@1.0.2: - resolution: {integrity: sha512-4DwmFAvlz+ChsqLDsZT2cwBsYNXh+oWboemxXtafwKIyItq52xfR4e4kr017sLAoPaSYVofSOvPUfmOAhXyYvw==} - hasBin: true - dev: true - /ignore@5.2.4: resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} @@ -3685,20 +1853,11 @@ packages: resolve-from: 4.0.0 dev: true - /import-meta-resolve@2.2.2: - resolution: {integrity: sha512-f8KcQ1D80V7RnqVm+/lirO9zkOxjGxhaTC1IPrBGd3MEfNgmNG67tSUO9gTi2F3Blr2Az6g1vocaxzkVnWl9MA==} - dev: true - /imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} dev: true - /indent-string@4.0.0: - resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} - engines: {node: '>=8'} - dev: true - /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} dependencies: @@ -3710,47 +1869,20 @@ packages: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} dev: true - /ini@4.1.1: - resolution: {integrity: sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - - /internal-slot@1.0.5: - resolution: {integrity: sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==} + /internal-slot@1.0.6: + resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.2.1 - has: 1.0.4 + get-intrinsic: 1.2.2 + hasown: 2.0.0 side-channel: 1.0.4 dev: true - /is-alphabetical@1.0.4: - resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==} - dev: true - - /is-alphabetical@2.0.1: - resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==} - dev: true - - /is-alphanumerical@1.0.4: - resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==} - dependencies: - is-alphabetical: 1.0.4 - is-decimal: 1.0.4 - dev: true - - /is-alphanumerical@2.0.1: - resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==} - dependencies: - is-alphabetical: 2.0.1 - is-decimal: 2.0.1 - dev: true - /is-array-buffer@3.0.2: resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} dependencies: - call-bind: 1.0.2 - get-intrinsic: 1.2.1 + call-bind: 1.0.5 + get-intrinsic: 1.2.2 is-typed-array: 1.1.12 dev: true @@ -3758,13 +1890,6 @@ packages: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} dev: true - /is-async-function@2.0.0: - resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==} - engines: {node: '>= 0.4'} - dependencies: - has-tostringtag: 1.0.0 - dev: true - /is-bigint@1.0.4: resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} dependencies: @@ -3782,31 +1907,19 @@ packages: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 has-tostringtag: 1.0.0 dev: true - /is-buffer@2.0.5: - resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==} - engines: {node: '>=4'} - dev: true - - /is-builtin-module@3.2.1: - resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} - engines: {node: '>=6'} - dependencies: - builtin-modules: 3.3.0 - dev: true - /is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} dev: true - /is-core-module@2.13.0: - resolution: {integrity: sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==} + /is-core-module@2.13.1: + resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} dependencies: - has: 1.0.4 + hasown: 2.0.0 dev: true /is-date-object@1.0.5: @@ -3816,14 +1929,6 @@ packages: has-tostringtag: 1.0.0 dev: true - /is-decimal@1.0.4: - resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==} - dev: true - - /is-decimal@2.0.1: - resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==} - dev: true - /is-docker@2.2.1: resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} engines: {node: '>=8'} @@ -3836,40 +1941,16 @@ packages: hasBin: true dev: true - /is-empty@1.2.0: - resolution: {integrity: sha512-F2FnH/otLNJv0J6wc73A5Xo7oHLNnqplYqZhUu01tD54DIPvxIRSTSLkrUB/M0nHO4vo1O9PDfN4KoTxCzLh/w==} - dev: true - - /is-expression@4.0.0: - resolution: {integrity: sha512-zMIXX63sxzG3XrkHkrAPvm/OVZVSCPNkwMHU8oTX7/U3AL78I0QXCEICXUM13BIa8TYGZ68PiTKfQz3yaTNr4A==} - dependencies: - acorn: 7.4.1 - object-assign: 4.1.1 - dev: true - /is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} dev: true - /is-finalizationregistry@1.0.2: - resolution: {integrity: sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==} - dependencies: - call-bind: 1.0.2 - dev: true - /is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} dev: true - /is-generator-function@1.0.10: - resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} - engines: {node: '>= 0.4'} - dependencies: - has-tostringtag: 1.0.0 - dev: true - /is-glob@4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} @@ -3877,14 +1958,6 @@ packages: is-extglob: 2.1.1 dev: true - /is-hexadecimal@1.0.4: - resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==} - dev: true - - /is-hexadecimal@2.0.1: - resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==} - dev: true - /is-inside-container@1.0.0: resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} engines: {node: '>=14.16'} @@ -3893,16 +1966,6 @@ packages: is-docker: 3.0.0 dev: true - /is-language-code@3.1.0: - resolution: {integrity: sha512-zJdQ3QTeLye+iphMeK3wks+vXSRFKh68/Pnlw7aOfApFSEIOhYa8P9vwwa6QrImNNBMJTiL1PpYF0f4BxDuEgA==} - dependencies: - '@babel/runtime': 7.23.1 - dev: true - - /is-map@2.0.2: - resolution: {integrity: sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==} - dev: true - /is-negative-zero@2.0.2: resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} engines: {node: '>= 0.4'} @@ -3925,11 +1988,6 @@ packages: engines: {node: '>=8'} dev: true - /is-plain-obj@4.1.0: - resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} - engines: {node: '>=12'} - dev: true - /is-promise@2.2.2: resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==} dev: true @@ -3938,18 +1996,14 @@ packages: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 has-tostringtag: 1.0.0 dev: true - /is-set@2.0.2: - resolution: {integrity: sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==} - dev: true - /is-shared-array-buffer@1.0.2: resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 dev: true /is-stream@2.0.1: @@ -3980,24 +2034,13 @@ packages: resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==} engines: {node: '>= 0.4'} dependencies: - which-typed-array: 1.1.11 - dev: true - - /is-weakmap@2.0.1: - resolution: {integrity: sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==} + which-typed-array: 1.1.13 dev: true /is-weakref@1.0.2: resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} dependencies: - call-bind: 1.0.2 - dev: true - - /is-weakset@2.0.2: - resolution: {integrity: sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==} - dependencies: - call-bind: 1.0.2 - get-intrinsic: 1.2.1 + call-bind: 1.0.5 dev: true /is-wsl@2.2.0: @@ -4015,22 +2058,6 @@ packages: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: true - /isomorphic-ws@5.0.0(ws@8.13.0): - resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==} - peerDependencies: - ws: '*' - dependencies: - ws: 8.13.0 - dev: true - - /isomorphic-ws@5.0.0(ws@8.14.2): - resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==} - peerDependencies: - ws: '*' - dependencies: - ws: 8.14.2 - dev: true - /istanbul-lib-coverage@3.2.0: resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==} engines: {node: '>=8'} @@ -4064,16 +2091,6 @@ packages: istanbul-lib-report: 3.0.1 dev: true - /iterator.prototype@1.1.2: - resolution: {integrity: sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==} - dependencies: - define-properties: 1.2.1 - get-intrinsic: 1.2.1 - has-symbols: 1.0.3 - reflect.getprototypeof: 1.0.4 - set-function-name: 2.0.1 - dev: true - /jackspeak@2.3.6: resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} engines: {node: '>=14'} @@ -4083,20 +2100,11 @@ packages: '@pkgjs/parseargs': 0.11.0 dev: true - /jiti@1.17.1: - resolution: {integrity: sha512-NZIITw8uZQFuzQimqjUxIrIcEdxYDFIe/0xYfIlVXTkiBjjyBEvgasj5bb0/cHtPRD/NziPbT312sFrkI5ALpw==} - hasBin: true - dev: true - /joycon@3.1.1: resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} engines: {node: '>=10'} dev: true - /js-tokens@4.0.0: - resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - dev: true - /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true @@ -4104,28 +2112,6 @@ packages: argparse: 2.0.1 dev: true - /jsdoc-type-pratt-parser@4.0.0: - resolution: {integrity: sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==} - engines: {node: '>=12.0.0'} - dev: true - - /jsesc@0.5.0: - resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} - hasBin: true - dev: true - - /jsesc@2.5.2: - resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} - engines: {node: '>=4'} - hasBin: true - dev: true - - /jsesc@3.0.2: - resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} - engines: {node: '>=6'} - hasBin: true - dev: true - /json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} dev: true @@ -4134,21 +2120,12 @@ packages: resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} dev: true - /json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - dev: true - - /json-parse-even-better-errors@3.0.0: - resolution: {integrity: sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - /json-schema-to-ts@2.9.2: resolution: {integrity: sha512-h9WqLkTVpBbiaPb5OmeUpz/FBLS/kvIJw4oRCPiEisIu2WjMh+aai0QIY2LoOhRFx5r92taGLcerIrzxKBAP6g==} engines: {node: '>=16'} dependencies: - '@babel/runtime': 7.23.1 - '@types/json-schema': 7.0.13 + '@babel/runtime': 7.23.2 + '@types/json-schema': 7.0.14 ts-algebra: 1.2.2 dev: true @@ -4158,8 +2135,8 @@ packages: hasBin: true dependencies: '@bcherny/json-schema-ref-parser': 10.0.5-fork - '@types/json-schema': 7.0.13 - '@types/lodash': 4.14.199 + '@types/json-schema': 7.0.14 + '@types/lodash': 4.14.200 '@types/prettier': 2.7.3 cli-color: 2.0.3 get-stdin: 8.0.0 @@ -4185,64 +2162,16 @@ packages: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} dev: true - /json5@1.0.2: - resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} - hasBin: true - dependencies: - minimist: 1.2.8 - dev: true - - /json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} - hasBin: true - dev: true - - /jsonc-eslint-parser@2.3.0: - resolution: {integrity: sha512-9xZPKVYp9DxnM3sd1yAsh/d59iIaswDkai8oTxbursfKYbg/ibjX0IzFt35+VZ8iEW453TVTXztnRvYUQlAfUQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.10.0 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - semver: 7.5.4 - dev: true - /jsonc-parser@3.2.0: resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} dev: true - /jsx-ast-utils@3.3.5: - resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} - engines: {node: '>=4.0'} - dependencies: - array-includes: 3.1.7 - array.prototype.flat: 1.3.2 - object.assign: 4.1.4 - object.values: 1.1.7 - dev: true - /keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} dependencies: json-buffer: 3.0.1 dev: true - /kleur@4.1.5: - resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} - engines: {node: '>=6'} - dev: true - - /language-subtag-registry@0.3.22: - resolution: {integrity: sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==} - dev: true - - /language-tags@1.0.5: - resolution: {integrity: sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ==} - dependencies: - language-subtag-registry: 0.3.22 - dev: true - /levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} @@ -4260,563 +2189,114 @@ packages: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} dev: true - /lines-and-columns@2.0.3: - resolution: {integrity: sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: true - - /load-json-file@4.0.0: - resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} - engines: {node: '>=4'} - dependencies: - graceful-fs: 4.2.11 - parse-json: 4.0.0 - pify: 3.0.0 - strip-bom: 3.0.0 - dev: true - - /load-plugin@5.1.0: - resolution: {integrity: sha512-Lg1CZa1CFj2CbNaxijTL6PCbzd4qGTlZov+iH2p5Xwy/ApcZJh+i6jMN2cYePouTfjJfrNu3nXFdEw8LvbjPFQ==} - dependencies: - '@npmcli/config': 6.4.0 - import-meta-resolve: 2.2.2 - dev: true - - /load-tsconfig@0.2.5: - resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: true - - /local-pkg@0.4.3: - resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} - engines: {node: '>=14'} - dev: true - - /locate-path@5.0.0: - resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} - dependencies: - p-locate: 4.1.0 - dev: true - - /locate-path@6.0.0: - resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} - engines: {node: '>=10'} - dependencies: - p-locate: 5.0.0 - dev: true - - /lodash.lowercase@4.3.0: - resolution: {integrity: sha512-UcvP1IZYyDKyEL64mmrwoA1AbFu5ahojhTtkOUr1K9dbuxzS9ev8i4TxMMGCqRC9TE8uDaSoufNAXxRPNTseVA==} - dev: true - - /lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - dev: true - - /lodash.sortby@4.7.0: - resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} - dev: true - - /lodash@4.17.21: - resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - dev: true - - /log-update@4.0.0: - resolution: {integrity: sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==} - engines: {node: '>=10'} - dependencies: - ansi-escapes: 4.3.2 - cli-cursor: 3.1.0 - slice-ansi: 4.0.0 - wrap-ansi: 6.2.0 - dev: true - - /longest-streak@3.1.0: - resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} - dev: true - - /loose-envify@1.4.0: - resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} - hasBin: true - dependencies: - js-tokens: 4.0.0 - dev: true - - /loupe@2.3.6: - resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} - dependencies: - get-func-name: 2.0.2 - dev: true - - /lower-case@2.0.2: - resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} - dependencies: - tslib: 2.6.2 - dev: true - - /lru-cache@10.0.1: - resolution: {integrity: sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==} - engines: {node: 14 || >=16.14} - dev: true - - /lru-cache@5.1.1: - resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - dependencies: - yallist: 3.1.1 - dev: true - - /lru-cache@6.0.0: - resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} - dependencies: - yallist: 4.0.0 - dev: true - - /lru-queue@0.1.0: - resolution: {integrity: sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==} - dependencies: - es5-ext: 0.10.62 - dev: true - - /magic-string@0.30.4: - resolution: {integrity: sha512-Q/TKtsC5BPm0kGqgBIF9oXAs/xEf2vRKiIB4wCRQTJOQIByZ1d+NnUOotvJOvNpi5RNIgVOMC3pOuaP1ZTDlVg==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - - /make-dir@4.0.0: - resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} - engines: {node: '>=10'} - dependencies: - semver: 7.5.4 - dev: true - - /mdast-util-from-markdown@0.8.5: - resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} - dependencies: - '@types/mdast': 3.0.13 - mdast-util-to-string: 2.0.0 - micromark: 2.11.4 - parse-entities: 2.0.0 - unist-util-stringify-position: 2.0.3 - transitivePeerDependencies: - - supports-color - dev: true - - /mdast-util-from-markdown@1.3.1: - resolution: {integrity: sha512-4xTO/M8c82qBcnQc1tgpNtubGUW/Y1tBQ1B0i5CtSoelOLKFYlElIr3bvgREYYO5iRqbMY1YuqZng0GVOI8Qww==} - dependencies: - '@types/mdast': 3.0.13 - '@types/unist': 2.0.8 - decode-named-character-reference: 1.0.2 - mdast-util-to-string: 3.2.0 - micromark: 3.2.0 - micromark-util-decode-numeric-character-reference: 1.1.0 - micromark-util-decode-string: 1.1.0 - micromark-util-normalize-identifier: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - unist-util-stringify-position: 3.0.3 - uvu: 0.5.6 - transitivePeerDependencies: - - supports-color - dev: true - - /mdast-util-mdx-expression@1.3.2: - resolution: {integrity: sha512-xIPmR5ReJDu/DHH1OoIT1HkuybIfRGYRywC+gJtI7qHjCJp/M9jrmBEJW22O8lskDWm562BX2W8TiAwRTb0rKA==} - dependencies: - '@types/estree-jsx': 1.0.1 - '@types/hast': 2.3.6 - '@types/mdast': 3.0.13 - mdast-util-from-markdown: 1.3.1 - mdast-util-to-markdown: 1.5.0 - transitivePeerDependencies: - - supports-color - dev: true - - /mdast-util-mdx-jsx@2.1.4: - resolution: {integrity: sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA==} - dependencies: - '@types/estree-jsx': 1.0.1 - '@types/hast': 2.3.6 - '@types/mdast': 3.0.13 - '@types/unist': 2.0.8 - ccount: 2.0.1 - mdast-util-from-markdown: 1.3.1 - mdast-util-to-markdown: 1.5.0 - parse-entities: 4.0.1 - stringify-entities: 4.0.3 - unist-util-remove-position: 4.0.2 - unist-util-stringify-position: 3.0.3 - vfile-message: 3.1.4 - transitivePeerDependencies: - - supports-color - dev: true - - /mdast-util-mdx@2.0.1: - resolution: {integrity: sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw==} - dependencies: - mdast-util-from-markdown: 1.3.1 - mdast-util-mdx-expression: 1.3.2 - mdast-util-mdx-jsx: 2.1.4 - mdast-util-mdxjs-esm: 1.3.1 - mdast-util-to-markdown: 1.5.0 - transitivePeerDependencies: - - supports-color - dev: true - - /mdast-util-mdxjs-esm@1.3.1: - resolution: {integrity: sha512-SXqglS0HrEvSdUEfoXFtcg7DRl7S2cwOXc7jkuusG472Mmjag34DUDeOJUZtl+BVnyeO1frIgVpHlNRWc2gk/w==} - dependencies: - '@types/estree-jsx': 1.0.1 - '@types/hast': 2.3.6 - '@types/mdast': 3.0.13 - mdast-util-from-markdown: 1.3.1 - mdast-util-to-markdown: 1.5.0 - transitivePeerDependencies: - - supports-color - dev: true - - /mdast-util-phrasing@3.0.1: - resolution: {integrity: sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==} - dependencies: - '@types/mdast': 3.0.13 - unist-util-is: 5.2.1 - dev: true - - /mdast-util-to-markdown@1.5.0: - resolution: {integrity: sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==} - dependencies: - '@types/mdast': 3.0.13 - '@types/unist': 2.0.8 - longest-streak: 3.1.0 - mdast-util-phrasing: 3.0.1 - mdast-util-to-string: 3.2.0 - micromark-util-decode-string: 1.1.0 - unist-util-visit: 4.1.2 - zwitch: 2.0.4 - dev: true - - /mdast-util-to-string@2.0.0: - resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} - dev: true - - /mdast-util-to-string@3.2.0: - resolution: {integrity: sha512-V4Zn/ncyN1QNSqSBxTrMOLpjr+IKdHl2v3KVLoWmDPscP4r9GcCi71gjgvUV1SFSKh92AjAG4peFuBl2/YgCJg==} - dependencies: - '@types/mdast': 3.0.13 - dev: true - - /memoizee@0.4.15: - resolution: {integrity: sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==} - dependencies: - d: 1.0.1 - es5-ext: 0.10.62 - es6-weak-map: 2.0.3 - event-emitter: 0.3.5 - is-promise: 2.2.2 - lru-queue: 0.1.0 - next-tick: 1.1.0 - timers-ext: 0.1.7 - dev: true - - /memorystream@0.3.1: - resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==} - engines: {node: '>= 0.10.0'} - dev: true - - /merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - dev: true - - /merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - dev: true - - /meros@1.3.0(@types/node@20.8.3): - resolution: {integrity: sha512-2BNGOimxEz5hmjUG2FwoxCt5HN7BXdaWyFqEwxPTrJzVdABtrL4TiHTcsWSFAxPQ/tOnEaQEJh3qWq71QRMY+w==} - engines: {node: '>=13'} - peerDependencies: - '@types/node': '>=13' - peerDependenciesMeta: - '@types/node': - optional: true - dependencies: - '@types/node': 20.8.3 - dev: true - - /micromark-core-commonmark@1.1.0: - resolution: {integrity: sha512-BgHO1aRbolh2hcrzL2d1La37V0Aoz73ymF8rAcKnohLy93titmv62E0gP8Hrx9PKcKrqCZ1BbLGbP3bEhoXYlw==} - dependencies: - decode-named-character-reference: 1.0.2 - micromark-factory-destination: 1.1.0 - micromark-factory-label: 1.1.0 - micromark-factory-space: 1.1.0 - micromark-factory-title: 1.1.0 - micromark-factory-whitespace: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-chunked: 1.1.0 - micromark-util-classify-character: 1.1.0 - micromark-util-html-tag-name: 1.2.0 - micromark-util-normalize-identifier: 1.1.0 - micromark-util-resolve-all: 1.1.0 - micromark-util-subtokenize: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - dev: true - - /micromark-extension-mdx-expression@1.0.8: - resolution: {integrity: sha512-zZpeQtc5wfWKdzDsHRBY003H2Smg+PUi2REhqgIhdzAa5xonhP03FcXxqFSerFiNUr5AWmHpaNPQTBVOS4lrXw==} - dependencies: - '@types/estree': 1.0.2 - micromark-factory-mdx-expression: 1.0.9 - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-events-to-acorn: 1.2.3 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - dev: true - - /micromark-extension-mdx-jsx@1.0.5: - resolution: {integrity: sha512-gPH+9ZdmDflbu19Xkb8+gheqEDqkSpdCEubQyxuz/Hn8DOXiXvrXeikOoBA71+e8Pfi0/UYmU3wW3H58kr7akA==} - dependencies: - '@types/acorn': 4.0.6 - '@types/estree': 1.0.2 - estree-util-is-identifier-name: 2.1.0 - micromark-factory-mdx-expression: 1.0.9 - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - vfile-message: 3.1.4 - dev: true - - /micromark-extension-mdx-md@1.0.1: - resolution: {integrity: sha512-7MSuj2S7xjOQXAjjkbjBsHkMtb+mDGVW6uI2dBL9snOBCbZmoNgDAeZ0nSn9j3T42UE/g2xVNMn18PJxZvkBEA==} - dependencies: - micromark-util-types: 1.1.0 - dev: true - - /micromark-extension-mdxjs-esm@1.0.5: - resolution: {integrity: sha512-xNRBw4aoURcyz/S69B19WnZAkWJMxHMT5hE36GtDAyhoyn/8TuAeqjFJQlwk+MKQsUD7b3l7kFX+vlfVWgcX1w==} - dependencies: - '@types/estree': 1.0.2 - micromark-core-commonmark: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-events-to-acorn: 1.2.3 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - unist-util-position-from-estree: 1.1.2 - uvu: 0.5.6 - vfile-message: 3.1.4 - dev: true - - /micromark-extension-mdxjs@1.0.1: - resolution: {integrity: sha512-7YA7hF6i5eKOfFUzZ+0z6avRG52GpWR8DL+kN47y3f2KhxbBZMhmxe7auOeaTBrW2DenbbZTf1ea9tA2hDpC2Q==} - dependencies: - acorn: 8.10.0 - acorn-jsx: 5.3.2(acorn@8.10.0) - micromark-extension-mdx-expression: 1.0.8 - micromark-extension-mdx-jsx: 1.0.5 - micromark-extension-mdx-md: 1.0.1 - micromark-extension-mdxjs-esm: 1.0.5 - micromark-util-combine-extensions: 1.1.0 - micromark-util-types: 1.1.0 - dev: true - - /micromark-factory-destination@1.1.0: - resolution: {integrity: sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg==} - dependencies: - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - dev: true - - /micromark-factory-label@1.1.0: - resolution: {integrity: sha512-OLtyez4vZo/1NjxGhcpDSbHQ+m0IIGnT8BoPamh+7jVlzLJBH98zzuCoUeMxvM6WsNeh8wx8cKvqLiPHEACn0w==} - dependencies: - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - dev: true - - /micromark-factory-mdx-expression@1.0.9: - resolution: {integrity: sha512-jGIWzSmNfdnkJq05c7b0+Wv0Kfz3NJ3N4cBjnbO4zjXIlxJr+f8lk+5ZmwFvqdAbUy2q6B5rCY//g0QAAaXDWA==} - dependencies: - '@types/estree': 1.0.2 - micromark-util-character: 1.2.0 - micromark-util-events-to-acorn: 1.2.3 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - unist-util-position-from-estree: 1.1.2 - uvu: 0.5.6 - vfile-message: 3.1.4 - dev: true - - /micromark-factory-space@1.1.0: - resolution: {integrity: sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ==} - dependencies: - micromark-util-character: 1.2.0 - micromark-util-types: 1.1.0 - dev: true - - /micromark-factory-title@1.1.0: - resolution: {integrity: sha512-J7n9R3vMmgjDOCY8NPw55jiyaQnH5kBdV2/UXCtZIpnHH3P6nHUKaH7XXEYuWwx/xUJcawa8plLBEjMPU24HzQ==} - dependencies: - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - dev: true - - /micromark-factory-whitespace@1.1.0: - resolution: {integrity: sha512-v2WlmiymVSp5oMg+1Q0N1Lxmt6pMhIHD457whWM7/GUlEks1hI9xj5w3zbc4uuMKXGisksZk8DzP2UyGbGqNsQ==} + /load-json-file@4.0.0: + resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} + engines: {node: '>=4'} dependencies: - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 + graceful-fs: 4.2.11 + parse-json: 4.0.0 + pify: 3.0.0 + strip-bom: 3.0.0 dev: true - /micromark-util-character@1.2.0: - resolution: {integrity: sha512-lXraTwcX3yH/vMDaFWCQJP1uIszLVebzUa3ZHdrgxr7KEU/9mL4mVgCpGbyhvNLNlauROiNUq7WN5u7ndbY6xg==} - dependencies: - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 + /load-tsconfig@0.2.5: + resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dev: true - /micromark-util-chunked@1.1.0: - resolution: {integrity: sha512-Ye01HXpkZPNcV6FiyoW2fGZDUw4Yc7vT0E9Sad83+bEDiCJ1uXu0S3mr8WLpsz3HaG3x2q0HM6CTuPdcZcluFQ==} - dependencies: - micromark-util-symbol: 1.1.0 + /local-pkg@0.4.3: + resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} + engines: {node: '>=14'} dev: true - /micromark-util-classify-character@1.1.0: - resolution: {integrity: sha512-SL0wLxtKSnklKSUplok1WQFoGhUdWYKggKUiqhX+Swala+BtptGCu5iPRc+xvzJ4PXE/hwM3FNXsfEVgoZsWbw==} + /locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} dependencies: - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 + p-locate: 5.0.0 dev: true - /micromark-util-combine-extensions@1.1.0: - resolution: {integrity: sha512-Q20sp4mfNf9yEqDL50WwuWZHUrCO4fEyeDCnMGmG5Pr0Cz15Uo7KBs6jq+dq0EgX4DPwwrh9m0X+zPV1ypFvUA==} - dependencies: - micromark-util-chunked: 1.1.0 - micromark-util-types: 1.1.0 + /lodash.merge@4.6.2: + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} dev: true - /micromark-util-decode-numeric-character-reference@1.1.0: - resolution: {integrity: sha512-m9V0ExGv0jB1OT21mrWcuf4QhP46pH1KkfWy9ZEezqHKAxkj4mPCy3nIH1rkbdMlChLHX531eOrymlwyZIf2iw==} - dependencies: - micromark-util-symbol: 1.1.0 + /lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} dev: true - /micromark-util-decode-string@1.1.0: - resolution: {integrity: sha512-YphLGCK8gM1tG1bd54azwyrQRjCFcmgj2S2GoJDNnh4vYtnL38JS8M4gpxzOPNyHdNEpheyWXCTnnTDY3N+NVQ==} - dependencies: - decode-named-character-reference: 1.0.2 - micromark-util-character: 1.2.0 - micromark-util-decode-numeric-character-reference: 1.1.0 - micromark-util-symbol: 1.1.0 + /lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} dev: true - /micromark-util-encode@1.1.0: - resolution: {integrity: sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw==} + /loupe@2.3.7: + resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + dependencies: + get-func-name: 2.0.2 dev: true - /micromark-util-events-to-acorn@1.2.3: - resolution: {integrity: sha512-ij4X7Wuc4fED6UoLWkmo0xJQhsktfNh1J0m8g4PbIMPlx+ek/4YdW5mvbye8z/aZvAPUoxgXHrwVlXAPKMRp1w==} + /lower-case@2.0.2: + resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} dependencies: - '@types/acorn': 4.0.6 - '@types/estree': 1.0.2 - '@types/unist': 2.0.8 - estree-util-visit: 1.2.1 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - vfile-message: 3.1.4 + tslib: 2.6.2 dev: true - /micromark-util-html-tag-name@1.2.0: - resolution: {integrity: sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q==} + /lru-cache@10.0.1: + resolution: {integrity: sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==} + engines: {node: 14 || >=16.14} dev: true - /micromark-util-normalize-identifier@1.1.0: - resolution: {integrity: sha512-N+w5vhqrBihhjdpM8+5Xsxy71QWqGn7HYNUvch71iV2PM7+E3uWGox1Qp90loa1ephtCxG2ftRV/Conitc6P2Q==} + /lru-cache@6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} dependencies: - micromark-util-symbol: 1.1.0 + yallist: 4.0.0 dev: true - /micromark-util-resolve-all@1.1.0: - resolution: {integrity: sha512-b/G6BTMSg+bX+xVCshPTPyAu2tmA0E4X98NSR7eIbeC6ycCqCeE7wjfDIgzEbkzdEVJXRtOG4FbEm/uGbCRouA==} + /lru-queue@0.1.0: + resolution: {integrity: sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==} dependencies: - micromark-util-types: 1.1.0 + es5-ext: 0.10.62 dev: true - /micromark-util-sanitize-uri@1.2.0: - resolution: {integrity: sha512-QO4GXv0XZfWey4pYFndLUKEAktKkG5kZTdUNaTAkzbuJxn2tNBOr+QtxR2XpWaMhbImT2dPzyLrPXLlPhph34A==} + /magic-string@0.30.5: + resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} + engines: {node: '>=12'} dependencies: - micromark-util-character: 1.2.0 - micromark-util-encode: 1.1.0 - micromark-util-symbol: 1.1.0 + '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /micromark-util-subtokenize@1.1.0: - resolution: {integrity: sha512-kUQHyzRoxvZO2PuLzMt2P/dwVsTiivCK8icYTeR+3WgbuPqfHgPPy7nFKbeqRivBvn/3N3GBiNC+JRTMSxEC7A==} + /make-dir@4.0.0: + resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} + engines: {node: '>=10'} dependencies: - micromark-util-chunked: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 + semver: 7.5.4 dev: true - /micromark-util-symbol@1.1.0: - resolution: {integrity: sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag==} + /memoizee@0.4.15: + resolution: {integrity: sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==} + dependencies: + d: 1.0.1 + es5-ext: 0.10.62 + es6-weak-map: 2.0.3 + event-emitter: 0.3.5 + is-promise: 2.2.2 + lru-queue: 0.1.0 + next-tick: 1.1.0 + timers-ext: 0.1.7 dev: true - /micromark-util-types@1.1.0: - resolution: {integrity: sha512-ukRBgie8TIAcacscVHSiddHjO4k/q3pnedmzMQ4iwDcK0FtFCohKOlFbaOL/mPgfnPsL3C1ZyxJa4sbWrBl3jg==} + /memorystream@0.3.1: + resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==} + engines: {node: '>= 0.10.0'} dev: true - /micromark@2.11.4: - resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} - dependencies: - debug: 4.3.4 - parse-entities: 2.0.0 - transitivePeerDependencies: - - supports-color + /merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} dev: true - /micromark@3.2.0: - resolution: {integrity: sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA==} - dependencies: - '@types/debug': 4.1.9 - debug: 4.3.4 - decode-named-character-reference: 1.0.2 - micromark-core-commonmark: 1.1.0 - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-chunked: 1.1.0 - micromark-util-combine-extensions: 1.1.0 - micromark-util-decode-numeric-character-reference: 1.1.0 - micromark-util-encode: 1.1.0 - micromark-util-normalize-identifier: 1.1.0 - micromark-util-resolve-all: 1.1.0 - micromark-util-sanitize-uri: 1.2.0 - micromark-util-subtokenize: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - transitivePeerDependencies: - - supports-color + /merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} dev: true /micromatch@4.0.5: @@ -4837,31 +2317,12 @@ packages: engines: {node: '>=12'} dev: true - /min-indent@1.0.1: - resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} - dev: true - /minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: brace-expansion: 1.1.11 dev: true - /minimatch@4.2.3: - resolution: {integrity: sha512-lIUdtK5hdofgCTu3aT0sOaHsYR37viUuIc0rwnnDXImbwFRcumyLMeZaM0t0I/fgxS6s6JMfu0rLD1Wz9pv1ng==} - engines: {node: '>=10'} - dependencies: - brace-expansion: 1.1.11 - dev: true - - /minimatch@5.1.6: - resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} - engines: {node: '>=10'} - dependencies: - brace-expansion: 2.0.1 - dev: true - /minimatch@9.0.3: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} engines: {node: '>=16 || 14 >=14.17'} @@ -4893,19 +2354,10 @@ packages: ufo: 1.3.1 dev: true - /mri@1.2.0: - resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} - engines: {node: '>=4'} - dev: true - /ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} dev: true - /ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - dev: true - /mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} dependencies: @@ -4939,56 +2391,20 @@ packages: tslib: 2.6.2 dev: true - /node-fetch@2.7.0: - resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - dependencies: - whatwg-url: 5.0.0 - dev: true - - /node-releases@2.0.13: - resolution: {integrity: sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==} - dev: true - - /nopt@7.2.0: - resolution: {integrity: sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - hasBin: true - dependencies: - abbrev: 2.0.0 - dev: true - /normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: hosted-git-info: 2.8.9 - resolve: 1.22.6 + resolve: 1.22.8 semver: 5.7.2 validate-npm-package-license: 3.0.4 dev: true - /normalize-path@2.1.1: - resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} - engines: {node: '>=0.10.0'} - dependencies: - remove-trailing-separator: 1.1.0 - dev: true - /normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} dev: true - /npm-normalize-package-bin@3.0.1: - resolution: {integrity: sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - /npm-run-all@4.1.5: resolution: {integrity: sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==} engines: {node: '>= 4'} @@ -5019,19 +2435,13 @@ packages: path-key: 4.0.0 dev: true - /nth-check@2.1.1: - resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - dependencies: - boolbase: 1.0.0 - dev: true - /object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} dev: true - /object-inspect@1.12.3: - resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} + /object-inspect@1.13.1: + resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} dev: true /object-keys@1.1.1: @@ -5043,55 +2453,12 @@ packages: resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 define-properties: 1.2.1 has-symbols: 1.0.3 object-keys: 1.1.1 dev: true - /object.entries@1.1.7: - resolution: {integrity: sha512-jCBs/0plmPsOnrKAfFQXRG2NFjlhZgjjcBLSmTnEhU8U6vVTsVe8ANeQJCHTl3gSsI4J+0emOoCgoKlmQPMgmA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - dev: true - - /object.fromentries@2.0.7: - resolution: {integrity: sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - dev: true - - /object.groupby@1.0.1: - resolution: {integrity: sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - get-intrinsic: 1.2.1 - dev: true - - /object.hasown@1.1.3: - resolution: {integrity: sha512-fFI4VcYpRHvSLXxP7yiZOMAd331cPfd2p7PFDVbgUsYOfCT3tICVqXWngbjr4m49OvsBwUBQ6O2uQoJvy3RexA==} - dependencies: - define-properties: 1.2.1 - es-abstract: 1.22.2 - dev: true - - /object.values@1.1.7: - resolution: {integrity: sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - dev: true - /once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} dependencies: @@ -5134,13 +2501,6 @@ packages: type-check: 0.4.0 dev: true - /p-limit@2.3.0: - resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} - dependencies: - p-try: 2.2.0 - dev: true - /p-limit@3.1.0: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} @@ -5155,13 +2515,6 @@ packages: yocto-queue: 1.0.0 dev: true - /p-locate@4.1.0: - resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} - dependencies: - p-limit: 2.3.0 - dev: true - /p-locate@5.0.0: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} engines: {node: '>=10'} @@ -5169,9 +2522,8 @@ packages: p-limit: 3.1.0 dev: true - /p-try@2.2.0: - resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} + /package-json-type@1.0.3: + resolution: {integrity: sha512-Bey4gdRuOwDbS8Fj1qA3/pTq5r8pqiI5E3tjSqCdhaLSsyGG364VFzXLTIexN5AaNGe/vgdBzLfoKdr7EVg2KQ==} dev: true /param-case@3.0.4: @@ -5188,30 +2540,6 @@ packages: callsites: 3.1.0 dev: true - /parse-entities@2.0.0: - resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==} - dependencies: - character-entities: 1.2.4 - character-entities-legacy: 1.1.4 - character-reference-invalid: 1.1.4 - is-alphanumerical: 1.0.4 - is-decimal: 1.0.4 - is-hexadecimal: 1.0.4 - dev: true - - /parse-entities@4.0.1: - resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==} - dependencies: - '@types/unist': 2.0.8 - character-entities: 2.0.2 - character-entities-legacy: 3.0.0 - character-reference-invalid: 2.0.1 - decode-named-character-reference: 1.0.2 - is-alphanumerical: 2.0.1 - is-decimal: 2.0.1 - is-hexadecimal: 2.0.1 - dev: true - /parse-json@4.0.0: resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} engines: {node: '>=4'} @@ -5220,32 +2548,6 @@ packages: json-parse-better-errors: 1.0.2 dev: true - /parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} - dependencies: - '@babel/code-frame': 7.22.13 - error-ex: 1.3.2 - json-parse-even-better-errors: 2.3.1 - lines-and-columns: 1.2.4 - dev: true - - /parse-json@6.0.2: - resolution: {integrity: sha512-SA5aMiaIjXkAiBrW/yPgLgQAQg42f7K3ACO+2l/zOvtQBwX58DMUsFJXelW2fx3yMBmWOVkR6j1MGsdSbCA4UA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - '@babel/code-frame': 7.22.13 - error-ex: 1.3.2 - json-parse-even-better-errors: 2.3.1 - lines-and-columns: 2.0.3 - dev: true - - /parse5@7.1.2: - resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} - dependencies: - entities: 4.5.0 - dev: true - /pascal-case@3.1.2: resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} dependencies: @@ -5350,11 +2652,6 @@ packages: pathe: 1.1.1 dev: true - /pluralize@8.0.0: - resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} - engines: {node: '>=4'} - dev: true - /postcss-load-config@4.0.1: resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==} engines: {node: '>= 14'} @@ -5368,15 +2665,7 @@ packages: optional: true dependencies: lilconfig: 2.1.0 - yaml: 2.3.2 - dev: true - - /postcss-selector-parser@6.0.13: - resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==} - engines: {node: '>=4'} - dependencies: - cssesc: 3.0.0 - util-deprecate: 1.0.2 + yaml: 2.3.3 dev: true /postcss@8.4.31: @@ -5438,191 +2727,46 @@ packages: react-is: 18.2.0 dev: true - /pretty-hrtime@1.0.3: - resolution: {integrity: sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A==} - engines: {node: '>= 0.8'} - dev: true - - /proc-log@3.0.0: - resolution: {integrity: sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dev: true - - /prop-types@15.8.1: - resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} - dependencies: - loose-envify: 1.4.0 - object-assign: 4.1.1 - react-is: 16.13.1 - dev: true - - /pug-error@2.0.0: - resolution: {integrity: sha512-sjiUsi9M4RAGHktC1drQfCr5C5eriu24Lfbt4s+7SykztEOwVZtbFk1RRq0tzLxcMxMYTBR+zMQaG07J/btayQ==} - dev: true - - /pug-lexer@5.0.1: - resolution: {integrity: sha512-0I6C62+keXlZPZkOJeVam9aBLVP2EnbeDw3An+k0/QlqdwH6rv8284nko14Na7c0TtqtogfWXcRoFE4O4Ff20w==} - dependencies: - character-parser: 2.2.0 - is-expression: 4.0.0 - pug-error: 2.0.0 - dev: true - - /punycode@1.4.1: - resolution: {integrity: sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==} - dev: true - /punycode@2.3.0: resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} engines: {node: '>=6'} dev: true - /pvtsutils@1.3.5: - resolution: {integrity: sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==} - dependencies: - tslib: 2.6.2 - dev: true - - /pvutils@1.1.3: - resolution: {integrity: sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==} - engines: {node: '>=6.0.0'} - dev: true - /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true - /react-is@16.13.1: - resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} - dev: true - /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} dev: true - /read-package-json-fast@3.0.2: - resolution: {integrity: sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - dependencies: - json-parse-even-better-errors: 3.0.0 - npm-normalize-package-bin: 3.0.1 - dev: true - - /read-pkg-up@7.0.1: - resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} - engines: {node: '>=8'} - dependencies: - find-up: 4.1.0 - read-pkg: 5.2.0 - type-fest: 0.8.1 - dev: true - /read-pkg@3.0.0: resolution: {integrity: sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==} engines: {node: '>=4'} dependencies: load-json-file: 4.0.0 normalize-package-data: 2.5.0 - path-type: 3.0.0 - dev: true - - /read-pkg@5.2.0: - resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} - engines: {node: '>=8'} - dependencies: - '@types/normalize-package-data': 2.4.2 - normalize-package-data: 2.5.0 - parse-json: 5.2.0 - type-fest: 0.6.0 - dev: true - - /readable-stream@3.6.2: - resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} - engines: {node: '>= 6'} - dependencies: - inherits: 2.0.4 - string_decoder: 1.3.0 - util-deprecate: 1.0.2 - dev: true - - /readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} - dependencies: - picomatch: 2.3.1 - dev: true - - /reflect.getprototypeof@1.0.4: - resolution: {integrity: sha512-ECkTw8TmJwW60lOTR+ZkODISW6RQ8+2CL3COqtiJKLd6MmB45hN51HprHFziKLGkAuTGQhBb91V8cy+KHlaCjw==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - get-intrinsic: 1.2.1 - globalthis: 1.0.3 - which-builtin-type: 1.1.3 - dev: true - - /regenerator-runtime@0.14.0: - resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} - dev: true - - /regexp-tree@0.1.27: - resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} - hasBin: true - dev: true - - /regexp.prototype.flags@1.5.1: - resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - set-function-name: 2.0.1 - dev: true - - /regexpp@3.2.0: - resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} - engines: {node: '>=8'} - dev: true - - /regjsparser@0.10.0: - resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} - hasBin: true - dependencies: - jsesc: 0.5.0 - dev: true - - /remark-mdx@2.3.0: - resolution: {integrity: sha512-g53hMkpM0I98MU266IzDFMrTD980gNF3BJnkyFcmN+dD873mQeD5rdMO3Y2X+x8umQfbSE0PcoEDl7ledSA+2g==} - dependencies: - mdast-util-mdx: 2.0.1 - micromark-extension-mdxjs: 1.0.1 - transitivePeerDependencies: - - supports-color + path-type: 3.0.0 dev: true - /remark-parse@10.0.2: - resolution: {integrity: sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==} + /readdirp@3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} dependencies: - '@types/mdast': 3.0.13 - mdast-util-from-markdown: 1.3.1 - unified: 10.1.2 - transitivePeerDependencies: - - supports-color + picomatch: 2.3.1 dev: true - /remark-stringify@10.0.3: - resolution: {integrity: sha512-koyOzCMYoUHudypbj4XpnAKFbkddRMYZHwghnxd7ue5210WzGw6kOBwauJTRUMq16jsovXx8dYNvSSWP89kZ3A==} - dependencies: - '@types/mdast': 3.0.13 - mdast-util-to-markdown: 1.5.0 - unified: 10.1.2 + /regenerator-runtime@0.14.0: + resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} dev: true - /remove-trailing-separator@1.1.0: - resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==} + /regexp.prototype.flags@1.5.1: + resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.5 + define-properties: 1.2.1 + set-function-name: 2.0.1 dev: true /resolve-from@4.0.0: @@ -5639,32 +2783,15 @@ packages: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} dev: true - /resolve@1.22.6: - resolution: {integrity: sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==} + /resolve@1.22.8: + resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true dependencies: - is-core-module: 2.13.0 + is-core-module: 2.13.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: true - /resolve@2.0.0-next.4: - resolution: {integrity: sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==} - hasBin: true - dependencies: - is-core-module: 2.13.0 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: true - - /restore-cursor@3.1.0: - resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} - engines: {node: '>=8'} - dependencies: - onetime: 5.1.2 - signal-exit: 3.0.7 - dev: true - /reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} @@ -5706,32 +2833,21 @@ packages: queue-microtask: 1.2.3 dev: true - /sade@1.8.1: - resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} - engines: {node: '>=6'} - dependencies: - mri: 1.2.0 - dev: true - /safe-array-concat@1.0.1: resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} engines: {node: '>=0.4'} dependencies: - call-bind: 1.0.2 - get-intrinsic: 1.2.1 + call-bind: 1.0.5 + get-intrinsic: 1.2.2 has-symbols: 1.0.3 isarray: 2.0.5 dev: true - /safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - dev: true - /safe-regex-test@1.0.0: resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} dependencies: - call-bind: 1.0.2 - get-intrinsic: 1.2.1 + call-bind: 1.0.5 + get-intrinsic: 1.2.2 is-regex: 1.1.4 dev: true @@ -5740,11 +2856,6 @@ packages: hasBin: true dev: true - /semver@6.3.1: - resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} - hasBin: true - dev: true - /semver@7.5.4: resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} engines: {node: '>=10'} @@ -5761,13 +2872,23 @@ packages: upper-case-first: 2.0.2 dev: true + /set-function-length@1.1.1: + resolution: {integrity: sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==} + engines: {node: '>= 0.4'} + dependencies: + define-data-property: 1.1.1 + get-intrinsic: 1.2.2 + gopd: 1.0.1 + has-property-descriptors: 1.0.1 + dev: true + /set-function-name@2.0.1: resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.0 + define-data-property: 1.1.1 functions-have-names: 1.2.3 - has-property-descriptors: 1.0.0 + has-property-descriptors: 1.0.1 dev: true /shebang-command@1.2.0: @@ -5801,9 +2922,9 @@ packages: /side-channel@1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} dependencies: - call-bind: 1.0.2 - get-intrinsic: 1.2.1 - object-inspect: 1.12.3 + call-bind: 1.0.5 + get-intrinsic: 1.2.2 + object-inspect: 1.13.1 dev: true /siginfo@2.0.0: @@ -5824,15 +2945,6 @@ packages: engines: {node: '>=8'} dev: true - /slice-ansi@4.0.0: - resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} - engines: {node: '>=10'} - dependencies: - ansi-styles: 4.3.0 - astral-regex: 2.0.0 - is-fullwidth-code-point: 3.0.0 - dev: true - /snake-case@3.0.4: resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} dependencies: @@ -5894,15 +3006,6 @@ packages: resolution: {integrity: sha512-f9aPhy8fYBuMN+sNfakZV18U39PbalgjXG3lLB9WkaYTxijru61wb57V9wxxNthXM5Sd88ETBWi29qLAsHO52Q==} dev: true - /streamsearch@1.1.0: - resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} - engines: {node: '>=10.0.0'} - dev: true - - /string-env-interpolation@1.0.1: - resolution: {integrity: sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg==} - dev: true - /string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -5921,65 +3024,38 @@ packages: strip-ansi: 7.1.0 dev: true - /string.prototype.matchall@4.0.10: - resolution: {integrity: sha512-rGXbGmOEosIQi6Qva94HUjgPs9vKW+dkG7Y8Q5O2OYkWL6wFaTRZO8zM4mhP94uX55wgyrXzfS2aGtGzUL7EJQ==} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.1 - es-abstract: 1.22.2 - get-intrinsic: 1.2.1 - has-symbols: 1.0.3 - internal-slot: 1.0.5 - regexp.prototype.flags: 1.5.1 - set-function-name: 2.0.1 - side-channel: 1.0.4 - dev: true - /string.prototype.padend@3.1.5: resolution: {integrity: sha512-DOB27b/2UTTD+4myKUFh+/fXWcu/UDyASIXfg+7VzoCNNGOfWvoyU/x5pvVHr++ztyt/oSYI1BcWBBG/hmlNjA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-abstract: 1.22.3 dev: true /string.prototype.trim@1.2.8: resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-abstract: 1.22.3 dev: true /string.prototype.trimend@1.0.7: resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 define-properties: 1.2.1 - es-abstract: 1.22.2 + es-abstract: 1.22.3 dev: true /string.prototype.trimstart@1.0.7: resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 define-properties: 1.2.1 - es-abstract: 1.22.2 - dev: true - - /string_decoder@1.3.0: - resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} - dependencies: - safe-buffer: 5.2.1 - dev: true - - /stringify-entities@4.0.3: - resolution: {integrity: sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g==} - dependencies: - character-entities-html4: 2.1.0 - character-entities-legacy: 3.0.0 + es-abstract: 1.22.3 dev: true /strip-ansi@6.0.1: @@ -6011,13 +3087,6 @@ packages: engines: {node: '>=12'} dev: true - /strip-indent@3.0.0: - resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} - engines: {node: '>=8'} - dependencies: - min-indent: 1.0.1 - dev: true - /strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} @@ -6057,11 +3126,6 @@ packages: has-flag: 4.0.0 dev: true - /supports-color@9.4.0: - resolution: {integrity: sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==} - engines: {node: '>=12'} - dev: true - /supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -6127,11 +3191,6 @@ packages: engines: {node: '>=12'} dev: true - /to-fast-properties@2.0.0: - resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} - engines: {node: '>=4'} - dev: true - /to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} @@ -6139,17 +3198,6 @@ packages: is-number: 7.0.0 dev: true - /to-vfile@7.2.4: - resolution: {integrity: sha512-2eQ+rJ2qGbyw3senPI0qjuM7aut8IYXK6AEoOWb+fJx/mQYzviTckm1wDjq91QYHAPBTYzmdJXxMFA6Mk14mdw==} - dependencies: - is-buffer: 2.0.5 - vfile: 5.3.7 - dev: true - - /tr46@0.0.3: - resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - dev: true - /tr46@1.0.1: resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} dependencies: @@ -6161,10 +3209,6 @@ packages: hasBin: true dev: true - /trough@2.1.0: - resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==} - dev: true - /ts-algebra@1.2.2: resolution: {integrity: sha512-kloPhf1hq3JbCPOTYoOWDKxebWjNb2o/LKnNfkWhxVVisFFmMJPPdJeGoGmM+iRLyoXAR61e08Pb+vUXINg8aA==} dev: true @@ -6178,28 +3222,10 @@ packages: typescript: 5.2.2 dev: true - /ts-dedent@2.2.0: - resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==} - engines: {node: '>=6.10'} - dev: true - /ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: true - /tsconfig-paths@3.14.2: - resolution: {integrity: sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==} - dependencies: - '@types/json5': 0.0.29 - json5: 1.0.2 - minimist: 1.2.8 - strip-bom: 3.0.0 - dev: true - - /tslib@1.14.1: - resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - dev: true - /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} dev: true @@ -6240,16 +3266,6 @@ packages: - ts-node dev: true - /tsutils@3.21.0(typescript@5.2.2): - resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} - engines: {node: '>= 6'} - peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - dependencies: - tslib: 1.14.1 - typescript: 5.2.2 - dev: true - /tsx@3.13.0: resolution: {integrity: sha512-rjmRpTu3as/5fjNq/kOkOtihgLxuIz6pbKdj9xwP4J5jOLkBxw/rjN5ANw+KyrrOXV5uB7HC8+SrrSJxT65y+A==} hasBin: true @@ -6278,21 +3294,6 @@ packages: engines: {node: '>=10'} dev: true - /type-fest@0.21.3: - resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} - engines: {node: '>=10'} - dev: true - - /type-fest@0.6.0: - resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} - engines: {node: '>=8'} - dev: true - - /type-fest@0.8.1: - resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} - engines: {node: '>=8'} - dev: true - /type@1.2.0: resolution: {integrity: sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==} dev: true @@ -6305,8 +3306,8 @@ packages: resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 - get-intrinsic: 1.2.1 + call-bind: 1.0.5 + get-intrinsic: 1.2.2 is-typed-array: 1.1.12 dev: true @@ -6314,7 +3315,7 @@ packages: resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 for-each: 0.3.3 has-proto: 1.0.1 is-typed-array: 1.1.12 @@ -6325,7 +3326,7 @@ packages: engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.5 - call-bind: 1.0.2 + call-bind: 1.0.5 for-each: 0.3.3 has-proto: 1.0.1 is-typed-array: 1.1.12 @@ -6334,15 +3335,11 @@ packages: /typed-array-length@1.0.4: resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 for-each: 0.3.3 is-typed-array: 1.1.12 dev: true - /typedarray@0.0.6: - resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - dev: true - /typescript@5.2.2: resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} engines: {node: '>=14.17'} @@ -6356,110 +3353,14 @@ packages: /unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: - call-bind: 1.0.2 + call-bind: 1.0.5 has-bigints: 1.0.2 has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 dev: true - /unified-engine@10.1.0: - resolution: {integrity: sha512-5+JDIs4hqKfHnJcVCxTid1yBoI/++FfF/1PFdSMpaftZZZY+qg2JFruRbf7PaIwa9KgLotXQV3gSjtY0IdcFGQ==} - dependencies: - '@types/concat-stream': 2.0.0 - '@types/debug': 4.1.9 - '@types/is-empty': 1.2.1 - '@types/node': 18.18.4 - '@types/unist': 2.0.8 - concat-stream: 2.0.0 - debug: 4.3.4 - fault: 2.0.1 - glob: 8.1.0 - ignore: 5.2.4 - is-buffer: 2.0.5 - is-empty: 1.2.0 - is-plain-obj: 4.1.0 - load-plugin: 5.1.0 - parse-json: 6.0.2 - to-vfile: 7.2.4 - trough: 2.1.0 - unist-util-inspect: 7.0.2 - vfile-message: 3.1.4 - vfile-reporter: 7.0.5 - vfile-statistics: 2.0.1 - yaml: 2.3.2 - transitivePeerDependencies: - - supports-color - dev: true - - /unified@10.1.2: - resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==} - dependencies: - '@types/unist': 2.0.8 - bail: 2.0.2 - extend: 3.0.2 - is-buffer: 2.0.5 - is-plain-obj: 4.1.0 - trough: 2.1.0 - vfile: 5.3.7 - dev: true - - /unist-util-inspect@7.0.2: - resolution: {integrity: sha512-Op0XnmHUl6C2zo/yJCwhXQSm/SmW22eDZdWP2qdf4WpGrgO1ZxFodq+5zFyeRGasFjJotAnLgfuD1jkcKqiH1Q==} - dependencies: - '@types/unist': 2.0.8 - dev: true - - /unist-util-is@5.2.1: - resolution: {integrity: sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==} - dependencies: - '@types/unist': 2.0.8 - dev: true - - /unist-util-position-from-estree@1.1.2: - resolution: {integrity: sha512-poZa0eXpS+/XpoQwGwl79UUdea4ol2ZuCYguVaJS4qzIOMDzbqz8a3erUCOmubSZkaOuGamb3tX790iwOIROww==} - dependencies: - '@types/unist': 2.0.8 - dev: true - - /unist-util-remove-position@4.0.2: - resolution: {integrity: sha512-TkBb0HABNmxzAcfLf4qsIbFbaPDvMO6wa3b3j4VcEzFVaw1LBKwnW4/sRJ/atSLSzoIg41JWEdnE7N6DIhGDGQ==} - dependencies: - '@types/unist': 2.0.8 - unist-util-visit: 4.1.2 - dev: true - - /unist-util-stringify-position@2.0.3: - resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} - dependencies: - '@types/unist': 2.0.8 - dev: true - - /unist-util-stringify-position@3.0.3: - resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==} - dependencies: - '@types/unist': 2.0.8 - dev: true - - /unist-util-visit-parents@5.1.3: - resolution: {integrity: sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==} - dependencies: - '@types/unist': 2.0.8 - unist-util-is: 5.2.1 - dev: true - - /unist-util-visit@4.1.2: - resolution: {integrity: sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==} - dependencies: - '@types/unist': 2.0.8 - unist-util-is: 5.2.1 - unist-util-visit-parents: 5.1.3 - dev: true - - /unixify@1.0.0: - resolution: {integrity: sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg==} - engines: {node: '>=0.10.0'} - dependencies: - normalize-path: 2.1.1 + /undici-types@5.25.3: + resolution: {integrity: sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==} dev: true /untildify@4.0.0: @@ -6467,17 +3368,6 @@ packages: engines: {node: '>=8'} dev: true - /update-browserslist-db@1.0.13(browserslist@4.22.1): - resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - dependencies: - browserslist: 4.22.1 - escalade: 3.1.1 - picocolors: 1.0.0 - dev: true - /upper-case-first@2.0.2: resolution: {integrity: sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==} dependencies: @@ -6496,31 +3386,12 @@ packages: punycode: 2.3.0 dev: true - /urlpattern-polyfill@8.0.2: - resolution: {integrity: sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ==} - dev: true - - /util-deprecate@1.0.2: - resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - dev: true - - /uvu@0.5.6: - resolution: {integrity: sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA==} - engines: {node: '>=8'} - hasBin: true - dependencies: - dequal: 2.0.3 - diff: 5.1.0 - kleur: 4.1.5 - sade: 1.8.1 - dev: true - /v8-to-istanbul@9.1.3: resolution: {integrity: sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==} engines: {node: '>=10.12.0'} dependencies: - '@jridgewell/trace-mapping': 0.3.19 - '@types/istanbul-lib-coverage': 2.0.4 + '@jridgewell/trace-mapping': 0.3.20 + '@types/istanbul-lib-coverage': 2.0.5 convert-source-map: 2.0.0 dev: true @@ -6531,55 +3402,7 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /value-or-promise@1.0.12: - resolution: {integrity: sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q==} - engines: {node: '>=12'} - dev: true - - /vfile-message@3.1.4: - resolution: {integrity: sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==} - dependencies: - '@types/unist': 2.0.8 - unist-util-stringify-position: 3.0.3 - dev: true - - /vfile-reporter@7.0.5: - resolution: {integrity: sha512-NdWWXkv6gcd7AZMvDomlQbK3MqFWL1RlGzMn++/O2TI+68+nqxCPTvLugdOtfSzXmjh+xUyhp07HhlrbJjT+mw==} - dependencies: - '@types/supports-color': 8.1.1 - string-width: 5.1.2 - supports-color: 9.4.0 - unist-util-stringify-position: 3.0.3 - vfile: 5.3.7 - vfile-message: 3.1.4 - vfile-sort: 3.0.1 - vfile-statistics: 2.0.1 - dev: true - - /vfile-sort@3.0.1: - resolution: {integrity: sha512-1os1733XY6y0D5x0ugqSeaVJm9lYgj0j5qdcZQFyxlZOSy1jYarL77lLyb5gK4Wqr1d5OxmuyflSO3zKyFnTFw==} - dependencies: - vfile: 5.3.7 - vfile-message: 3.1.4 - dev: true - - /vfile-statistics@2.0.1: - resolution: {integrity: sha512-W6dkECZmP32EG/l+dp2jCLdYzmnDBIw6jwiLZSER81oR5AHRcVqL+k3Z+pfH1R73le6ayDkJRMk0sutj1bMVeg==} - dependencies: - vfile: 5.3.7 - vfile-message: 3.1.4 - dev: true - - /vfile@5.3.7: - resolution: {integrity: sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==} - dependencies: - '@types/unist': 2.0.8 - is-buffer: 2.0.5 - unist-util-stringify-position: 3.0.3 - vfile-message: 3.1.4 - dev: true - - /vite-node@0.34.6(@types/node@20.8.3): + /vite-node@0.34.6(@types/node@20.8.7): resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} engines: {node: '>=v14.18.0'} hasBin: true @@ -6589,7 +3412,7 @@ packages: mlly: 1.4.2 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.4.11(@types/node@20.8.3) + vite: 4.5.0(@types/node@20.8.7) transitivePeerDependencies: - '@types/node' - less @@ -6601,8 +3424,8 @@ packages: - terser dev: true - /vite@4.4.11(@types/node@20.8.3): - resolution: {integrity: sha512-ksNZJlkcU9b0lBwAGZGGaZHCMqHsc8OpgtoYhsQ4/I2v5cnpmmmqe5pM4nv/4Hn6G/2GhTdj0DhZh2e+Er1q5A==} + /vite@4.5.0(@types/node@20.8.7): + resolution: {integrity: sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -6629,7 +3452,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.8.3 + '@types/node': 20.8.7 esbuild: 0.18.20 postcss: 8.4.31 rollup: 3.29.4 @@ -6668,9 +3491,9 @@ packages: webdriverio: optional: true dependencies: - '@types/chai': 4.3.6 - '@types/chai-subset': 1.3.3 - '@types/node': 20.8.3 + '@types/chai': 4.3.9 + '@types/chai-subset': 1.3.4 + '@types/node': 20.8.7 '@vitest/expect': 0.34.6 '@vitest/runner': 0.34.6 '@vitest/snapshot': 0.34.6 @@ -6682,15 +3505,15 @@ packages: chai: 4.3.10 debug: 4.3.4 local-pkg: 0.4.3 - magic-string: 0.30.4 + magic-string: 0.30.5 pathe: 1.1.1 picocolors: 1.0.0 std-env: 3.4.3 strip-literal: 1.3.0 tinybench: 2.5.1 tinypool: 0.7.0 - vite: 4.4.11(@types/node@20.8.3) - vite-node: 0.34.6(@types/node@20.8.3) + vite: 4.5.0(@types/node@20.8.7) + vite-node: 0.34.6(@types/node@20.8.7) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -6702,67 +3525,10 @@ packages: - terser dev: true - /vue-eslint-parser-template-tokenizer-pug@0.4.10(vue-eslint-parser@9.3.2): - resolution: {integrity: sha512-Npzjna9PUJzIal/o7hOo4D7dF4hqjHwTafBtLgdtja2LZuCc4UT5BU7dyYJeKb9s1SnCFBflHMg3eFA3odq6bg==} - peerDependencies: - vue-eslint-parser: ^9.0.0 - dependencies: - pug-lexer: 5.0.1 - vue-eslint-parser: 9.3.2(eslint@8.51.0) - dev: true - - /vue-eslint-parser@9.3.2(eslint@8.51.0): - resolution: {integrity: sha512-q7tWyCVaV9f8iQyIA5Mkj/S6AoJ9KBN8IeUSf3XEmBrOtxOZnfTg5s4KClbZBCK3GtnT/+RyCLZyDHuZwTuBjg==} - engines: {node: ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: '>=6.0.0' - dependencies: - debug: 4.3.4 - eslint: 8.51.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - esquery: 1.5.0 - lodash: 4.17.21 - semver: 7.5.4 - transitivePeerDependencies: - - supports-color - dev: true - - /walk-up-path@3.0.1: - resolution: {integrity: sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==} - dev: true - - /web-streams-polyfill@3.2.1: - resolution: {integrity: sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==} - engines: {node: '>= 8'} - dev: true - - /webcrypto-core@1.7.7: - resolution: {integrity: sha512-7FjigXNsBfopEj+5DV2nhNpfic2vumtjjgPmeDKk45z+MJwXKKfhPB7118Pfzrmh4jqOMST6Ch37iPAHoImg5g==} - dependencies: - '@peculiar/asn1-schema': 2.3.6 - '@peculiar/json-schema': 1.1.12 - asn1js: 3.0.5 - pvtsutils: 1.3.5 - tslib: 2.6.2 - dev: true - - /webidl-conversions@3.0.1: - resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - dev: true - /webidl-conversions@4.0.2: resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} dev: true - /whatwg-url@5.0.0: - resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - dependencies: - tr46: 0.0.3 - webidl-conversions: 3.0.1 - dev: true - /whatwg-url@7.1.0: resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} dependencies: @@ -6781,39 +3547,12 @@ packages: is-symbol: 1.0.4 dev: true - /which-builtin-type@1.1.3: - resolution: {integrity: sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==} - engines: {node: '>= 0.4'} - dependencies: - function.prototype.name: 1.1.6 - has-tostringtag: 1.0.0 - is-async-function: 2.0.0 - is-date-object: 1.0.5 - is-finalizationregistry: 1.0.2 - is-generator-function: 1.0.10 - is-regex: 1.1.4 - is-weakref: 1.0.2 - isarray: 2.0.5 - which-boxed-primitive: 1.0.2 - which-collection: 1.0.1 - which-typed-array: 1.1.11 - dev: true - - /which-collection@1.0.1: - resolution: {integrity: sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==} - dependencies: - is-map: 2.0.2 - is-set: 2.0.2 - is-weakmap: 2.0.1 - is-weakset: 2.0.2 - dev: true - - /which-typed-array@1.1.11: - resolution: {integrity: sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==} + /which-typed-array@1.1.13: + resolution: {integrity: sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==} engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.5 - call-bind: 1.0.2 + call-bind: 1.0.5 for-each: 0.3.3 gopd: 1.0.1 has-tostringtag: 1.0.0 @@ -6843,15 +3582,6 @@ packages: stackback: 0.0.2 dev: true - /wrap-ansi@6.2.0: - resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} - engines: {node: '>=8'} - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - dev: true - /wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} @@ -6874,56 +3604,12 @@ packages: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: true - /ws@8.13.0: - resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: true - - /ws@8.14.2: - resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: true - - /xml-name-validator@4.0.0: - resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} - engines: {node: '>=12'} - dev: true - - /yallist@3.1.1: - resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - dev: true - /yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} dev: true - /yaml-eslint-parser@1.2.2: - resolution: {integrity: sha512-pEwzfsKbTrB8G3xc/sN7aw1v6A6c/pKxLAkjclnAyo5g5qOh6eL9WGu0o3cSDQZKrTNk4KL4lQSwZW+nBkANEg==} - engines: {node: ^14.17.0 || >=16.0.0} - dependencies: - eslint-visitor-keys: 3.4.3 - lodash: 4.17.21 - yaml: 2.3.2 - dev: true - - /yaml@2.3.2: - resolution: {integrity: sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==} + /yaml@2.3.3: + resolution: {integrity: sha512-zw0VAJxgeZ6+++/su5AFoqBbZbrEakwu+X0M5HmcwUiBL7AzcuPKjj5we4xfQLp78LkEMpD0cOnUhmgOVy3KdQ==} engines: {node: '>= 14'} dev: true @@ -6936,7 +3622,3 @@ packages: resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} engines: {node: '>=12.20'} dev: true - - /zwitch@2.0.4: - resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} - dev: true diff --git a/release.sh b/release.sh deleted file mode 100755 index ea0b6e1c..00000000 --- a/release.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash -set -x - -# Cleanup -rm -Rf dist -rm -Rf node_modules -rm pnpm-lock.yaml - -set -e - -# Prepare -pnpm install -pnpm run lint -pnpm run test -- --silent -pnpm audit -pnpm run build - -# Publish -npm publish --dry-run - -set +ex - -echo -echo "If everything looks okay, use 'npm publish --access public'" -echo -echo "Remember to create a tag" -echo "Remember to increase the version number" -echo diff --git a/scripts/generate-eslint-dts.ts b/scripts/generate-eslint-dts.ts new file mode 100644 index 00000000..ea84a518 --- /dev/null +++ b/scripts/generate-eslint-dts.ts @@ -0,0 +1,77 @@ +import { pascalCase } from 'change-case'; +import type { Rule } from 'eslint'; +import eslint from 'eslint'; +import type { JSONSchema4 } from 'json-schema'; +import { compile } from 'json-schema-to-typescript'; +import { writeFile } from 'node:fs/promises'; +import { join } from 'node:path'; +import { URL, fileURLToPath } from 'node:url'; + +const __dirname = fileURLToPath(new URL('.', import.meta.url)); + +const rules = Object.fromEntries(new eslint.Linter().getRules().entries()); + +const ruleOptionImports: string[] = []; +const ruleDeclarations: string[] = []; + +for (const [ruleName, ruleDefinition] of Object.entries(rules ?? {})) { + const meta = ruleDefinition.meta ?? {}; + + let schemas = (meta.schema as JSONSchema4[]) ?? []; + if (!Array.isArray(schemas)) { + schemas = [schemas]; + } + + const options = await Promise.all( + schemas.map(async (schema, index) => { + schema = JSON.parse( + JSON.stringify(schema).replaceAll('#/items/0/$defs/', '#/$defs/'), + ); + + return await compile(schema, `Schema${index}`, { + bannerComment: '', + }); + }), + ); + + await writeFile( + join(__dirname, '..', 'src', 'rules', 'eslint', `${ruleName}.d.ts`), + `${options.join('\n')} +export type ${pascalCase(ruleName)}RuleOptions = [${options + .map((_, index) => `Schema${index}?`) + .join(', ')}] +`, + { + encoding: 'utf8', + flag: 'w', + }, + ); + + ruleOptionImports.push( + `import type { ${pascalCase(ruleName)}RuleOptions } from "./${ruleName}"`, + ); + + const documentation: Rule.RuleMetaData['docs'] = meta.docs ?? {}; + + ruleDeclarations.push(`/** + * ${documentation.description?.replace(/\*\/`/g, '*\\/`')} + * + * @see [${ruleName}](${documentation.url}) + */ + "${ruleName}": RuleConfig<${pascalCase(ruleName)}RuleOptions>;`); +} + +await writeFile( + join(__dirname, '..', 'src', 'rules', 'eslint', 'index.d.ts'), + `${ruleOptionImports.join('\n')} +import type { RuleConfig } from '../rule-config'; + +export interface EslintRules { + ${ruleDeclarations.join('\n')} +} +`, + { + encoding: 'utf8', + flag: 'w', + }, +); diff --git a/scripts/generate-rule-files/cli.ts b/scripts/generate-rule-files/cli.ts deleted file mode 100644 index 04552ea0..00000000 --- a/scripts/generate-rule-files/cli.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { run } from '.'; - -const selectedPlugins: string[] | undefined = process.argv - .slice(2) - .find((arg) => arg.startsWith('--plugins=')) - ?.replace('--plugins=', '') - .split(','); - -run({ plugins: selectedPlugins }).catch((err) => console.error(err)); diff --git a/scripts/generate-rule-files/contracts/index.ts b/scripts/generate-rule-files/contracts/index.ts deleted file mode 100644 index 6e644b68..00000000 --- a/scripts/generate-rule-files/contracts/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { Rule } from 'eslint'; - -export type MaybeArray = T | T[]; - -export type PluginRules = Record; - -export interface Plugin { - name: string; - prefix?: string; - module: string; - rules?: PluginRules; -} diff --git a/scripts/generate-rule-files/diffs/rules/eslint/no-constructor-return.d.ts.diff b/scripts/generate-rule-files/diffs/rules/eslint/no-constructor-return.d.ts.diff deleted file mode 100644 index f3179eb2..00000000 --- a/scripts/generate-rule-files/diffs/rules/eslint/no-constructor-return.d.ts.diff +++ /dev/null @@ -1,22 +0,0 @@ -diff --git b/src/rules/eslint/no-constructor-return.d.ts a/src/rules/eslint/no-constructor-return.d.ts -index fedeca4..3e1fd03 100644 ---- b/src/rules/eslint/no-constructor-return.d.ts -+++ a/src/rules/eslint/no-constructor-return.d.ts -@@ -1,16 +1,9 @@ - import type { RuleConfig } from '../rule-config'; - --/** -- * Option. -- */ --export interface NoConstructorReturnOption { -- [k: string]: any; --} -- - /** - * Options. - */ --export type NoConstructorReturnOptions = NoConstructorReturnOption; -+export type NoConstructorReturnOptions = []; - - /** - * Disallow returning value from constructor. diff --git a/scripts/generate-rule-files/diffs/rules/graphql-eslint/naming-convention.d.ts.diff b/scripts/generate-rule-files/diffs/rules/graphql-eslint/naming-convention.d.ts.diff deleted file mode 100644 index de772439..00000000 --- a/scripts/generate-rule-files/diffs/rules/graphql-eslint/naming-convention.d.ts.diff +++ /dev/null @@ -1,14 +0,0 @@ -diff --git b/src/rules/graphql-eslint/naming-convention.d.ts a/src/rules/graphql-eslint/naming-convention.d.ts -index 60b228b..5e01373 100644 ---- b/src/rules/graphql-eslint/naming-convention.d.ts -+++ a/src/rules/graphql-eslint/naming-convention.d.ts -@@ -78,8 +78,7 @@ export type NamingConventionOption = - VariableDefinition?: AsString | AsObject; - allowLeadingUnderscore?: boolean; - allowTrailingUnderscore?: boolean; -- /** -- */ -+ } & { - [k: string]: AsString | AsObject; - }, - ]; diff --git a/scripts/generate-rule-files/diffs/rules/node/file-extension-in-import.d.ts.diff b/scripts/generate-rule-files/diffs/rules/node/file-extension-in-import.d.ts.diff deleted file mode 100644 index e1c69b96..00000000 --- a/scripts/generate-rule-files/diffs/rules/node/file-extension-in-import.d.ts.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff --git b/src/rules/node/file-extension-in-import.d.ts a/src/rules/node/file-extension-in-import.d.ts -index 652b18d..7261252 100644 ---- b/src/rules/node/file-extension-in-import.d.ts -+++ a/src/rules/node/file-extension-in-import.d.ts -@@ -5,7 +5,7 @@ import type { RuleConfig } from '../rule-config'; - */ - export interface FileExtensionInImportConfig { - tryExtensions?: string[]; -- [k: string]: 'always' | 'never'; -+ [ext: `.${string}`]: 'always' | 'never'; - } - - /** diff --git a/scripts/generate-rule-files/diffs/rules/react/jsx-no-constructed-context-values.d.ts.diff b/scripts/generate-rule-files/diffs/rules/react/jsx-no-constructed-context-values.d.ts.diff deleted file mode 100644 index 152c62d9..00000000 --- a/scripts/generate-rule-files/diffs/rules/react/jsx-no-constructed-context-values.d.ts.diff +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/src/rules/react/jsx-no-constructed-context-values.d.ts b/src/rules/react/jsx-no-constructed-context-values.d.ts -index 410f060..e356693 100644 ---- a/src/rules/react/jsx-no-constructed-context-values.d.ts -+++ b/src/rules/react/jsx-no-constructed-context-values.d.ts -@@ -1,17 +1,9 @@ - import type { RuleConfig } from '../rule-config'; - --/** -- * Option. -- */ --export interface JsxNoConstructedContextValuesOption { -- [k: string]: any; --} -- - /** - * Options. - */ --export type JsxNoConstructedContextValuesOptions = -- JsxNoConstructedContextValuesOption; -+export type JsxNoConstructedContextValuesOptions = []; - - /** - * Disallows JSX context provider values from taking values that will cause needless rerenders. diff --git a/scripts/generate-rule-files/diffs/rules/react/jsx-props-no-spreading.d.ts.diff b/scripts/generate-rule-files/diffs/rules/react/jsx-props-no-spreading.d.ts.diff deleted file mode 100644 index a1e2e6a7..00000000 --- a/scripts/generate-rule-files/diffs/rules/react/jsx-props-no-spreading.d.ts.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/rules/react/jsx-props-no-spreading.d.ts b/src/rules/react/jsx-props-no-spreading.d.ts -index c1e0069..ba1e1bc 100644 ---- a/src/rules/react/jsx-props-no-spreading.d.ts -+++ b/src/rules/react/jsx-props-no-spreading.d.ts -@@ -8,8 +8,6 @@ export type JsxPropsNoSpreadingOption = { - custom?: 'enforce' | 'ignore'; - exceptions?: string[]; - [k: string]: any; --} & { -- [k: string]: any; - }; - - /** diff --git a/scripts/generate-rule-files/diffs/rules/vitest/valid-title.d.ts.diff b/scripts/generate-rule-files/diffs/rules/vitest/valid-title.d.ts.diff deleted file mode 100644 index 390dda7b..00000000 --- a/scripts/generate-rule-files/diffs/rules/vitest/valid-title.d.ts.diff +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/src/rules/vitest/valid-title.d.ts b/src/rules/vitest/valid-title.d.ts -index 160be76..834ac9b 100644 ---- a/src/rules/vitest/valid-title.d.ts -+++ b/src/rules/vitest/valid-title.d.ts -@@ -7,15 +7,7 @@ export interface ValidTitleOption { - ignoreTypeOfDescribeName?: boolean; - allowArguments?: boolean; - disallowedWords?: string[]; -- /** -- */ -- [k: string]: -- | string -- | [string] -- | [string, string] -- | { -- [k: string]: string | [string] | [string, string]; -- }; -+ [k: string]: any; - } - - /** diff --git a/scripts/generate-rule-files/index.ts b/scripts/generate-rule-files/index.ts deleted file mode 100644 index 209d7f7b..00000000 --- a/scripts/generate-rule-files/index.ts +++ /dev/null @@ -1,187 +0,0 @@ -import { logger } from '@poppinss/cliui'; -import { pascalCase } from 'change-case'; -import type { Rule } from 'eslint'; -import { existsSync, mkdirSync, rmSync, writeFileSync } from 'node:fs'; -import { join } from 'node:path'; -import { URL, fileURLToPath } from 'node:url'; -import { dedent } from 'ts-dedent'; -import type { Plugin, PluginRules } from './contracts'; -import { format } from './src/format'; -import { JsDocBuilder } from './src/js-doc-builder'; -import { PLUGIN_REGISTRY, loadPlugin } from './src/plugins-map'; -import { RuleFile } from './src/rule-file'; - -const __dirname: string = fileURLToPath(new URL('.', import.meta.url)); - -interface FailedRule { - ruleName: string; - err: unknown; -} - -/** - * Generate the `index.d.ts` file for the plugin's rules that will re-export all rules. - */ -async function generateRuleIndexFile( - pluginDirectory: string, - { rules, name }: Plugin, - failedRules: FailedRule[], -): Promise { - if (!rules) { - throw new Error( - `Plugin ${name} doesn't have any rules. Did you forget to load them?`, - ); - } - - const generatedRules: string[] = Object.keys(rules).filter( - (ruleName) => - !failedRules.some((failedRule) => failedRule.ruleName === ruleName), - ); - - /** - * Build all the import statements for the rules. - */ - const rulesImports: string = generatedRules - .map((name) => `import type { ${pascalCase(name)}Rule } from './${name}';`) - .join('\n'); - - /** - * Build the exported type that is an intersection of all the rules. - */ - const rulesFinalIntersection: string = generatedRules - .map((name) => `${pascalCase(name)}Rule`) - .join(' & '); - - const pluginRulesType: string = dedent(` - ${JsDocBuilder.build().add(`All ${name} rules.`).output()} - export type ${name}Rules = ${rulesFinalIntersection}; - `); - - /** - * Write the final `index.d.ts` file. - */ - const fileContent: string = dedent(` - ${rulesImports} - - ${pluginRulesType} - `); - - const indexPath: string = join(pluginDirectory, 'index.d.ts'); - writeFileSync(indexPath, await format(fileContent)); -} - -/** - * Print a report after having generated rules files for a plugin. - */ -function printGenerationReport( - rules: Array<[string, Rule.RuleModule]>, - failedRules: FailedRule[], -): void { - const msg: string = ` ✅ Generated ${ - rules.length - failedRules.length - } rules`; - logger.logUpdate(logger.colors.green(msg)); - logger.logUpdatePersist(); - - if (failedRules.length) { - logger.log(logger.colors.red(` ❌ Failed ${failedRules.length} rules`)); - failedRules.forEach(({ ruleName, err }) => { - logger.log(logger.colors.red(` - ${ruleName}: ${String(err)}`)); - }); - } - - logger.log(''); -} - -/** - * Generate a `.d.ts` file for each rule in the given plugin. - */ -async function generateRulesFiles( - plugin: Plugin, - pluginDirectory: string, -): Promise<{ failedRules: FailedRule[] }> { - const failedRules: FailedRule[] = []; - - const pluginRules: PluginRules | undefined = plugin.rules; - if (!pluginRules) { - throw new Error( - `Plugin ${plugin.name} doesn't have any rules. Did you forget to load them?`, - ); - } - - const rules: Array<[string, Rule.RuleModule]> = Object.entries(pluginRules); - for (const [ruleName, rule] of rules) { - logger.logUpdate(logger.colors.yellow(` Generating > ${ruleName}`)); - - const ruleFile: RuleFile = new RuleFile( - plugin, - pluginDirectory, - ruleName, - rule, - ); - try { - await ruleFile.generate(); - ruleFile.writeGeneratedContent(); - ruleFile.applyPatch(); - } catch (err) { - failedRules.push({ ruleName, err }); - } - } - - printGenerationReport(rules, failedRules); - - return { failedRules }; -} - -/** - * If it doesn't exist, create the directory that will contain the plugin's rule files. - */ -function createPluginDirectory( - pluginName: string, - targetDirectory?: string, -): string { - const rulesDirectory: string = join( - __dirname, - targetDirectory ?? '../../src/rules', - ); - const pluginDirectory: string = join(rulesDirectory, pluginName); - - if (existsSync(pluginDirectory)) { - rmSync(pluginDirectory, { recursive: true, force: true }); - } - - mkdirSync(pluginDirectory, { mode: 0o755, recursive: true }); - - return pluginDirectory; -} - -export interface RunOptions { - plugins?: string[]; - targetDirectory?: string; -} - -export async function run(options: RunOptions = {}): Promise { - const { plugins, targetDirectory } = options; - - const wantedPlugins: string[] = plugins ?? Object.keys(PLUGIN_REGISTRY); - - for (const pluginName of wantedPlugins) { - const plugin: Plugin | undefined = PLUGIN_REGISTRY[pluginName]; - if (!plugin) { - throw new Error(`Plugin ${pluginName} doesn't exist.`); - } - - logger.info(`Generating ${plugin.name} rules.`); - logger.logUpdate( - logger.colors.yellow(` Loading plugin > ${plugin.module}`), - ); - const loadedPlugin: Plugin = await loadPlugin(plugin); - - const pluginDir: string = createPluginDirectory( - pluginName, - targetDirectory, - ); - const { failedRules } = await generateRulesFiles(loadedPlugin, pluginDir); - - await generateRuleIndexFile(pluginDir, loadedPlugin, failedRules); - } -} diff --git a/scripts/generate-rule-files/src/format.ts b/scripts/generate-rule-files/src/format.ts deleted file mode 100644 index aa38b69a..00000000 --- a/scripts/generate-rule-files/src/format.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { Config } from 'prettier'; -import { format as prettierFormat } from 'prettier'; - -/** - * Our custom prettier configuration. - */ -const PRETTIER_OPTIONS: Config = { - plugins: ['prettier-plugin-organize-imports'], - parser: 'typescript', - singleQuote: true, - trailingComma: 'all', -}; - -/** - * Format the given content with Prettier. - */ -export function format(content: string): Promise { - return prettierFormat(content, PRETTIER_OPTIONS); -} diff --git a/scripts/generate-rule-files/src/js-doc-builder.ts b/scripts/generate-rule-files/src/js-doc-builder.ts deleted file mode 100644 index 21201653..00000000 --- a/scripts/generate-rule-files/src/js-doc-builder.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Simple class helper to build a JSDoc comment. - */ -export class JsDocBuilder { - private readonly content: string[] = []; - - public static build(): JsDocBuilder { - return new JsDocBuilder(); - } - - public add(line?: string): JsDocBuilder { - if (line) { - this.content.push(line); - } - - return this; - } - - public output(): string { - return [ - // - '/**', - ...this.content.map((line) => ` * ${line}`), - ' */', - ].join('\n'); - } -} diff --git a/scripts/generate-rule-files/src/json-schema-to-ts.ts b/scripts/generate-rule-files/src/json-schema-to-ts.ts deleted file mode 100644 index 04c5c46c..00000000 --- a/scripts/generate-rule-files/src/json-schema-to-ts.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { JSONSchema4 } from 'json-schema'; -import { compile } from 'json-schema-to-typescript'; - -/** - * Remove unnecessary comments that are generated by `json-schema-to-typescript`. - */ -function cleanJsDoc(content: string): string { - const patterns: RegExp[] = [ - /\* This interface was referenced by .+ JSON-Schema definition/, - /\* via the `.+` "/, - ]; - - return content - .split('\n') - .filter((line) => !patterns.some((ignoredLine) => ignoredLine.test(line))) - .join('\n'); -} - -/** - * Replace some types that are generated by `json-schema-to-typescript`. - */ -export function patchTypes(content: string): string { - const replacements: Array<{ - pattern: RegExp; - replacement: string; - }> = [ - { - pattern: - /\(string & \{\s*\[k: string\]: any\s*\} & \{\s*\[k: string\]: any\s*\}\)\[\]/, - replacement: 'string[]', - }, - ]; - - for (const { pattern, replacement } of replacements) { - content = content.replace(pattern, replacement); - } - - return content; -} - -/** - * Generate a type from the given JSON schema. - */ -export async function generateTypeFromSchema( - schema: JSONSchema4, - typeName: string, -): Promise { - schema = JSON.parse( - JSON.stringify(schema).replace(/#\/items\/0\/\$defs\//g, '#/$defs/'), - ); - let result: string = await compile(schema, typeName, { - format: false, - bannerComment: '', - style: { - singleQuote: true, - trailingComma: 'all', - }, - unknownAny: false, - }); - - result = cleanJsDoc(result); - result = patchTypes(result); - - return result; -} diff --git a/scripts/generate-rule-files/src/plugins-map.ts b/scripts/generate-rule-files/src/plugins-map.ts deleted file mode 100644 index ccbe6f9d..00000000 --- a/scripts/generate-rule-files/src/plugins-map.ts +++ /dev/null @@ -1,121 +0,0 @@ -import type { Plugin, PluginRules } from '../contracts'; - -/** - * Map of plugins for which the script will generate rule files. - */ -export const PLUGIN_REGISTRY: Readonly> = { - deprecation: { - name: 'Deprecation', - module: 'eslint-plugin-deprecation', - }, - eslint: { - name: 'Eslint', - module: 'eslint', - }, - 'typescript-eslint': { - name: 'TypeScript', - prefix: '@typescript-eslint', - module: '@typescript-eslint/eslint-plugin', - }, - import: { - name: 'Import', - module: 'eslint-plugin-import', - }, - 'eslint-comments': { - name: 'EslintComments', - module: 'eslint-plugin-eslint-comments', - }, - 'graphql-eslint': { - name: 'GraphQL', - prefix: '@graphql-eslint', - module: '@graphql-eslint/eslint-plugin', - }, - jsdoc: { - name: 'JSDoc', - prefix: 'jsdoc', - module: 'eslint-plugin-jsdoc', - }, - jsonc: { - name: 'Jsonc', - module: 'eslint-plugin-jsonc', - }, - 'jsx-a11y': { - name: 'JsxA11y', - module: 'eslint-plugin-jsx-a11y', - }, - mdx: { - name: 'Mdx', - module: 'eslint-plugin-mdx', - }, - n: { - name: 'N', - module: 'eslint-plugin-n', - }, - node: { - name: 'Node', - module: 'eslint-plugin-node', - }, - promise: { - name: 'Promise', - module: 'eslint-plugin-promise', - }, - react: { - name: 'React', - module: 'eslint-plugin-react', - }, - 'react-hooks': { - name: 'ReactHooks', - module: 'eslint-plugin-react-hooks', - }, - sonarjs: { - name: 'SonarJS', - prefix: 'sonarjs', - module: 'eslint-plugin-sonarjs', - }, - spellcheck: { - name: 'Spellcheck', - module: 'eslint-plugin-spellcheck', - }, - 'testing-library': { - name: 'TestingLibrary', - module: 'eslint-plugin-testing-library', - }, - unicorn: { - name: 'Unicorn', - module: 'eslint-plugin-unicorn', - }, - vitest: { - name: 'Vitest', - module: 'eslint-plugin-vitest', - }, - vue: { - name: 'Vue', - module: 'eslint-plugin-vue', - }, - 'vue-i18n': { - name: 'VueI18n', - prefix: '@intlify/vue-i18n', - module: '@intlify/eslint-plugin-vue-i18n', - }, - 'vue-pug': { - name: 'VuePug', - module: 'eslint-plugin-vue-pug', - }, - yml: { - name: 'Yml', - module: 'eslint-plugin-yml', - }, -} as const; - -export async function loadPlugin(plugin: Plugin): Promise { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const mod: any = await import(plugin.module); - const rules: PluginRules = - plugin.module === 'eslint' - ? Object.fromEntries( - // eslint-disable-next-line @typescript-eslint/no-unsafe-argument - new mod.Linter().getRules().entries(), - ) - : mod.rules ?? mod.default.rules; - return { ...plugin, rules }; -} diff --git a/scripts/generate-rule-files/src/rule-file.ts b/scripts/generate-rule-files/src/rule-file.ts deleted file mode 100644 index e079296a..00000000 --- a/scripts/generate-rule-files/src/rule-file.ts +++ /dev/null @@ -1,263 +0,0 @@ -import { logger } from '@poppinss/cliui'; -import { paramCase as kebabCase, pascalCase } from 'change-case'; -import type { Rule } from 'eslint'; -import type { JSONSchema4 } from 'json-schema'; -import { execSync } from 'node:child_process'; -import { existsSync, mkdirSync, writeFileSync } from 'node:fs'; -import { dirname, resolve } from 'node:path'; -import { URL, fileURLToPath } from 'node:url'; -import type { Plugin } from '../contracts'; -import { format } from './format'; -import { JsDocBuilder } from './js-doc-builder'; -import { generateTypeFromSchema } from './json-schema-to-ts'; - -const __dirname: string = fileURLToPath(new URL('.', import.meta.url)); - -export class RuleFile { - private content: string = ''; - - private readonly rulePath: string; - private readonly ruleNamePascalCase: string; - - private isSchemaArray!: boolean; - private mainSchema?: JSONSchema4; - private sideSchema?: JSONSchema4; - private thirdSchema?: JSONSchema4; - - public constructor( - private readonly plugin: Plugin, - private readonly pluginDirectory: string, - private readonly ruleName: string, - private readonly rule: Rule.RuleModule, - ) { - this.ruleNamePascalCase = pascalCase(this.ruleName); - this.rulePath = resolve(this.pluginDirectory, `${ruleName}.d.ts`); - this.assignSchemasInfo(); - } - - private assignSchemasInfo(): void { - const schema: JSONSchema4 | JSONSchema4[] | undefined = - this.rule.meta?.schema; - // eslint-disable-next-line @typescript-eslint/typedef - const isArray = Array.isArray(schema); - - this.mainSchema = isArray ? schema[0] : schema; - this.sideSchema = isArray && schema.length > 1 ? schema[1] : undefined; - this.thirdSchema = isArray && schema.length > 2 ? schema[2] : undefined; - this.isSchemaArray = isArray; - } - - /** - * Append the `import type { RuleConfig } from '../rule-config'` at the top of the file. - */ - public appendRuleConfigImport(): void { - const nestedDepth: number = this.ruleName.split('/').length; - const ruleConfigImportPath: string = `${'../'.repeat( - nestedDepth, - )}rule-config`; - this.content += `import type { RuleConfig } from '${ruleConfigImportPath}'\n\n`; - } - - /** - * Build the rule description to append to the JSDoc. - */ - public buildDescription(): string { - let description: string = this.rule.meta?.docs?.description ?? ''; - - description = description.charAt(0).toUpperCase() + description.slice(1); - - if (description.length > 0 && !description.endsWith('.')) { - description += '.'; - } - - return description.replace('*/', ''); - } - - /** - * Build the `@see` url to the rule documentation to append to the JSDoc. - */ - public buildSeeDocLink(): string { - const { meta } = this.rule; - const seeDocLink: string = meta?.docs?.url - ? `@see [${this.ruleName}](${meta.docs.url})` - : ''; - - return seeDocLink; - } - - /** - * Generate a JSDoc with the rule description and `@see` url. - */ - public generateTypeJsDoc(): string { - return JsDocBuilder.build() - .add(this.buildDescription()) - .add(' ') - .add(this.rule.meta?.deprecated ? '@deprecated' : '') - .add(this.rule.meta?.deprecated ? ' ' : '') - .add(this.buildSeeDocLink()) - .output(); - } - - /** - * Generate a type from a JSON schema and append it to the file content. - */ - private async appendJsonSchemaType( - schema: JSONSchema4, - comment: string, - ): Promise { - const type: string = await generateTypeFromSchema( - schema, - this.ruleNamePascalCase + comment, - ); - - const jsdoc: string = JsDocBuilder.build().add(`${comment}.`).output(); - this.content += `\n${jsdoc}`; - this.content += `\n${type}\n`; - } - - /** - * Generate and append types for the rule schemas. - */ - private async appendRuleSchemaTypes(): Promise { - if (this.thirdSchema) { - await this.appendJsonSchemaType(this.thirdSchema, 'Setting'); - } - - if (this.sideSchema) { - await this.appendJsonSchemaType(this.sideSchema, 'Config'); - } - - if (this.mainSchema) { - await this.appendJsonSchemaType(this.mainSchema, 'Option'); - } - } - - /** - * Append the rule type options to the file content. - */ - private appendRuleOptions(): void { - const ruleName: string = this.ruleNamePascalCase; - - let type: string = ''; - if (!this.isSchemaArray) { - type = `${ruleName}Option`; - } else if (this.thirdSchema) { - type = `[${ruleName}Option?, ${ruleName}Config?, ${ruleName}Setting?]`; - } else if (this.sideSchema) { - type = `[${ruleName}Option?, ${ruleName}Config?]`; - } else if (this.mainSchema) { - type = `[${ruleName}Option?]`; - } - - this.content += JsDocBuilder.build().add('Options.').output() + '\n'; - this.content += `export type ${ruleName}Options = ${type}\n\n`; - } - - /** - * Append the rule config type to the file content. - */ - private appendRuleConfig(): void { - const ruleName: string = this.ruleNamePascalCase; - const genericContent: string = this.mainSchema - ? `${ruleName}Options` - : '[]'; - - this.content += this.generateTypeJsDoc() + '\n'; - this.content += `export type ${ruleName}RuleConfig = RuleConfig<${genericContent}>;\n\n`; - } - - /** - * Scoped rule name ESLint config uses. - */ - private prefixedRuleName(): string { - const { prefix, name } = this.plugin; - let rulePrefix: string = (prefix ?? kebabCase(name)) + '/'; - - if (name === 'Eslint') { - rulePrefix = ''; - } - - return `${rulePrefix}${this.ruleName}`; - } - - /** - * Append the final rule interface to the file content. - */ - private appendRule(): void { - const ruleName: string = this.ruleNamePascalCase; - - this.content += this.generateTypeJsDoc() + '\n'; - - this.content += `export interface ${ruleName}Rule {`; - this.content += `${this.generateTypeJsDoc()}\n`; - this.content += `'${this.prefixedRuleName()}': ${ruleName}RuleConfig;`; - this.content += '}'; - } - - /** - * Create the directory of the rule file if it doesn't exist. - */ - private createRuleDirectory(): void { - const subPath: string = dirname(this.rulePath); - if (!existsSync(subPath)) { - mkdirSync(subPath, { recursive: true }); - } - } - - /** - * Generate a file with the rule typings. - */ - public async generate(): Promise { - this.appendRuleConfigImport(); - await this.appendRuleSchemaTypes(); - - if (this.mainSchema) { - this.appendRuleOptions(); - } - - this.appendRuleConfig(); - this.appendRule(); - - this.content = await format(this.content); - - return this.content; - } - - /** - * Must be called after `generate()` to write the file. - */ - public writeGeneratedContent(): void { - this.createRuleDirectory(); - - writeFileSync(this.rulePath, this.content); - } - - /** - * Apply a patch to the generated content if a diff file exists for it. - * - * Must be called after `generate()`. - */ - public applyPatch(): void { - const pathParts: string[] = this.rulePath.split('/'); - const ruleFileName: string = pathParts[pathParts.length - 1] ?? ''; - const rulePlugin: string = pathParts[pathParts.length - 2] ?? ''; - - const diffFile: string = resolve( - __dirname, - '..', - 'diffs', - 'rules', - rulePlugin, - `${ruleFileName}.diff`, - ); - - const ruleName: string = this.prefixedRuleName(); - - if (existsSync(diffFile)) { - logger.logUpdate(logger.colors.yellow(` 🧹 Adjusting ${ruleName}`)); - logger.logUpdatePersist(); - - execSync(`git apply ${diffFile}`); - } - } -} diff --git a/src/config/extends/eslint-plugin-eslint-comment.d.ts b/src/config/extends/eslint-plugin-eslint-comment.d.ts deleted file mode 100644 index 29f33fbf..00000000 --- a/src/config/extends/eslint-plugin-eslint-comment.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Eslint EslintComments extends. - * - * @see [Eslint EslintComments extends](https://mysticatea.github.io/eslint-plugin-eslint-comments/#%F0%9F%93%96-usage) - */ -export type EslintCommentsExtends = 'plugin:eslint-comments/recommended'; diff --git a/src/config/extends/eslint-plugin-graphql.d.ts b/src/config/extends/eslint-plugin-graphql.d.ts deleted file mode 100644 index 811ba90e..00000000 --- a/src/config/extends/eslint-plugin-graphql.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Eslint GraphQL extends. - * - * @see [Eslint GraphQL extends](https://the-guild.dev/graphql/eslint/docs/configs) - */ -export type GraphqlExtends = - | 'plugin:@graphql-eslint/operations-all' - | 'plugin:@graphql-eslint/operations-recommended' - | 'plugin:@graphql-eslint/relay' - | 'plugin:@graphql-eslint/schema-all' - | 'plugin:@graphql-eslint/schema-recommended'; diff --git a/src/config/extends/eslint-plugin-import.d.ts b/src/config/extends/eslint-plugin-import.d.ts deleted file mode 100644 index c8b1b009..00000000 --- a/src/config/extends/eslint-plugin-import.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Eslint import extends. - * - * @see [Eslint import extends](https://github.com/benmosher/eslint-plugin-import#installation) - */ -export type ImportExtends = - | 'plugin:import/errors' - | 'plugin:import/warnings' - | 'plugin:import/typescript'; diff --git a/src/config/extends/eslint-plugin-jsdoc.d.ts b/src/config/extends/eslint-plugin-jsdoc.d.ts deleted file mode 100644 index 2c29851f..00000000 --- a/src/config/extends/eslint-plugin-jsdoc.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Eslint JSDoc extends. - * - * @see [Eslint JSDoc extends](https://github.com/gajus/eslint-plugin-jsdoc#configuration) - */ -export type JsdocExtends = 'plugin:jsdoc/recommended'; diff --git a/src/config/extends/eslint-plugin-jsonc.d.ts b/src/config/extends/eslint-plugin-jsonc.d.ts deleted file mode 100644 index f4d41e6b..00000000 --- a/src/config/extends/eslint-plugin-jsonc.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Eslint Jsonc extends. - * - * @see [Eslint Jsonc extends](https://github.com/ota-meshi/eslint-plugin-jsonc#configuration) - */ -export type JsoncExtends = - | 'plugin:jsdoc/base' - | 'plugin:jsdoc/recommended' - | 'plugin:jsonc/recommended-with-json' - | 'plugin:jsonc/recommended-with-jsonc' - | 'plugin:jsonc/recommended-with-json5' - | 'plugin:jsonc/prettier' - | 'plugin:jsonc/all'; diff --git a/src/config/extends/eslint-plugin-jsx-a11y.d.ts b/src/config/extends/eslint-plugin-jsx-a11y.d.ts deleted file mode 100644 index a1ccc6cb..00000000 --- a/src/config/extends/eslint-plugin-jsx-a11y.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Eslint JSX A11y extends. - * - * @see [Eslint JSX A11y extends](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) - */ -export type JsxA11yExtends = - | 'plugin:jsx-a11y/strict' - | 'plugin:jsx-a11y/recommended'; diff --git a/src/config/extends/eslint-plugin-mdx.d.ts b/src/config/extends/eslint-plugin-mdx.d.ts deleted file mode 100644 index e4c9038a..00000000 --- a/src/config/extends/eslint-plugin-mdx.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Eslint MDX extends. - * - * @see [Eslint MDX extends](https://github.com/mdx-js/eslint-mdx/tree/master/packages/eslint-plugin-mdx) - */ -export type MdxExtends = - | 'plugin:mdx/base' - | 'plugin:mdx/code-blocks' - | 'plugin:mdx/overrides' - | 'plugin:mdx/recommended'; diff --git a/src/config/extends/eslint-plugin-n.d.ts b/src/config/extends/eslint-plugin-n.d.ts deleted file mode 100644 index f7a9666d..00000000 --- a/src/config/extends/eslint-plugin-n.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Eslint N (Node) extends. - * - * @see [Eslint N extends](https://github.com/eslint-community/eslint-plugin-n#-configs) - */ -export type NExtends = - | 'plugin:n/recommended' - | 'plugin:n/recommended-module' - | 'plugin:n/recommended-script'; diff --git a/src/config/extends/eslint-plugin-node.d.ts b/src/config/extends/eslint-plugin-node.d.ts deleted file mode 100644 index 8eb10fcf..00000000 --- a/src/config/extends/eslint-plugin-node.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Eslint Node extends. - * - * @see [Eslint Node extends](https://github.com/mysticatea/eslint-plugin-node#-configs) - */ -export type NodeExtends = - | 'plugin:node/recommended' - | 'plugin:node/recommended-module' - | 'plugin:node/recommended-script'; diff --git a/src/config/extends/eslint-plugin-prettier.d.ts b/src/config/extends/eslint-plugin-prettier.d.ts deleted file mode 100644 index f9b54992..00000000 --- a/src/config/extends/eslint-plugin-prettier.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Eslint Prettier extends. - * - * @see [Eslint Prettier extends](https://github.com/prettier/eslint-plugin-prettier#recommended-configuration) - */ -export type PrettierExtends = 'plugin:prettier/recommended' | 'prettier'; diff --git a/src/config/extends/eslint-plugin-promise.d.ts b/src/config/extends/eslint-plugin-promise.d.ts deleted file mode 100644 index fa3840a2..00000000 --- a/src/config/extends/eslint-plugin-promise.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Eslint promise extends. - * - * @see [Eslint promise extends](https://github.com/eslint-community/eslint-plugin-promise#usage) - */ -export type PromiseExtends = 'plugin:promise/recommended'; diff --git a/src/config/extends/eslint-plugin-react-hooks.d.ts b/src/config/extends/eslint-plugin-react-hooks.d.ts deleted file mode 100644 index a28c5951..00000000 --- a/src/config/extends/eslint-plugin-react-hooks.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Eslint ReactHooks extends. - * - * @see [Eslint ReactHooks extends](https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks) - */ -export type ReactHooksExtends = 'plugin:react-hooks/recommended'; diff --git a/src/config/extends/eslint-plugin-react.d.ts b/src/config/extends/eslint-plugin-react.d.ts deleted file mode 100644 index b3777699..00000000 --- a/src/config/extends/eslint-plugin-react.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Eslint React extends. - * - * @see [Eslint React extends](https://github.com/jsx-eslint/eslint-plugin-react) - */ -export type ReactExtends = - | 'plugin:react/all' - | 'plugin:react/jsx-runtime' - | 'plugin:react/recommended'; diff --git a/src/config/extends/eslint-plugin-sonarjs.d.ts b/src/config/extends/eslint-plugin-sonarjs.d.ts deleted file mode 100644 index 946abe60..00000000 --- a/src/config/extends/eslint-plugin-sonarjs.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Eslint Sonarjs extends. - * - * @see [Eslint Sonarjs extends](https://github.com/SonarSource/eslint-plugin-sonarjs#available-configurations) - */ -export type SonarjsExtends = 'plugin:sonarjs/recommended'; diff --git a/src/config/extends/eslint-plugin-testing-library.d.ts b/src/config/extends/eslint-plugin-testing-library.d.ts deleted file mode 100644 index 216bb7c2..00000000 --- a/src/config/extends/eslint-plugin-testing-library.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Eslint TestingLibrary extends. - * - * @see [Eslint TestingLibrary extends](https://github.com/testing-library/eslint-plugin-testing-library) - */ -export type TestingLibraryExtends = - | 'plugin:testing-library/angular' - | 'plugin:testing-library/dom' - | 'plugin:testing-library/marko' - | 'plugin:testing-library/react' - | 'plugin:testing-library/vue'; diff --git a/src/config/extends/eslint-plugin-unicorn.d.ts b/src/config/extends/eslint-plugin-unicorn.d.ts deleted file mode 100644 index 3233d5e2..00000000 --- a/src/config/extends/eslint-plugin-unicorn.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Eslint Unicorn extends. - * - * @see [Eslint Unicorn extends](https://github.com/sindresorhus/eslint-plugin-unicorn) - */ -export type UnicornExtends = - | 'plugin:unicorn/recommended' - | 'plugin:unicorn/all'; diff --git a/src/config/extends/eslint-plugin-vitest.d.ts b/src/config/extends/eslint-plugin-vitest.d.ts deleted file mode 100644 index 5e1a9b69..00000000 --- a/src/config/extends/eslint-plugin-vitest.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Eslint Vitest extends. - * - * @see [Eslint Vitest extends](https://eslint.vuejs.org/user-guide/#usage) - */ -export type VitestExtends = 'plugin:vitest/all' | 'plugin:vitest/recommended'; diff --git a/src/config/extends/eslint-plugin-vue-pug.d.ts b/src/config/extends/eslint-plugin-vue-pug.d.ts deleted file mode 100644 index 9813f9e2..00000000 --- a/src/config/extends/eslint-plugin-vue-pug.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Eslint Vue Pug extends. - * - * @see [Eslint Vue Pug extends](https://github.com/rashfael/eslint-plugin-vue-pug#usage) - */ -export type VuePugExtends = - | 'plugin:vue-pug/base' - | 'plugin:vue-pug/vue3-essential' - | 'plugin:vue-pug/vue3-strongly-recommended' - | 'plugin:vue-pug/vue3-recommended' - | 'plugin:vue-pug/essential' - | 'plugin:vue-pug/strongly-recommended' - | 'plugin:vue-pug/recommended'; diff --git a/src/config/extends/eslint-plugin-vue.d.ts b/src/config/extends/eslint-plugin-vue.d.ts deleted file mode 100644 index 1a268feb..00000000 --- a/src/config/extends/eslint-plugin-vue.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Eslint Vue extends. - * - * @see [Eslint Vue extends](https://eslint.vuejs.org/user-guide/#usage) - */ -export type VueExtends = - | 'plugin:vue/base' - | 'plugin:vue/vue3-essential' - | 'plugin:vue/vue3-strongly-recommended' - | 'plugin:vue/vue3-recommended' - | 'plugin:vue/essential' - | 'plugin:vue/strongly-recommended' - | 'plugin:vue/recommended'; diff --git a/src/config/extends/eslint.d.ts b/src/config/extends/eslint.d.ts deleted file mode 100644 index 1ce09693..00000000 --- a/src/config/extends/eslint.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Eslint extends. - */ -export type EslintExtends = 'eslint:recommended' | 'eslint:all'; diff --git a/src/config/extends/index.d.ts b/src/config/extends/index.d.ts index 57a5c9a0..1c7286ff 100644 --- a/src/config/extends/index.d.ts +++ b/src/config/extends/index.d.ts @@ -1,25 +1,4 @@ import type { LiteralUnion } from '../../utility-types'; -import type { EslintExtends } from './eslint'; -import type { EslintCommentsExtends } from './eslint-plugin-eslint-comment'; -import type { GraphqlExtends } from './eslint-plugin-graphql'; -import type { ImportExtends } from './eslint-plugin-import'; -import type { JsdocExtends } from './eslint-plugin-jsdoc'; -import type { JsoncExtends } from './eslint-plugin-jsonc'; -import type { MdxExtends } from './eslint-plugin-mdx'; -import type { NExtends } from './eslint-plugin-n'; -import type { NodeExtends } from './eslint-plugin-node'; -import type { PrettierExtends } from './eslint-plugin-prettier'; -import type { PromiseExtends } from './eslint-plugin-promise'; -import type { ReactExtends } from './eslint-plugin-react'; -import type { ReactHooksExtends } from './eslint-plugin-react-hooks'; -import type { SonarjsExtends } from './eslint-plugin-sonarjs'; -import type { TestingLibraryExtends } from './eslint-plugin-testing-library'; -import type { UnicornExtends } from './eslint-plugin-unicorn'; -import type { VitestExtends } from './eslint-plugin-vitest'; -import type { VueExtends } from './eslint-plugin-vue'; -import type { VuePugExtends } from './eslint-plugin-vue-pug'; -import type { IntlifyVueI18nExtends } from './intlify-vue-i18n'; -import type { TypescriptEslintExtends } from './typescript-eslint'; /** * This is a special exported interface for other packages to declare @@ -49,27 +28,8 @@ export interface CustomExtends {} * All known extends. */ export type KnownExtends = LiteralUnion< - | EslintCommentsExtends - | EslintExtends - | GraphqlExtends - | ImportExtends - | IntlifyVueI18nExtends - | JsdocExtends - | JsoncExtends - | MdxExtends - | NExtends - | NodeExtends - | PrettierExtends - | PromiseExtends - | ReactExtends - | ReactHooksExtends - | SonarjsExtends - | TestingLibraryExtends - | TypescriptEslintExtends - | UnicornExtends - | VitestExtends - | VueExtends - | VuePugExtends + | 'eslint:recommended' + | 'eslint:all' // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents | keyof CustomExtends >; diff --git a/src/config/extends/intlify-vue-i18n.d.ts b/src/config/extends/intlify-vue-i18n.d.ts deleted file mode 100644 index 6235336b..00000000 --- a/src/config/extends/intlify-vue-i18n.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Eslint Intlify VueI18n extends. - * - * @see [Eslint Intlify VueI18n extends](https://eslint-plugin-vue-i18n.intlify.dev/started.html) - */ -export type IntlifyVueI18nExtends = 'plugin:@intlify/vue-i18n/recommended'; diff --git a/src/config/extends/typescript-eslint.d.ts b/src/config/extends/typescript-eslint.d.ts deleted file mode 100644 index 0349b4cc..00000000 --- a/src/config/extends/typescript-eslint.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Typescript eslint extends. - * - * @see [Typescript eslint extends](https://typescript-eslint.io/linting/configs#recommended-configurations) - */ -export type TypescriptEslintExtends = - | 'plugin:@typescript-eslint/all' - | 'plugin:@typescript-eslint/base' - | 'plugin:@typescript-eslint/disable-type-checked' - | 'plugin:@typescript-eslint/eslint-recommended' - | 'plugin:@typescript-eslint/recommended-requiring-type-checking' // this requiring-type-checking is deprecated and only for @typescript-eslint/eslint-plugin@v5 - | 'plugin:@typescript-eslint/recommended-type-checked' - | 'plugin:@typescript-eslint/recommended' - | 'plugin:@typescript-eslint/strict-type-checked' - | 'plugin:@typescript-eslint/strict' - | 'plugin:@typescript-eslint/stylistic-type-checked' - | 'plugin:@typescript-eslint/stylistic'; diff --git a/src/config/plugin.d.ts b/src/config/plugin.d.ts index 6dd8d25f..ca0f489d 100644 --- a/src/config/plugin.d.ts +++ b/src/config/plugin.d.ts @@ -16,25 +16,4 @@ import type { LiteralUnion } from '../utility-types'; export interface CustomPlugins {} /** Plugin. */ -export type Plugin = LiteralUnion< - | '@graphql-eslint' - | '@typescript-eslint' - | 'deprecation' - | 'import' - | 'inclusive-language' - | 'jsdoc' - | 'jsx-a11y' - | 'mdx' - | 'prettier' - | 'promise' - | 'react-hooks' - | 'react' - | 'sonarjs' - | 'spellcheck' - | 'testing-library' - | 'unicorn' - | 'vitest' - | 'vue' - // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents - | keyof CustomPlugins ->; +export type Plugin = LiteralUnion; diff --git a/src/config/settings/import.d.ts b/src/config/settings/import.d.ts deleted file mode 100644 index c5489997..00000000 --- a/src/config/settings/import.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import type { Parser } from '../../parser-options'; - -/** - * Import settings. - */ -export interface ImportSettings { - /** - * A list of file extensions that will be parsed as modules and inspected for `export`s. - * - * @see [import/extensions](https://github.com/benmosher/eslint-plugin-import/blob/master/README.md#importextensions) - */ - 'import/extensions'?: string[]; - - /** - * If you require more granular extension definitions. - * - * @see [import/resolver](https://github.com/benmosher/eslint-plugin-import/blob/master/README.md#importresolver) - */ - 'import/resolver'?: string | Record; - - /** - * A list of regex strings that, if matched by a path, will not report the matching module if no `exports` are found. - * - * @see [import/ignore](https://github.com/benmosher/eslint-plugin-import/blob/master/README.md#importignore) - */ - 'import/ignore'?: string[]; - - /** - * An array of additional modules to consider as "core" modules--modules that should be considered resolved but have no path on the filesystem. - * - * @see [import/core-modules](https://github.com/benmosher/eslint-plugin-import/blob/master/README.md#importcore-modules) - */ - 'import/core-modules'?: string[]; - - /** - * An array of folders. Resolved modules only from those folders will be considered as "external". - * - * @default ["node_modules"] - * - * @see [import/external-module-folders](https://github.com/benmosher/eslint-plugin-import/blob/master/README.md#importexternal-module-folders) - */ - 'import/external-module-folders'?: string[]; - - /** - * A map from parsers to file extension arrays. - * - * @see [import/parsers](https://github.com/benmosher/eslint-plugin-import/blob/master/README.md#importparsers) - */ - 'import/parsers'?: Partial>; - - /** - * Settings for cache behavior. - * - * @see [import/cache](https://github.com/benmosher/eslint-plugin-import/blob/master/README.md#importcache) - */ - 'import/cache'?: { lifetime?: number } & Record; - - /** - * A regex for packages should be treated as internal. - * - * Useful when you are utilizing a monorepo setup or developing a set of packages that depend on each other. - * - * @see [import/internal-regex](https://github.com/benmosher/eslint-plugin-import/blob/master/README.md#importinternal-regex) - */ - 'import/internal-regex'?: string; -} diff --git a/src/config/settings/index.d.ts b/src/config/settings/index.d.ts index 62fe8ca4..7160db11 100644 --- a/src/config/settings/index.d.ts +++ b/src/config/settings/index.d.ts @@ -1,10 +1,3 @@ -import type { ImportSettings } from './import'; -import type { JSDocSettings } from './jsdoc'; -import type { JsxA11ySettings } from './jsx-a11y'; -import type { MdxSettings } from './mdx'; -import type { NodeSettings } from './node'; -import type { ReactSettings } from './react'; - /** * This is a special exported interface for other packages to declare * additional settings that should bail out for eslint settings. For example @@ -26,11 +19,5 @@ export interface CustomSettings {} * Settings. */ export interface Settings - extends ImportSettings, - JSDocSettings, - JsxA11ySettings, - MdxSettings, - NodeSettings, - ReactSettings, - Partial, + extends Partial, Partial> {} diff --git a/src/config/settings/jsdoc.d.ts b/src/config/settings/jsdoc.d.ts deleted file mode 100644 index 94394cfa..00000000 --- a/src/config/settings/jsdoc.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * JSDoc settings. - */ -export interface JSDocSetting extends Partial> { - /** - * Disables all rules for the comment block on which a `@private` tag (or `@access private`) occurs. - * - * Defaults to `false`. - * - * Note: This has no effect with the rule `check-access` (whose purpose is to check access modifiers) or `empty-tags` (which checks `@private` itself). - * - * @see [mode](https://github.com/gajus/eslint-plugin-jsdoc#allow-tags-private-or-internal-to-disable-rules-for-that-comment-block) - */ - ignorePrivate?: boolean; - - /** - * Disables all rules for the comment block on which a `@internal` tag occurs. - * - * Defaults to `false`. - * - * Note: This has no effect with the rule `empty-tags` (which checks `@internal` itself). - * - * @see [mode](https://github.com/gajus/eslint-plugin-jsdoc#allow-tags-private-or-internal-to-disable-rules-for-that-comment-block) - */ - ignoreInternal?: boolean; - - /** - * Set to `typescript`, `closure`, or `jsdoc` (the default unless the `@typescript-eslint` parser is in use in which case `typescript` will be the default). - * - * @see [mode](https://github.com/gajus/eslint-plugin-jsdoc#mode) - */ - mode?: 'typescript' | 'closure' | 'jsdoc'; - - /** - * Configure a preferred alias name for a JSDoc tag. - * - * @see [Alias Preference](https://github.com/gajus/eslint-plugin-jsdoc#alias-preference) - */ - tagNamePreference?: Record< - string, - string | { message: string; replacement?: string } | false - >; - overrideReplacesDocs?: boolean; - augmentsExtendsReplacesDocs?: boolean; - implementsReplacesDocs?: boolean; - preferredTypes?: unknown; -} - -/** - * JSDoc settings. - */ -export interface JSDocSettings { - /** - * JSDoc settings. - * - * @see [JSDoc settings](https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-settings) - */ - jsdoc?: JSDocSetting; -} diff --git a/src/config/settings/jsx-a11y.d.ts b/src/config/settings/jsx-a11y.d.ts deleted file mode 100644 index 4622b686..00000000 --- a/src/config/settings/jsx-a11y.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * JSX A11y settings. - * - * @see [JSX A11y settings](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) - */ -export interface JsxA11ySettings extends Partial> { - 'jsx-a11y'?: { - components?: Record; - }; -} diff --git a/src/config/settings/mdx.d.ts b/src/config/settings/mdx.d.ts deleted file mode 100644 index fe8e284c..00000000 --- a/src/config/settings/mdx.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { ESLintMdxSettings } from 'eslint-plugin-mdx'; - -/** - * MDX settings. - */ -export type MdxSettings = ESLintMdxSettings; diff --git a/src/config/settings/node.d.ts b/src/config/settings/node.d.ts deleted file mode 100644 index f7a0f49d..00000000 --- a/src/config/settings/node.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Node settings. - */ -export interface NodeSetting extends Partial> { - allowModules?: string[]; - resolvePaths?: string[]; - tryExtensions?: string[]; -} - -/** - * Node settings. - */ -export interface NodeSettings { - /** - * Node settings. - */ - node?: NodeSetting; -} diff --git a/src/config/settings/react.d.ts b/src/config/settings/react.d.ts deleted file mode 100644 index 99ebee58..00000000 --- a/src/config/settings/react.d.ts +++ /dev/null @@ -1,103 +0,0 @@ -import type { LiteralUnion } from '../../utility-types'; - -/** - * React settings. - * - * @see [React settings](https://github.com/jsx-eslint/eslint-plugin-react) - */ -export interface ReactSettings extends Partial> { - react?: { - /** - * Regex for Component Factory to use. - * - * @default 'createReactClass' - */ - createClass?: LiteralUnion<'createReactClass'>; - - /** - * Pragma to use. - * - * @default 'React' - */ - pragma?: LiteralUnion<'React'>; - - /** - * Fragment to use (may be a property of ). - * - * @default 'Fragment' - */ - fragment?: LiteralUnion<'Fragment'>; - - /** - * React version. "detect" automatically picks the version you have installed. - * - * You can also use `16.0`, `16.3`, etc, if you want to override the detected value. - * - * It will default to "latest" and warn if missing, and to "detect" in the future. - * - * @default 'latest' - */ - version?: LiteralUnion<'latest' | 'detect'>; - - /** - * Flow version. - */ - flowVersion?: string; - }; - - /** - * The names of any function used to wrap propTypes, e.g. `forbidExtraProps`. - * - * If this isn't set, any propTypes wrapped in a function will be skipped. - */ - propWrapperFunctions?: Array< - | string - | { - property: string; - object?: string; - /** - * For rules that check exact prop wrappers. - */ - exact?: boolean; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - [k: string]: any; - } - >; - - /** - * The name of any function used to wrap components, e.g. Mobx `observer` function. - * - * If this isn't set, components wrapped by these functions will be skipped. - */ - componentWrapperFunctions?: Array< - | string - | { - property: string; - object?: string; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - [k: string]: any; - } - >; - - /** - * Components used as alternatives to
for forms, eg. . - */ - formComponents?: Array< - | string - | { - name: string; - formAttribute: string; - } - >; - - /** - * Components used as alternatives to for linking, eg. . - */ - linkComponents?: Array< - | string - | { - name: string; - linkAttribute: string; - } - >; -} diff --git a/src/config/settings/testing-library.d.ts b/src/config/settings/testing-library.d.ts deleted file mode 100644 index 01c5461d..00000000 --- a/src/config/settings/testing-library.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import type { LiteralUnion } from '../../utility-types'; - -/** - * Testing Library settings. - * - * @see [Testing Library settings](https://github.com/testing-library/eslint-plugin-testing-library) - */ -export interface TestingLibrarySettings - extends Partial> { - /** - * @see [testing-library/custom-queries](https://github.com/testing-library/eslint-plugin-testing-library#testing-librarycustom-queries) - */ - 'testing-library/custom-queries'?: 'off' | string[]; - - /** - * @see [testing-library/custom-renders](https://github.com/testing-library/eslint-plugin-testing-library#testing-librarycustom-renders) - */ - 'testing-library/custom-renders'?: 'off' | string[]; - - /** - * @see [testing-library/utils-module](https://github.com/testing-library/eslint-plugin-testing-library#testing-libraryutils-module) - */ - 'testing-library/utils-module'?: LiteralUnion<'off'>; -} diff --git a/src/flat-config/index.d.ts b/src/flat-config/index.d.ts index a6660882..a00653ab 100644 --- a/src/flat-config/index.d.ts +++ b/src/flat-config/index.d.ts @@ -8,7 +8,7 @@ import type { LinterOptions } from './linter-options'; * * @see [Configuration Files (New)](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new) */ -export interface FlatESLintConfigItem { +export interface FlatESLintConfig { /** * An array of glob patterns indicating the files that the configuration object should apply to. If not specified, the configuration object applies to all files. * @@ -65,16 +65,5 @@ export interface FlatESLintConfigItem { settings?: Record; } -/** - * Predefined configurations. - * - * @see [Using predefined configurations](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-predefined-configurations) - * - * @deprecated The predefined string configurations are deprecated and will be replaced by the @eslint/js package. - */ -export type PredefinedConfig = 'eslint:recommended' | 'eslint:all'; - -export type FlatESLintConfig = FlatESLintConfigItem | PredefinedConfig; - export * from './language-options'; export * from './linter-options'; diff --git a/src/parser-options.d.ts b/src/parser-options.d.ts index a0325f1e..38a1f378 100644 --- a/src/parser-options.d.ts +++ b/src/parser-options.d.ts @@ -127,11 +127,6 @@ export type Lib = LiteralUnion< | 'lib' >; -/** DebugLevel. */ -export type DebugLevel = - | boolean - | Array<'eslint' | 'typescript' | 'typescript-eslint'>; - /** * This is a special exported interface for other packages to declare * additional parsers that should bail out for eslint parsers. For example @@ -148,14 +143,7 @@ export type DebugLevel = export interface CustomParsers {} /** Parser. */ -export type Parser = LiteralUnion< - | 'babel-eslint' - | '@typescript-eslint/parser' - | 'jsonc-eslint-parser' - | 'vue-eslint-parser' - // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents - | keyof CustomParsers ->; +export type Parser = LiteralUnion; /** * This is a special exported interface for other packages to declare @@ -240,70 +228,6 @@ export interface ParserOptions */ ecmaFeatures?: EcmaFeatures; - /** - * The identifier that's used for JSX Elements creation (after transpilation). - * If you're using a library other than React (like `preact`), then you should change this value. - * If you are using the [new JSX transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) you can set this to `null`. - * - * This should not be a member expression - just the root identifier (i.e. use `"React"` instead of `"React.createElement"`). - * - * If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler. - * - * @default 'React' - * - * @see [jsxPragma](https://typescript-eslint.io/architecture/parser#jsxpragma) - */ - jsxPragma?: string; - - /** - * The identifier that's used for JSX fragment elements (after transpilation). - * If `null`, assumes transpilation will always use a member of the configured `jsxPragma`. - * This should not be a member expression - just the root identifier (i.e. use `"h"` instead of `"h.Fragment"`). - * - * If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler. - * - * @default null - * - * @see [jsxFragmentName](https://typescript-eslint.io/architecture/parser#jsxfragmentname) - */ - jsxFragmentName?: string | null; - - /** - * For valid options, see the [TypeScript compiler options](https://www.typescriptlang.org/tsconfig#lib). - * - * Specifies the TypeScript `libs` that are available. - * This is used by the scope analyser to ensure there are global variables declared for the types exposed by TypeScript. - * - * If you provide `parserOptions.project`, you do not need to set this, as it will automatically detected from the compiler. - * - * @default ['es2018'] - * - * @see [lib](https://typescript-eslint.io/architecture/parser/#lib) - */ - lib?: Lib[]; - - comment?: boolean; - - debugLevel?: DebugLevel; - - errorOnTypeScriptSyntacticAndSemanticIssues?: boolean; - - errorOnUnknownASTType?: boolean; - - /** - * This option allows you to provide one or more additional file extensions which should be considered in the TypeScript Program compilation. - * - * The default extensions are `.ts`, `.tsx`, `.js`, and `.jsx`. Add extensions starting with `.`, followed by the file extension. - * E.g. for a `.vue` file use `"extraFileExtensions: [".vue"]`. - * - * @see [extraFileExtensions](https://typescript-eslint.io/architecture/parser/#extrafileextensions) - */ - extraFileExtensions?: string[]; - - filePath?: string; - - loc?: boolean; - /** * Parser. * @@ -311,92 +235,4 @@ export interface ParserOptions * @see [Specifying Parser](https://eslint.org/docs/user-guide/configuring/plugins#specifying-parser) */ parser?: Parser; - - /** - * This option allows you to provide a path to your project's `tsconfig.json`. - * **This setting is required if you want to use rules which require type information.** - * Relative paths are interpreted relative to the current working directory if `tsconfigRootDir` is not set. - * If you intend on running ESLint from directories other than the project root, you should consider using `tsconfigRootDir`. - * - * @default undefined - * - * @see [project](https://typescript-eslint.io/architecture/parser/#project) - */ - project?: string | string[] | true | null; - - /** - * This option allows you to ignore folders from being included in your provided list of `project`s. - * This is useful if you have configured glob patterns, but want to make sure you ignore certain folders. - * - * It accepts an array of globs to exclude from the `project` globs. - * - * For example, by default it will ensure that a glob like `./**‎/tsconfig.json` will not match any `tsconfigs` within your `node_modules` folder (some npm packages do not exclude their source files from their published packages). - * - * @default ['**‎/node_modules/**'] - * - * @see [projectFolderIgnoreList](https://typescript-eslint.io/architecture/parser/#projectfolderignorelist) - */ - projectFolderIgnoreList?: Array; - - range?: boolean; - - tokens?: boolean; - - /** - * This option allows you to provide the root directory for relative tsconfig paths specified in the `project` option above. - * - * @see [tsconfigRootDir](https://typescript-eslint.io/architecture/parser/#tsconfigrootdir) - */ - tsconfigRootDir?: string; - - useJSXTextNode?: boolean; - - /** - * This option allows you to toggle the warning that the parser will give you if you use a version of TypeScript which is not explicitly supported. - * - * @default true - * - * @see [warnOnUnsupportedTypeScriptVersion](https://typescript-eslint.io/architecture/parser/#warnonunsupportedtypescriptversion) - */ - warnOnUnsupportedTypeScriptVersion?: boolean; - - /** - * This option allow you to tell parser to act as if `emitDecoratorMetadata: true` is set in `tsconfig.json`, but without [type-aware linting](https://typescript-eslint.io/linting/typed-linting). - * In other words, you don't have to specify `parserOptions.project` in this case, making the linting process faster. - * - * @default undefined - * - * @see [emitDecoratorMetadata](https://typescript-eslint.io/architecture/parser/#emitdecoratormetadata) - */ - emitDecoratorMetadata?: boolean; - - /** - * @see [vueFeatures](https://github.com/vuejs/vue-eslint-parser#parseroptionsvuefeatures) - */ - vueFeatures?: { - /** - * You can use `parserOptions.vueFeatures.filter` property to specify whether to parse the Vue2 filter. - * - * If you specify `false`, the parser does not parse `|` as a filter. - * - * @see [filter](https://github.com/vuejs/vue-eslint-parser#parseroptionsvuefeaturesfilter) - */ - filter?: boolean; - - /** - * You can use `parserOptions.vueFeatures.interpolationAsNonHTML` property to specify whether to parse the interpolation as HTML. - * - * If you specify `true`, the parser handles the interpolation as non-HTML (However, you can use HTML escaping in the interpolation). - * - * @see [interpolationAsNonHTML](https://github.com/vuejs/vue-eslint-parser#parseroptionsvuefeaturesinterpolationasnonhtml) - */ - interpolationAsNonHTML?: boolean; - }; - - /** - * @see [templateTokenizer](https://github.com/rashfael/eslint-plugin-vue-pug#usage) - */ - templateTokenizer?: { - pug?: LiteralUnion<'vue-eslint-parser-template-tokenizer-pug'>; - }; } diff --git a/src/rules/deprecation/deprecation.d.ts b/src/rules/deprecation/deprecation.d.ts deleted file mode 100644 index 2eb3c67f..00000000 --- a/src/rules/deprecation/deprecation.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Do not use deprecated APIs. - * - * @see [deprecation](https://github.com/gund/eslint-plugin-deprecation) - */ -export type DeprecationRuleConfig = RuleConfig<[]>; - -/** - * Do not use deprecated APIs. - * - * @see [deprecation](https://github.com/gund/eslint-plugin-deprecation) - */ -export interface DeprecationRule { - /** - * Do not use deprecated APIs. - * - * @see [deprecation](https://github.com/gund/eslint-plugin-deprecation) - */ - 'deprecation/deprecation': DeprecationRuleConfig; -} diff --git a/src/rules/deprecation/index.d.ts b/src/rules/deprecation/index.d.ts deleted file mode 100644 index f1088f15..00000000 --- a/src/rules/deprecation/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { DeprecationRule } from './deprecation'; - -/** - * All Deprecation rules. - */ -export type DeprecationRules = DeprecationRule; diff --git a/src/rules/eslint-comments/disable-enable-pair.d.ts b/src/rules/eslint-comments/disable-enable-pair.d.ts deleted file mode 100644 index 4a8531dd..00000000 --- a/src/rules/eslint-comments/disable-enable-pair.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface DisableEnablePairOption { - allowWholeFile?: boolean; -} - -/** - * Options. - */ -export type DisableEnablePairOptions = [DisableEnablePairOption?]; - -/** - * Require a `eslint-enable` comment for every `eslint-disable` comment. - * - * @see [disable-enable-pair](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html) - */ -export type DisableEnablePairRuleConfig = RuleConfig; - -/** - * Require a `eslint-enable` comment for every `eslint-disable` comment. - * - * @see [disable-enable-pair](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html) - */ -export interface DisableEnablePairRule { - /** - * Require a `eslint-enable` comment for every `eslint-disable` comment. - * - * @see [disable-enable-pair](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html) - */ - 'eslint-comments/disable-enable-pair': DisableEnablePairRuleConfig; -} diff --git a/src/rules/eslint-comments/index.d.ts b/src/rules/eslint-comments/index.d.ts deleted file mode 100644 index 7a8eac43..00000000 --- a/src/rules/eslint-comments/index.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { DisableEnablePairRule } from './disable-enable-pair'; -import type { NoAggregatingEnableRule } from './no-aggregating-enable'; -import type { NoDuplicateDisableRule } from './no-duplicate-disable'; -import type { NoRestrictedDisableRule } from './no-restricted-disable'; -import type { NoUnlimitedDisableRule } from './no-unlimited-disable'; -import type { NoUnusedDisableRule } from './no-unused-disable'; -import type { NoUnusedEnableRule } from './no-unused-enable'; -import type { NoUseRule } from './no-use'; -import type { RequireDescriptionRule } from './require-description'; - -/** - * All EslintComments rules. - */ -export type EslintCommentsRules = DisableEnablePairRule & - NoAggregatingEnableRule & - NoDuplicateDisableRule & - NoRestrictedDisableRule & - NoUnlimitedDisableRule & - NoUnusedDisableRule & - NoUnusedEnableRule & - NoUseRule & - RequireDescriptionRule; diff --git a/src/rules/eslint-comments/no-aggregating-enable.d.ts b/src/rules/eslint-comments/no-aggregating-enable.d.ts deleted file mode 100644 index f8a3e387..00000000 --- a/src/rules/eslint-comments/no-aggregating-enable.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow a `eslint-enable` comment for multiple `eslint-disable` comments. - * - * @see [no-aggregating-enable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html) - */ -export type NoAggregatingEnableRuleConfig = RuleConfig<[]>; - -/** - * Disallow a `eslint-enable` comment for multiple `eslint-disable` comments. - * - * @see [no-aggregating-enable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html) - */ -export interface NoAggregatingEnableRule { - /** - * Disallow a `eslint-enable` comment for multiple `eslint-disable` comments. - * - * @see [no-aggregating-enable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html) - */ - 'eslint-comments/no-aggregating-enable': NoAggregatingEnableRuleConfig; -} diff --git a/src/rules/eslint-comments/no-duplicate-disable.d.ts b/src/rules/eslint-comments/no-duplicate-disable.d.ts deleted file mode 100644 index 82c9f11d..00000000 --- a/src/rules/eslint-comments/no-duplicate-disable.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow duplicate `eslint-disable` comments. - * - * @see [no-duplicate-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html) - */ -export type NoDuplicateDisableRuleConfig = RuleConfig<[]>; - -/** - * Disallow duplicate `eslint-disable` comments. - * - * @see [no-duplicate-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html) - */ -export interface NoDuplicateDisableRule { - /** - * Disallow duplicate `eslint-disable` comments. - * - * @see [no-duplicate-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html) - */ - 'eslint-comments/no-duplicate-disable': NoDuplicateDisableRuleConfig; -} diff --git a/src/rules/eslint-comments/no-restricted-disable.d.ts b/src/rules/eslint-comments/no-restricted-disable.d.ts deleted file mode 100644 index 4e366d6a..00000000 --- a/src/rules/eslint-comments/no-restricted-disable.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoRestrictedDisableOption = string[]; - -/** - * Options. - */ -export type NoRestrictedDisableOptions = NoRestrictedDisableOption; - -/** - * Disallow `eslint-disable` comments about specific rules. - * - * @see [no-restricted-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html) - */ -export type NoRestrictedDisableRuleConfig = - RuleConfig; - -/** - * Disallow `eslint-disable` comments about specific rules. - * - * @see [no-restricted-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html) - */ -export interface NoRestrictedDisableRule { - /** - * Disallow `eslint-disable` comments about specific rules. - * - * @see [no-restricted-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html) - */ - 'eslint-comments/no-restricted-disable': NoRestrictedDisableRuleConfig; -} diff --git a/src/rules/eslint-comments/no-unlimited-disable.d.ts b/src/rules/eslint-comments/no-unlimited-disable.d.ts deleted file mode 100644 index d6ed1b87..00000000 --- a/src/rules/eslint-comments/no-unlimited-disable.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `eslint-disable` comments without rule names. - * - * @see [no-unlimited-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html) - */ -export type NoUnlimitedDisableRuleConfig = RuleConfig<[]>; - -/** - * Disallow `eslint-disable` comments without rule names. - * - * @see [no-unlimited-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html) - */ -export interface NoUnlimitedDisableRule { - /** - * Disallow `eslint-disable` comments without rule names. - * - * @see [no-unlimited-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html) - */ - 'eslint-comments/no-unlimited-disable': NoUnlimitedDisableRuleConfig; -} diff --git a/src/rules/eslint-comments/no-unused-disable.d.ts b/src/rules/eslint-comments/no-unused-disable.d.ts deleted file mode 100644 index 96d24be4..00000000 --- a/src/rules/eslint-comments/no-unused-disable.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unused `eslint-disable` comments. - * - * @see [no-unused-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html) - */ -export type NoUnusedDisableRuleConfig = RuleConfig<[]>; - -/** - * Disallow unused `eslint-disable` comments. - * - * @see [no-unused-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html) - */ -export interface NoUnusedDisableRule { - /** - * Disallow unused `eslint-disable` comments. - * - * @see [no-unused-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html) - */ - 'eslint-comments/no-unused-disable': NoUnusedDisableRuleConfig; -} diff --git a/src/rules/eslint-comments/no-unused-enable.d.ts b/src/rules/eslint-comments/no-unused-enable.d.ts deleted file mode 100644 index 2cc8f6a3..00000000 --- a/src/rules/eslint-comments/no-unused-enable.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unused `eslint-enable` comments. - * - * @see [no-unused-enable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html) - */ -export type NoUnusedEnableRuleConfig = RuleConfig<[]>; - -/** - * Disallow unused `eslint-enable` comments. - * - * @see [no-unused-enable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html) - */ -export interface NoUnusedEnableRule { - /** - * Disallow unused `eslint-enable` comments. - * - * @see [no-unused-enable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html) - */ - 'eslint-comments/no-unused-enable': NoUnusedEnableRuleConfig; -} diff --git a/src/rules/eslint-comments/no-use.d.ts b/src/rules/eslint-comments/no-use.d.ts deleted file mode 100644 index 105834dc..00000000 --- a/src/rules/eslint-comments/no-use.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUseOption { - allow?: ( - | 'eslint' - | 'eslint-disable' - | 'eslint-disable-line' - | 'eslint-disable-next-line' - | 'eslint-enable' - | 'eslint-env' - | 'exported' - | 'global' - | 'globals' - )[]; -} - -/** - * Options. - */ -export type NoUseOptions = [NoUseOption?]; - -/** - * Disallow ESLint directive-comments. - * - * @see [no-use](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-use.html) - */ -export type NoUseRuleConfig = RuleConfig; - -/** - * Disallow ESLint directive-comments. - * - * @see [no-use](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-use.html) - */ -export interface NoUseRule { - /** - * Disallow ESLint directive-comments. - * - * @see [no-use](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-use.html) - */ - 'eslint-comments/no-use': NoUseRuleConfig; -} diff --git a/src/rules/eslint-comments/require-description.d.ts b/src/rules/eslint-comments/require-description.d.ts deleted file mode 100644 index 70c3ea12..00000000 --- a/src/rules/eslint-comments/require-description.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireDescriptionOption { - ignore?: ( - | 'eslint' - | 'eslint-disable' - | 'eslint-disable-line' - | 'eslint-disable-next-line' - | 'eslint-enable' - | 'eslint-env' - | 'exported' - | 'global' - | 'globals' - )[]; -} - -/** - * Options. - */ -export type RequireDescriptionOptions = [RequireDescriptionOption?]; - -/** - * Require include descriptions in ESLint directive-comments. - * - * @see [require-description](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/require-description.html) - */ -export type RequireDescriptionRuleConfig = - RuleConfig; - -/** - * Require include descriptions in ESLint directive-comments. - * - * @see [require-description](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/require-description.html) - */ -export interface RequireDescriptionRule { - /** - * Require include descriptions in ESLint directive-comments. - * - * @see [require-description](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/require-description.html) - */ - 'eslint-comments/require-description': RequireDescriptionRuleConfig; -} diff --git a/src/rules/eslint/accessor-pairs.d.ts b/src/rules/eslint/accessor-pairs.d.ts index 3922dc68..ef625bab 100644 --- a/src/rules/eslint/accessor-pairs.d.ts +++ b/src/rules/eslint/accessor-pairs.d.ts @@ -1,36 +1,7 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AccessorPairsOption { +export interface Schema0 { getWithoutSet?: boolean; setWithoutGet?: boolean; enforceForClassMembers?: boolean; } -/** - * Options. - */ -export type AccessorPairsOptions = [AccessorPairsOption?]; - -/** - * Enforce getter and setter pairs in objects and classes. - * - * @see [accessor-pairs](https://eslint.org/docs/latest/rules/accessor-pairs) - */ -export type AccessorPairsRuleConfig = RuleConfig; - -/** - * Enforce getter and setter pairs in objects and classes. - * - * @see [accessor-pairs](https://eslint.org/docs/latest/rules/accessor-pairs) - */ -export interface AccessorPairsRule { - /** - * Enforce getter and setter pairs in objects and classes. - * - * @see [accessor-pairs](https://eslint.org/docs/latest/rules/accessor-pairs) - */ - 'accessor-pairs': AccessorPairsRuleConfig; -} +export type AccessorPairsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/array-bracket-newline.d.ts b/src/rules/eslint/array-bracket-newline.d.ts index 2a357457..618f6a84 100644 --- a/src/rules/eslint/array-bracket-newline.d.ts +++ b/src/rules/eslint/array-bracket-newline.d.ts @@ -1,38 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ArrayBracketNewlineOption = +export type Schema0 = | ('always' | 'never' | 'consistent') | { multiline?: boolean; minItems?: number | null; }; -/** - * Options. - */ -export type ArrayBracketNewlineOptions = [ArrayBracketNewlineOption?]; - -/** - * Enforce linebreaks after opening and before closing array brackets. - * - * @see [array-bracket-newline](https://eslint.org/docs/latest/rules/array-bracket-newline) - */ -export type ArrayBracketNewlineRuleConfig = - RuleConfig; - -/** - * Enforce linebreaks after opening and before closing array brackets. - * - * @see [array-bracket-newline](https://eslint.org/docs/latest/rules/array-bracket-newline) - */ -export interface ArrayBracketNewlineRule { - /** - * Enforce linebreaks after opening and before closing array brackets. - * - * @see [array-bracket-newline](https://eslint.org/docs/latest/rules/array-bracket-newline) - */ - 'array-bracket-newline': ArrayBracketNewlineRuleConfig; -} +export type ArrayBracketNewlineRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/array-bracket-spacing.d.ts b/src/rules/eslint/array-bracket-spacing.d.ts index 271b7af2..90a6569f 100644 --- a/src/rules/eslint/array-bracket-spacing.d.ts +++ b/src/rules/eslint/array-bracket-spacing.d.ts @@ -1,45 +1,9 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Config. - */ -export interface ArrayBracketSpacingConfig { +export interface Schema1 { singleValue?: boolean; objectsInArrays?: boolean; arraysInArrays?: boolean; } -/** - * Option. - */ -export type ArrayBracketSpacingOption = 'always' | 'never'; - -/** - * Options. - */ -export type ArrayBracketSpacingOptions = [ - ArrayBracketSpacingOption?, - ArrayBracketSpacingConfig?, -]; - -/** - * Enforce consistent spacing inside array brackets. - * - * @see [array-bracket-spacing](https://eslint.org/docs/latest/rules/array-bracket-spacing) - */ -export type ArrayBracketSpacingRuleConfig = - RuleConfig; - -/** - * Enforce consistent spacing inside array brackets. - * - * @see [array-bracket-spacing](https://eslint.org/docs/latest/rules/array-bracket-spacing) - */ -export interface ArrayBracketSpacingRule { - /** - * Enforce consistent spacing inside array brackets. - * - * @see [array-bracket-spacing](https://eslint.org/docs/latest/rules/array-bracket-spacing) - */ - 'array-bracket-spacing': ArrayBracketSpacingRuleConfig; -} +export type ArrayBracketSpacingRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/array-callback-return.d.ts b/src/rules/eslint/array-callback-return.d.ts index ca176758..f0c27a43 100644 --- a/src/rules/eslint/array-callback-return.d.ts +++ b/src/rules/eslint/array-callback-return.d.ts @@ -1,37 +1,7 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ArrayCallbackReturnOption { +export interface Schema0 { allowImplicit?: boolean; checkForEach?: boolean; allowVoid?: boolean; } -/** - * Options. - */ -export type ArrayCallbackReturnOptions = [ArrayCallbackReturnOption?]; - -/** - * Enforce `return` statements in callbacks of array methods. - * - * @see [array-callback-return](https://eslint.org/docs/latest/rules/array-callback-return) - */ -export type ArrayCallbackReturnRuleConfig = - RuleConfig; - -/** - * Enforce `return` statements in callbacks of array methods. - * - * @see [array-callback-return](https://eslint.org/docs/latest/rules/array-callback-return) - */ -export interface ArrayCallbackReturnRule { - /** - * Enforce `return` statements in callbacks of array methods. - * - * @see [array-callback-return](https://eslint.org/docs/latest/rules/array-callback-return) - */ - 'array-callback-return': ArrayCallbackReturnRuleConfig; -} +export type ArrayCallbackReturnRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/array-element-newline.d.ts b/src/rules/eslint/array-element-newline.d.ts index 0bd75c4c..95bb136e 100644 --- a/src/rules/eslint/array-element-newline.d.ts +++ b/src/rules/eslint/array-element-newline.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ArrayElementNewlineOption = +export type Schema0 = | [] | [ | BasicConfig @@ -19,29 +14,4 @@ export type BasicConfig = minItems?: number | null; }; -/** - * Options. - */ -export type ArrayElementNewlineOptions = ArrayElementNewlineOption; - -/** - * Enforce line breaks after each array element. - * - * @see [array-element-newline](https://eslint.org/docs/latest/rules/array-element-newline) - */ -export type ArrayElementNewlineRuleConfig = - RuleConfig; - -/** - * Enforce line breaks after each array element. - * - * @see [array-element-newline](https://eslint.org/docs/latest/rules/array-element-newline) - */ -export interface ArrayElementNewlineRule { - /** - * Enforce line breaks after each array element. - * - * @see [array-element-newline](https://eslint.org/docs/latest/rules/array-element-newline) - */ - 'array-element-newline': ArrayElementNewlineRuleConfig; -} +export type ArrayElementNewlineRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/arrow-body-style.d.ts b/src/rules/eslint/arrow-body-style.d.ts index 42ef0ac7..9ddeae54 100644 --- a/src/rules/eslint/arrow-body-style.d.ts +++ b/src/rules/eslint/arrow-body-style.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ArrowBodyStyleOption = +export type Schema0 = | [] | ['always' | 'never'] | [] @@ -15,28 +10,4 @@ export type ArrowBodyStyleOption = }, ]; -/** - * Options. - */ -export type ArrowBodyStyleOptions = ArrowBodyStyleOption; - -/** - * Require braces around arrow function bodies. - * - * @see [arrow-body-style](https://eslint.org/docs/latest/rules/arrow-body-style) - */ -export type ArrowBodyStyleRuleConfig = RuleConfig; - -/** - * Require braces around arrow function bodies. - * - * @see [arrow-body-style](https://eslint.org/docs/latest/rules/arrow-body-style) - */ -export interface ArrowBodyStyleRule { - /** - * Require braces around arrow function bodies. - * - * @see [arrow-body-style](https://eslint.org/docs/latest/rules/arrow-body-style) - */ - 'arrow-body-style': ArrowBodyStyleRuleConfig; -} +export type ArrowBodyStyleRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/arrow-parens.d.ts b/src/rules/eslint/arrow-parens.d.ts index 9440297e..3edc75d4 100644 --- a/src/rules/eslint/arrow-parens.d.ts +++ b/src/rules/eslint/arrow-parens.d.ts @@ -1,39 +1,7 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'as-needed'; -/** - * Config. - */ -export interface ArrowParensConfig { +export interface Schema1 { requireForBlockBody?: boolean; } -/** - * Option. - */ -export type ArrowParensOption = 'always' | 'as-needed'; - -/** - * Options. - */ -export type ArrowParensOptions = [ArrowParensOption?, ArrowParensConfig?]; - -/** - * Require parentheses around arrow function arguments. - * - * @see [arrow-parens](https://eslint.org/docs/latest/rules/arrow-parens) - */ -export type ArrowParensRuleConfig = RuleConfig; - -/** - * Require parentheses around arrow function arguments. - * - * @see [arrow-parens](https://eslint.org/docs/latest/rules/arrow-parens) - */ -export interface ArrowParensRule { - /** - * Require parentheses around arrow function arguments. - * - * @see [arrow-parens](https://eslint.org/docs/latest/rules/arrow-parens) - */ - 'arrow-parens': ArrowParensRuleConfig; -} +export type ArrowParensRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/arrow-spacing.d.ts b/src/rules/eslint/arrow-spacing.d.ts index abd3b416..d8d9388c 100644 --- a/src/rules/eslint/arrow-spacing.d.ts +++ b/src/rules/eslint/arrow-spacing.d.ts @@ -1,35 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ArrowSpacingOption { +export interface Schema0 { before?: boolean; after?: boolean; } -/** - * Options. - */ -export type ArrowSpacingOptions = [ArrowSpacingOption?]; - -/** - * Enforce consistent spacing before and after the arrow in arrow functions. - * - * @see [arrow-spacing](https://eslint.org/docs/latest/rules/arrow-spacing) - */ -export type ArrowSpacingRuleConfig = RuleConfig; - -/** - * Enforce consistent spacing before and after the arrow in arrow functions. - * - * @see [arrow-spacing](https://eslint.org/docs/latest/rules/arrow-spacing) - */ -export interface ArrowSpacingRule { - /** - * Enforce consistent spacing before and after the arrow in arrow functions. - * - * @see [arrow-spacing](https://eslint.org/docs/latest/rules/arrow-spacing) - */ - 'arrow-spacing': ArrowSpacingRuleConfig; -} +export type ArrowSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/block-scoped-var.d.ts b/src/rules/eslint/block-scoped-var.d.ts index 05323400..fb8af11d 100644 --- a/src/rules/eslint/block-scoped-var.d.ts +++ b/src/rules/eslint/block-scoped-var.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforce the use of variables within the scope they are defined. - * - * @see [block-scoped-var](https://eslint.org/docs/latest/rules/block-scoped-var) - */ -export type BlockScopedVarRuleConfig = RuleConfig<[]>; - -/** - * Enforce the use of variables within the scope they are defined. - * - * @see [block-scoped-var](https://eslint.org/docs/latest/rules/block-scoped-var) - */ -export interface BlockScopedVarRule { - /** - * Enforce the use of variables within the scope they are defined. - * - * @see [block-scoped-var](https://eslint.org/docs/latest/rules/block-scoped-var) - */ - 'block-scoped-var': BlockScopedVarRuleConfig; -} +export type BlockScopedVarRuleOptions = []; diff --git a/src/rules/eslint/block-spacing.d.ts b/src/rules/eslint/block-spacing.d.ts index c6ac30d4..757eea5a 100644 --- a/src/rules/eslint/block-spacing.d.ts +++ b/src/rules/eslint/block-spacing.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Option. - */ -export type BlockSpacingOption = 'always' | 'never'; - -/** - * Options. - */ -export type BlockSpacingOptions = [BlockSpacingOption?]; - -/** - * Disallow or enforce spaces inside of blocks after opening block and before closing block. - * - * @see [block-spacing](https://eslint.org/docs/latest/rules/block-spacing) - */ -export type BlockSpacingRuleConfig = RuleConfig; - -/** - * Disallow or enforce spaces inside of blocks after opening block and before closing block. - * - * @see [block-spacing](https://eslint.org/docs/latest/rules/block-spacing) - */ -export interface BlockSpacingRule { - /** - * Disallow or enforce spaces inside of blocks after opening block and before closing block. - * - * @see [block-spacing](https://eslint.org/docs/latest/rules/block-spacing) - */ - 'block-spacing': BlockSpacingRuleConfig; -} +export type BlockSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/brace-style.d.ts b/src/rules/eslint/brace-style.d.ts index e8a6442e..63f87a4d 100644 --- a/src/rules/eslint/brace-style.d.ts +++ b/src/rules/eslint/brace-style.d.ts @@ -1,39 +1,7 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = '1tbs' | 'stroustrup' | 'allman'; -/** - * Config. - */ -export interface BraceStyleConfig { +export interface Schema1 { allowSingleLine?: boolean; } -/** - * Option. - */ -export type BraceStyleOption = '1tbs' | 'stroustrup' | 'allman'; - -/** - * Options. - */ -export type BraceStyleOptions = [BraceStyleOption?, BraceStyleConfig?]; - -/** - * Enforce consistent brace style for blocks. - * - * @see [brace-style](https://eslint.org/docs/latest/rules/brace-style) - */ -export type BraceStyleRuleConfig = RuleConfig; - -/** - * Enforce consistent brace style for blocks. - * - * @see [brace-style](https://eslint.org/docs/latest/rules/brace-style) - */ -export interface BraceStyleRule { - /** - * Enforce consistent brace style for blocks. - * - * @see [brace-style](https://eslint.org/docs/latest/rules/brace-style) - */ - 'brace-style': BraceStyleRuleConfig; -} +export type BraceStyleRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/callback-return.d.ts b/src/rules/eslint/callback-return.d.ts index 7b674789..2a511849 100644 --- a/src/rules/eslint/callback-return.d.ts +++ b/src/rules/eslint/callback-return.d.ts @@ -1,38 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = string[]; -/** - * Option. - */ -export type CallbackReturnOption = string[]; - -/** - * Options. - */ -export type CallbackReturnOptions = [CallbackReturnOption?]; - -/** - * Require `return` statements after callbacks. - * - * @deprecated - * - * @see [callback-return](https://eslint.org/docs/latest/rules/callback-return) - */ -export type CallbackReturnRuleConfig = RuleConfig; - -/** - * Require `return` statements after callbacks. - * - * @deprecated - * - * @see [callback-return](https://eslint.org/docs/latest/rules/callback-return) - */ -export interface CallbackReturnRule { - /** - * Require `return` statements after callbacks. - * - * @deprecated - * - * @see [callback-return](https://eslint.org/docs/latest/rules/callback-return) - */ - 'callback-return': CallbackReturnRuleConfig; -} +export type CallbackReturnRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/camelcase.d.ts b/src/rules/eslint/camelcase.d.ts index 06e4069d..d7bed381 100644 --- a/src/rules/eslint/camelcase.d.ts +++ b/src/rules/eslint/camelcase.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface CamelcaseOption { +export interface Schema0 { ignoreDestructuring?: boolean; ignoreImports?: boolean; ignoreGlobals?: boolean; @@ -14,28 +9,4 @@ export interface CamelcaseOption { allow?: [] | [string]; } -/** - * Options. - */ -export type CamelcaseOptions = [CamelcaseOption?]; - -/** - * Enforce camelcase naming convention. - * - * @see [camelcase](https://eslint.org/docs/latest/rules/camelcase) - */ -export type CamelcaseRuleConfig = RuleConfig; - -/** - * Enforce camelcase naming convention. - * - * @see [camelcase](https://eslint.org/docs/latest/rules/camelcase) - */ -export interface CamelcaseRule { - /** - * Enforce camelcase naming convention. - * - * @see [camelcase](https://eslint.org/docs/latest/rules/camelcase) - */ - camelcase: CamelcaseRuleConfig; -} +export type CamelcaseRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/capitalized-comments.d.ts b/src/rules/eslint/capitalized-comments.d.ts index 95e3c735..bb4c7cdd 100644 --- a/src/rules/eslint/capitalized-comments.d.ts +++ b/src/rules/eslint/capitalized-comments.d.ts @@ -1,9 +1,6 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Config. - */ -export type CapitalizedCommentsConfig = +export type Schema1 = | { ignorePattern?: string; ignoreInlineComments?: boolean; @@ -22,37 +19,4 @@ export type CapitalizedCommentsConfig = }; }; -/** - * Option. - */ -export type CapitalizedCommentsOption = 'always' | 'never'; - -/** - * Options. - */ -export type CapitalizedCommentsOptions = [ - CapitalizedCommentsOption?, - CapitalizedCommentsConfig?, -]; - -/** - * Enforce or disallow capitalization of the first letter of a comment. - * - * @see [capitalized-comments](https://eslint.org/docs/latest/rules/capitalized-comments) - */ -export type CapitalizedCommentsRuleConfig = - RuleConfig; - -/** - * Enforce or disallow capitalization of the first letter of a comment. - * - * @see [capitalized-comments](https://eslint.org/docs/latest/rules/capitalized-comments) - */ -export interface CapitalizedCommentsRule { - /** - * Enforce or disallow capitalization of the first letter of a comment. - * - * @see [capitalized-comments](https://eslint.org/docs/latest/rules/capitalized-comments) - */ - 'capitalized-comments': CapitalizedCommentsRuleConfig; -} +export type CapitalizedCommentsRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/class-methods-use-this.d.ts b/src/rules/eslint/class-methods-use-this.d.ts index db3567a3..aa537536 100644 --- a/src/rules/eslint/class-methods-use-this.d.ts +++ b/src/rules/eslint/class-methods-use-this.d.ts @@ -1,36 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ClassMethodsUseThisOption { +export interface Schema0 { exceptMethods?: string[]; enforceForClassFields?: boolean; } -/** - * Options. - */ -export type ClassMethodsUseThisOptions = [ClassMethodsUseThisOption?]; - -/** - * Enforce that class methods utilize `this`. - * - * @see [class-methods-use-this](https://eslint.org/docs/latest/rules/class-methods-use-this) - */ -export type ClassMethodsUseThisRuleConfig = - RuleConfig; - -/** - * Enforce that class methods utilize `this`. - * - * @see [class-methods-use-this](https://eslint.org/docs/latest/rules/class-methods-use-this) - */ -export interface ClassMethodsUseThisRule { - /** - * Enforce that class methods utilize `this`. - * - * @see [class-methods-use-this](https://eslint.org/docs/latest/rules/class-methods-use-this) - */ - 'class-methods-use-this': ClassMethodsUseThisRuleConfig; -} +export type ClassMethodsUseThisRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/comma-dangle.d.ts b/src/rules/eslint/comma-dangle.d.ts index 8663fd61..3465a4d5 100644 --- a/src/rules/eslint/comma-dangle.d.ts +++ b/src/rules/eslint/comma-dangle.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type CommaDangleOption = +export type Schema0 = | [] | [ | Value @@ -23,28 +18,4 @@ export type ValueWithIgnore = | 'never' | 'only-multiline'; -/** - * Options. - */ -export type CommaDangleOptions = CommaDangleOption; - -/** - * Require or disallow trailing commas. - * - * @see [comma-dangle](https://eslint.org/docs/latest/rules/comma-dangle) - */ -export type CommaDangleRuleConfig = RuleConfig; - -/** - * Require or disallow trailing commas. - * - * @see [comma-dangle](https://eslint.org/docs/latest/rules/comma-dangle) - */ -export interface CommaDangleRule { - /** - * Require or disallow trailing commas. - * - * @see [comma-dangle](https://eslint.org/docs/latest/rules/comma-dangle) - */ - 'comma-dangle': CommaDangleRuleConfig; -} +export type CommaDangleRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/comma-spacing.d.ts b/src/rules/eslint/comma-spacing.d.ts index 654db6c6..d095c5f7 100644 --- a/src/rules/eslint/comma-spacing.d.ts +++ b/src/rules/eslint/comma-spacing.d.ts @@ -1,35 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface CommaSpacingOption { +export interface Schema0 { before?: boolean; after?: boolean; } -/** - * Options. - */ -export type CommaSpacingOptions = [CommaSpacingOption?]; - -/** - * Enforce consistent spacing before and after commas. - * - * @see [comma-spacing](https://eslint.org/docs/latest/rules/comma-spacing) - */ -export type CommaSpacingRuleConfig = RuleConfig; - -/** - * Enforce consistent spacing before and after commas. - * - * @see [comma-spacing](https://eslint.org/docs/latest/rules/comma-spacing) - */ -export interface CommaSpacingRule { - /** - * Enforce consistent spacing before and after commas. - * - * @see [comma-spacing](https://eslint.org/docs/latest/rules/comma-spacing) - */ - 'comma-spacing': CommaSpacingRuleConfig; -} +export type CommaSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/comma-style.d.ts b/src/rules/eslint/comma-style.d.ts index 19128af2..6a949107 100644 --- a/src/rules/eslint/comma-style.d.ts +++ b/src/rules/eslint/comma-style.d.ts @@ -1,41 +1,9 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'first' | 'last'; -/** - * Config. - */ -export interface CommaStyleConfig { +export interface Schema1 { exceptions?: { [k: string]: boolean; }; } -/** - * Option. - */ -export type CommaStyleOption = 'first' | 'last'; - -/** - * Options. - */ -export type CommaStyleOptions = [CommaStyleOption?, CommaStyleConfig?]; - -/** - * Enforce consistent comma style. - * - * @see [comma-style](https://eslint.org/docs/latest/rules/comma-style) - */ -export type CommaStyleRuleConfig = RuleConfig; - -/** - * Enforce consistent comma style. - * - * @see [comma-style](https://eslint.org/docs/latest/rules/comma-style) - */ -export interface CommaStyleRule { - /** - * Enforce consistent comma style. - * - * @see [comma-style](https://eslint.org/docs/latest/rules/comma-style) - */ - 'comma-style': CommaStyleRuleConfig; -} +export type CommaStyleRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/complexity.d.ts b/src/rules/eslint/complexity.d.ts index 62e5758c..2b3eea26 100644 --- a/src/rules/eslint/complexity.d.ts +++ b/src/rules/eslint/complexity.d.ts @@ -1,37 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ComplexityOption = +export type Schema0 = | number | { maximum?: number; max?: number; }; -/** - * Options. - */ -export type ComplexityOptions = [ComplexityOption?]; - -/** - * Enforce a maximum cyclomatic complexity allowed in a program. - * - * @see [complexity](https://eslint.org/docs/latest/rules/complexity) - */ -export type ComplexityRuleConfig = RuleConfig; - -/** - * Enforce a maximum cyclomatic complexity allowed in a program. - * - * @see [complexity](https://eslint.org/docs/latest/rules/complexity) - */ -export interface ComplexityRule { - /** - * Enforce a maximum cyclomatic complexity allowed in a program. - * - * @see [complexity](https://eslint.org/docs/latest/rules/complexity) - */ - complexity: ComplexityRuleConfig; -} +export type ComplexityRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/computed-property-spacing.d.ts b/src/rules/eslint/computed-property-spacing.d.ts index 01a541e3..0546055a 100644 --- a/src/rules/eslint/computed-property-spacing.d.ts +++ b/src/rules/eslint/computed-property-spacing.d.ts @@ -1,43 +1,7 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Config. - */ -export interface ComputedPropertySpacingConfig { +export interface Schema1 { enforceForClassMembers?: boolean; } -/** - * Option. - */ -export type ComputedPropertySpacingOption = 'always' | 'never'; - -/** - * Options. - */ -export type ComputedPropertySpacingOptions = [ - ComputedPropertySpacingOption?, - ComputedPropertySpacingConfig?, -]; - -/** - * Enforce consistent spacing inside computed property brackets. - * - * @see [computed-property-spacing](https://eslint.org/docs/latest/rules/computed-property-spacing) - */ -export type ComputedPropertySpacingRuleConfig = - RuleConfig; - -/** - * Enforce consistent spacing inside computed property brackets. - * - * @see [computed-property-spacing](https://eslint.org/docs/latest/rules/computed-property-spacing) - */ -export interface ComputedPropertySpacingRule { - /** - * Enforce consistent spacing inside computed property brackets. - * - * @see [computed-property-spacing](https://eslint.org/docs/latest/rules/computed-property-spacing) - */ - 'computed-property-spacing': ComputedPropertySpacingRuleConfig; -} +export type ComputedPropertySpacingRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/consistent-return.d.ts b/src/rules/eslint/consistent-return.d.ts index c7e68793..be7aa622 100644 --- a/src/rules/eslint/consistent-return.d.ts +++ b/src/rules/eslint/consistent-return.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ConsistentReturnOption { +export interface Schema0 { treatUndefinedAsUnspecified?: boolean; } -/** - * Options. - */ -export type ConsistentReturnOptions = [ConsistentReturnOption?]; - -/** - * Require `return` statements to either always or never specify values. - * - * @see [consistent-return](https://eslint.org/docs/latest/rules/consistent-return) - */ -export type ConsistentReturnRuleConfig = RuleConfig; - -/** - * Require `return` statements to either always or never specify values. - * - * @see [consistent-return](https://eslint.org/docs/latest/rules/consistent-return) - */ -export interface ConsistentReturnRule { - /** - * Require `return` statements to either always or never specify values. - * - * @see [consistent-return](https://eslint.org/docs/latest/rules/consistent-return) - */ - 'consistent-return': ConsistentReturnRuleConfig; -} +export type ConsistentReturnRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/consistent-this.d.ts b/src/rules/eslint/consistent-this.d.ts index 31b1bba4..7062d567 100644 --- a/src/rules/eslint/consistent-this.d.ts +++ b/src/rules/eslint/consistent-this.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = string[]; -/** - * Option. - */ -export type ConsistentThisOption = string[]; - -/** - * Options. - */ -export type ConsistentThisOptions = ConsistentThisOption; - -/** - * Enforce consistent naming when capturing the current execution context. - * - * @see [consistent-this](https://eslint.org/docs/latest/rules/consistent-this) - */ -export type ConsistentThisRuleConfig = RuleConfig; - -/** - * Enforce consistent naming when capturing the current execution context. - * - * @see [consistent-this](https://eslint.org/docs/latest/rules/consistent-this) - */ -export interface ConsistentThisRule { - /** - * Enforce consistent naming when capturing the current execution context. - * - * @see [consistent-this](https://eslint.org/docs/latest/rules/consistent-this) - */ - 'consistent-this': ConsistentThisRuleConfig; -} +export type ConsistentThisRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/constructor-super.d.ts b/src/rules/eslint/constructor-super.d.ts index 2cb8aa6d..0df9c202 100644 --- a/src/rules/eslint/constructor-super.d.ts +++ b/src/rules/eslint/constructor-super.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require `super()` calls in constructors. - * - * @see [constructor-super](https://eslint.org/docs/latest/rules/constructor-super) - */ -export type ConstructorSuperRuleConfig = RuleConfig<[]>; - -/** - * Require `super()` calls in constructors. - * - * @see [constructor-super](https://eslint.org/docs/latest/rules/constructor-super) - */ -export interface ConstructorSuperRule { - /** - * Require `super()` calls in constructors. - * - * @see [constructor-super](https://eslint.org/docs/latest/rules/constructor-super) - */ - 'constructor-super': ConstructorSuperRuleConfig; -} +export type ConstructorSuperRuleOptions = []; diff --git a/src/rules/eslint/curly.d.ts b/src/rules/eslint/curly.d.ts index 972e8fde..6662d998 100644 --- a/src/rules/eslint/curly.d.ts +++ b/src/rules/eslint/curly.d.ts @@ -1,37 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type CurlyOption = +export type Schema0 = | [] | ['all'] | [] | ['multi' | 'multi-line' | 'multi-or-nest'] | ['multi' | 'multi-line' | 'multi-or-nest', 'consistent']; -/** - * Options. - */ -export type CurlyOptions = CurlyOption; - -/** - * Enforce consistent brace style for all control statements. - * - * @see [curly](https://eslint.org/docs/latest/rules/curly) - */ -export type CurlyRuleConfig = RuleConfig; - -/** - * Enforce consistent brace style for all control statements. - * - * @see [curly](https://eslint.org/docs/latest/rules/curly) - */ -export interface CurlyRule { - /** - * Enforce consistent brace style for all control statements. - * - * @see [curly](https://eslint.org/docs/latest/rules/curly) - */ - curly: CurlyRuleConfig; -} +export type CurlyRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/default-case-last.d.ts b/src/rules/eslint/default-case-last.d.ts index ef24fc40..60743446 100644 --- a/src/rules/eslint/default-case-last.d.ts +++ b/src/rules/eslint/default-case-last.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforce default clauses in switch statements to be last. - * - * @see [default-case-last](https://eslint.org/docs/latest/rules/default-case-last) - */ -export type DefaultCaseLastRuleConfig = RuleConfig<[]>; - -/** - * Enforce default clauses in switch statements to be last. - * - * @see [default-case-last](https://eslint.org/docs/latest/rules/default-case-last) - */ -export interface DefaultCaseLastRule { - /** - * Enforce default clauses in switch statements to be last. - * - * @see [default-case-last](https://eslint.org/docs/latest/rules/default-case-last) - */ - 'default-case-last': DefaultCaseLastRuleConfig; -} +export type DefaultCaseLastRuleOptions = []; diff --git a/src/rules/eslint/default-case.d.ts b/src/rules/eslint/default-case.d.ts index 3656eea8..39265ca7 100644 --- a/src/rules/eslint/default-case.d.ts +++ b/src/rules/eslint/default-case.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface DefaultCaseOption { +export interface Schema0 { commentPattern?: string; } -/** - * Options. - */ -export type DefaultCaseOptions = [DefaultCaseOption?]; - -/** - * Require `default` cases in `switch` statements. - * - * @see [default-case](https://eslint.org/docs/latest/rules/default-case) - */ -export type DefaultCaseRuleConfig = RuleConfig; - -/** - * Require `default` cases in `switch` statements. - * - * @see [default-case](https://eslint.org/docs/latest/rules/default-case) - */ -export interface DefaultCaseRule { - /** - * Require `default` cases in `switch` statements. - * - * @see [default-case](https://eslint.org/docs/latest/rules/default-case) - */ - 'default-case': DefaultCaseRuleConfig; -} +export type DefaultCaseRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/default-param-last.d.ts b/src/rules/eslint/default-param-last.d.ts index 20870fa0..332fa3bc 100644 --- a/src/rules/eslint/default-param-last.d.ts +++ b/src/rules/eslint/default-param-last.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforce default parameters to be last. - * - * @see [default-param-last](https://eslint.org/docs/latest/rules/default-param-last) - */ -export type DefaultParamLastRuleConfig = RuleConfig<[]>; - -/** - * Enforce default parameters to be last. - * - * @see [default-param-last](https://eslint.org/docs/latest/rules/default-param-last) - */ -export interface DefaultParamLastRule { - /** - * Enforce default parameters to be last. - * - * @see [default-param-last](https://eslint.org/docs/latest/rules/default-param-last) - */ - 'default-param-last': DefaultParamLastRuleConfig; -} +export type DefaultParamLastRuleOptions = []; diff --git a/src/rules/eslint/dot-location.d.ts b/src/rules/eslint/dot-location.d.ts index 048e0920..e0b6de17 100644 --- a/src/rules/eslint/dot-location.d.ts +++ b/src/rules/eslint/dot-location.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'object' | 'property'; -/** - * Option. - */ -export type DotLocationOption = 'object' | 'property'; - -/** - * Options. - */ -export type DotLocationOptions = [DotLocationOption?]; - -/** - * Enforce consistent newlines before and after dots. - * - * @see [dot-location](https://eslint.org/docs/latest/rules/dot-location) - */ -export type DotLocationRuleConfig = RuleConfig; - -/** - * Enforce consistent newlines before and after dots. - * - * @see [dot-location](https://eslint.org/docs/latest/rules/dot-location) - */ -export interface DotLocationRule { - /** - * Enforce consistent newlines before and after dots. - * - * @see [dot-location](https://eslint.org/docs/latest/rules/dot-location) - */ - 'dot-location': DotLocationRuleConfig; -} +export type DotLocationRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/dot-notation.d.ts b/src/rules/eslint/dot-notation.d.ts index 73ece316..e6e7959f 100644 --- a/src/rules/eslint/dot-notation.d.ts +++ b/src/rules/eslint/dot-notation.d.ts @@ -1,35 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface DotNotationOption { +export interface Schema0 { allowKeywords?: boolean; allowPattern?: string; } -/** - * Options. - */ -export type DotNotationOptions = [DotNotationOption?]; - -/** - * Enforce dot notation whenever possible. - * - * @see [dot-notation](https://eslint.org/docs/latest/rules/dot-notation) - */ -export type DotNotationRuleConfig = RuleConfig; - -/** - * Enforce dot notation whenever possible. - * - * @see [dot-notation](https://eslint.org/docs/latest/rules/dot-notation) - */ -export interface DotNotationRule { - /** - * Enforce dot notation whenever possible. - * - * @see [dot-notation](https://eslint.org/docs/latest/rules/dot-notation) - */ - 'dot-notation': DotNotationRuleConfig; -} +export type DotNotationRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/eol-last.d.ts b/src/rules/eslint/eol-last.d.ts index c6cd8922..fb5f1526 100644 --- a/src/rules/eslint/eol-last.d.ts +++ b/src/rules/eslint/eol-last.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never' | 'unix' | 'windows'; -/** - * Option. - */ -export type EolLastOption = 'always' | 'never' | 'unix' | 'windows'; - -/** - * Options. - */ -export type EolLastOptions = [EolLastOption?]; - -/** - * Require or disallow newline at the end of files. - * - * @see [eol-last](https://eslint.org/docs/latest/rules/eol-last) - */ -export type EolLastRuleConfig = RuleConfig; - -/** - * Require or disallow newline at the end of files. - * - * @see [eol-last](https://eslint.org/docs/latest/rules/eol-last) - */ -export interface EolLastRule { - /** - * Require or disallow newline at the end of files. - * - * @see [eol-last](https://eslint.org/docs/latest/rules/eol-last) - */ - 'eol-last': EolLastRuleConfig; -} +export type EolLastRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/eqeqeq.d.ts b/src/rules/eslint/eqeqeq.d.ts index 5c6ff23a..439de859 100644 --- a/src/rules/eslint/eqeqeq.d.ts +++ b/src/rules/eslint/eqeqeq.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type EqeqeqOption = +export type Schema0 = | [] | ['always'] | [ @@ -15,28 +10,4 @@ export type EqeqeqOption = | [] | ['smart' | 'allow-null']; -/** - * Options. - */ -export type EqeqeqOptions = EqeqeqOption; - -/** - * Require the use of `===` and `!==`. - * - * @see [eqeqeq](https://eslint.org/docs/latest/rules/eqeqeq) - */ -export type EqeqeqRuleConfig = RuleConfig; - -/** - * Require the use of `===` and `!==`. - * - * @see [eqeqeq](https://eslint.org/docs/latest/rules/eqeqeq) - */ -export interface EqeqeqRule { - /** - * Require the use of `===` and `!==`. - * - * @see [eqeqeq](https://eslint.org/docs/latest/rules/eqeqeq) - */ - eqeqeq: EqeqeqRuleConfig; -} +export type EqeqeqRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/for-direction.d.ts b/src/rules/eslint/for-direction.d.ts index 847ed888..82b36053 100644 --- a/src/rules/eslint/for-direction.d.ts +++ b/src/rules/eslint/for-direction.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforce "for" loop update clause moving the counter in the right direction. - * - * @see [for-direction](https://eslint.org/docs/latest/rules/for-direction) - */ -export type ForDirectionRuleConfig = RuleConfig<[]>; - -/** - * Enforce "for" loop update clause moving the counter in the right direction. - * - * @see [for-direction](https://eslint.org/docs/latest/rules/for-direction) - */ -export interface ForDirectionRule { - /** - * Enforce "for" loop update clause moving the counter in the right direction. - * - * @see [for-direction](https://eslint.org/docs/latest/rules/for-direction) - */ - 'for-direction': ForDirectionRuleConfig; -} +export type ForDirectionRuleOptions = []; diff --git a/src/rules/eslint/func-call-spacing.d.ts b/src/rules/eslint/func-call-spacing.d.ts index b61dd864..cfa24f8c 100644 --- a/src/rules/eslint/func-call-spacing.d.ts +++ b/src/rules/eslint/func-call-spacing.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type FuncCallSpacingOption = +export type Schema0 = | [] | ['never'] | [] @@ -15,28 +10,4 @@ export type FuncCallSpacingOption = }, ]; -/** - * Options. - */ -export type FuncCallSpacingOptions = FuncCallSpacingOption; - -/** - * Require or disallow spacing between function identifiers and their invocations. - * - * @see [func-call-spacing](https://eslint.org/docs/latest/rules/func-call-spacing) - */ -export type FuncCallSpacingRuleConfig = RuleConfig; - -/** - * Require or disallow spacing between function identifiers and their invocations. - * - * @see [func-call-spacing](https://eslint.org/docs/latest/rules/func-call-spacing) - */ -export interface FuncCallSpacingRule { - /** - * Require or disallow spacing between function identifiers and their invocations. - * - * @see [func-call-spacing](https://eslint.org/docs/latest/rules/func-call-spacing) - */ - 'func-call-spacing': FuncCallSpacingRuleConfig; -} +export type FuncCallSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/func-name-matching.d.ts b/src/rules/eslint/func-name-matching.d.ts index c1533fde..6b85f18e 100644 --- a/src/rules/eslint/func-name-matching.d.ts +++ b/src/rules/eslint/func-name-matching.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type FuncNameMatchingOption = +export type Schema0 = | [] | ['always' | 'never'] | [ @@ -21,28 +16,4 @@ export type FuncNameMatchingOption = }, ]; -/** - * Options. - */ -export type FuncNameMatchingOptions = FuncNameMatchingOption; - -/** - * Require function names to match the name of the variable or property to which they are assigned. - * - * @see [func-name-matching](https://eslint.org/docs/latest/rules/func-name-matching) - */ -export type FuncNameMatchingRuleConfig = RuleConfig; - -/** - * Require function names to match the name of the variable or property to which they are assigned. - * - * @see [func-name-matching](https://eslint.org/docs/latest/rules/func-name-matching) - */ -export interface FuncNameMatchingRule { - /** - * Require function names to match the name of the variable or property to which they are assigned. - * - * @see [func-name-matching](https://eslint.org/docs/latest/rules/func-name-matching) - */ - 'func-name-matching': FuncNameMatchingRuleConfig; -} +export type FuncNameMatchingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/func-names.d.ts b/src/rules/eslint/func-names.d.ts index d8178cee..25bb81f1 100644 --- a/src/rules/eslint/func-names.d.ts +++ b/src/rules/eslint/func-names.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type FuncNamesOption = +export type Schema0 = | [] | [Value] | [ @@ -14,28 +9,4 @@ export type FuncNamesOption = ]; export type Value = 'always' | 'as-needed' | 'never'; -/** - * Options. - */ -export type FuncNamesOptions = FuncNamesOption; - -/** - * Require or disallow named `function` expressions. - * - * @see [func-names](https://eslint.org/docs/latest/rules/func-names) - */ -export type FuncNamesRuleConfig = RuleConfig; - -/** - * Require or disallow named `function` expressions. - * - * @see [func-names](https://eslint.org/docs/latest/rules/func-names) - */ -export interface FuncNamesRule { - /** - * Require or disallow named `function` expressions. - * - * @see [func-names](https://eslint.org/docs/latest/rules/func-names) - */ - 'func-names': FuncNamesRuleConfig; -} +export type FuncNamesRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/func-style.d.ts b/src/rules/eslint/func-style.d.ts index 7917e32e..129c31c5 100644 --- a/src/rules/eslint/func-style.d.ts +++ b/src/rules/eslint/func-style.d.ts @@ -1,39 +1,7 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'declaration' | 'expression'; -/** - * Config. - */ -export interface FuncStyleConfig { +export interface Schema1 { allowArrowFunctions?: boolean; } -/** - * Option. - */ -export type FuncStyleOption = 'declaration' | 'expression'; - -/** - * Options. - */ -export type FuncStyleOptions = [FuncStyleOption?, FuncStyleConfig?]; - -/** - * Enforce the consistent use of either `function` declarations or expressions. - * - * @see [func-style](https://eslint.org/docs/latest/rules/func-style) - */ -export type FuncStyleRuleConfig = RuleConfig; - -/** - * Enforce the consistent use of either `function` declarations or expressions. - * - * @see [func-style](https://eslint.org/docs/latest/rules/func-style) - */ -export interface FuncStyleRule { - /** - * Enforce the consistent use of either `function` declarations or expressions. - * - * @see [func-style](https://eslint.org/docs/latest/rules/func-style) - */ - 'func-style': FuncStyleRuleConfig; -} +export type FuncStyleRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/function-call-argument-newline.d.ts b/src/rules/eslint/function-call-argument-newline.d.ts index c828d0ef..bd561319 100644 --- a/src/rules/eslint/function-call-argument-newline.d.ts +++ b/src/rules/eslint/function-call-argument-newline.d.ts @@ -1,38 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never' | 'consistent'; -/** - * Option. - */ -export type FunctionCallArgumentNewlineOption = - | 'always' - | 'never' - | 'consistent'; - -/** - * Options. - */ -export type FunctionCallArgumentNewlineOptions = [ - FunctionCallArgumentNewlineOption?, -]; - -/** - * Enforce line breaks between arguments of a function call. - * - * @see [function-call-argument-newline](https://eslint.org/docs/latest/rules/function-call-argument-newline) - */ -export type FunctionCallArgumentNewlineRuleConfig = - RuleConfig; - -/** - * Enforce line breaks between arguments of a function call. - * - * @see [function-call-argument-newline](https://eslint.org/docs/latest/rules/function-call-argument-newline) - */ -export interface FunctionCallArgumentNewlineRule { - /** - * Enforce line breaks between arguments of a function call. - * - * @see [function-call-argument-newline](https://eslint.org/docs/latest/rules/function-call-argument-newline) - */ - 'function-call-argument-newline': FunctionCallArgumentNewlineRuleConfig; -} +export type FunctionCallArgumentNewlineRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/function-paren-newline.d.ts b/src/rules/eslint/function-paren-newline.d.ts index ed2ad0d1..776874ea 100644 --- a/src/rules/eslint/function-paren-newline.d.ts +++ b/src/rules/eslint/function-paren-newline.d.ts @@ -1,37 +1,7 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type FunctionParenNewlineOption = +export type Schema0 = | ('always' | 'never' | 'consistent' | 'multiline' | 'multiline-arguments') | { minItems?: number; }; -/** - * Options. - */ -export type FunctionParenNewlineOptions = [FunctionParenNewlineOption?]; - -/** - * Enforce consistent line breaks inside function parentheses. - * - * @see [function-paren-newline](https://eslint.org/docs/latest/rules/function-paren-newline) - */ -export type FunctionParenNewlineRuleConfig = - RuleConfig; - -/** - * Enforce consistent line breaks inside function parentheses. - * - * @see [function-paren-newline](https://eslint.org/docs/latest/rules/function-paren-newline) - */ -export interface FunctionParenNewlineRule { - /** - * Enforce consistent line breaks inside function parentheses. - * - * @see [function-paren-newline](https://eslint.org/docs/latest/rules/function-paren-newline) - */ - 'function-paren-newline': FunctionParenNewlineRuleConfig; -} +export type FunctionParenNewlineRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/generator-star-spacing.d.ts b/src/rules/eslint/generator-star-spacing.d.ts index 591cf3ee..7f1a807b 100644 --- a/src/rules/eslint/generator-star-spacing.d.ts +++ b/src/rules/eslint/generator-star-spacing.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type GeneratorStarSpacingOption = +export type Schema0 = | ('before' | 'after' | 'both' | 'neither') | { before?: boolean; @@ -28,29 +23,4 @@ export type GeneratorStarSpacingOption = }; }; -/** - * Options. - */ -export type GeneratorStarSpacingOptions = [GeneratorStarSpacingOption?]; - -/** - * Enforce consistent spacing around `*` operators in generator functions. - * - * @see [generator-star-spacing](https://eslint.org/docs/latest/rules/generator-star-spacing) - */ -export type GeneratorStarSpacingRuleConfig = - RuleConfig; - -/** - * Enforce consistent spacing around `*` operators in generator functions. - * - * @see [generator-star-spacing](https://eslint.org/docs/latest/rules/generator-star-spacing) - */ -export interface GeneratorStarSpacingRule { - /** - * Enforce consistent spacing around `*` operators in generator functions. - * - * @see [generator-star-spacing](https://eslint.org/docs/latest/rules/generator-star-spacing) - */ - 'generator-star-spacing': GeneratorStarSpacingRuleConfig; -} +export type GeneratorStarSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/getter-return.d.ts b/src/rules/eslint/getter-return.d.ts index 3723439c..9163c6b3 100644 --- a/src/rules/eslint/getter-return.d.ts +++ b/src/rules/eslint/getter-return.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface GetterReturnOption { +export interface Schema0 { allowImplicit?: boolean; } -/** - * Options. - */ -export type GetterReturnOptions = [GetterReturnOption?]; - -/** - * Enforce `return` statements in getters. - * - * @see [getter-return](https://eslint.org/docs/latest/rules/getter-return) - */ -export type GetterReturnRuleConfig = RuleConfig; - -/** - * Enforce `return` statements in getters. - * - * @see [getter-return](https://eslint.org/docs/latest/rules/getter-return) - */ -export interface GetterReturnRule { - /** - * Enforce `return` statements in getters. - * - * @see [getter-return](https://eslint.org/docs/latest/rules/getter-return) - */ - 'getter-return': GetterReturnRuleConfig; -} +export type GetterReturnRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/global-require.d.ts b/src/rules/eslint/global-require.d.ts index c1766f3b..1704a387 100644 --- a/src/rules/eslint/global-require.d.ts +++ b/src/rules/eslint/global-require.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require `require()` calls to be placed at top-level module scope. - * - * @deprecated - * - * @see [global-require](https://eslint.org/docs/latest/rules/global-require) - */ -export type GlobalRequireRuleConfig = RuleConfig<[]>; - -/** - * Require `require()` calls to be placed at top-level module scope. - * - * @deprecated - * - * @see [global-require](https://eslint.org/docs/latest/rules/global-require) - */ -export interface GlobalRequireRule { - /** - * Require `require()` calls to be placed at top-level module scope. - * - * @deprecated - * - * @see [global-require](https://eslint.org/docs/latest/rules/global-require) - */ - 'global-require': GlobalRequireRuleConfig; -} +export type GlobalRequireRuleOptions = []; diff --git a/src/rules/eslint/grouped-accessor-pairs.d.ts b/src/rules/eslint/grouped-accessor-pairs.d.ts index f9937b72..697e456a 100644 --- a/src/rules/eslint/grouped-accessor-pairs.d.ts +++ b/src/rules/eslint/grouped-accessor-pairs.d.ts @@ -1,36 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'anyOrder' | 'getBeforeSet' | 'setBeforeGet'; -/** - * Option. - */ -export type GroupedAccessorPairsOption = - | 'anyOrder' - | 'getBeforeSet' - | 'setBeforeGet'; - -/** - * Options. - */ -export type GroupedAccessorPairsOptions = [GroupedAccessorPairsOption?]; - -/** - * Require grouped accessor pairs in object literals and classes. - * - * @see [grouped-accessor-pairs](https://eslint.org/docs/latest/rules/grouped-accessor-pairs) - */ -export type GroupedAccessorPairsRuleConfig = - RuleConfig; - -/** - * Require grouped accessor pairs in object literals and classes. - * - * @see [grouped-accessor-pairs](https://eslint.org/docs/latest/rules/grouped-accessor-pairs) - */ -export interface GroupedAccessorPairsRule { - /** - * Require grouped accessor pairs in object literals and classes. - * - * @see [grouped-accessor-pairs](https://eslint.org/docs/latest/rules/grouped-accessor-pairs) - */ - 'grouped-accessor-pairs': GroupedAccessorPairsRuleConfig; -} +export type GroupedAccessorPairsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/guard-for-in.d.ts b/src/rules/eslint/guard-for-in.d.ts index 2b699dbb..bcabf86f 100644 --- a/src/rules/eslint/guard-for-in.d.ts +++ b/src/rules/eslint/guard-for-in.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require `for-in` loops to include an `if` statement. - * - * @see [guard-for-in](https://eslint.org/docs/latest/rules/guard-for-in) - */ -export type GuardForInRuleConfig = RuleConfig<[]>; - -/** - * Require `for-in` loops to include an `if` statement. - * - * @see [guard-for-in](https://eslint.org/docs/latest/rules/guard-for-in) - */ -export interface GuardForInRule { - /** - * Require `for-in` loops to include an `if` statement. - * - * @see [guard-for-in](https://eslint.org/docs/latest/rules/guard-for-in) - */ - 'guard-for-in': GuardForInRuleConfig; -} +export type GuardForInRuleOptions = []; diff --git a/src/rules/eslint/handle-callback-err.d.ts b/src/rules/eslint/handle-callback-err.d.ts index 993a2e68..dabfee9e 100644 --- a/src/rules/eslint/handle-callback-err.d.ts +++ b/src/rules/eslint/handle-callback-err.d.ts @@ -1,38 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = string; -/** - * Option. - */ -export type HandleCallbackErrOption = string; - -/** - * Options. - */ -export type HandleCallbackErrOptions = [HandleCallbackErrOption?]; - -/** - * Require error handling in callbacks. - * - * @deprecated - * - * @see [handle-callback-err](https://eslint.org/docs/latest/rules/handle-callback-err) - */ -export type HandleCallbackErrRuleConfig = RuleConfig; - -/** - * Require error handling in callbacks. - * - * @deprecated - * - * @see [handle-callback-err](https://eslint.org/docs/latest/rules/handle-callback-err) - */ -export interface HandleCallbackErrRule { - /** - * Require error handling in callbacks. - * - * @deprecated - * - * @see [handle-callback-err](https://eslint.org/docs/latest/rules/handle-callback-err) - */ - 'handle-callback-err': HandleCallbackErrRuleConfig; -} +export type HandleCallbackErrRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/id-blacklist.d.ts b/src/rules/eslint/id-blacklist.d.ts index 05c42a5e..ee3c5241 100644 --- a/src/rules/eslint/id-blacklist.d.ts +++ b/src/rules/eslint/id-blacklist.d.ts @@ -1,38 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = string[]; -/** - * Option. - */ -export type IdBlacklistOption = string[]; - -/** - * Options. - */ -export type IdBlacklistOptions = IdBlacklistOption; - -/** - * Disallow specified identifiers. - * - * @deprecated - * - * @see [id-blacklist](https://eslint.org/docs/latest/rules/id-blacklist) - */ -export type IdBlacklistRuleConfig = RuleConfig; - -/** - * Disallow specified identifiers. - * - * @deprecated - * - * @see [id-blacklist](https://eslint.org/docs/latest/rules/id-blacklist) - */ -export interface IdBlacklistRule { - /** - * Disallow specified identifiers. - * - * @deprecated - * - * @see [id-blacklist](https://eslint.org/docs/latest/rules/id-blacklist) - */ - 'id-blacklist': IdBlacklistRuleConfig; -} +export type IdBlacklistRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/id-denylist.d.ts b/src/rules/eslint/id-denylist.d.ts index 79ad3417..eacc3924 100644 --- a/src/rules/eslint/id-denylist.d.ts +++ b/src/rules/eslint/id-denylist.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = string[]; -/** - * Option. - */ -export type IdDenylistOption = string[]; - -/** - * Options. - */ -export type IdDenylistOptions = IdDenylistOption; - -/** - * Disallow specified identifiers. - * - * @see [id-denylist](https://eslint.org/docs/latest/rules/id-denylist) - */ -export type IdDenylistRuleConfig = RuleConfig; - -/** - * Disallow specified identifiers. - * - * @see [id-denylist](https://eslint.org/docs/latest/rules/id-denylist) - */ -export interface IdDenylistRule { - /** - * Disallow specified identifiers. - * - * @see [id-denylist](https://eslint.org/docs/latest/rules/id-denylist) - */ - 'id-denylist': IdDenylistRuleConfig; -} +export type IdDenylistRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/id-length.d.ts b/src/rules/eslint/id-length.d.ts index 70a95082..6c8f52ab 100644 --- a/src/rules/eslint/id-length.d.ts +++ b/src/rules/eslint/id-length.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface IdLengthOption { +export interface Schema0 { min?: number; max?: number; exceptions?: string[]; @@ -11,28 +6,4 @@ export interface IdLengthOption { properties?: 'always' | 'never'; } -/** - * Options. - */ -export type IdLengthOptions = [IdLengthOption?]; - -/** - * Enforce minimum and maximum identifier lengths. - * - * @see [id-length](https://eslint.org/docs/latest/rules/id-length) - */ -export type IdLengthRuleConfig = RuleConfig; - -/** - * Enforce minimum and maximum identifier lengths. - * - * @see [id-length](https://eslint.org/docs/latest/rules/id-length) - */ -export interface IdLengthRule { - /** - * Enforce minimum and maximum identifier lengths. - * - * @see [id-length](https://eslint.org/docs/latest/rules/id-length) - */ - 'id-length': IdLengthRuleConfig; -} +export type IdLengthRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/id-match.d.ts b/src/rules/eslint/id-match.d.ts index fa6c3381..b5ec04f1 100644 --- a/src/rules/eslint/id-match.d.ts +++ b/src/rules/eslint/id-match.d.ts @@ -1,42 +1,10 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = string; -/** - * Config. - */ -export interface IdMatchConfig { +export interface Schema1 { properties?: boolean; classFields?: boolean; onlyDeclarations?: boolean; ignoreDestructuring?: boolean; } -/** - * Option. - */ -export type IdMatchOption = string; - -/** - * Options. - */ -export type IdMatchOptions = [IdMatchOption?, IdMatchConfig?]; - -/** - * Require identifiers to match a specified regular expression. - * - * @see [id-match](https://eslint.org/docs/latest/rules/id-match) - */ -export type IdMatchRuleConfig = RuleConfig; - -/** - * Require identifiers to match a specified regular expression. - * - * @see [id-match](https://eslint.org/docs/latest/rules/id-match) - */ -export interface IdMatchRule { - /** - * Require identifiers to match a specified regular expression. - * - * @see [id-match](https://eslint.org/docs/latest/rules/id-match) - */ - 'id-match': IdMatchRuleConfig; -} +export type IdMatchRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/implicit-arrow-linebreak.d.ts b/src/rules/eslint/implicit-arrow-linebreak.d.ts index 4d6265e8..80a0533c 100644 --- a/src/rules/eslint/implicit-arrow-linebreak.d.ts +++ b/src/rules/eslint/implicit-arrow-linebreak.d.ts @@ -1,33 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'beside' | 'below'; -/** - * Option. - */ -export type ImplicitArrowLinebreakOption = 'beside' | 'below'; - -/** - * Options. - */ -export type ImplicitArrowLinebreakOptions = [ImplicitArrowLinebreakOption?]; - -/** - * Enforce the location of arrow function bodies. - * - * @see [implicit-arrow-linebreak](https://eslint.org/docs/latest/rules/implicit-arrow-linebreak) - */ -export type ImplicitArrowLinebreakRuleConfig = - RuleConfig; - -/** - * Enforce the location of arrow function bodies. - * - * @see [implicit-arrow-linebreak](https://eslint.org/docs/latest/rules/implicit-arrow-linebreak) - */ -export interface ImplicitArrowLinebreakRule { - /** - * Enforce the location of arrow function bodies. - * - * @see [implicit-arrow-linebreak](https://eslint.org/docs/latest/rules/implicit-arrow-linebreak) - */ - 'implicit-arrow-linebreak': ImplicitArrowLinebreakRuleConfig; -} +export type ImplicitArrowLinebreakRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/indent-legacy.d.ts b/src/rules/eslint/indent-legacy.d.ts index 73a05330..807ab9e9 100644 --- a/src/rules/eslint/indent-legacy.d.ts +++ b/src/rules/eslint/indent-legacy.d.ts @@ -1,9 +1,6 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'tab' | number; -/** - * Config. - */ -export interface IndentLegacyConfig { +export interface Schema1 { SwitchCase?: number; VariableDeclarator?: | number @@ -11,61 +8,26 @@ export interface IndentLegacyConfig { var?: number; let?: number; const?: number; - [k: string]: any; + [k: string]: unknown; }; outerIIFEBody?: number; MemberExpression?: number; FunctionDeclaration?: { parameters?: number | 'first'; body?: number; - [k: string]: any; + [k: string]: unknown; }; FunctionExpression?: { parameters?: number | 'first'; body?: number; - [k: string]: any; + [k: string]: unknown; }; CallExpression?: { parameters?: number | 'first'; - [k: string]: any; + [k: string]: unknown; }; ArrayExpression?: number | 'first'; ObjectExpression?: number | 'first'; } -/** - * Option. - */ -export type IndentLegacyOption = 'tab' | number; - -/** - * Options. - */ -export type IndentLegacyOptions = [IndentLegacyOption?, IndentLegacyConfig?]; - -/** - * Enforce consistent indentation. - * - * @deprecated - * - * @see [indent-legacy](https://eslint.org/docs/latest/rules/indent-legacy) - */ -export type IndentLegacyRuleConfig = RuleConfig; - -/** - * Enforce consistent indentation. - * - * @deprecated - * - * @see [indent-legacy](https://eslint.org/docs/latest/rules/indent-legacy) - */ -export interface IndentLegacyRule { - /** - * Enforce consistent indentation. - * - * @deprecated - * - * @see [indent-legacy](https://eslint.org/docs/latest/rules/indent-legacy) - */ - 'indent-legacy': IndentLegacyRuleConfig; -} +export type IndentLegacyRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/indent.d.ts b/src/rules/eslint/indent.d.ts index 36fecc10..83927508 100644 --- a/src/rules/eslint/indent.d.ts +++ b/src/rules/eslint/indent.d.ts @@ -1,9 +1,6 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'tab' | number; -/** - * Config. - */ -export interface IndentConfig { +export interface Schema1 { SwitchCase?: number; VariableDeclarator?: | (number | ('first' | 'off')) @@ -37,33 +34,4 @@ export interface IndentConfig { ignoreComments?: boolean; } -/** - * Option. - */ -export type IndentOption = 'tab' | number; - -/** - * Options. - */ -export type IndentOptions = [IndentOption?, IndentConfig?]; - -/** - * Enforce consistent indentation. - * - * @see [indent](https://eslint.org/docs/latest/rules/indent) - */ -export type IndentRuleConfig = RuleConfig; - -/** - * Enforce consistent indentation. - * - * @see [indent](https://eslint.org/docs/latest/rules/indent) - */ -export interface IndentRule { - /** - * Enforce consistent indentation. - * - * @see [indent](https://eslint.org/docs/latest/rules/indent) - */ - indent: IndentRuleConfig; -} +export type IndentRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/index.d.ts b/src/rules/eslint/index.d.ts index 83b7f0eb..fc6c01da 100644 --- a/src/rules/eslint/index.d.ts +++ b/src/rules/eslint/index.d.ts @@ -1,586 +1,2041 @@ -import type { AccessorPairsRule } from './accessor-pairs'; -import type { ArrayBracketNewlineRule } from './array-bracket-newline'; -import type { ArrayBracketSpacingRule } from './array-bracket-spacing'; -import type { ArrayCallbackReturnRule } from './array-callback-return'; -import type { ArrayElementNewlineRule } from './array-element-newline'; -import type { ArrowBodyStyleRule } from './arrow-body-style'; -import type { ArrowParensRule } from './arrow-parens'; -import type { ArrowSpacingRule } from './arrow-spacing'; -import type { BlockScopedVarRule } from './block-scoped-var'; -import type { BlockSpacingRule } from './block-spacing'; -import type { BraceStyleRule } from './brace-style'; -import type { CallbackReturnRule } from './callback-return'; -import type { CamelcaseRule } from './camelcase'; -import type { CapitalizedCommentsRule } from './capitalized-comments'; -import type { ClassMethodsUseThisRule } from './class-methods-use-this'; -import type { CommaDangleRule } from './comma-dangle'; -import type { CommaSpacingRule } from './comma-spacing'; -import type { CommaStyleRule } from './comma-style'; -import type { ComplexityRule } from './complexity'; -import type { ComputedPropertySpacingRule } from './computed-property-spacing'; -import type { ConsistentReturnRule } from './consistent-return'; -import type { ConsistentThisRule } from './consistent-this'; -import type { ConstructorSuperRule } from './constructor-super'; -import type { CurlyRule } from './curly'; -import type { DefaultCaseRule } from './default-case'; -import type { DefaultCaseLastRule } from './default-case-last'; -import type { DefaultParamLastRule } from './default-param-last'; -import type { DotLocationRule } from './dot-location'; -import type { DotNotationRule } from './dot-notation'; -import type { EolLastRule } from './eol-last'; -import type { EqeqeqRule } from './eqeqeq'; -import type { ForDirectionRule } from './for-direction'; -import type { FuncCallSpacingRule } from './func-call-spacing'; -import type { FuncNameMatchingRule } from './func-name-matching'; -import type { FuncNamesRule } from './func-names'; -import type { FuncStyleRule } from './func-style'; -import type { FunctionCallArgumentNewlineRule } from './function-call-argument-newline'; -import type { FunctionParenNewlineRule } from './function-paren-newline'; -import type { GeneratorStarSpacingRule } from './generator-star-spacing'; -import type { GetterReturnRule } from './getter-return'; -import type { GlobalRequireRule } from './global-require'; -import type { GroupedAccessorPairsRule } from './grouped-accessor-pairs'; -import type { GuardForInRule } from './guard-for-in'; -import type { HandleCallbackErrRule } from './handle-callback-err'; -import type { IdBlacklistRule } from './id-blacklist'; -import type { IdDenylistRule } from './id-denylist'; -import type { IdLengthRule } from './id-length'; -import type { IdMatchRule } from './id-match'; -import type { ImplicitArrowLinebreakRule } from './implicit-arrow-linebreak'; -import type { IndentRule } from './indent'; -import type { IndentLegacyRule } from './indent-legacy'; -import type { InitDeclarationsRule } from './init-declarations'; -import type { JsxQuotesRule } from './jsx-quotes'; -import type { KeySpacingRule } from './key-spacing'; -import type { KeywordSpacingRule } from './keyword-spacing'; -import type { LineCommentPositionRule } from './line-comment-position'; -import type { LinebreakStyleRule } from './linebreak-style'; -import type { LinesAroundCommentRule } from './lines-around-comment'; -import type { LinesAroundDirectiveRule } from './lines-around-directive'; -import type { LinesBetweenClassMembersRule } from './lines-between-class-members'; -import type { LogicalAssignmentOperatorsRule } from './logical-assignment-operators'; -import type { MaxClassesPerFileRule } from './max-classes-per-file'; -import type { MaxDepthRule } from './max-depth'; -import type { MaxLenRule } from './max-len'; -import type { MaxLinesRule } from './max-lines'; -import type { MaxLinesPerFunctionRule } from './max-lines-per-function'; -import type { MaxNestedCallbacksRule } from './max-nested-callbacks'; -import type { MaxParamsRule } from './max-params'; -import type { MaxStatementsRule } from './max-statements'; -import type { MaxStatementsPerLineRule } from './max-statements-per-line'; -import type { MultilineCommentStyleRule } from './multiline-comment-style'; -import type { MultilineTernaryRule } from './multiline-ternary'; -import type { NewCapRule } from './new-cap'; -import type { NewParensRule } from './new-parens'; -import type { NewlineAfterVarRule } from './newline-after-var'; -import type { NewlineBeforeReturnRule } from './newline-before-return'; -import type { NewlinePerChainedCallRule } from './newline-per-chained-call'; -import type { NoAlertRule } from './no-alert'; -import type { NoArrayConstructorRule } from './no-array-constructor'; -import type { NoAsyncPromiseExecutorRule } from './no-async-promise-executor'; -import type { NoAwaitInLoopRule } from './no-await-in-loop'; -import type { NoBitwiseRule } from './no-bitwise'; -import type { NoBufferConstructorRule } from './no-buffer-constructor'; -import type { NoCallerRule } from './no-caller'; -import type { NoCaseDeclarationsRule } from './no-case-declarations'; -import type { NoCatchShadowRule } from './no-catch-shadow'; -import type { NoClassAssignRule } from './no-class-assign'; -import type { NoCompareNegZeroRule } from './no-compare-neg-zero'; -import type { NoCondAssignRule } from './no-cond-assign'; -import type { NoConfusingArrowRule } from './no-confusing-arrow'; -import type { NoConsoleRule } from './no-console'; -import type { NoConstAssignRule } from './no-const-assign'; -import type { NoConstantBinaryExpressionRule } from './no-constant-binary-expression'; -import type { NoConstantConditionRule } from './no-constant-condition'; -import type { NoConstructorReturnRule } from './no-constructor-return'; -import type { NoContinueRule } from './no-continue'; -import type { NoControlRegexRule } from './no-control-regex'; -import type { NoDebuggerRule } from './no-debugger'; -import type { NoDeleteVarRule } from './no-delete-var'; -import type { NoDivRegexRule } from './no-div-regex'; -import type { NoDupeArgsRule } from './no-dupe-args'; -import type { NoDupeClassMembersRule } from './no-dupe-class-members'; -import type { NoDupeElseIfRule } from './no-dupe-else-if'; -import type { NoDupeKeysRule } from './no-dupe-keys'; -import type { NoDuplicateCaseRule } from './no-duplicate-case'; -import type { NoDuplicateImportsRule } from './no-duplicate-imports'; -import type { NoElseReturnRule } from './no-else-return'; -import type { NoEmptyRule } from './no-empty'; -import type { NoEmptyCharacterClassRule } from './no-empty-character-class'; -import type { NoEmptyFunctionRule } from './no-empty-function'; -import type { NoEmptyPatternRule } from './no-empty-pattern'; -import type { NoEmptyStaticBlockRule } from './no-empty-static-block'; -import type { NoEqNullRule } from './no-eq-null'; -import type { NoEvalRule } from './no-eval'; -import type { NoExAssignRule } from './no-ex-assign'; -import type { NoExtendNativeRule } from './no-extend-native'; -import type { NoExtraBindRule } from './no-extra-bind'; -import type { NoExtraBooleanCastRule } from './no-extra-boolean-cast'; -import type { NoExtraLabelRule } from './no-extra-label'; -import type { NoExtraParensRule } from './no-extra-parens'; -import type { NoExtraSemiRule } from './no-extra-semi'; -import type { NoFallthroughRule } from './no-fallthrough'; -import type { NoFloatingDecimalRule } from './no-floating-decimal'; -import type { NoFuncAssignRule } from './no-func-assign'; -import type { NoGlobalAssignRule } from './no-global-assign'; -import type { NoImplicitCoercionRule } from './no-implicit-coercion'; -import type { NoImplicitGlobalsRule } from './no-implicit-globals'; -import type { NoImpliedEvalRule } from './no-implied-eval'; -import type { NoImportAssignRule } from './no-import-assign'; -import type { NoInlineCommentsRule } from './no-inline-comments'; -import type { NoInnerDeclarationsRule } from './no-inner-declarations'; -import type { NoInvalidRegexpRule } from './no-invalid-regexp'; -import type { NoInvalidThisRule } from './no-invalid-this'; -import type { NoIrregularWhitespaceRule } from './no-irregular-whitespace'; -import type { NoIteratorRule } from './no-iterator'; -import type { NoLabelVarRule } from './no-label-var'; -import type { NoLabelsRule } from './no-labels'; -import type { NoLoneBlocksRule } from './no-lone-blocks'; -import type { NoLonelyIfRule } from './no-lonely-if'; -import type { NoLoopFuncRule } from './no-loop-func'; -import type { NoLossOfPrecisionRule } from './no-loss-of-precision'; -import type { NoMagicNumbersRule } from './no-magic-numbers'; -import type { NoMisleadingCharacterClassRule } from './no-misleading-character-class'; -import type { NoMixedOperatorsRule } from './no-mixed-operators'; -import type { NoMixedRequiresRule } from './no-mixed-requires'; -import type { NoMixedSpacesAndTabsRule } from './no-mixed-spaces-and-tabs'; -import type { NoMultiAssignRule } from './no-multi-assign'; -import type { NoMultiSpacesRule } from './no-multi-spaces'; -import type { NoMultiStrRule } from './no-multi-str'; -import type { NoMultipleEmptyLinesRule } from './no-multiple-empty-lines'; -import type { NoNativeReassignRule } from './no-native-reassign'; -import type { NoNegatedConditionRule } from './no-negated-condition'; -import type { NoNegatedInLhsRule } from './no-negated-in-lhs'; -import type { NoNestedTernaryRule } from './no-nested-ternary'; -import type { NoNewRule } from './no-new'; -import type { NoNewFuncRule } from './no-new-func'; -import type { NoNewNativeNonconstructorRule } from './no-new-native-nonconstructor'; -import type { NoNewObjectRule } from './no-new-object'; -import type { NoNewRequireRule } from './no-new-require'; -import type { NoNewSymbolRule } from './no-new-symbol'; -import type { NoNewWrappersRule } from './no-new-wrappers'; -import type { NoNonoctalDecimalEscapeRule } from './no-nonoctal-decimal-escape'; -import type { NoObjCallsRule } from './no-obj-calls'; -import type { NoObjectConstructorRule } from './no-object-constructor'; -import type { NoOctalRule } from './no-octal'; -import type { NoOctalEscapeRule } from './no-octal-escape'; -import type { NoParamReassignRule } from './no-param-reassign'; -import type { NoPathConcatRule } from './no-path-concat'; -import type { NoPlusplusRule } from './no-plusplus'; -import type { NoProcessEnvRule } from './no-process-env'; -import type { NoProcessExitRule } from './no-process-exit'; -import type { NoPromiseExecutorReturnRule } from './no-promise-executor-return'; -import type { NoProtoRule } from './no-proto'; -import type { NoPrototypeBuiltinsRule } from './no-prototype-builtins'; -import type { NoRedeclareRule } from './no-redeclare'; -import type { NoRegexSpacesRule } from './no-regex-spaces'; -import type { NoRestrictedExportsRule } from './no-restricted-exports'; -import type { NoRestrictedGlobalsRule } from './no-restricted-globals'; -import type { NoRestrictedImportsRule } from './no-restricted-imports'; -import type { NoRestrictedModulesRule } from './no-restricted-modules'; -import type { NoRestrictedPropertiesRule } from './no-restricted-properties'; -import type { NoRestrictedSyntaxRule } from './no-restricted-syntax'; -import type { NoReturnAssignRule } from './no-return-assign'; -import type { NoReturnAwaitRule } from './no-return-await'; -import type { NoScriptUrlRule } from './no-script-url'; -import type { NoSelfAssignRule } from './no-self-assign'; -import type { NoSelfCompareRule } from './no-self-compare'; -import type { NoSequencesRule } from './no-sequences'; -import type { NoSetterReturnRule } from './no-setter-return'; -import type { NoShadowRule } from './no-shadow'; -import type { NoShadowRestrictedNamesRule } from './no-shadow-restricted-names'; -import type { NoSpacedFuncRule } from './no-spaced-func'; -import type { NoSparseArraysRule } from './no-sparse-arrays'; -import type { NoSyncRule } from './no-sync'; -import type { NoTabsRule } from './no-tabs'; -import type { NoTemplateCurlyInStringRule } from './no-template-curly-in-string'; -import type { NoTernaryRule } from './no-ternary'; -import type { NoThisBeforeSuperRule } from './no-this-before-super'; -import type { NoThrowLiteralRule } from './no-throw-literal'; -import type { NoTrailingSpacesRule } from './no-trailing-spaces'; -import type { NoUndefRule } from './no-undef'; -import type { NoUndefInitRule } from './no-undef-init'; -import type { NoUndefinedRule } from './no-undefined'; -import type { NoUnderscoreDangleRule } from './no-underscore-dangle'; -import type { NoUnexpectedMultilineRule } from './no-unexpected-multiline'; -import type { NoUnmodifiedLoopConditionRule } from './no-unmodified-loop-condition'; -import type { NoUnneededTernaryRule } from './no-unneeded-ternary'; -import type { NoUnreachableRule } from './no-unreachable'; -import type { NoUnreachableLoopRule } from './no-unreachable-loop'; -import type { NoUnsafeFinallyRule } from './no-unsafe-finally'; -import type { NoUnsafeNegationRule } from './no-unsafe-negation'; -import type { NoUnsafeOptionalChainingRule } from './no-unsafe-optional-chaining'; -import type { NoUnusedExpressionsRule } from './no-unused-expressions'; -import type { NoUnusedLabelsRule } from './no-unused-labels'; -import type { NoUnusedPrivateClassMembersRule } from './no-unused-private-class-members'; -import type { NoUnusedVarsRule } from './no-unused-vars'; -import type { NoUseBeforeDefineRule } from './no-use-before-define'; -import type { NoUselessBackreferenceRule } from './no-useless-backreference'; -import type { NoUselessCallRule } from './no-useless-call'; -import type { NoUselessCatchRule } from './no-useless-catch'; -import type { NoUselessComputedKeyRule } from './no-useless-computed-key'; -import type { NoUselessConcatRule } from './no-useless-concat'; -import type { NoUselessConstructorRule } from './no-useless-constructor'; -import type { NoUselessEscapeRule } from './no-useless-escape'; -import type { NoUselessRenameRule } from './no-useless-rename'; -import type { NoUselessReturnRule } from './no-useless-return'; -import type { NoVarRule } from './no-var'; -import type { NoVoidRule } from './no-void'; -import type { NoWarningCommentsRule } from './no-warning-comments'; -import type { NoWhitespaceBeforePropertyRule } from './no-whitespace-before-property'; -import type { NoWithRule } from './no-with'; -import type { NonblockStatementBodyPositionRule } from './nonblock-statement-body-position'; -import type { ObjectCurlyNewlineRule } from './object-curly-newline'; -import type { ObjectCurlySpacingRule } from './object-curly-spacing'; -import type { ObjectPropertyNewlineRule } from './object-property-newline'; -import type { ObjectShorthandRule } from './object-shorthand'; -import type { OneVarRule } from './one-var'; -import type { OneVarDeclarationPerLineRule } from './one-var-declaration-per-line'; -import type { OperatorAssignmentRule } from './operator-assignment'; -import type { OperatorLinebreakRule } from './operator-linebreak'; -import type { PaddedBlocksRule } from './padded-blocks'; -import type { PaddingLineBetweenStatementsRule } from './padding-line-between-statements'; -import type { PreferArrowCallbackRule } from './prefer-arrow-callback'; -import type { PreferConstRule } from './prefer-const'; -import type { PreferDestructuringRule } from './prefer-destructuring'; -import type { PreferExponentiationOperatorRule } from './prefer-exponentiation-operator'; -import type { PreferNamedCaptureGroupRule } from './prefer-named-capture-group'; -import type { PreferNumericLiteralsRule } from './prefer-numeric-literals'; -import type { PreferObjectHasOwnRule } from './prefer-object-has-own'; -import type { PreferObjectSpreadRule } from './prefer-object-spread'; -import type { PreferPromiseRejectErrorsRule } from './prefer-promise-reject-errors'; -import type { PreferReflectRule } from './prefer-reflect'; -import type { PreferRegexLiteralsRule } from './prefer-regex-literals'; -import type { PreferRestParamsRule } from './prefer-rest-params'; -import type { PreferSpreadRule } from './prefer-spread'; -import type { PreferTemplateRule } from './prefer-template'; -import type { QuotePropsRule } from './quote-props'; -import type { QuotesRule } from './quotes'; -import type { RadixRule } from './radix'; -import type { RequireAtomicUpdatesRule } from './require-atomic-updates'; -import type { RequireAwaitRule } from './require-await'; -import type { RequireJsdocRule } from './require-jsdoc'; -import type { RequireUnicodeRegexpRule } from './require-unicode-regexp'; -import type { RequireYieldRule } from './require-yield'; -import type { RestSpreadSpacingRule } from './rest-spread-spacing'; -import type { SemiRule } from './semi'; -import type { SemiSpacingRule } from './semi-spacing'; -import type { SemiStyleRule } from './semi-style'; -import type { SortImportsRule } from './sort-imports'; -import type { SortKeysRule } from './sort-keys'; -import type { SortVarsRule } from './sort-vars'; -import type { SpaceBeforeBlocksRule } from './space-before-blocks'; -import type { SpaceBeforeFunctionParenRule } from './space-before-function-paren'; -import type { SpaceInParensRule } from './space-in-parens'; -import type { SpaceInfixOpsRule } from './space-infix-ops'; -import type { SpaceUnaryOpsRule } from './space-unary-ops'; -import type { SpacedCommentRule } from './spaced-comment'; -import type { StrictRule } from './strict'; -import type { SwitchColonSpacingRule } from './switch-colon-spacing'; -import type { SymbolDescriptionRule } from './symbol-description'; -import type { TemplateCurlySpacingRule } from './template-curly-spacing'; -import type { TemplateTagSpacingRule } from './template-tag-spacing'; -import type { UnicodeBomRule } from './unicode-bom'; -import type { UseIsnanRule } from './use-isnan'; -import type { ValidJsdocRule } from './valid-jsdoc'; -import type { ValidTypeofRule } from './valid-typeof'; -import type { VarsOnTopRule } from './vars-on-top'; -import type { WrapIifeRule } from './wrap-iife'; -import type { WrapRegexRule } from './wrap-regex'; -import type { YieldStarSpacingRule } from './yield-star-spacing'; -import type { YodaRule } from './yoda'; +import type { RuleConfig } from '../rule-config'; +import type { AccessorPairsRuleOptions } from './accessor-pairs'; +import type { ArrayBracketNewlineRuleOptions } from './array-bracket-newline'; +import type { ArrayBracketSpacingRuleOptions } from './array-bracket-spacing'; +import type { ArrayCallbackReturnRuleOptions } from './array-callback-return'; +import type { ArrayElementNewlineRuleOptions } from './array-element-newline'; +import type { ArrowBodyStyleRuleOptions } from './arrow-body-style'; +import type { ArrowParensRuleOptions } from './arrow-parens'; +import type { ArrowSpacingRuleOptions } from './arrow-spacing'; +import type { BlockScopedVarRuleOptions } from './block-scoped-var'; +import type { BlockSpacingRuleOptions } from './block-spacing'; +import type { BraceStyleRuleOptions } from './brace-style'; +import type { CallbackReturnRuleOptions } from './callback-return'; +import type { CamelcaseRuleOptions } from './camelcase'; +import type { CapitalizedCommentsRuleOptions } from './capitalized-comments'; +import type { ClassMethodsUseThisRuleOptions } from './class-methods-use-this'; +import type { CommaDangleRuleOptions } from './comma-dangle'; +import type { CommaSpacingRuleOptions } from './comma-spacing'; +import type { CommaStyleRuleOptions } from './comma-style'; +import type { ComplexityRuleOptions } from './complexity'; +import type { ComputedPropertySpacingRuleOptions } from './computed-property-spacing'; +import type { ConsistentReturnRuleOptions } from './consistent-return'; +import type { ConsistentThisRuleOptions } from './consistent-this'; +import type { ConstructorSuperRuleOptions } from './constructor-super'; +import type { CurlyRuleOptions } from './curly'; +import type { DefaultCaseRuleOptions } from './default-case'; +import type { DefaultCaseLastRuleOptions } from './default-case-last'; +import type { DefaultParamLastRuleOptions } from './default-param-last'; +import type { DotLocationRuleOptions } from './dot-location'; +import type { DotNotationRuleOptions } from './dot-notation'; +import type { EolLastRuleOptions } from './eol-last'; +import type { EqeqeqRuleOptions } from './eqeqeq'; +import type { ForDirectionRuleOptions } from './for-direction'; +import type { FuncCallSpacingRuleOptions } from './func-call-spacing'; +import type { FuncNameMatchingRuleOptions } from './func-name-matching'; +import type { FuncNamesRuleOptions } from './func-names'; +import type { FuncStyleRuleOptions } from './func-style'; +import type { FunctionCallArgumentNewlineRuleOptions } from './function-call-argument-newline'; +import type { FunctionParenNewlineRuleOptions } from './function-paren-newline'; +import type { GeneratorStarSpacingRuleOptions } from './generator-star-spacing'; +import type { GetterReturnRuleOptions } from './getter-return'; +import type { GlobalRequireRuleOptions } from './global-require'; +import type { GroupedAccessorPairsRuleOptions } from './grouped-accessor-pairs'; +import type { GuardForInRuleOptions } from './guard-for-in'; +import type { HandleCallbackErrRuleOptions } from './handle-callback-err'; +import type { IdBlacklistRuleOptions } from './id-blacklist'; +import type { IdDenylistRuleOptions } from './id-denylist'; +import type { IdLengthRuleOptions } from './id-length'; +import type { IdMatchRuleOptions } from './id-match'; +import type { ImplicitArrowLinebreakRuleOptions } from './implicit-arrow-linebreak'; +import type { IndentRuleOptions } from './indent'; +import type { IndentLegacyRuleOptions } from './indent-legacy'; +import type { InitDeclarationsRuleOptions } from './init-declarations'; +import type { JsxQuotesRuleOptions } from './jsx-quotes'; +import type { KeySpacingRuleOptions } from './key-spacing'; +import type { KeywordSpacingRuleOptions } from './keyword-spacing'; +import type { LineCommentPositionRuleOptions } from './line-comment-position'; +import type { LinebreakStyleRuleOptions } from './linebreak-style'; +import type { LinesAroundCommentRuleOptions } from './lines-around-comment'; +import type { LinesAroundDirectiveRuleOptions } from './lines-around-directive'; +import type { LinesBetweenClassMembersRuleOptions } from './lines-between-class-members'; +import type { LogicalAssignmentOperatorsRuleOptions } from './logical-assignment-operators'; +import type { MaxClassesPerFileRuleOptions } from './max-classes-per-file'; +import type { MaxDepthRuleOptions } from './max-depth'; +import type { MaxLenRuleOptions } from './max-len'; +import type { MaxLinesRuleOptions } from './max-lines'; +import type { MaxLinesPerFunctionRuleOptions } from './max-lines-per-function'; +import type { MaxNestedCallbacksRuleOptions } from './max-nested-callbacks'; +import type { MaxParamsRuleOptions } from './max-params'; +import type { MaxStatementsRuleOptions } from './max-statements'; +import type { MaxStatementsPerLineRuleOptions } from './max-statements-per-line'; +import type { MultilineCommentStyleRuleOptions } from './multiline-comment-style'; +import type { MultilineTernaryRuleOptions } from './multiline-ternary'; +import type { NewCapRuleOptions } from './new-cap'; +import type { NewParensRuleOptions } from './new-parens'; +import type { NewlineAfterVarRuleOptions } from './newline-after-var'; +import type { NewlineBeforeReturnRuleOptions } from './newline-before-return'; +import type { NewlinePerChainedCallRuleOptions } from './newline-per-chained-call'; +import type { NoAlertRuleOptions } from './no-alert'; +import type { NoArrayConstructorRuleOptions } from './no-array-constructor'; +import type { NoAsyncPromiseExecutorRuleOptions } from './no-async-promise-executor'; +import type { NoAwaitInLoopRuleOptions } from './no-await-in-loop'; +import type { NoBitwiseRuleOptions } from './no-bitwise'; +import type { NoBufferConstructorRuleOptions } from './no-buffer-constructor'; +import type { NoCallerRuleOptions } from './no-caller'; +import type { NoCaseDeclarationsRuleOptions } from './no-case-declarations'; +import type { NoCatchShadowRuleOptions } from './no-catch-shadow'; +import type { NoClassAssignRuleOptions } from './no-class-assign'; +import type { NoCompareNegZeroRuleOptions } from './no-compare-neg-zero'; +import type { NoCondAssignRuleOptions } from './no-cond-assign'; +import type { NoConfusingArrowRuleOptions } from './no-confusing-arrow'; +import type { NoConsoleRuleOptions } from './no-console'; +import type { NoConstAssignRuleOptions } from './no-const-assign'; +import type { NoConstantBinaryExpressionRuleOptions } from './no-constant-binary-expression'; +import type { NoConstantConditionRuleOptions } from './no-constant-condition'; +import type { NoConstructorReturnRuleOptions } from './no-constructor-return'; +import type { NoContinueRuleOptions } from './no-continue'; +import type { NoControlRegexRuleOptions } from './no-control-regex'; +import type { NoDebuggerRuleOptions } from './no-debugger'; +import type { NoDeleteVarRuleOptions } from './no-delete-var'; +import type { NoDivRegexRuleOptions } from './no-div-regex'; +import type { NoDupeArgsRuleOptions } from './no-dupe-args'; +import type { NoDupeClassMembersRuleOptions } from './no-dupe-class-members'; +import type { NoDupeElseIfRuleOptions } from './no-dupe-else-if'; +import type { NoDupeKeysRuleOptions } from './no-dupe-keys'; +import type { NoDuplicateCaseRuleOptions } from './no-duplicate-case'; +import type { NoDuplicateImportsRuleOptions } from './no-duplicate-imports'; +import type { NoElseReturnRuleOptions } from './no-else-return'; +import type { NoEmptyRuleOptions } from './no-empty'; +import type { NoEmptyCharacterClassRuleOptions } from './no-empty-character-class'; +import type { NoEmptyFunctionRuleOptions } from './no-empty-function'; +import type { NoEmptyPatternRuleOptions } from './no-empty-pattern'; +import type { NoEmptyStaticBlockRuleOptions } from './no-empty-static-block'; +import type { NoEqNullRuleOptions } from './no-eq-null'; +import type { NoEvalRuleOptions } from './no-eval'; +import type { NoExAssignRuleOptions } from './no-ex-assign'; +import type { NoExtendNativeRuleOptions } from './no-extend-native'; +import type { NoExtraBindRuleOptions } from './no-extra-bind'; +import type { NoExtraBooleanCastRuleOptions } from './no-extra-boolean-cast'; +import type { NoExtraLabelRuleOptions } from './no-extra-label'; +import type { NoExtraParensRuleOptions } from './no-extra-parens'; +import type { NoExtraSemiRuleOptions } from './no-extra-semi'; +import type { NoFallthroughRuleOptions } from './no-fallthrough'; +import type { NoFloatingDecimalRuleOptions } from './no-floating-decimal'; +import type { NoFuncAssignRuleOptions } from './no-func-assign'; +import type { NoGlobalAssignRuleOptions } from './no-global-assign'; +import type { NoImplicitCoercionRuleOptions } from './no-implicit-coercion'; +import type { NoImplicitGlobalsRuleOptions } from './no-implicit-globals'; +import type { NoImpliedEvalRuleOptions } from './no-implied-eval'; +import type { NoImportAssignRuleOptions } from './no-import-assign'; +import type { NoInlineCommentsRuleOptions } from './no-inline-comments'; +import type { NoInnerDeclarationsRuleOptions } from './no-inner-declarations'; +import type { NoInvalidRegexpRuleOptions } from './no-invalid-regexp'; +import type { NoInvalidThisRuleOptions } from './no-invalid-this'; +import type { NoIrregularWhitespaceRuleOptions } from './no-irregular-whitespace'; +import type { NoIteratorRuleOptions } from './no-iterator'; +import type { NoLabelVarRuleOptions } from './no-label-var'; +import type { NoLabelsRuleOptions } from './no-labels'; +import type { NoLoneBlocksRuleOptions } from './no-lone-blocks'; +import type { NoLonelyIfRuleOptions } from './no-lonely-if'; +import type { NoLoopFuncRuleOptions } from './no-loop-func'; +import type { NoLossOfPrecisionRuleOptions } from './no-loss-of-precision'; +import type { NoMagicNumbersRuleOptions } from './no-magic-numbers'; +import type { NoMisleadingCharacterClassRuleOptions } from './no-misleading-character-class'; +import type { NoMixedOperatorsRuleOptions } from './no-mixed-operators'; +import type { NoMixedRequiresRuleOptions } from './no-mixed-requires'; +import type { NoMixedSpacesAndTabsRuleOptions } from './no-mixed-spaces-and-tabs'; +import type { NoMultiAssignRuleOptions } from './no-multi-assign'; +import type { NoMultiSpacesRuleOptions } from './no-multi-spaces'; +import type { NoMultiStrRuleOptions } from './no-multi-str'; +import type { NoMultipleEmptyLinesRuleOptions } from './no-multiple-empty-lines'; +import type { NoNativeReassignRuleOptions } from './no-native-reassign'; +import type { NoNegatedConditionRuleOptions } from './no-negated-condition'; +import type { NoNegatedInLhsRuleOptions } from './no-negated-in-lhs'; +import type { NoNestedTernaryRuleOptions } from './no-nested-ternary'; +import type { NoNewRuleOptions } from './no-new'; +import type { NoNewFuncRuleOptions } from './no-new-func'; +import type { NoNewNativeNonconstructorRuleOptions } from './no-new-native-nonconstructor'; +import type { NoNewObjectRuleOptions } from './no-new-object'; +import type { NoNewRequireRuleOptions } from './no-new-require'; +import type { NoNewSymbolRuleOptions } from './no-new-symbol'; +import type { NoNewWrappersRuleOptions } from './no-new-wrappers'; +import type { NoNonoctalDecimalEscapeRuleOptions } from './no-nonoctal-decimal-escape'; +import type { NoObjCallsRuleOptions } from './no-obj-calls'; +import type { NoObjectConstructorRuleOptions } from './no-object-constructor'; +import type { NoOctalRuleOptions } from './no-octal'; +import type { NoOctalEscapeRuleOptions } from './no-octal-escape'; +import type { NoParamReassignRuleOptions } from './no-param-reassign'; +import type { NoPathConcatRuleOptions } from './no-path-concat'; +import type { NoPlusplusRuleOptions } from './no-plusplus'; +import type { NoProcessEnvRuleOptions } from './no-process-env'; +import type { NoProcessExitRuleOptions } from './no-process-exit'; +import type { NoPromiseExecutorReturnRuleOptions } from './no-promise-executor-return'; +import type { NoProtoRuleOptions } from './no-proto'; +import type { NoPrototypeBuiltinsRuleOptions } from './no-prototype-builtins'; +import type { NoRedeclareRuleOptions } from './no-redeclare'; +import type { NoRegexSpacesRuleOptions } from './no-regex-spaces'; +import type { NoRestrictedExportsRuleOptions } from './no-restricted-exports'; +import type { NoRestrictedGlobalsRuleOptions } from './no-restricted-globals'; +import type { NoRestrictedImportsRuleOptions } from './no-restricted-imports'; +import type { NoRestrictedModulesRuleOptions } from './no-restricted-modules'; +import type { NoRestrictedPropertiesRuleOptions } from './no-restricted-properties'; +import type { NoRestrictedSyntaxRuleOptions } from './no-restricted-syntax'; +import type { NoReturnAssignRuleOptions } from './no-return-assign'; +import type { NoReturnAwaitRuleOptions } from './no-return-await'; +import type { NoScriptUrlRuleOptions } from './no-script-url'; +import type { NoSelfAssignRuleOptions } from './no-self-assign'; +import type { NoSelfCompareRuleOptions } from './no-self-compare'; +import type { NoSequencesRuleOptions } from './no-sequences'; +import type { NoSetterReturnRuleOptions } from './no-setter-return'; +import type { NoShadowRuleOptions } from './no-shadow'; +import type { NoShadowRestrictedNamesRuleOptions } from './no-shadow-restricted-names'; +import type { NoSpacedFuncRuleOptions } from './no-spaced-func'; +import type { NoSparseArraysRuleOptions } from './no-sparse-arrays'; +import type { NoSyncRuleOptions } from './no-sync'; +import type { NoTabsRuleOptions } from './no-tabs'; +import type { NoTemplateCurlyInStringRuleOptions } from './no-template-curly-in-string'; +import type { NoTernaryRuleOptions } from './no-ternary'; +import type { NoThisBeforeSuperRuleOptions } from './no-this-before-super'; +import type { NoThrowLiteralRuleOptions } from './no-throw-literal'; +import type { NoTrailingSpacesRuleOptions } from './no-trailing-spaces'; +import type { NoUndefRuleOptions } from './no-undef'; +import type { NoUndefInitRuleOptions } from './no-undef-init'; +import type { NoUndefinedRuleOptions } from './no-undefined'; +import type { NoUnderscoreDangleRuleOptions } from './no-underscore-dangle'; +import type { NoUnexpectedMultilineRuleOptions } from './no-unexpected-multiline'; +import type { NoUnmodifiedLoopConditionRuleOptions } from './no-unmodified-loop-condition'; +import type { NoUnneededTernaryRuleOptions } from './no-unneeded-ternary'; +import type { NoUnreachableRuleOptions } from './no-unreachable'; +import type { NoUnreachableLoopRuleOptions } from './no-unreachable-loop'; +import type { NoUnsafeFinallyRuleOptions } from './no-unsafe-finally'; +import type { NoUnsafeNegationRuleOptions } from './no-unsafe-negation'; +import type { NoUnsafeOptionalChainingRuleOptions } from './no-unsafe-optional-chaining'; +import type { NoUnusedExpressionsRuleOptions } from './no-unused-expressions'; +import type { NoUnusedLabelsRuleOptions } from './no-unused-labels'; +import type { NoUnusedPrivateClassMembersRuleOptions } from './no-unused-private-class-members'; +import type { NoUnusedVarsRuleOptions } from './no-unused-vars'; +import type { NoUseBeforeDefineRuleOptions } from './no-use-before-define'; +import type { NoUselessBackreferenceRuleOptions } from './no-useless-backreference'; +import type { NoUselessCallRuleOptions } from './no-useless-call'; +import type { NoUselessCatchRuleOptions } from './no-useless-catch'; +import type { NoUselessComputedKeyRuleOptions } from './no-useless-computed-key'; +import type { NoUselessConcatRuleOptions } from './no-useless-concat'; +import type { NoUselessConstructorRuleOptions } from './no-useless-constructor'; +import type { NoUselessEscapeRuleOptions } from './no-useless-escape'; +import type { NoUselessRenameRuleOptions } from './no-useless-rename'; +import type { NoUselessReturnRuleOptions } from './no-useless-return'; +import type { NoVarRuleOptions } from './no-var'; +import type { NoVoidRuleOptions } from './no-void'; +import type { NoWarningCommentsRuleOptions } from './no-warning-comments'; +import type { NoWhitespaceBeforePropertyRuleOptions } from './no-whitespace-before-property'; +import type { NoWithRuleOptions } from './no-with'; +import type { NonblockStatementBodyPositionRuleOptions } from './nonblock-statement-body-position'; +import type { ObjectCurlyNewlineRuleOptions } from './object-curly-newline'; +import type { ObjectCurlySpacingRuleOptions } from './object-curly-spacing'; +import type { ObjectPropertyNewlineRuleOptions } from './object-property-newline'; +import type { ObjectShorthandRuleOptions } from './object-shorthand'; +import type { OneVarRuleOptions } from './one-var'; +import type { OneVarDeclarationPerLineRuleOptions } from './one-var-declaration-per-line'; +import type { OperatorAssignmentRuleOptions } from './operator-assignment'; +import type { OperatorLinebreakRuleOptions } from './operator-linebreak'; +import type { PaddedBlocksRuleOptions } from './padded-blocks'; +import type { PaddingLineBetweenStatementsRuleOptions } from './padding-line-between-statements'; +import type { PreferArrowCallbackRuleOptions } from './prefer-arrow-callback'; +import type { PreferConstRuleOptions } from './prefer-const'; +import type { PreferDestructuringRuleOptions } from './prefer-destructuring'; +import type { PreferExponentiationOperatorRuleOptions } from './prefer-exponentiation-operator'; +import type { PreferNamedCaptureGroupRuleOptions } from './prefer-named-capture-group'; +import type { PreferNumericLiteralsRuleOptions } from './prefer-numeric-literals'; +import type { PreferObjectHasOwnRuleOptions } from './prefer-object-has-own'; +import type { PreferObjectSpreadRuleOptions } from './prefer-object-spread'; +import type { PreferPromiseRejectErrorsRuleOptions } from './prefer-promise-reject-errors'; +import type { PreferReflectRuleOptions } from './prefer-reflect'; +import type { PreferRegexLiteralsRuleOptions } from './prefer-regex-literals'; +import type { PreferRestParamsRuleOptions } from './prefer-rest-params'; +import type { PreferSpreadRuleOptions } from './prefer-spread'; +import type { PreferTemplateRuleOptions } from './prefer-template'; +import type { QuotePropsRuleOptions } from './quote-props'; +import type { QuotesRuleOptions } from './quotes'; +import type { RadixRuleOptions } from './radix'; +import type { RequireAtomicUpdatesRuleOptions } from './require-atomic-updates'; +import type { RequireAwaitRuleOptions } from './require-await'; +import type { RequireJsdocRuleOptions } from './require-jsdoc'; +import type { RequireUnicodeRegexpRuleOptions } from './require-unicode-regexp'; +import type { RequireYieldRuleOptions } from './require-yield'; +import type { RestSpreadSpacingRuleOptions } from './rest-spread-spacing'; +import type { SemiRuleOptions } from './semi'; +import type { SemiSpacingRuleOptions } from './semi-spacing'; +import type { SemiStyleRuleOptions } from './semi-style'; +import type { SortImportsRuleOptions } from './sort-imports'; +import type { SortKeysRuleOptions } from './sort-keys'; +import type { SortVarsRuleOptions } from './sort-vars'; +import type { SpaceBeforeBlocksRuleOptions } from './space-before-blocks'; +import type { SpaceBeforeFunctionParenRuleOptions } from './space-before-function-paren'; +import type { SpaceInParensRuleOptions } from './space-in-parens'; +import type { SpaceInfixOpsRuleOptions } from './space-infix-ops'; +import type { SpaceUnaryOpsRuleOptions } from './space-unary-ops'; +import type { SpacedCommentRuleOptions } from './spaced-comment'; +import type { StrictRuleOptions } from './strict'; +import type { SwitchColonSpacingRuleOptions } from './switch-colon-spacing'; +import type { SymbolDescriptionRuleOptions } from './symbol-description'; +import type { TemplateCurlySpacingRuleOptions } from './template-curly-spacing'; +import type { TemplateTagSpacingRuleOptions } from './template-tag-spacing'; +import type { UnicodeBomRuleOptions } from './unicode-bom'; +import type { UseIsnanRuleOptions } from './use-isnan'; +import type { ValidJsdocRuleOptions } from './valid-jsdoc'; +import type { ValidTypeofRuleOptions } from './valid-typeof'; +import type { VarsOnTopRuleOptions } from './vars-on-top'; +import type { WrapIifeRuleOptions } from './wrap-iife'; +import type { WrapRegexRuleOptions } from './wrap-regex'; +import type { YieldStarSpacingRuleOptions } from './yield-star-spacing'; +import type { YodaRuleOptions } from './yoda'; -/** - * All Eslint rules. - */ -export type EslintRules = AccessorPairsRule & - ArrayBracketNewlineRule & - ArrayBracketSpacingRule & - ArrayCallbackReturnRule & - ArrayElementNewlineRule & - ArrowBodyStyleRule & - ArrowParensRule & - ArrowSpacingRule & - BlockScopedVarRule & - BlockSpacingRule & - BraceStyleRule & - CallbackReturnRule & - CamelcaseRule & - CapitalizedCommentsRule & - ClassMethodsUseThisRule & - CommaDangleRule & - CommaSpacingRule & - CommaStyleRule & - ComplexityRule & - ComputedPropertySpacingRule & - ConsistentReturnRule & - ConsistentThisRule & - ConstructorSuperRule & - CurlyRule & - DefaultCaseRule & - DefaultCaseLastRule & - DefaultParamLastRule & - DotLocationRule & - DotNotationRule & - EolLastRule & - EqeqeqRule & - ForDirectionRule & - FuncCallSpacingRule & - FuncNameMatchingRule & - FuncNamesRule & - FuncStyleRule & - FunctionCallArgumentNewlineRule & - FunctionParenNewlineRule & - GeneratorStarSpacingRule & - GetterReturnRule & - GlobalRequireRule & - GroupedAccessorPairsRule & - GuardForInRule & - HandleCallbackErrRule & - IdBlacklistRule & - IdDenylistRule & - IdLengthRule & - IdMatchRule & - ImplicitArrowLinebreakRule & - IndentRule & - IndentLegacyRule & - InitDeclarationsRule & - JsxQuotesRule & - KeySpacingRule & - KeywordSpacingRule & - LineCommentPositionRule & - LinebreakStyleRule & - LinesAroundCommentRule & - LinesAroundDirectiveRule & - LinesBetweenClassMembersRule & - LogicalAssignmentOperatorsRule & - MaxClassesPerFileRule & - MaxDepthRule & - MaxLenRule & - MaxLinesRule & - MaxLinesPerFunctionRule & - MaxNestedCallbacksRule & - MaxParamsRule & - MaxStatementsRule & - MaxStatementsPerLineRule & - MultilineCommentStyleRule & - MultilineTernaryRule & - NewCapRule & - NewParensRule & - NewlineAfterVarRule & - NewlineBeforeReturnRule & - NewlinePerChainedCallRule & - NoAlertRule & - NoArrayConstructorRule & - NoAsyncPromiseExecutorRule & - NoAwaitInLoopRule & - NoBitwiseRule & - NoBufferConstructorRule & - NoCallerRule & - NoCaseDeclarationsRule & - NoCatchShadowRule & - NoClassAssignRule & - NoCompareNegZeroRule & - NoCondAssignRule & - NoConfusingArrowRule & - NoConsoleRule & - NoConstAssignRule & - NoConstantBinaryExpressionRule & - NoConstantConditionRule & - NoConstructorReturnRule & - NoContinueRule & - NoControlRegexRule & - NoDebuggerRule & - NoDeleteVarRule & - NoDivRegexRule & - NoDupeArgsRule & - NoDupeClassMembersRule & - NoDupeElseIfRule & - NoDupeKeysRule & - NoDuplicateCaseRule & - NoDuplicateImportsRule & - NoElseReturnRule & - NoEmptyRule & - NoEmptyCharacterClassRule & - NoEmptyFunctionRule & - NoEmptyPatternRule & - NoEmptyStaticBlockRule & - NoEqNullRule & - NoEvalRule & - NoExAssignRule & - NoExtendNativeRule & - NoExtraBindRule & - NoExtraBooleanCastRule & - NoExtraLabelRule & - NoExtraParensRule & - NoExtraSemiRule & - NoFallthroughRule & - NoFloatingDecimalRule & - NoFuncAssignRule & - NoGlobalAssignRule & - NoImplicitCoercionRule & - NoImplicitGlobalsRule & - NoImpliedEvalRule & - NoImportAssignRule & - NoInlineCommentsRule & - NoInnerDeclarationsRule & - NoInvalidRegexpRule & - NoInvalidThisRule & - NoIrregularWhitespaceRule & - NoIteratorRule & - NoLabelVarRule & - NoLabelsRule & - NoLoneBlocksRule & - NoLonelyIfRule & - NoLoopFuncRule & - NoLossOfPrecisionRule & - NoMagicNumbersRule & - NoMisleadingCharacterClassRule & - NoMixedOperatorsRule & - NoMixedRequiresRule & - NoMixedSpacesAndTabsRule & - NoMultiAssignRule & - NoMultiSpacesRule & - NoMultiStrRule & - NoMultipleEmptyLinesRule & - NoNativeReassignRule & - NoNegatedConditionRule & - NoNegatedInLhsRule & - NoNestedTernaryRule & - NoNewRule & - NoNewFuncRule & - NoNewNativeNonconstructorRule & - NoNewObjectRule & - NoNewRequireRule & - NoNewSymbolRule & - NoNewWrappersRule & - NoNonoctalDecimalEscapeRule & - NoObjCallsRule & - NoObjectConstructorRule & - NoOctalRule & - NoOctalEscapeRule & - NoParamReassignRule & - NoPathConcatRule & - NoPlusplusRule & - NoProcessEnvRule & - NoProcessExitRule & - NoPromiseExecutorReturnRule & - NoProtoRule & - NoPrototypeBuiltinsRule & - NoRedeclareRule & - NoRegexSpacesRule & - NoRestrictedExportsRule & - NoRestrictedGlobalsRule & - NoRestrictedImportsRule & - NoRestrictedModulesRule & - NoRestrictedPropertiesRule & - NoRestrictedSyntaxRule & - NoReturnAssignRule & - NoReturnAwaitRule & - NoScriptUrlRule & - NoSelfAssignRule & - NoSelfCompareRule & - NoSequencesRule & - NoSetterReturnRule & - NoShadowRule & - NoShadowRestrictedNamesRule & - NoSpacedFuncRule & - NoSparseArraysRule & - NoSyncRule & - NoTabsRule & - NoTemplateCurlyInStringRule & - NoTernaryRule & - NoThisBeforeSuperRule & - NoThrowLiteralRule & - NoTrailingSpacesRule & - NoUndefRule & - NoUndefInitRule & - NoUndefinedRule & - NoUnderscoreDangleRule & - NoUnexpectedMultilineRule & - NoUnmodifiedLoopConditionRule & - NoUnneededTernaryRule & - NoUnreachableRule & - NoUnreachableLoopRule & - NoUnsafeFinallyRule & - NoUnsafeNegationRule & - NoUnsafeOptionalChainingRule & - NoUnusedExpressionsRule & - NoUnusedLabelsRule & - NoUnusedPrivateClassMembersRule & - NoUnusedVarsRule & - NoUseBeforeDefineRule & - NoUselessBackreferenceRule & - NoUselessCallRule & - NoUselessCatchRule & - NoUselessComputedKeyRule & - NoUselessConcatRule & - NoUselessConstructorRule & - NoUselessEscapeRule & - NoUselessRenameRule & - NoUselessReturnRule & - NoVarRule & - NoVoidRule & - NoWarningCommentsRule & - NoWhitespaceBeforePropertyRule & - NoWithRule & - NonblockStatementBodyPositionRule & - ObjectCurlyNewlineRule & - ObjectCurlySpacingRule & - ObjectPropertyNewlineRule & - ObjectShorthandRule & - OneVarRule & - OneVarDeclarationPerLineRule & - OperatorAssignmentRule & - OperatorLinebreakRule & - PaddedBlocksRule & - PaddingLineBetweenStatementsRule & - PreferArrowCallbackRule & - PreferConstRule & - PreferDestructuringRule & - PreferExponentiationOperatorRule & - PreferNamedCaptureGroupRule & - PreferNumericLiteralsRule & - PreferObjectHasOwnRule & - PreferObjectSpreadRule & - PreferPromiseRejectErrorsRule & - PreferReflectRule & - PreferRegexLiteralsRule & - PreferRestParamsRule & - PreferSpreadRule & - PreferTemplateRule & - QuotePropsRule & - QuotesRule & - RadixRule & - RequireAtomicUpdatesRule & - RequireAwaitRule & - RequireJsdocRule & - RequireUnicodeRegexpRule & - RequireYieldRule & - RestSpreadSpacingRule & - SemiRule & - SemiSpacingRule & - SemiStyleRule & - SortImportsRule & - SortKeysRule & - SortVarsRule & - SpaceBeforeBlocksRule & - SpaceBeforeFunctionParenRule & - SpaceInParensRule & - SpaceInfixOpsRule & - SpaceUnaryOpsRule & - SpacedCommentRule & - StrictRule & - SwitchColonSpacingRule & - SymbolDescriptionRule & - TemplateCurlySpacingRule & - TemplateTagSpacingRule & - UnicodeBomRule & - UseIsnanRule & - ValidJsdocRule & - ValidTypeofRule & - VarsOnTopRule & - WrapIifeRule & - WrapRegexRule & - YieldStarSpacingRule & - YodaRule; +export interface EslintRules { + /** + * Enforce getter and setter pairs in objects and classes + * + * @see [accessor-pairs](https://eslint.org/docs/latest/rules/accessor-pairs) + */ + 'accessor-pairs': RuleConfig; + /** + * Enforce linebreaks after opening and before closing array brackets + * + * @see [array-bracket-newline](https://eslint.org/docs/latest/rules/array-bracket-newline) + */ + 'array-bracket-newline': RuleConfig; + /** + * Enforce consistent spacing inside array brackets + * + * @see [array-bracket-spacing](https://eslint.org/docs/latest/rules/array-bracket-spacing) + */ + 'array-bracket-spacing': RuleConfig; + /** + * Enforce `return` statements in callbacks of array methods + * + * @see [array-callback-return](https://eslint.org/docs/latest/rules/array-callback-return) + */ + 'array-callback-return': RuleConfig; + /** + * Enforce line breaks after each array element + * + * @see [array-element-newline](https://eslint.org/docs/latest/rules/array-element-newline) + */ + 'array-element-newline': RuleConfig; + /** + * Require braces around arrow function bodies + * + * @see [arrow-body-style](https://eslint.org/docs/latest/rules/arrow-body-style) + */ + 'arrow-body-style': RuleConfig; + /** + * Require parentheses around arrow function arguments + * + * @see [arrow-parens](https://eslint.org/docs/latest/rules/arrow-parens) + */ + 'arrow-parens': RuleConfig; + /** + * Enforce consistent spacing before and after the arrow in arrow functions + * + * @see [arrow-spacing](https://eslint.org/docs/latest/rules/arrow-spacing) + */ + 'arrow-spacing': RuleConfig; + /** + * Enforce the use of variables within the scope they are defined + * + * @see [block-scoped-var](https://eslint.org/docs/latest/rules/block-scoped-var) + */ + 'block-scoped-var': RuleConfig; + /** + * Disallow or enforce spaces inside of blocks after opening block and before closing block + * + * @see [block-spacing](https://eslint.org/docs/latest/rules/block-spacing) + */ + 'block-spacing': RuleConfig; + /** + * Enforce consistent brace style for blocks + * + * @see [brace-style](https://eslint.org/docs/latest/rules/brace-style) + */ + 'brace-style': RuleConfig; + /** + * Require `return` statements after callbacks + * + * @see [callback-return](https://eslint.org/docs/latest/rules/callback-return) + */ + 'callback-return': RuleConfig; + /** + * Enforce camelcase naming convention + * + * @see [camelcase](https://eslint.org/docs/latest/rules/camelcase) + */ + camelcase: RuleConfig; + /** + * Enforce or disallow capitalization of the first letter of a comment + * + * @see [capitalized-comments](https://eslint.org/docs/latest/rules/capitalized-comments) + */ + 'capitalized-comments': RuleConfig; + /** + * Enforce that class methods utilize `this` + * + * @see [class-methods-use-this](https://eslint.org/docs/latest/rules/class-methods-use-this) + */ + 'class-methods-use-this': RuleConfig; + /** + * Require or disallow trailing commas + * + * @see [comma-dangle](https://eslint.org/docs/latest/rules/comma-dangle) + */ + 'comma-dangle': RuleConfig; + /** + * Enforce consistent spacing before and after commas + * + * @see [comma-spacing](https://eslint.org/docs/latest/rules/comma-spacing) + */ + 'comma-spacing': RuleConfig; + /** + * Enforce consistent comma style + * + * @see [comma-style](https://eslint.org/docs/latest/rules/comma-style) + */ + 'comma-style': RuleConfig; + /** + * Enforce a maximum cyclomatic complexity allowed in a program + * + * @see [complexity](https://eslint.org/docs/latest/rules/complexity) + */ + complexity: RuleConfig; + /** + * Enforce consistent spacing inside computed property brackets + * + * @see [computed-property-spacing](https://eslint.org/docs/latest/rules/computed-property-spacing) + */ + 'computed-property-spacing': RuleConfig; + /** + * Require `return` statements to either always or never specify values + * + * @see [consistent-return](https://eslint.org/docs/latest/rules/consistent-return) + */ + 'consistent-return': RuleConfig; + /** + * Enforce consistent naming when capturing the current execution context + * + * @see [consistent-this](https://eslint.org/docs/latest/rules/consistent-this) + */ + 'consistent-this': RuleConfig; + /** + * Require `super()` calls in constructors + * + * @see [constructor-super](https://eslint.org/docs/latest/rules/constructor-super) + */ + 'constructor-super': RuleConfig; + /** + * Enforce consistent brace style for all control statements + * + * @see [curly](https://eslint.org/docs/latest/rules/curly) + */ + curly: RuleConfig; + /** + * Require `default` cases in `switch` statements + * + * @see [default-case](https://eslint.org/docs/latest/rules/default-case) + */ + 'default-case': RuleConfig; + /** + * Enforce default clauses in switch statements to be last + * + * @see [default-case-last](https://eslint.org/docs/latest/rules/default-case-last) + */ + 'default-case-last': RuleConfig; + /** + * Enforce default parameters to be last + * + * @see [default-param-last](https://eslint.org/docs/latest/rules/default-param-last) + */ + 'default-param-last': RuleConfig; + /** + * Enforce consistent newlines before and after dots + * + * @see [dot-location](https://eslint.org/docs/latest/rules/dot-location) + */ + 'dot-location': RuleConfig; + /** + * Enforce dot notation whenever possible + * + * @see [dot-notation](https://eslint.org/docs/latest/rules/dot-notation) + */ + 'dot-notation': RuleConfig; + /** + * Require or disallow newline at the end of files + * + * @see [eol-last](https://eslint.org/docs/latest/rules/eol-last) + */ + 'eol-last': RuleConfig; + /** + * Require the use of `===` and `!==` + * + * @see [eqeqeq](https://eslint.org/docs/latest/rules/eqeqeq) + */ + eqeqeq: RuleConfig; + /** + * Enforce "for" loop update clause moving the counter in the right direction + * + * @see [for-direction](https://eslint.org/docs/latest/rules/for-direction) + */ + 'for-direction': RuleConfig; + /** + * Require or disallow spacing between function identifiers and their invocations + * + * @see [func-call-spacing](https://eslint.org/docs/latest/rules/func-call-spacing) + */ + 'func-call-spacing': RuleConfig; + /** + * Require function names to match the name of the variable or property to which they are assigned + * + * @see [func-name-matching](https://eslint.org/docs/latest/rules/func-name-matching) + */ + 'func-name-matching': RuleConfig; + /** + * Require or disallow named `function` expressions + * + * @see [func-names](https://eslint.org/docs/latest/rules/func-names) + */ + 'func-names': RuleConfig; + /** + * Enforce the consistent use of either `function` declarations or expressions + * + * @see [func-style](https://eslint.org/docs/latest/rules/func-style) + */ + 'func-style': RuleConfig; + /** + * Enforce line breaks between arguments of a function call + * + * @see [function-call-argument-newline](https://eslint.org/docs/latest/rules/function-call-argument-newline) + */ + 'function-call-argument-newline': RuleConfig; + /** + * Enforce consistent line breaks inside function parentheses + * + * @see [function-paren-newline](https://eslint.org/docs/latest/rules/function-paren-newline) + */ + 'function-paren-newline': RuleConfig; + /** + * Enforce consistent spacing around `*` operators in generator functions + * + * @see [generator-star-spacing](https://eslint.org/docs/latest/rules/generator-star-spacing) + */ + 'generator-star-spacing': RuleConfig; + /** + * Enforce `return` statements in getters + * + * @see [getter-return](https://eslint.org/docs/latest/rules/getter-return) + */ + 'getter-return': RuleConfig; + /** + * Require `require()` calls to be placed at top-level module scope + * + * @see [global-require](https://eslint.org/docs/latest/rules/global-require) + */ + 'global-require': RuleConfig; + /** + * Require grouped accessor pairs in object literals and classes + * + * @see [grouped-accessor-pairs](https://eslint.org/docs/latest/rules/grouped-accessor-pairs) + */ + 'grouped-accessor-pairs': RuleConfig; + /** + * Require `for-in` loops to include an `if` statement + * + * @see [guard-for-in](https://eslint.org/docs/latest/rules/guard-for-in) + */ + 'guard-for-in': RuleConfig; + /** + * Require error handling in callbacks + * + * @see [handle-callback-err](https://eslint.org/docs/latest/rules/handle-callback-err) + */ + 'handle-callback-err': RuleConfig; + /** + * Disallow specified identifiers + * + * @see [id-blacklist](https://eslint.org/docs/latest/rules/id-blacklist) + */ + 'id-blacklist': RuleConfig; + /** + * Disallow specified identifiers + * + * @see [id-denylist](https://eslint.org/docs/latest/rules/id-denylist) + */ + 'id-denylist': RuleConfig; + /** + * Enforce minimum and maximum identifier lengths + * + * @see [id-length](https://eslint.org/docs/latest/rules/id-length) + */ + 'id-length': RuleConfig; + /** + * Require identifiers to match a specified regular expression + * + * @see [id-match](https://eslint.org/docs/latest/rules/id-match) + */ + 'id-match': RuleConfig; + /** + * Enforce the location of arrow function bodies + * + * @see [implicit-arrow-linebreak](https://eslint.org/docs/latest/rules/implicit-arrow-linebreak) + */ + 'implicit-arrow-linebreak': RuleConfig; + /** + * Enforce consistent indentation + * + * @see [indent](https://eslint.org/docs/latest/rules/indent) + */ + indent: RuleConfig; + /** + * Enforce consistent indentation + * + * @see [indent-legacy](https://eslint.org/docs/latest/rules/indent-legacy) + */ + 'indent-legacy': RuleConfig; + /** + * Require or disallow initialization in variable declarations + * + * @see [init-declarations](https://eslint.org/docs/latest/rules/init-declarations) + */ + 'init-declarations': RuleConfig; + /** + * Enforce the consistent use of either double or single quotes in JSX attributes + * + * @see [jsx-quotes](https://eslint.org/docs/latest/rules/jsx-quotes) + */ + 'jsx-quotes': RuleConfig; + /** + * Enforce consistent spacing between keys and values in object literal properties + * + * @see [key-spacing](https://eslint.org/docs/latest/rules/key-spacing) + */ + 'key-spacing': RuleConfig; + /** + * Enforce consistent spacing before and after keywords + * + * @see [keyword-spacing](https://eslint.org/docs/latest/rules/keyword-spacing) + */ + 'keyword-spacing': RuleConfig; + /** + * Enforce position of line comments + * + * @see [line-comment-position](https://eslint.org/docs/latest/rules/line-comment-position) + */ + 'line-comment-position': RuleConfig; + /** + * Enforce consistent linebreak style + * + * @see [linebreak-style](https://eslint.org/docs/latest/rules/linebreak-style) + */ + 'linebreak-style': RuleConfig; + /** + * Require empty lines around comments + * + * @see [lines-around-comment](https://eslint.org/docs/latest/rules/lines-around-comment) + */ + 'lines-around-comment': RuleConfig; + /** + * Require or disallow newlines around directives + * + * @see [lines-around-directive](https://eslint.org/docs/latest/rules/lines-around-directive) + */ + 'lines-around-directive': RuleConfig; + /** + * Require or disallow an empty line between class members + * + * @see [lines-between-class-members](https://eslint.org/docs/latest/rules/lines-between-class-members) + */ + 'lines-between-class-members': RuleConfig; + /** + * Require or disallow logical assignment operator shorthand + * + * @see [logical-assignment-operators](https://eslint.org/docs/latest/rules/logical-assignment-operators) + */ + 'logical-assignment-operators': RuleConfig; + /** + * Enforce a maximum number of classes per file + * + * @see [max-classes-per-file](https://eslint.org/docs/latest/rules/max-classes-per-file) + */ + 'max-classes-per-file': RuleConfig; + /** + * Enforce a maximum depth that blocks can be nested + * + * @see [max-depth](https://eslint.org/docs/latest/rules/max-depth) + */ + 'max-depth': RuleConfig; + /** + * Enforce a maximum line length + * + * @see [max-len](https://eslint.org/docs/latest/rules/max-len) + */ + 'max-len': RuleConfig; + /** + * Enforce a maximum number of lines per file + * + * @see [max-lines](https://eslint.org/docs/latest/rules/max-lines) + */ + 'max-lines': RuleConfig; + /** + * Enforce a maximum number of lines of code in a function + * + * @see [max-lines-per-function](https://eslint.org/docs/latest/rules/max-lines-per-function) + */ + 'max-lines-per-function': RuleConfig; + /** + * Enforce a maximum depth that callbacks can be nested + * + * @see [max-nested-callbacks](https://eslint.org/docs/latest/rules/max-nested-callbacks) + */ + 'max-nested-callbacks': RuleConfig; + /** + * Enforce a maximum number of parameters in function definitions + * + * @see [max-params](https://eslint.org/docs/latest/rules/max-params) + */ + 'max-params': RuleConfig; + /** + * Enforce a maximum number of statements allowed in function blocks + * + * @see [max-statements](https://eslint.org/docs/latest/rules/max-statements) + */ + 'max-statements': RuleConfig; + /** + * Enforce a maximum number of statements allowed per line + * + * @see [max-statements-per-line](https://eslint.org/docs/latest/rules/max-statements-per-line) + */ + 'max-statements-per-line': RuleConfig; + /** + * Enforce a particular style for multiline comments + * + * @see [multiline-comment-style](https://eslint.org/docs/latest/rules/multiline-comment-style) + */ + 'multiline-comment-style': RuleConfig; + /** + * Enforce newlines between operands of ternary expressions + * + * @see [multiline-ternary](https://eslint.org/docs/latest/rules/multiline-ternary) + */ + 'multiline-ternary': RuleConfig; + /** + * Require constructor names to begin with a capital letter + * + * @see [new-cap](https://eslint.org/docs/latest/rules/new-cap) + */ + 'new-cap': RuleConfig; + /** + * Enforce or disallow parentheses when invoking a constructor with no arguments + * + * @see [new-parens](https://eslint.org/docs/latest/rules/new-parens) + */ + 'new-parens': RuleConfig; + /** + * Require or disallow an empty line after variable declarations + * + * @see [newline-after-var](https://eslint.org/docs/latest/rules/newline-after-var) + */ + 'newline-after-var': RuleConfig; + /** + * Require an empty line before `return` statements + * + * @see [newline-before-return](https://eslint.org/docs/latest/rules/newline-before-return) + */ + 'newline-before-return': RuleConfig; + /** + * Require a newline after each call in a method chain + * + * @see [newline-per-chained-call](https://eslint.org/docs/latest/rules/newline-per-chained-call) + */ + 'newline-per-chained-call': RuleConfig; + /** + * Disallow the use of `alert`, `confirm`, and `prompt` + * + * @see [no-alert](https://eslint.org/docs/latest/rules/no-alert) + */ + 'no-alert': RuleConfig; + /** + * Disallow `Array` constructors + * + * @see [no-array-constructor](https://eslint.org/docs/latest/rules/no-array-constructor) + */ + 'no-array-constructor': RuleConfig; + /** + * Disallow using an async function as a Promise executor + * + * @see [no-async-promise-executor](https://eslint.org/docs/latest/rules/no-async-promise-executor) + */ + 'no-async-promise-executor': RuleConfig; + /** + * Disallow `await` inside of loops + * + * @see [no-await-in-loop](https://eslint.org/docs/latest/rules/no-await-in-loop) + */ + 'no-await-in-loop': RuleConfig; + /** + * Disallow bitwise operators + * + * @see [no-bitwise](https://eslint.org/docs/latest/rules/no-bitwise) + */ + 'no-bitwise': RuleConfig; + /** + * Disallow use of the `Buffer()` constructor + * + * @see [no-buffer-constructor](https://eslint.org/docs/latest/rules/no-buffer-constructor) + */ + 'no-buffer-constructor': RuleConfig; + /** + * Disallow the use of `arguments.caller` or `arguments.callee` + * + * @see [no-caller](https://eslint.org/docs/latest/rules/no-caller) + */ + 'no-caller': RuleConfig; + /** + * Disallow lexical declarations in case clauses + * + * @see [no-case-declarations](https://eslint.org/docs/latest/rules/no-case-declarations) + */ + 'no-case-declarations': RuleConfig; + /** + * Disallow `catch` clause parameters from shadowing variables in the outer scope + * + * @see [no-catch-shadow](https://eslint.org/docs/latest/rules/no-catch-shadow) + */ + 'no-catch-shadow': RuleConfig; + /** + * Disallow reassigning class members + * + * @see [no-class-assign](https://eslint.org/docs/latest/rules/no-class-assign) + */ + 'no-class-assign': RuleConfig; + /** + * Disallow comparing against -0 + * + * @see [no-compare-neg-zero](https://eslint.org/docs/latest/rules/no-compare-neg-zero) + */ + 'no-compare-neg-zero': RuleConfig; + /** + * Disallow assignment operators in conditional expressions + * + * @see [no-cond-assign](https://eslint.org/docs/latest/rules/no-cond-assign) + */ + 'no-cond-assign': RuleConfig; + /** + * Disallow arrow functions where they could be confused with comparisons + * + * @see [no-confusing-arrow](https://eslint.org/docs/latest/rules/no-confusing-arrow) + */ + 'no-confusing-arrow': RuleConfig; + /** + * Disallow the use of `console` + * + * @see [no-console](https://eslint.org/docs/latest/rules/no-console) + */ + 'no-console': RuleConfig; + /** + * Disallow reassigning `const` variables + * + * @see [no-const-assign](https://eslint.org/docs/latest/rules/no-const-assign) + */ + 'no-const-assign': RuleConfig; + /** + * Disallow expressions where the operation doesn't affect the value + * + * @see [no-constant-binary-expression](https://eslint.org/docs/latest/rules/no-constant-binary-expression) + */ + 'no-constant-binary-expression': RuleConfig; + /** + * Disallow constant expressions in conditions + * + * @see [no-constant-condition](https://eslint.org/docs/latest/rules/no-constant-condition) + */ + 'no-constant-condition': RuleConfig; + /** + * Disallow returning value from constructor + * + * @see [no-constructor-return](https://eslint.org/docs/latest/rules/no-constructor-return) + */ + 'no-constructor-return': RuleConfig; + /** + * Disallow `continue` statements + * + * @see [no-continue](https://eslint.org/docs/latest/rules/no-continue) + */ + 'no-continue': RuleConfig; + /** + * Disallow control characters in regular expressions + * + * @see [no-control-regex](https://eslint.org/docs/latest/rules/no-control-regex) + */ + 'no-control-regex': RuleConfig; + /** + * Disallow the use of `debugger` + * + * @see [no-debugger](https://eslint.org/docs/latest/rules/no-debugger) + */ + 'no-debugger': RuleConfig; + /** + * Disallow deleting variables + * + * @see [no-delete-var](https://eslint.org/docs/latest/rules/no-delete-var) + */ + 'no-delete-var': RuleConfig; + /** + * Disallow equal signs explicitly at the beginning of regular expressions + * + * @see [no-div-regex](https://eslint.org/docs/latest/rules/no-div-regex) + */ + 'no-div-regex': RuleConfig; + /** + * Disallow duplicate arguments in `function` definitions + * + * @see [no-dupe-args](https://eslint.org/docs/latest/rules/no-dupe-args) + */ + 'no-dupe-args': RuleConfig; + /** + * Disallow duplicate class members + * + * @see [no-dupe-class-members](https://eslint.org/docs/latest/rules/no-dupe-class-members) + */ + 'no-dupe-class-members': RuleConfig; + /** + * Disallow duplicate conditions in if-else-if chains + * + * @see [no-dupe-else-if](https://eslint.org/docs/latest/rules/no-dupe-else-if) + */ + 'no-dupe-else-if': RuleConfig; + /** + * Disallow duplicate keys in object literals + * + * @see [no-dupe-keys](https://eslint.org/docs/latest/rules/no-dupe-keys) + */ + 'no-dupe-keys': RuleConfig; + /** + * Disallow duplicate case labels + * + * @see [no-duplicate-case](https://eslint.org/docs/latest/rules/no-duplicate-case) + */ + 'no-duplicate-case': RuleConfig; + /** + * Disallow duplicate module imports + * + * @see [no-duplicate-imports](https://eslint.org/docs/latest/rules/no-duplicate-imports) + */ + 'no-duplicate-imports': RuleConfig; + /** + * Disallow `else` blocks after `return` statements in `if` statements + * + * @see [no-else-return](https://eslint.org/docs/latest/rules/no-else-return) + */ + 'no-else-return': RuleConfig; + /** + * Disallow empty block statements + * + * @see [no-empty](https://eslint.org/docs/latest/rules/no-empty) + */ + 'no-empty': RuleConfig; + /** + * Disallow empty character classes in regular expressions + * + * @see [no-empty-character-class](https://eslint.org/docs/latest/rules/no-empty-character-class) + */ + 'no-empty-character-class': RuleConfig; + /** + * Disallow empty functions + * + * @see [no-empty-function](https://eslint.org/docs/latest/rules/no-empty-function) + */ + 'no-empty-function': RuleConfig; + /** + * Disallow empty destructuring patterns + * + * @see [no-empty-pattern](https://eslint.org/docs/latest/rules/no-empty-pattern) + */ + 'no-empty-pattern': RuleConfig; + /** + * Disallow empty static blocks + * + * @see [no-empty-static-block](https://eslint.org/docs/latest/rules/no-empty-static-block) + */ + 'no-empty-static-block': RuleConfig; + /** + * Disallow `null` comparisons without type-checking operators + * + * @see [no-eq-null](https://eslint.org/docs/latest/rules/no-eq-null) + */ + 'no-eq-null': RuleConfig; + /** + * Disallow the use of `eval()` + * + * @see [no-eval](https://eslint.org/docs/latest/rules/no-eval) + */ + 'no-eval': RuleConfig; + /** + * Disallow reassigning exceptions in `catch` clauses + * + * @see [no-ex-assign](https://eslint.org/docs/latest/rules/no-ex-assign) + */ + 'no-ex-assign': RuleConfig; + /** + * Disallow extending native types + * + * @see [no-extend-native](https://eslint.org/docs/latest/rules/no-extend-native) + */ + 'no-extend-native': RuleConfig; + /** + * Disallow unnecessary calls to `.bind()` + * + * @see [no-extra-bind](https://eslint.org/docs/latest/rules/no-extra-bind) + */ + 'no-extra-bind': RuleConfig; + /** + * Disallow unnecessary boolean casts + * + * @see [no-extra-boolean-cast](https://eslint.org/docs/latest/rules/no-extra-boolean-cast) + */ + 'no-extra-boolean-cast': RuleConfig; + /** + * Disallow unnecessary labels + * + * @see [no-extra-label](https://eslint.org/docs/latest/rules/no-extra-label) + */ + 'no-extra-label': RuleConfig; + /** + * Disallow unnecessary parentheses + * + * @see [no-extra-parens](https://eslint.org/docs/latest/rules/no-extra-parens) + */ + 'no-extra-parens': RuleConfig; + /** + * Disallow unnecessary semicolons + * + * @see [no-extra-semi](https://eslint.org/docs/latest/rules/no-extra-semi) + */ + 'no-extra-semi': RuleConfig; + /** + * Disallow fallthrough of `case` statements + * + * @see [no-fallthrough](https://eslint.org/docs/latest/rules/no-fallthrough) + */ + 'no-fallthrough': RuleConfig; + /** + * Disallow leading or trailing decimal points in numeric literals + * + * @see [no-floating-decimal](https://eslint.org/docs/latest/rules/no-floating-decimal) + */ + 'no-floating-decimal': RuleConfig; + /** + * Disallow reassigning `function` declarations + * + * @see [no-func-assign](https://eslint.org/docs/latest/rules/no-func-assign) + */ + 'no-func-assign': RuleConfig; + /** + * Disallow assignments to native objects or read-only global variables + * + * @see [no-global-assign](https://eslint.org/docs/latest/rules/no-global-assign) + */ + 'no-global-assign': RuleConfig; + /** + * Disallow shorthand type conversions + * + * @see [no-implicit-coercion](https://eslint.org/docs/latest/rules/no-implicit-coercion) + */ + 'no-implicit-coercion': RuleConfig; + /** + * Disallow declarations in the global scope + * + * @see [no-implicit-globals](https://eslint.org/docs/latest/rules/no-implicit-globals) + */ + 'no-implicit-globals': RuleConfig; + /** + * Disallow the use of `eval()`-like methods + * + * @see [no-implied-eval](https://eslint.org/docs/latest/rules/no-implied-eval) + */ + 'no-implied-eval': RuleConfig; + /** + * Disallow assigning to imported bindings + * + * @see [no-import-assign](https://eslint.org/docs/latest/rules/no-import-assign) + */ + 'no-import-assign': RuleConfig; + /** + * Disallow inline comments after code + * + * @see [no-inline-comments](https://eslint.org/docs/latest/rules/no-inline-comments) + */ + 'no-inline-comments': RuleConfig; + /** + * Disallow variable or `function` declarations in nested blocks + * + * @see [no-inner-declarations](https://eslint.org/docs/latest/rules/no-inner-declarations) + */ + 'no-inner-declarations': RuleConfig; + /** + * Disallow invalid regular expression strings in `RegExp` constructors + * + * @see [no-invalid-regexp](https://eslint.org/docs/latest/rules/no-invalid-regexp) + */ + 'no-invalid-regexp': RuleConfig; + /** + * Disallow use of `this` in contexts where the value of `this` is `undefined` + * + * @see [no-invalid-this](https://eslint.org/docs/latest/rules/no-invalid-this) + */ + 'no-invalid-this': RuleConfig; + /** + * Disallow irregular whitespace + * + * @see [no-irregular-whitespace](https://eslint.org/docs/latest/rules/no-irregular-whitespace) + */ + 'no-irregular-whitespace': RuleConfig; + /** + * Disallow the use of the `__iterator__` property + * + * @see [no-iterator](https://eslint.org/docs/latest/rules/no-iterator) + */ + 'no-iterator': RuleConfig; + /** + * Disallow labels that share a name with a variable + * + * @see [no-label-var](https://eslint.org/docs/latest/rules/no-label-var) + */ + 'no-label-var': RuleConfig; + /** + * Disallow labeled statements + * + * @see [no-labels](https://eslint.org/docs/latest/rules/no-labels) + */ + 'no-labels': RuleConfig; + /** + * Disallow unnecessary nested blocks + * + * @see [no-lone-blocks](https://eslint.org/docs/latest/rules/no-lone-blocks) + */ + 'no-lone-blocks': RuleConfig; + /** + * Disallow `if` statements as the only statement in `else` blocks + * + * @see [no-lonely-if](https://eslint.org/docs/latest/rules/no-lonely-if) + */ + 'no-lonely-if': RuleConfig; + /** + * Disallow function declarations that contain unsafe references inside loop statements + * + * @see [no-loop-func](https://eslint.org/docs/latest/rules/no-loop-func) + */ + 'no-loop-func': RuleConfig; + /** + * Disallow literal numbers that lose precision + * + * @see [no-loss-of-precision](https://eslint.org/docs/latest/rules/no-loss-of-precision) + */ + 'no-loss-of-precision': RuleConfig; + /** + * Disallow magic numbers + * + * @see [no-magic-numbers](https://eslint.org/docs/latest/rules/no-magic-numbers) + */ + 'no-magic-numbers': RuleConfig; + /** + * Disallow characters which are made with multiple code points in character class syntax + * + * @see [no-misleading-character-class](https://eslint.org/docs/latest/rules/no-misleading-character-class) + */ + 'no-misleading-character-class': RuleConfig; + /** + * Disallow mixed binary operators + * + * @see [no-mixed-operators](https://eslint.org/docs/latest/rules/no-mixed-operators) + */ + 'no-mixed-operators': RuleConfig; + /** + * Disallow `require` calls to be mixed with regular variable declarations + * + * @see [no-mixed-requires](https://eslint.org/docs/latest/rules/no-mixed-requires) + */ + 'no-mixed-requires': RuleConfig; + /** + * Disallow mixed spaces and tabs for indentation + * + * @see [no-mixed-spaces-and-tabs](https://eslint.org/docs/latest/rules/no-mixed-spaces-and-tabs) + */ + 'no-mixed-spaces-and-tabs': RuleConfig; + /** + * Disallow use of chained assignment expressions + * + * @see [no-multi-assign](https://eslint.org/docs/latest/rules/no-multi-assign) + */ + 'no-multi-assign': RuleConfig; + /** + * Disallow multiple spaces + * + * @see [no-multi-spaces](https://eslint.org/docs/latest/rules/no-multi-spaces) + */ + 'no-multi-spaces': RuleConfig; + /** + * Disallow multiline strings + * + * @see [no-multi-str](https://eslint.org/docs/latest/rules/no-multi-str) + */ + 'no-multi-str': RuleConfig; + /** + * Disallow multiple empty lines + * + * @see [no-multiple-empty-lines](https://eslint.org/docs/latest/rules/no-multiple-empty-lines) + */ + 'no-multiple-empty-lines': RuleConfig; + /** + * Disallow assignments to native objects or read-only global variables + * + * @see [no-native-reassign](https://eslint.org/docs/latest/rules/no-native-reassign) + */ + 'no-native-reassign': RuleConfig; + /** + * Disallow negated conditions + * + * @see [no-negated-condition](https://eslint.org/docs/latest/rules/no-negated-condition) + */ + 'no-negated-condition': RuleConfig; + /** + * Disallow negating the left operand in `in` expressions + * + * @see [no-negated-in-lhs](https://eslint.org/docs/latest/rules/no-negated-in-lhs) + */ + 'no-negated-in-lhs': RuleConfig; + /** + * Disallow nested ternary expressions + * + * @see [no-nested-ternary](https://eslint.org/docs/latest/rules/no-nested-ternary) + */ + 'no-nested-ternary': RuleConfig; + /** + * Disallow `new` operators outside of assignments or comparisons + * + * @see [no-new](https://eslint.org/docs/latest/rules/no-new) + */ + 'no-new': RuleConfig; + /** + * Disallow `new` operators with the `Function` object + * + * @see [no-new-func](https://eslint.org/docs/latest/rules/no-new-func) + */ + 'no-new-func': RuleConfig; + /** + * Disallow `new` operators with global non-constructor functions + * + * @see [no-new-native-nonconstructor](https://eslint.org/docs/latest/rules/no-new-native-nonconstructor) + */ + 'no-new-native-nonconstructor': RuleConfig; + /** + * Disallow `Object` constructors + * + * @see [no-new-object](https://eslint.org/docs/latest/rules/no-new-object) + */ + 'no-new-object': RuleConfig; + /** + * Disallow `new` operators with calls to `require` + * + * @see [no-new-require](https://eslint.org/docs/latest/rules/no-new-require) + */ + 'no-new-require': RuleConfig; + /** + * Disallow `new` operators with the `Symbol` object + * + * @see [no-new-symbol](https://eslint.org/docs/latest/rules/no-new-symbol) + */ + 'no-new-symbol': RuleConfig; + /** + * Disallow `new` operators with the `String`, `Number`, and `Boolean` objects + * + * @see [no-new-wrappers](https://eslint.org/docs/latest/rules/no-new-wrappers) + */ + 'no-new-wrappers': RuleConfig; + /** + * Disallow `\8` and `\9` escape sequences in string literals + * + * @see [no-nonoctal-decimal-escape](https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape) + */ + 'no-nonoctal-decimal-escape': RuleConfig; + /** + * Disallow calling global object properties as functions + * + * @see [no-obj-calls](https://eslint.org/docs/latest/rules/no-obj-calls) + */ + 'no-obj-calls': RuleConfig; + /** + * Disallow calls to the `Object` constructor without an argument + * + * @see [no-object-constructor](https://eslint.org/docs/latest/rules/no-object-constructor) + */ + 'no-object-constructor': RuleConfig; + /** + * Disallow octal literals + * + * @see [no-octal](https://eslint.org/docs/latest/rules/no-octal) + */ + 'no-octal': RuleConfig; + /** + * Disallow octal escape sequences in string literals + * + * @see [no-octal-escape](https://eslint.org/docs/latest/rules/no-octal-escape) + */ + 'no-octal-escape': RuleConfig; + /** + * Disallow reassigning `function` parameters + * + * @see [no-param-reassign](https://eslint.org/docs/latest/rules/no-param-reassign) + */ + 'no-param-reassign': RuleConfig; + /** + * Disallow string concatenation with `__dirname` and `__filename` + * + * @see [no-path-concat](https://eslint.org/docs/latest/rules/no-path-concat) + */ + 'no-path-concat': RuleConfig; + /** + * Disallow the unary operators `++` and `--` + * + * @see [no-plusplus](https://eslint.org/docs/latest/rules/no-plusplus) + */ + 'no-plusplus': RuleConfig; + /** + * Disallow the use of `process.env` + * + * @see [no-process-env](https://eslint.org/docs/latest/rules/no-process-env) + */ + 'no-process-env': RuleConfig; + /** + * Disallow the use of `process.exit()` + * + * @see [no-process-exit](https://eslint.org/docs/latest/rules/no-process-exit) + */ + 'no-process-exit': RuleConfig; + /** + * Disallow returning values from Promise executor functions + * + * @see [no-promise-executor-return](https://eslint.org/docs/latest/rules/no-promise-executor-return) + */ + 'no-promise-executor-return': RuleConfig; + /** + * Disallow the use of the `__proto__` property + * + * @see [no-proto](https://eslint.org/docs/latest/rules/no-proto) + */ + 'no-proto': RuleConfig; + /** + * Disallow calling some `Object.prototype` methods directly on objects + * + * @see [no-prototype-builtins](https://eslint.org/docs/latest/rules/no-prototype-builtins) + */ + 'no-prototype-builtins': RuleConfig; + /** + * Disallow variable redeclaration + * + * @see [no-redeclare](https://eslint.org/docs/latest/rules/no-redeclare) + */ + 'no-redeclare': RuleConfig; + /** + * Disallow multiple spaces in regular expressions + * + * @see [no-regex-spaces](https://eslint.org/docs/latest/rules/no-regex-spaces) + */ + 'no-regex-spaces': RuleConfig; + /** + * Disallow specified names in exports + * + * @see [no-restricted-exports](https://eslint.org/docs/latest/rules/no-restricted-exports) + */ + 'no-restricted-exports': RuleConfig; + /** + * Disallow specified global variables + * + * @see [no-restricted-globals](https://eslint.org/docs/latest/rules/no-restricted-globals) + */ + 'no-restricted-globals': RuleConfig; + /** + * Disallow specified modules when loaded by `import` + * + * @see [no-restricted-imports](https://eslint.org/docs/latest/rules/no-restricted-imports) + */ + 'no-restricted-imports': RuleConfig; + /** + * Disallow specified modules when loaded by `require` + * + * @see [no-restricted-modules](https://eslint.org/docs/latest/rules/no-restricted-modules) + */ + 'no-restricted-modules': RuleConfig; + /** + * Disallow certain properties on certain objects + * + * @see [no-restricted-properties](https://eslint.org/docs/latest/rules/no-restricted-properties) + */ + 'no-restricted-properties': RuleConfig; + /** + * Disallow specified syntax + * + * @see [no-restricted-syntax](https://eslint.org/docs/latest/rules/no-restricted-syntax) + */ + 'no-restricted-syntax': RuleConfig; + /** + * Disallow assignment operators in `return` statements + * + * @see [no-return-assign](https://eslint.org/docs/latest/rules/no-return-assign) + */ + 'no-return-assign': RuleConfig; + /** + * Disallow unnecessary `return await` + * + * @see [no-return-await](https://eslint.org/docs/latest/rules/no-return-await) + */ + 'no-return-await': RuleConfig; + /** + * Disallow `javascript:` urls + * + * @see [no-script-url](https://eslint.org/docs/latest/rules/no-script-url) + */ + 'no-script-url': RuleConfig; + /** + * Disallow assignments where both sides are exactly the same + * + * @see [no-self-assign](https://eslint.org/docs/latest/rules/no-self-assign) + */ + 'no-self-assign': RuleConfig; + /** + * Disallow comparisons where both sides are exactly the same + * + * @see [no-self-compare](https://eslint.org/docs/latest/rules/no-self-compare) + */ + 'no-self-compare': RuleConfig; + /** + * Disallow comma operators + * + * @see [no-sequences](https://eslint.org/docs/latest/rules/no-sequences) + */ + 'no-sequences': RuleConfig; + /** + * Disallow returning values from setters + * + * @see [no-setter-return](https://eslint.org/docs/latest/rules/no-setter-return) + */ + 'no-setter-return': RuleConfig; + /** + * Disallow variable declarations from shadowing variables declared in the outer scope + * + * @see [no-shadow](https://eslint.org/docs/latest/rules/no-shadow) + */ + 'no-shadow': RuleConfig; + /** + * Disallow identifiers from shadowing restricted names + * + * @see [no-shadow-restricted-names](https://eslint.org/docs/latest/rules/no-shadow-restricted-names) + */ + 'no-shadow-restricted-names': RuleConfig; + /** + * Disallow spacing between function identifiers and their applications (deprecated) + * + * @see [no-spaced-func](https://eslint.org/docs/latest/rules/no-spaced-func) + */ + 'no-spaced-func': RuleConfig; + /** + * Disallow sparse arrays + * + * @see [no-sparse-arrays](https://eslint.org/docs/latest/rules/no-sparse-arrays) + */ + 'no-sparse-arrays': RuleConfig; + /** + * Disallow synchronous methods + * + * @see [no-sync](https://eslint.org/docs/latest/rules/no-sync) + */ + 'no-sync': RuleConfig; + /** + * Disallow all tabs + * + * @see [no-tabs](https://eslint.org/docs/latest/rules/no-tabs) + */ + 'no-tabs': RuleConfig; + /** + * Disallow template literal placeholder syntax in regular strings + * + * @see [no-template-curly-in-string](https://eslint.org/docs/latest/rules/no-template-curly-in-string) + */ + 'no-template-curly-in-string': RuleConfig; + /** + * Disallow ternary operators + * + * @see [no-ternary](https://eslint.org/docs/latest/rules/no-ternary) + */ + 'no-ternary': RuleConfig; + /** + * Disallow `this`/`super` before calling `super()` in constructors + * + * @see [no-this-before-super](https://eslint.org/docs/latest/rules/no-this-before-super) + */ + 'no-this-before-super': RuleConfig; + /** + * Disallow throwing literals as exceptions + * + * @see [no-throw-literal](https://eslint.org/docs/latest/rules/no-throw-literal) + */ + 'no-throw-literal': RuleConfig; + /** + * Disallow trailing whitespace at the end of lines + * + * @see [no-trailing-spaces](https://eslint.org/docs/latest/rules/no-trailing-spaces) + */ + 'no-trailing-spaces': RuleConfig; + /** + * Disallow the use of undeclared variables unless mentioned in `/*global *\/` comments + * + * @see [no-undef](https://eslint.org/docs/latest/rules/no-undef) + */ + 'no-undef': RuleConfig; + /** + * Disallow initializing variables to `undefined` + * + * @see [no-undef-init](https://eslint.org/docs/latest/rules/no-undef-init) + */ + 'no-undef-init': RuleConfig; + /** + * Disallow the use of `undefined` as an identifier + * + * @see [no-undefined](https://eslint.org/docs/latest/rules/no-undefined) + */ + 'no-undefined': RuleConfig; + /** + * Disallow dangling underscores in identifiers + * + * @see [no-underscore-dangle](https://eslint.org/docs/latest/rules/no-underscore-dangle) + */ + 'no-underscore-dangle': RuleConfig; + /** + * Disallow confusing multiline expressions + * + * @see [no-unexpected-multiline](https://eslint.org/docs/latest/rules/no-unexpected-multiline) + */ + 'no-unexpected-multiline': RuleConfig; + /** + * Disallow unmodified loop conditions + * + * @see [no-unmodified-loop-condition](https://eslint.org/docs/latest/rules/no-unmodified-loop-condition) + */ + 'no-unmodified-loop-condition': RuleConfig; + /** + * Disallow ternary operators when simpler alternatives exist + * + * @see [no-unneeded-ternary](https://eslint.org/docs/latest/rules/no-unneeded-ternary) + */ + 'no-unneeded-ternary': RuleConfig; + /** + * Disallow unreachable code after `return`, `throw`, `continue`, and `break` statements + * + * @see [no-unreachable](https://eslint.org/docs/latest/rules/no-unreachable) + */ + 'no-unreachable': RuleConfig; + /** + * Disallow loops with a body that allows only one iteration + * + * @see [no-unreachable-loop](https://eslint.org/docs/latest/rules/no-unreachable-loop) + */ + 'no-unreachable-loop': RuleConfig; + /** + * Disallow control flow statements in `finally` blocks + * + * @see [no-unsafe-finally](https://eslint.org/docs/latest/rules/no-unsafe-finally) + */ + 'no-unsafe-finally': RuleConfig; + /** + * Disallow negating the left operand of relational operators + * + * @see [no-unsafe-negation](https://eslint.org/docs/latest/rules/no-unsafe-negation) + */ + 'no-unsafe-negation': RuleConfig; + /** + * Disallow use of optional chaining in contexts where the `undefined` value is not allowed + * + * @see [no-unsafe-optional-chaining](https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining) + */ + 'no-unsafe-optional-chaining': RuleConfig; + /** + * Disallow unused expressions + * + * @see [no-unused-expressions](https://eslint.org/docs/latest/rules/no-unused-expressions) + */ + 'no-unused-expressions': RuleConfig; + /** + * Disallow unused labels + * + * @see [no-unused-labels](https://eslint.org/docs/latest/rules/no-unused-labels) + */ + 'no-unused-labels': RuleConfig; + /** + * Disallow unused private class members + * + * @see [no-unused-private-class-members](https://eslint.org/docs/latest/rules/no-unused-private-class-members) + */ + 'no-unused-private-class-members': RuleConfig; + /** + * Disallow unused variables + * + * @see [no-unused-vars](https://eslint.org/docs/latest/rules/no-unused-vars) + */ + 'no-unused-vars': RuleConfig; + /** + * Disallow the use of variables before they are defined + * + * @see [no-use-before-define](https://eslint.org/docs/latest/rules/no-use-before-define) + */ + 'no-use-before-define': RuleConfig; + /** + * Disallow useless backreferences in regular expressions + * + * @see [no-useless-backreference](https://eslint.org/docs/latest/rules/no-useless-backreference) + */ + 'no-useless-backreference': RuleConfig; + /** + * Disallow unnecessary calls to `.call()` and `.apply()` + * + * @see [no-useless-call](https://eslint.org/docs/latest/rules/no-useless-call) + */ + 'no-useless-call': RuleConfig; + /** + * Disallow unnecessary `catch` clauses + * + * @see [no-useless-catch](https://eslint.org/docs/latest/rules/no-useless-catch) + */ + 'no-useless-catch': RuleConfig; + /** + * Disallow unnecessary computed property keys in objects and classes + * + * @see [no-useless-computed-key](https://eslint.org/docs/latest/rules/no-useless-computed-key) + */ + 'no-useless-computed-key': RuleConfig; + /** + * Disallow unnecessary concatenation of literals or template literals + * + * @see [no-useless-concat](https://eslint.org/docs/latest/rules/no-useless-concat) + */ + 'no-useless-concat': RuleConfig; + /** + * Disallow unnecessary constructors + * + * @see [no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) + */ + 'no-useless-constructor': RuleConfig; + /** + * Disallow unnecessary escape characters + * + * @see [no-useless-escape](https://eslint.org/docs/latest/rules/no-useless-escape) + */ + 'no-useless-escape': RuleConfig; + /** + * Disallow renaming import, export, and destructured assignments to the same name + * + * @see [no-useless-rename](https://eslint.org/docs/latest/rules/no-useless-rename) + */ + 'no-useless-rename': RuleConfig; + /** + * Disallow redundant return statements + * + * @see [no-useless-return](https://eslint.org/docs/latest/rules/no-useless-return) + */ + 'no-useless-return': RuleConfig; + /** + * Require `let` or `const` instead of `var` + * + * @see [no-var](https://eslint.org/docs/latest/rules/no-var) + */ + 'no-var': RuleConfig; + /** + * Disallow `void` operators + * + * @see [no-void](https://eslint.org/docs/latest/rules/no-void) + */ + 'no-void': RuleConfig; + /** + * Disallow specified warning terms in comments + * + * @see [no-warning-comments](https://eslint.org/docs/latest/rules/no-warning-comments) + */ + 'no-warning-comments': RuleConfig; + /** + * Disallow whitespace before properties + * + * @see [no-whitespace-before-property](https://eslint.org/docs/latest/rules/no-whitespace-before-property) + */ + 'no-whitespace-before-property': RuleConfig; + /** + * Disallow `with` statements + * + * @see [no-with](https://eslint.org/docs/latest/rules/no-with) + */ + 'no-with': RuleConfig; + /** + * Enforce the location of single-line statements + * + * @see [nonblock-statement-body-position](https://eslint.org/docs/latest/rules/nonblock-statement-body-position) + */ + 'nonblock-statement-body-position': RuleConfig; + /** + * Enforce consistent line breaks after opening and before closing braces + * + * @see [object-curly-newline](https://eslint.org/docs/latest/rules/object-curly-newline) + */ + 'object-curly-newline': RuleConfig; + /** + * Enforce consistent spacing inside braces + * + * @see [object-curly-spacing](https://eslint.org/docs/latest/rules/object-curly-spacing) + */ + 'object-curly-spacing': RuleConfig; + /** + * Enforce placing object properties on separate lines + * + * @see [object-property-newline](https://eslint.org/docs/latest/rules/object-property-newline) + */ + 'object-property-newline': RuleConfig; + /** + * Require or disallow method and property shorthand syntax for object literals + * + * @see [object-shorthand](https://eslint.org/docs/latest/rules/object-shorthand) + */ + 'object-shorthand': RuleConfig; + /** + * Enforce variables to be declared either together or separately in functions + * + * @see [one-var](https://eslint.org/docs/latest/rules/one-var) + */ + 'one-var': RuleConfig; + /** + * Require or disallow newlines around variable declarations + * + * @see [one-var-declaration-per-line](https://eslint.org/docs/latest/rules/one-var-declaration-per-line) + */ + 'one-var-declaration-per-line': RuleConfig; + /** + * Require or disallow assignment operator shorthand where possible + * + * @see [operator-assignment](https://eslint.org/docs/latest/rules/operator-assignment) + */ + 'operator-assignment': RuleConfig; + /** + * Enforce consistent linebreak style for operators + * + * @see [operator-linebreak](https://eslint.org/docs/latest/rules/operator-linebreak) + */ + 'operator-linebreak': RuleConfig; + /** + * Require or disallow padding within blocks + * + * @see [padded-blocks](https://eslint.org/docs/latest/rules/padded-blocks) + */ + 'padded-blocks': RuleConfig; + /** + * Require or disallow padding lines between statements + * + * @see [padding-line-between-statements](https://eslint.org/docs/latest/rules/padding-line-between-statements) + */ + 'padding-line-between-statements': RuleConfig; + /** + * Require using arrow functions for callbacks + * + * @see [prefer-arrow-callback](https://eslint.org/docs/latest/rules/prefer-arrow-callback) + */ + 'prefer-arrow-callback': RuleConfig; + /** + * Require `const` declarations for variables that are never reassigned after declared + * + * @see [prefer-const](https://eslint.org/docs/latest/rules/prefer-const) + */ + 'prefer-const': RuleConfig; + /** + * Require destructuring from arrays and/or objects + * + * @see [prefer-destructuring](https://eslint.org/docs/latest/rules/prefer-destructuring) + */ + 'prefer-destructuring': RuleConfig; + /** + * Disallow the use of `Math.pow` in favor of the `**` operator + * + * @see [prefer-exponentiation-operator](https://eslint.org/docs/latest/rules/prefer-exponentiation-operator) + */ + 'prefer-exponentiation-operator': RuleConfig; + /** + * Enforce using named capture group in regular expression + * + * @see [prefer-named-capture-group](https://eslint.org/docs/latest/rules/prefer-named-capture-group) + */ + 'prefer-named-capture-group': RuleConfig; + /** + * Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals + * + * @see [prefer-numeric-literals](https://eslint.org/docs/latest/rules/prefer-numeric-literals) + */ + 'prefer-numeric-literals': RuleConfig; + /** + * Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn()` + * + * @see [prefer-object-has-own](https://eslint.org/docs/latest/rules/prefer-object-has-own) + */ + 'prefer-object-has-own': RuleConfig; + /** + * Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead + * + * @see [prefer-object-spread](https://eslint.org/docs/latest/rules/prefer-object-spread) + */ + 'prefer-object-spread': RuleConfig; + /** + * Require using Error objects as Promise rejection reasons + * + * @see [prefer-promise-reject-errors](https://eslint.org/docs/latest/rules/prefer-promise-reject-errors) + */ + 'prefer-promise-reject-errors': RuleConfig; + /** + * Require `Reflect` methods where applicable + * + * @see [prefer-reflect](https://eslint.org/docs/latest/rules/prefer-reflect) + */ + 'prefer-reflect': RuleConfig; + /** + * Disallow use of the `RegExp` constructor in favor of regular expression literals + * + * @see [prefer-regex-literals](https://eslint.org/docs/latest/rules/prefer-regex-literals) + */ + 'prefer-regex-literals': RuleConfig; + /** + * Require rest parameters instead of `arguments` + * + * @see [prefer-rest-params](https://eslint.org/docs/latest/rules/prefer-rest-params) + */ + 'prefer-rest-params': RuleConfig; + /** + * Require spread operators instead of `.apply()` + * + * @see [prefer-spread](https://eslint.org/docs/latest/rules/prefer-spread) + */ + 'prefer-spread': RuleConfig; + /** + * Require template literals instead of string concatenation + * + * @see [prefer-template](https://eslint.org/docs/latest/rules/prefer-template) + */ + 'prefer-template': RuleConfig; + /** + * Require quotes around object literal property names + * + * @see [quote-props](https://eslint.org/docs/latest/rules/quote-props) + */ + 'quote-props': RuleConfig; + /** + * Enforce the consistent use of either backticks, double, or single quotes + * + * @see [quotes](https://eslint.org/docs/latest/rules/quotes) + */ + quotes: RuleConfig; + /** + * Enforce the consistent use of the radix argument when using `parseInt()` + * + * @see [radix](https://eslint.org/docs/latest/rules/radix) + */ + radix: RuleConfig; + /** + * Disallow assignments that can lead to race conditions due to usage of `await` or `yield` + * + * @see [require-atomic-updates](https://eslint.org/docs/latest/rules/require-atomic-updates) + */ + 'require-atomic-updates': RuleConfig; + /** + * Disallow async functions which have no `await` expression + * + * @see [require-await](https://eslint.org/docs/latest/rules/require-await) + */ + 'require-await': RuleConfig; + /** + * Require JSDoc comments + * + * @see [require-jsdoc](https://eslint.org/docs/latest/rules/require-jsdoc) + */ + 'require-jsdoc': RuleConfig; + /** + * Enforce the use of `u` or `v` flag on RegExp + * + * @see [require-unicode-regexp](https://eslint.org/docs/latest/rules/require-unicode-regexp) + */ + 'require-unicode-regexp': RuleConfig; + /** + * Require generator functions to contain `yield` + * + * @see [require-yield](https://eslint.org/docs/latest/rules/require-yield) + */ + 'require-yield': RuleConfig; + /** + * Enforce spacing between rest and spread operators and their expressions + * + * @see [rest-spread-spacing](https://eslint.org/docs/latest/rules/rest-spread-spacing) + */ + 'rest-spread-spacing': RuleConfig; + /** + * Require or disallow semicolons instead of ASI + * + * @see [semi](https://eslint.org/docs/latest/rules/semi) + */ + semi: RuleConfig; + /** + * Enforce consistent spacing before and after semicolons + * + * @see [semi-spacing](https://eslint.org/docs/latest/rules/semi-spacing) + */ + 'semi-spacing': RuleConfig; + /** + * Enforce location of semicolons + * + * @see [semi-style](https://eslint.org/docs/latest/rules/semi-style) + */ + 'semi-style': RuleConfig; + /** + * Enforce sorted import declarations within modules + * + * @see [sort-imports](https://eslint.org/docs/latest/rules/sort-imports) + */ + 'sort-imports': RuleConfig; + /** + * Require object keys to be sorted + * + * @see [sort-keys](https://eslint.org/docs/latest/rules/sort-keys) + */ + 'sort-keys': RuleConfig; + /** + * Require variables within the same declaration block to be sorted + * + * @see [sort-vars](https://eslint.org/docs/latest/rules/sort-vars) + */ + 'sort-vars': RuleConfig; + /** + * Enforce consistent spacing before blocks + * + * @see [space-before-blocks](https://eslint.org/docs/latest/rules/space-before-blocks) + */ + 'space-before-blocks': RuleConfig; + /** + * Enforce consistent spacing before `function` definition opening parenthesis + * + * @see [space-before-function-paren](https://eslint.org/docs/latest/rules/space-before-function-paren) + */ + 'space-before-function-paren': RuleConfig; + /** + * Enforce consistent spacing inside parentheses + * + * @see [space-in-parens](https://eslint.org/docs/latest/rules/space-in-parens) + */ + 'space-in-parens': RuleConfig; + /** + * Require spacing around infix operators + * + * @see [space-infix-ops](https://eslint.org/docs/latest/rules/space-infix-ops) + */ + 'space-infix-ops': RuleConfig; + /** + * Enforce consistent spacing before or after unary operators + * + * @see [space-unary-ops](https://eslint.org/docs/latest/rules/space-unary-ops) + */ + 'space-unary-ops': RuleConfig; + /** + * Enforce consistent spacing after the `//` or `/*` in a comment + * + * @see [spaced-comment](https://eslint.org/docs/latest/rules/spaced-comment) + */ + 'spaced-comment': RuleConfig; + /** + * Require or disallow strict mode directives + * + * @see [strict](https://eslint.org/docs/latest/rules/strict) + */ + strict: RuleConfig; + /** + * Enforce spacing around colons of switch statements + * + * @see [switch-colon-spacing](https://eslint.org/docs/latest/rules/switch-colon-spacing) + */ + 'switch-colon-spacing': RuleConfig; + /** + * Require symbol descriptions + * + * @see [symbol-description](https://eslint.org/docs/latest/rules/symbol-description) + */ + 'symbol-description': RuleConfig; + /** + * Require or disallow spacing around embedded expressions of template strings + * + * @see [template-curly-spacing](https://eslint.org/docs/latest/rules/template-curly-spacing) + */ + 'template-curly-spacing': RuleConfig; + /** + * Require or disallow spacing between template tags and their literals + * + * @see [template-tag-spacing](https://eslint.org/docs/latest/rules/template-tag-spacing) + */ + 'template-tag-spacing': RuleConfig; + /** + * Require or disallow Unicode byte order mark (BOM) + * + * @see [unicode-bom](https://eslint.org/docs/latest/rules/unicode-bom) + */ + 'unicode-bom': RuleConfig; + /** + * Require calls to `isNaN()` when checking for `NaN` + * + * @see [use-isnan](https://eslint.org/docs/latest/rules/use-isnan) + */ + 'use-isnan': RuleConfig; + /** + * Enforce valid JSDoc comments + * + * @see [valid-jsdoc](https://eslint.org/docs/latest/rules/valid-jsdoc) + */ + 'valid-jsdoc': RuleConfig; + /** + * Enforce comparing `typeof` expressions against valid strings + * + * @see [valid-typeof](https://eslint.org/docs/latest/rules/valid-typeof) + */ + 'valid-typeof': RuleConfig; + /** + * Require `var` declarations be placed at the top of their containing scope + * + * @see [vars-on-top](https://eslint.org/docs/latest/rules/vars-on-top) + */ + 'vars-on-top': RuleConfig; + /** + * Require parentheses around immediate `function` invocations + * + * @see [wrap-iife](https://eslint.org/docs/latest/rules/wrap-iife) + */ + 'wrap-iife': RuleConfig; + /** + * Require parenthesis around regex literals + * + * @see [wrap-regex](https://eslint.org/docs/latest/rules/wrap-regex) + */ + 'wrap-regex': RuleConfig; + /** + * Require or disallow spacing around the `*` in `yield*` expressions + * + * @see [yield-star-spacing](https://eslint.org/docs/latest/rules/yield-star-spacing) + */ + 'yield-star-spacing': RuleConfig; + /** + * Require or disallow "Yoda" conditions + * + * @see [yoda](https://eslint.org/docs/latest/rules/yoda) + */ + yoda: RuleConfig; +} diff --git a/src/rules/eslint/init-declarations.d.ts b/src/rules/eslint/init-declarations.d.ts index a294b5d7..508a7003 100644 --- a/src/rules/eslint/init-declarations.d.ts +++ b/src/rules/eslint/init-declarations.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type InitDeclarationsOption = +export type Schema0 = | [] | ['always'] | [] @@ -15,28 +10,4 @@ export type InitDeclarationsOption = }, ]; -/** - * Options. - */ -export type InitDeclarationsOptions = InitDeclarationsOption; - -/** - * Require or disallow initialization in variable declarations. - * - * @see [init-declarations](https://eslint.org/docs/latest/rules/init-declarations) - */ -export type InitDeclarationsRuleConfig = RuleConfig; - -/** - * Require or disallow initialization in variable declarations. - * - * @see [init-declarations](https://eslint.org/docs/latest/rules/init-declarations) - */ -export interface InitDeclarationsRule { - /** - * Require or disallow initialization in variable declarations. - * - * @see [init-declarations](https://eslint.org/docs/latest/rules/init-declarations) - */ - 'init-declarations': InitDeclarationsRuleConfig; -} +export type InitDeclarationsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/jsx-quotes.d.ts b/src/rules/eslint/jsx-quotes.d.ts index dbfeb0a8..ff1be7e9 100644 --- a/src/rules/eslint/jsx-quotes.d.ts +++ b/src/rules/eslint/jsx-quotes.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'prefer-single' | 'prefer-double'; -/** - * Option. - */ -export type JsxQuotesOption = 'prefer-single' | 'prefer-double'; - -/** - * Options. - */ -export type JsxQuotesOptions = [JsxQuotesOption?]; - -/** - * Enforce the consistent use of either double or single quotes in JSX attributes. - * - * @see [jsx-quotes](https://eslint.org/docs/latest/rules/jsx-quotes) - */ -export type JsxQuotesRuleConfig = RuleConfig; - -/** - * Enforce the consistent use of either double or single quotes in JSX attributes. - * - * @see [jsx-quotes](https://eslint.org/docs/latest/rules/jsx-quotes) - */ -export interface JsxQuotesRule { - /** - * Enforce the consistent use of either double or single quotes in JSX attributes. - * - * @see [jsx-quotes](https://eslint.org/docs/latest/rules/jsx-quotes) - */ - 'jsx-quotes': JsxQuotesRuleConfig; -} +export type JsxQuotesRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/key-spacing.d.ts b/src/rules/eslint/key-spacing.d.ts index 714931da..b1dffb0f 100644 --- a/src/rules/eslint/key-spacing.d.ts +++ b/src/rules/eslint/key-spacing.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type KeySpacingOption = +export type Schema0 = | { align?: | ('colon' | 'value') @@ -56,28 +51,4 @@ export type KeySpacingOption = }; }; -/** - * Options. - */ -export type KeySpacingOptions = [KeySpacingOption?]; - -/** - * Enforce consistent spacing between keys and values in object literal properties. - * - * @see [key-spacing](https://eslint.org/docs/latest/rules/key-spacing) - */ -export type KeySpacingRuleConfig = RuleConfig; - -/** - * Enforce consistent spacing between keys and values in object literal properties. - * - * @see [key-spacing](https://eslint.org/docs/latest/rules/key-spacing) - */ -export interface KeySpacingRule { - /** - * Enforce consistent spacing between keys and values in object literal properties. - * - * @see [key-spacing](https://eslint.org/docs/latest/rules/key-spacing) - */ - 'key-spacing': KeySpacingRuleConfig; -} +export type KeySpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/keyword-spacing.d.ts b/src/rules/eslint/keyword-spacing.d.ts index 31d800fa..51818942 100644 --- a/src/rules/eslint/keyword-spacing.d.ts +++ b/src/rules/eslint/keyword-spacing.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface KeywordSpacingOption { +export interface Schema0 { before?: boolean; after?: boolean; overrides?: { @@ -282,28 +277,4 @@ export interface KeywordSpacingOption { }; } -/** - * Options. - */ -export type KeywordSpacingOptions = [KeywordSpacingOption?]; - -/** - * Enforce consistent spacing before and after keywords. - * - * @see [keyword-spacing](https://eslint.org/docs/latest/rules/keyword-spacing) - */ -export type KeywordSpacingRuleConfig = RuleConfig; - -/** - * Enforce consistent spacing before and after keywords. - * - * @see [keyword-spacing](https://eslint.org/docs/latest/rules/keyword-spacing) - */ -export interface KeywordSpacingRule { - /** - * Enforce consistent spacing before and after keywords. - * - * @see [keyword-spacing](https://eslint.org/docs/latest/rules/keyword-spacing) - */ - 'keyword-spacing': KeywordSpacingRuleConfig; -} +export type KeywordSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/line-comment-position.d.ts b/src/rules/eslint/line-comment-position.d.ts index d9d5e8f7..c3ec184e 100644 --- a/src/rules/eslint/line-comment-position.d.ts +++ b/src/rules/eslint/line-comment-position.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type LineCommentPositionOption = +export type Schema0 = | ('above' | 'beside') | { position?: 'above' | 'beside'; @@ -12,29 +7,4 @@ export type LineCommentPositionOption = applyDefaultIgnorePatterns?: boolean; }; -/** - * Options. - */ -export type LineCommentPositionOptions = [LineCommentPositionOption?]; - -/** - * Enforce position of line comments. - * - * @see [line-comment-position](https://eslint.org/docs/latest/rules/line-comment-position) - */ -export type LineCommentPositionRuleConfig = - RuleConfig; - -/** - * Enforce position of line comments. - * - * @see [line-comment-position](https://eslint.org/docs/latest/rules/line-comment-position) - */ -export interface LineCommentPositionRule { - /** - * Enforce position of line comments. - * - * @see [line-comment-position](https://eslint.org/docs/latest/rules/line-comment-position) - */ - 'line-comment-position': LineCommentPositionRuleConfig; -} +export type LineCommentPositionRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/linebreak-style.d.ts b/src/rules/eslint/linebreak-style.d.ts index 42c230ed..e5620b56 100644 --- a/src/rules/eslint/linebreak-style.d.ts +++ b/src/rules/eslint/linebreak-style.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'unix' | 'windows'; -/** - * Option. - */ -export type LinebreakStyleOption = 'unix' | 'windows'; - -/** - * Options. - */ -export type LinebreakStyleOptions = [LinebreakStyleOption?]; - -/** - * Enforce consistent linebreak style. - * - * @see [linebreak-style](https://eslint.org/docs/latest/rules/linebreak-style) - */ -export type LinebreakStyleRuleConfig = RuleConfig; - -/** - * Enforce consistent linebreak style. - * - * @see [linebreak-style](https://eslint.org/docs/latest/rules/linebreak-style) - */ -export interface LinebreakStyleRule { - /** - * Enforce consistent linebreak style. - * - * @see [linebreak-style](https://eslint.org/docs/latest/rules/linebreak-style) - */ - 'linebreak-style': LinebreakStyleRuleConfig; -} +export type LinebreakStyleRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/lines-around-comment.d.ts b/src/rules/eslint/lines-around-comment.d.ts index 8b174e4c..18d64c1c 100644 --- a/src/rules/eslint/lines-around-comment.d.ts +++ b/src/rules/eslint/lines-around-comment.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface LinesAroundCommentOption { +export interface Schema0 { beforeBlockComment?: boolean; afterBlockComment?: boolean; beforeLineComment?: boolean; @@ -21,29 +16,4 @@ export interface LinesAroundCommentOption { afterHashbangComment?: boolean; } -/** - * Options. - */ -export type LinesAroundCommentOptions = [LinesAroundCommentOption?]; - -/** - * Require empty lines around comments. - * - * @see [lines-around-comment](https://eslint.org/docs/latest/rules/lines-around-comment) - */ -export type LinesAroundCommentRuleConfig = - RuleConfig; - -/** - * Require empty lines around comments. - * - * @see [lines-around-comment](https://eslint.org/docs/latest/rules/lines-around-comment) - */ -export interface LinesAroundCommentRule { - /** - * Require empty lines around comments. - * - * @see [lines-around-comment](https://eslint.org/docs/latest/rules/lines-around-comment) - */ - 'lines-around-comment': LinesAroundCommentRuleConfig; -} +export type LinesAroundCommentRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/lines-around-directive.d.ts b/src/rules/eslint/lines-around-directive.d.ts index 5f23a395..bc1c812e 100644 --- a/src/rules/eslint/lines-around-directive.d.ts +++ b/src/rules/eslint/lines-around-directive.d.ts @@ -1,44 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type LinesAroundDirectiveOption = +export type Schema0 = | ('always' | 'never') | { before?: 'always' | 'never'; after?: 'always' | 'never'; }; -/** - * Options. - */ -export type LinesAroundDirectiveOptions = [LinesAroundDirectiveOption?]; - -/** - * Require or disallow newlines around directives. - * - * @deprecated - * - * @see [lines-around-directive](https://eslint.org/docs/latest/rules/lines-around-directive) - */ -export type LinesAroundDirectiveRuleConfig = - RuleConfig; - -/** - * Require or disallow newlines around directives. - * - * @deprecated - * - * @see [lines-around-directive](https://eslint.org/docs/latest/rules/lines-around-directive) - */ -export interface LinesAroundDirectiveRule { - /** - * Require or disallow newlines around directives. - * - * @deprecated - * - * @see [lines-around-directive](https://eslint.org/docs/latest/rules/lines-around-directive) - */ - 'lines-around-directive': LinesAroundDirectiveRuleConfig; -} +export type LinesAroundDirectiveRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/lines-between-class-members.d.ts b/src/rules/eslint/lines-between-class-members.d.ts index c3645281..9be2677d 100644 --- a/src/rules/eslint/lines-between-class-members.d.ts +++ b/src/rules/eslint/lines-between-class-members.d.ts @@ -1,16 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface LinesBetweenClassMembersConfig { - exceptAfterSingleLine?: boolean; -} - -/** - * Option. - */ -export type LinesBetweenClassMembersOption = +export type Schema0 = | { /** * @minItems 1 @@ -30,32 +18,8 @@ export type LinesBetweenClassMembersOption = } | ('always' | 'never'); -/** - * Options. - */ -export type LinesBetweenClassMembersOptions = [ - LinesBetweenClassMembersOption?, - LinesBetweenClassMembersConfig?, -]; - -/** - * Require or disallow an empty line between class members. - * - * @see [lines-between-class-members](https://eslint.org/docs/latest/rules/lines-between-class-members) - */ -export type LinesBetweenClassMembersRuleConfig = - RuleConfig; - -/** - * Require or disallow an empty line between class members. - * - * @see [lines-between-class-members](https://eslint.org/docs/latest/rules/lines-between-class-members) - */ -export interface LinesBetweenClassMembersRule { - /** - * Require or disallow an empty line between class members. - * - * @see [lines-between-class-members](https://eslint.org/docs/latest/rules/lines-between-class-members) - */ - 'lines-between-class-members': LinesBetweenClassMembersRuleConfig; +export interface Schema1 { + exceptAfterSingleLine?: boolean; } + +export type LinesBetweenClassMembersRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/logical-assignment-operators.d.ts b/src/rules/eslint/logical-assignment-operators.d.ts index acd228f5..086cd58d 100644 --- a/src/rules/eslint/logical-assignment-operators.d.ts +++ b/src/rules/eslint/logical-assignment-operators.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type LogicalAssignmentOperatorsOption = ( +export type Schema0 = ( | [] | ['always'] | [ @@ -14,32 +9,6 @@ export type LogicalAssignmentOperatorsOption = ( ] | ['never'] ) & - any[]; - -/** - * Options. - */ -export type LogicalAssignmentOperatorsOptions = - LogicalAssignmentOperatorsOption; - -/** - * Require or disallow logical assignment operator shorthand. - * - * @see [logical-assignment-operators](https://eslint.org/docs/latest/rules/logical-assignment-operators) - */ -export type LogicalAssignmentOperatorsRuleConfig = - RuleConfig; + unknown[]; -/** - * Require or disallow logical assignment operator shorthand. - * - * @see [logical-assignment-operators](https://eslint.org/docs/latest/rules/logical-assignment-operators) - */ -export interface LogicalAssignmentOperatorsRule { - /** - * Require or disallow logical assignment operator shorthand. - * - * @see [logical-assignment-operators](https://eslint.org/docs/latest/rules/logical-assignment-operators) - */ - 'logical-assignment-operators': LogicalAssignmentOperatorsRuleConfig; -} +export type LogicalAssignmentOperatorsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/max-classes-per-file.d.ts b/src/rules/eslint/max-classes-per-file.d.ts index 47d07263..9155e133 100644 --- a/src/rules/eslint/max-classes-per-file.d.ts +++ b/src/rules/eslint/max-classes-per-file.d.ts @@ -1,37 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type MaxClassesPerFileOption = +export type Schema0 = | number | { ignoreExpressions?: boolean; max?: number; }; -/** - * Options. - */ -export type MaxClassesPerFileOptions = [MaxClassesPerFileOption?]; - -/** - * Enforce a maximum number of classes per file. - * - * @see [max-classes-per-file](https://eslint.org/docs/latest/rules/max-classes-per-file) - */ -export type MaxClassesPerFileRuleConfig = RuleConfig; - -/** - * Enforce a maximum number of classes per file. - * - * @see [max-classes-per-file](https://eslint.org/docs/latest/rules/max-classes-per-file) - */ -export interface MaxClassesPerFileRule { - /** - * Enforce a maximum number of classes per file. - * - * @see [max-classes-per-file](https://eslint.org/docs/latest/rules/max-classes-per-file) - */ - 'max-classes-per-file': MaxClassesPerFileRuleConfig; -} +export type MaxClassesPerFileRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/max-depth.d.ts b/src/rules/eslint/max-depth.d.ts index d20aad61..1ab1a4d7 100644 --- a/src/rules/eslint/max-depth.d.ts +++ b/src/rules/eslint/max-depth.d.ts @@ -1,37 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type MaxDepthOption = +export type Schema0 = | number | { maximum?: number; max?: number; }; -/** - * Options. - */ -export type MaxDepthOptions = [MaxDepthOption?]; - -/** - * Enforce a maximum depth that blocks can be nested. - * - * @see [max-depth](https://eslint.org/docs/latest/rules/max-depth) - */ -export type MaxDepthRuleConfig = RuleConfig; - -/** - * Enforce a maximum depth that blocks can be nested. - * - * @see [max-depth](https://eslint.org/docs/latest/rules/max-depth) - */ -export interface MaxDepthRule { - /** - * Enforce a maximum depth that blocks can be nested. - * - * @see [max-depth](https://eslint.org/docs/latest/rules/max-depth) - */ - 'max-depth': MaxDepthRuleConfig; -} +export type MaxDepthRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/max-len.d.ts b/src/rules/eslint/max-len.d.ts index 2c382163..67ed6234 100644 --- a/src/rules/eslint/max-len.d.ts +++ b/src/rules/eslint/max-len.d.ts @@ -1,25 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Setting. - */ -export interface MaxLenSetting { - code?: number; - comments?: number; - tabWidth?: number; - ignorePattern?: string; - ignoreComments?: boolean; - ignoreStrings?: boolean; - ignoreUrls?: boolean; - ignoreTemplateLiterals?: boolean; - ignoreRegExpLiterals?: boolean; - ignoreTrailingComments?: boolean; -} - -/** - * Config. - */ -export type MaxLenConfig = +export type Schema0 = | { code?: number; comments?: number; @@ -34,10 +13,7 @@ export type MaxLenConfig = } | number; -/** - * Option. - */ -export type MaxLenOption = +export type Schema1 = | { code?: number; comments?: number; @@ -52,28 +28,17 @@ export type MaxLenOption = } | number; -/** - * Options. - */ -export type MaxLenOptions = [MaxLenOption?, MaxLenConfig?, MaxLenSetting?]; - -/** - * Enforce a maximum line length. - * - * @see [max-len](https://eslint.org/docs/latest/rules/max-len) - */ -export type MaxLenRuleConfig = RuleConfig; - -/** - * Enforce a maximum line length. - * - * @see [max-len](https://eslint.org/docs/latest/rules/max-len) - */ -export interface MaxLenRule { - /** - * Enforce a maximum line length. - * - * @see [max-len](https://eslint.org/docs/latest/rules/max-len) - */ - 'max-len': MaxLenRuleConfig; +export interface Schema2 { + code?: number; + comments?: number; + tabWidth?: number; + ignorePattern?: string; + ignoreComments?: boolean; + ignoreStrings?: boolean; + ignoreUrls?: boolean; + ignoreTemplateLiterals?: boolean; + ignoreRegExpLiterals?: boolean; + ignoreTrailingComments?: boolean; } + +export type MaxLenRuleOptions = [Schema0?, Schema1?, Schema2?]; diff --git a/src/rules/eslint/max-lines-per-function.d.ts b/src/rules/eslint/max-lines-per-function.d.ts index fab90c20..4b6648d4 100644 --- a/src/rules/eslint/max-lines-per-function.d.ts +++ b/src/rules/eslint/max-lines-per-function.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type MaxLinesPerFunctionOption = +export type Schema0 = | { max?: number; skipComments?: boolean; @@ -12,29 +7,4 @@ export type MaxLinesPerFunctionOption = } | number; -/** - * Options. - */ -export type MaxLinesPerFunctionOptions = [MaxLinesPerFunctionOption?]; - -/** - * Enforce a maximum number of lines of code in a function. - * - * @see [max-lines-per-function](https://eslint.org/docs/latest/rules/max-lines-per-function) - */ -export type MaxLinesPerFunctionRuleConfig = - RuleConfig; - -/** - * Enforce a maximum number of lines of code in a function. - * - * @see [max-lines-per-function](https://eslint.org/docs/latest/rules/max-lines-per-function) - */ -export interface MaxLinesPerFunctionRule { - /** - * Enforce a maximum number of lines of code in a function. - * - * @see [max-lines-per-function](https://eslint.org/docs/latest/rules/max-lines-per-function) - */ - 'max-lines-per-function': MaxLinesPerFunctionRuleConfig; -} +export type MaxLinesPerFunctionRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/max-lines.d.ts b/src/rules/eslint/max-lines.d.ts index 4affc043..a6ca5d62 100644 --- a/src/rules/eslint/max-lines.d.ts +++ b/src/rules/eslint/max-lines.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type MaxLinesOption = +export type Schema0 = | number | { max?: number; @@ -11,28 +6,4 @@ export type MaxLinesOption = skipBlankLines?: boolean; }; -/** - * Options. - */ -export type MaxLinesOptions = [MaxLinesOption?]; - -/** - * Enforce a maximum number of lines per file. - * - * @see [max-lines](https://eslint.org/docs/latest/rules/max-lines) - */ -export type MaxLinesRuleConfig = RuleConfig; - -/** - * Enforce a maximum number of lines per file. - * - * @see [max-lines](https://eslint.org/docs/latest/rules/max-lines) - */ -export interface MaxLinesRule { - /** - * Enforce a maximum number of lines per file. - * - * @see [max-lines](https://eslint.org/docs/latest/rules/max-lines) - */ - 'max-lines': MaxLinesRuleConfig; -} +export type MaxLinesRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/max-nested-callbacks.d.ts b/src/rules/eslint/max-nested-callbacks.d.ts index 4903d1d7..21da1301 100644 --- a/src/rules/eslint/max-nested-callbacks.d.ts +++ b/src/rules/eslint/max-nested-callbacks.d.ts @@ -1,38 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type MaxNestedCallbacksOption = +export type Schema0 = | number | { maximum?: number; max?: number; }; -/** - * Options. - */ -export type MaxNestedCallbacksOptions = [MaxNestedCallbacksOption?]; - -/** - * Enforce a maximum depth that callbacks can be nested. - * - * @see [max-nested-callbacks](https://eslint.org/docs/latest/rules/max-nested-callbacks) - */ -export type MaxNestedCallbacksRuleConfig = - RuleConfig; - -/** - * Enforce a maximum depth that callbacks can be nested. - * - * @see [max-nested-callbacks](https://eslint.org/docs/latest/rules/max-nested-callbacks) - */ -export interface MaxNestedCallbacksRule { - /** - * Enforce a maximum depth that callbacks can be nested. - * - * @see [max-nested-callbacks](https://eslint.org/docs/latest/rules/max-nested-callbacks) - */ - 'max-nested-callbacks': MaxNestedCallbacksRuleConfig; -} +export type MaxNestedCallbacksRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/max-params.d.ts b/src/rules/eslint/max-params.d.ts index 203830eb..b25f0470 100644 --- a/src/rules/eslint/max-params.d.ts +++ b/src/rules/eslint/max-params.d.ts @@ -1,37 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type MaxParamsOption = +export type Schema0 = | number | { maximum?: number; max?: number; }; -/** - * Options. - */ -export type MaxParamsOptions = [MaxParamsOption?]; - -/** - * Enforce a maximum number of parameters in function definitions. - * - * @see [max-params](https://eslint.org/docs/latest/rules/max-params) - */ -export type MaxParamsRuleConfig = RuleConfig; - -/** - * Enforce a maximum number of parameters in function definitions. - * - * @see [max-params](https://eslint.org/docs/latest/rules/max-params) - */ -export interface MaxParamsRule { - /** - * Enforce a maximum number of parameters in function definitions. - * - * @see [max-params](https://eslint.org/docs/latest/rules/max-params) - */ - 'max-params': MaxParamsRuleConfig; -} +export type MaxParamsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/max-statements-per-line.d.ts b/src/rules/eslint/max-statements-per-line.d.ts index 2f009b1e..0639c530 100644 --- a/src/rules/eslint/max-statements-per-line.d.ts +++ b/src/rules/eslint/max-statements-per-line.d.ts @@ -1,35 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface MaxStatementsPerLineOption { +export interface Schema0 { max?: number; } -/** - * Options. - */ -export type MaxStatementsPerLineOptions = [MaxStatementsPerLineOption?]; - -/** - * Enforce a maximum number of statements allowed per line. - * - * @see [max-statements-per-line](https://eslint.org/docs/latest/rules/max-statements-per-line) - */ -export type MaxStatementsPerLineRuleConfig = - RuleConfig; - -/** - * Enforce a maximum number of statements allowed per line. - * - * @see [max-statements-per-line](https://eslint.org/docs/latest/rules/max-statements-per-line) - */ -export interface MaxStatementsPerLineRule { - /** - * Enforce a maximum number of statements allowed per line. - * - * @see [max-statements-per-line](https://eslint.org/docs/latest/rules/max-statements-per-line) - */ - 'max-statements-per-line': MaxStatementsPerLineRuleConfig; -} +export type MaxStatementsPerLineRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/max-statements.d.ts b/src/rules/eslint/max-statements.d.ts index e8791662..0abbc1f9 100644 --- a/src/rules/eslint/max-statements.d.ts +++ b/src/rules/eslint/max-statements.d.ts @@ -1,44 +1,12 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface MaxStatementsConfig { - ignoreTopLevelFunctions?: boolean; -} - -/** - * Option. - */ -export type MaxStatementsOption = +export type Schema0 = | number | { maximum?: number; max?: number; }; -/** - * Options. - */ -export type MaxStatementsOptions = [MaxStatementsOption?, MaxStatementsConfig?]; - -/** - * Enforce a maximum number of statements allowed in function blocks. - * - * @see [max-statements](https://eslint.org/docs/latest/rules/max-statements) - */ -export type MaxStatementsRuleConfig = RuleConfig; - -/** - * Enforce a maximum number of statements allowed in function blocks. - * - * @see [max-statements](https://eslint.org/docs/latest/rules/max-statements) - */ -export interface MaxStatementsRule { - /** - * Enforce a maximum number of statements allowed in function blocks. - * - * @see [max-statements](https://eslint.org/docs/latest/rules/max-statements) - */ - 'max-statements': MaxStatementsRuleConfig; +export interface Schema1 { + ignoreTopLevelFunctions?: boolean; } + +export type MaxStatementsRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/multiline-comment-style.d.ts b/src/rules/eslint/multiline-comment-style.d.ts index 689913ac..0dbe732c 100644 --- a/src/rules/eslint/multiline-comment-style.d.ts +++ b/src/rules/eslint/multiline-comment-style.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type MultilineCommentStyleOption = +export type Schema0 = | [] | ['starred-block' | 'bare-block'] | [] @@ -15,29 +10,4 @@ export type MultilineCommentStyleOption = }, ]; -/** - * Options. - */ -export type MultilineCommentStyleOptions = MultilineCommentStyleOption; - -/** - * Enforce a particular style for multiline comments. - * - * @see [multiline-comment-style](https://eslint.org/docs/latest/rules/multiline-comment-style) - */ -export type MultilineCommentStyleRuleConfig = - RuleConfig; - -/** - * Enforce a particular style for multiline comments. - * - * @see [multiline-comment-style](https://eslint.org/docs/latest/rules/multiline-comment-style) - */ -export interface MultilineCommentStyleRule { - /** - * Enforce a particular style for multiline comments. - * - * @see [multiline-comment-style](https://eslint.org/docs/latest/rules/multiline-comment-style) - */ - 'multiline-comment-style': MultilineCommentStyleRuleConfig; -} +export type MultilineCommentStyleRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/multiline-ternary.d.ts b/src/rules/eslint/multiline-ternary.d.ts index cfb7337a..0182c81e 100644 --- a/src/rules/eslint/multiline-ternary.d.ts +++ b/src/rules/eslint/multiline-ternary.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'always-multiline' | 'never'; -/** - * Option. - */ -export type MultilineTernaryOption = 'always' | 'always-multiline' | 'never'; - -/** - * Options. - */ -export type MultilineTernaryOptions = [MultilineTernaryOption?]; - -/** - * Enforce newlines between operands of ternary expressions. - * - * @see [multiline-ternary](https://eslint.org/docs/latest/rules/multiline-ternary) - */ -export type MultilineTernaryRuleConfig = RuleConfig; - -/** - * Enforce newlines between operands of ternary expressions. - * - * @see [multiline-ternary](https://eslint.org/docs/latest/rules/multiline-ternary) - */ -export interface MultilineTernaryRule { - /** - * Enforce newlines between operands of ternary expressions. - * - * @see [multiline-ternary](https://eslint.org/docs/latest/rules/multiline-ternary) - */ - 'multiline-ternary': MultilineTernaryRuleConfig; -} +export type MultilineTernaryRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/new-cap.d.ts b/src/rules/eslint/new-cap.d.ts index df5c7470..a6d6fb00 100644 --- a/src/rules/eslint/new-cap.d.ts +++ b/src/rules/eslint/new-cap.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NewCapOption { +export interface Schema0 { newIsCap?: boolean; capIsNew?: boolean; newIsCapExceptions?: string[]; @@ -13,28 +8,4 @@ export interface NewCapOption { properties?: boolean; } -/** - * Options. - */ -export type NewCapOptions = [NewCapOption?]; - -/** - * Require constructor names to begin with a capital letter. - * - * @see [new-cap](https://eslint.org/docs/latest/rules/new-cap) - */ -export type NewCapRuleConfig = RuleConfig; - -/** - * Require constructor names to begin with a capital letter. - * - * @see [new-cap](https://eslint.org/docs/latest/rules/new-cap) - */ -export interface NewCapRule { - /** - * Require constructor names to begin with a capital letter. - * - * @see [new-cap](https://eslint.org/docs/latest/rules/new-cap) - */ - 'new-cap': NewCapRuleConfig; -} +export type NewCapRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/new-parens.d.ts b/src/rules/eslint/new-parens.d.ts index 2c523842..6224d5f2 100644 --- a/src/rules/eslint/new-parens.d.ts +++ b/src/rules/eslint/new-parens.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Option. - */ -export type NewParensOption = 'always' | 'never'; - -/** - * Options. - */ -export type NewParensOptions = [NewParensOption?]; - -/** - * Enforce or disallow parentheses when invoking a constructor with no arguments. - * - * @see [new-parens](https://eslint.org/docs/latest/rules/new-parens) - */ -export type NewParensRuleConfig = RuleConfig; - -/** - * Enforce or disallow parentheses when invoking a constructor with no arguments. - * - * @see [new-parens](https://eslint.org/docs/latest/rules/new-parens) - */ -export interface NewParensRule { - /** - * Enforce or disallow parentheses when invoking a constructor with no arguments. - * - * @see [new-parens](https://eslint.org/docs/latest/rules/new-parens) - */ - 'new-parens': NewParensRuleConfig; -} +export type NewParensRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/newline-after-var.d.ts b/src/rules/eslint/newline-after-var.d.ts index 2bcc39e7..44e1892d 100644 --- a/src/rules/eslint/newline-after-var.d.ts +++ b/src/rules/eslint/newline-after-var.d.ts @@ -1,38 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'never' | 'always'; -/** - * Option. - */ -export type NewlineAfterVarOption = 'never' | 'always'; - -/** - * Options. - */ -export type NewlineAfterVarOptions = [NewlineAfterVarOption?]; - -/** - * Require or disallow an empty line after variable declarations. - * - * @deprecated - * - * @see [newline-after-var](https://eslint.org/docs/latest/rules/newline-after-var) - */ -export type NewlineAfterVarRuleConfig = RuleConfig; - -/** - * Require or disallow an empty line after variable declarations. - * - * @deprecated - * - * @see [newline-after-var](https://eslint.org/docs/latest/rules/newline-after-var) - */ -export interface NewlineAfterVarRule { - /** - * Require or disallow an empty line after variable declarations. - * - * @deprecated - * - * @see [newline-after-var](https://eslint.org/docs/latest/rules/newline-after-var) - */ - 'newline-after-var': NewlineAfterVarRuleConfig; -} +export type NewlineAfterVarRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/newline-before-return.d.ts b/src/rules/eslint/newline-before-return.d.ts index 26d11234..384891e8 100644 --- a/src/rules/eslint/newline-before-return.d.ts +++ b/src/rules/eslint/newline-before-return.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require an empty line before `return` statements. - * - * @deprecated - * - * @see [newline-before-return](https://eslint.org/docs/latest/rules/newline-before-return) - */ -export type NewlineBeforeReturnRuleConfig = RuleConfig<[]>; - -/** - * Require an empty line before `return` statements. - * - * @deprecated - * - * @see [newline-before-return](https://eslint.org/docs/latest/rules/newline-before-return) - */ -export interface NewlineBeforeReturnRule { - /** - * Require an empty line before `return` statements. - * - * @deprecated - * - * @see [newline-before-return](https://eslint.org/docs/latest/rules/newline-before-return) - */ - 'newline-before-return': NewlineBeforeReturnRuleConfig; -} +export type NewlineBeforeReturnRuleOptions = []; diff --git a/src/rules/eslint/newline-per-chained-call.d.ts b/src/rules/eslint/newline-per-chained-call.d.ts index 9c6d7419..fabbca02 100644 --- a/src/rules/eslint/newline-per-chained-call.d.ts +++ b/src/rules/eslint/newline-per-chained-call.d.ts @@ -1,35 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NewlinePerChainedCallOption { +export interface Schema0 { ignoreChainWithDepth?: number; } -/** - * Options. - */ -export type NewlinePerChainedCallOptions = [NewlinePerChainedCallOption?]; - -/** - * Require a newline after each call in a method chain. - * - * @see [newline-per-chained-call](https://eslint.org/docs/latest/rules/newline-per-chained-call) - */ -export type NewlinePerChainedCallRuleConfig = - RuleConfig; - -/** - * Require a newline after each call in a method chain. - * - * @see [newline-per-chained-call](https://eslint.org/docs/latest/rules/newline-per-chained-call) - */ -export interface NewlinePerChainedCallRule { - /** - * Require a newline after each call in a method chain. - * - * @see [newline-per-chained-call](https://eslint.org/docs/latest/rules/newline-per-chained-call) - */ - 'newline-per-chained-call': NewlinePerChainedCallRuleConfig; -} +export type NewlinePerChainedCallRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-alert.d.ts b/src/rules/eslint/no-alert.d.ts index 637d4e1b..3c545b22 100644 --- a/src/rules/eslint/no-alert.d.ts +++ b/src/rules/eslint/no-alert.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow the use of `alert`, `confirm`, and `prompt`. - * - * @see [no-alert](https://eslint.org/docs/latest/rules/no-alert) - */ -export type NoAlertRuleConfig = RuleConfig<[]>; - -/** - * Disallow the use of `alert`, `confirm`, and `prompt`. - * - * @see [no-alert](https://eslint.org/docs/latest/rules/no-alert) - */ -export interface NoAlertRule { - /** - * Disallow the use of `alert`, `confirm`, and `prompt`. - * - * @see [no-alert](https://eslint.org/docs/latest/rules/no-alert) - */ - 'no-alert': NoAlertRuleConfig; -} +export type NoAlertRuleOptions = []; diff --git a/src/rules/eslint/no-array-constructor.d.ts b/src/rules/eslint/no-array-constructor.d.ts index 13f132d2..587a3f2c 100644 --- a/src/rules/eslint/no-array-constructor.d.ts +++ b/src/rules/eslint/no-array-constructor.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `Array` constructors. - * - * @see [no-array-constructor](https://eslint.org/docs/latest/rules/no-array-constructor) - */ -export type NoArrayConstructorRuleConfig = RuleConfig<[]>; - -/** - * Disallow `Array` constructors. - * - * @see [no-array-constructor](https://eslint.org/docs/latest/rules/no-array-constructor) - */ -export interface NoArrayConstructorRule { - /** - * Disallow `Array` constructors. - * - * @see [no-array-constructor](https://eslint.org/docs/latest/rules/no-array-constructor) - */ - 'no-array-constructor': NoArrayConstructorRuleConfig; -} +export type NoArrayConstructorRuleOptions = []; diff --git a/src/rules/eslint/no-async-promise-executor.d.ts b/src/rules/eslint/no-async-promise-executor.d.ts index af3982de..e38a6c99 100644 --- a/src/rules/eslint/no-async-promise-executor.d.ts +++ b/src/rules/eslint/no-async-promise-executor.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow using an async function as a Promise executor. - * - * @see [no-async-promise-executor](https://eslint.org/docs/latest/rules/no-async-promise-executor) - */ -export type NoAsyncPromiseExecutorRuleConfig = RuleConfig<[]>; - -/** - * Disallow using an async function as a Promise executor. - * - * @see [no-async-promise-executor](https://eslint.org/docs/latest/rules/no-async-promise-executor) - */ -export interface NoAsyncPromiseExecutorRule { - /** - * Disallow using an async function as a Promise executor. - * - * @see [no-async-promise-executor](https://eslint.org/docs/latest/rules/no-async-promise-executor) - */ - 'no-async-promise-executor': NoAsyncPromiseExecutorRuleConfig; -} +export type NoAsyncPromiseExecutorRuleOptions = []; diff --git a/src/rules/eslint/no-await-in-loop.d.ts b/src/rules/eslint/no-await-in-loop.d.ts index b5f82d81..d34b4e0a 100644 --- a/src/rules/eslint/no-await-in-loop.d.ts +++ b/src/rules/eslint/no-await-in-loop.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `await` inside of loops. - * - * @see [no-await-in-loop](https://eslint.org/docs/latest/rules/no-await-in-loop) - */ -export type NoAwaitInLoopRuleConfig = RuleConfig<[]>; - -/** - * Disallow `await` inside of loops. - * - * @see [no-await-in-loop](https://eslint.org/docs/latest/rules/no-await-in-loop) - */ -export interface NoAwaitInLoopRule { - /** - * Disallow `await` inside of loops. - * - * @see [no-await-in-loop](https://eslint.org/docs/latest/rules/no-await-in-loop) - */ - 'no-await-in-loop': NoAwaitInLoopRuleConfig; -} +export type NoAwaitInLoopRuleOptions = []; diff --git a/src/rules/eslint/no-bitwise.d.ts b/src/rules/eslint/no-bitwise.d.ts index 78b8d5c9..ad9eb49d 100644 --- a/src/rules/eslint/no-bitwise.d.ts +++ b/src/rules/eslint/no-bitwise.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoBitwiseOption { +export interface Schema0 { allow?: ( | '^' | '|' @@ -22,28 +17,4 @@ export interface NoBitwiseOption { int32Hint?: boolean; } -/** - * Options. - */ -export type NoBitwiseOptions = [NoBitwiseOption?]; - -/** - * Disallow bitwise operators. - * - * @see [no-bitwise](https://eslint.org/docs/latest/rules/no-bitwise) - */ -export type NoBitwiseRuleConfig = RuleConfig; - -/** - * Disallow bitwise operators. - * - * @see [no-bitwise](https://eslint.org/docs/latest/rules/no-bitwise) - */ -export interface NoBitwiseRule { - /** - * Disallow bitwise operators. - * - * @see [no-bitwise](https://eslint.org/docs/latest/rules/no-bitwise) - */ - 'no-bitwise': NoBitwiseRuleConfig; -} +export type NoBitwiseRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-buffer-constructor.d.ts b/src/rules/eslint/no-buffer-constructor.d.ts index 02779301..a68b2c99 100644 --- a/src/rules/eslint/no-buffer-constructor.d.ts +++ b/src/rules/eslint/no-buffer-constructor.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow use of the `Buffer()` constructor. - * - * @deprecated - * - * @see [no-buffer-constructor](https://eslint.org/docs/latest/rules/no-buffer-constructor) - */ -export type NoBufferConstructorRuleConfig = RuleConfig<[]>; - -/** - * Disallow use of the `Buffer()` constructor. - * - * @deprecated - * - * @see [no-buffer-constructor](https://eslint.org/docs/latest/rules/no-buffer-constructor) - */ -export interface NoBufferConstructorRule { - /** - * Disallow use of the `Buffer()` constructor. - * - * @deprecated - * - * @see [no-buffer-constructor](https://eslint.org/docs/latest/rules/no-buffer-constructor) - */ - 'no-buffer-constructor': NoBufferConstructorRuleConfig; -} +export type NoBufferConstructorRuleOptions = []; diff --git a/src/rules/eslint/no-caller.d.ts b/src/rules/eslint/no-caller.d.ts index 4db788f3..58d5cf6d 100644 --- a/src/rules/eslint/no-caller.d.ts +++ b/src/rules/eslint/no-caller.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow the use of `arguments.caller` or `arguments.callee`. - * - * @see [no-caller](https://eslint.org/docs/latest/rules/no-caller) - */ -export type NoCallerRuleConfig = RuleConfig<[]>; - -/** - * Disallow the use of `arguments.caller` or `arguments.callee`. - * - * @see [no-caller](https://eslint.org/docs/latest/rules/no-caller) - */ -export interface NoCallerRule { - /** - * Disallow the use of `arguments.caller` or `arguments.callee`. - * - * @see [no-caller](https://eslint.org/docs/latest/rules/no-caller) - */ - 'no-caller': NoCallerRuleConfig; -} +export type NoCallerRuleOptions = []; diff --git a/src/rules/eslint/no-case-declarations.d.ts b/src/rules/eslint/no-case-declarations.d.ts index 2d9dc0c0..77546951 100644 --- a/src/rules/eslint/no-case-declarations.d.ts +++ b/src/rules/eslint/no-case-declarations.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow lexical declarations in case clauses. - * - * @see [no-case-declarations](https://eslint.org/docs/latest/rules/no-case-declarations) - */ -export type NoCaseDeclarationsRuleConfig = RuleConfig<[]>; - -/** - * Disallow lexical declarations in case clauses. - * - * @see [no-case-declarations](https://eslint.org/docs/latest/rules/no-case-declarations) - */ -export interface NoCaseDeclarationsRule { - /** - * Disallow lexical declarations in case clauses. - * - * @see [no-case-declarations](https://eslint.org/docs/latest/rules/no-case-declarations) - */ - 'no-case-declarations': NoCaseDeclarationsRuleConfig; -} +export type NoCaseDeclarationsRuleOptions = []; diff --git a/src/rules/eslint/no-catch-shadow.d.ts b/src/rules/eslint/no-catch-shadow.d.ts index 8eaa4cc3..d2c3ed0e 100644 --- a/src/rules/eslint/no-catch-shadow.d.ts +++ b/src/rules/eslint/no-catch-shadow.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `catch` clause parameters from shadowing variables in the outer scope. - * - * @deprecated - * - * @see [no-catch-shadow](https://eslint.org/docs/latest/rules/no-catch-shadow) - */ -export type NoCatchShadowRuleConfig = RuleConfig<[]>; - -/** - * Disallow `catch` clause parameters from shadowing variables in the outer scope. - * - * @deprecated - * - * @see [no-catch-shadow](https://eslint.org/docs/latest/rules/no-catch-shadow) - */ -export interface NoCatchShadowRule { - /** - * Disallow `catch` clause parameters from shadowing variables in the outer scope. - * - * @deprecated - * - * @see [no-catch-shadow](https://eslint.org/docs/latest/rules/no-catch-shadow) - */ - 'no-catch-shadow': NoCatchShadowRuleConfig; -} +export type NoCatchShadowRuleOptions = []; diff --git a/src/rules/eslint/no-class-assign.d.ts b/src/rules/eslint/no-class-assign.d.ts index 7d49f4c9..ddecb056 100644 --- a/src/rules/eslint/no-class-assign.d.ts +++ b/src/rules/eslint/no-class-assign.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow reassigning class members. - * - * @see [no-class-assign](https://eslint.org/docs/latest/rules/no-class-assign) - */ -export type NoClassAssignRuleConfig = RuleConfig<[]>; - -/** - * Disallow reassigning class members. - * - * @see [no-class-assign](https://eslint.org/docs/latest/rules/no-class-assign) - */ -export interface NoClassAssignRule { - /** - * Disallow reassigning class members. - * - * @see [no-class-assign](https://eslint.org/docs/latest/rules/no-class-assign) - */ - 'no-class-assign': NoClassAssignRuleConfig; -} +export type NoClassAssignRuleOptions = []; diff --git a/src/rules/eslint/no-compare-neg-zero.d.ts b/src/rules/eslint/no-compare-neg-zero.d.ts index bd0fb263..ee47e06b 100644 --- a/src/rules/eslint/no-compare-neg-zero.d.ts +++ b/src/rules/eslint/no-compare-neg-zero.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow comparing against -0. - * - * @see [no-compare-neg-zero](https://eslint.org/docs/latest/rules/no-compare-neg-zero) - */ -export type NoCompareNegZeroRuleConfig = RuleConfig<[]>; - -/** - * Disallow comparing against -0. - * - * @see [no-compare-neg-zero](https://eslint.org/docs/latest/rules/no-compare-neg-zero) - */ -export interface NoCompareNegZeroRule { - /** - * Disallow comparing against -0. - * - * @see [no-compare-neg-zero](https://eslint.org/docs/latest/rules/no-compare-neg-zero) - */ - 'no-compare-neg-zero': NoCompareNegZeroRuleConfig; -} +export type NoCompareNegZeroRuleOptions = []; diff --git a/src/rules/eslint/no-cond-assign.d.ts b/src/rules/eslint/no-cond-assign.d.ts index 87b76e55..7e3449c2 100644 --- a/src/rules/eslint/no-cond-assign.d.ts +++ b/src/rules/eslint/no-cond-assign.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'except-parens' | 'always'; -/** - * Option. - */ -export type NoCondAssignOption = 'except-parens' | 'always'; - -/** - * Options. - */ -export type NoCondAssignOptions = [NoCondAssignOption?]; - -/** - * Disallow assignment operators in conditional expressions. - * - * @see [no-cond-assign](https://eslint.org/docs/latest/rules/no-cond-assign) - */ -export type NoCondAssignRuleConfig = RuleConfig; - -/** - * Disallow assignment operators in conditional expressions. - * - * @see [no-cond-assign](https://eslint.org/docs/latest/rules/no-cond-assign) - */ -export interface NoCondAssignRule { - /** - * Disallow assignment operators in conditional expressions. - * - * @see [no-cond-assign](https://eslint.org/docs/latest/rules/no-cond-assign) - */ - 'no-cond-assign': NoCondAssignRuleConfig; -} +export type NoCondAssignRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-confusing-arrow.d.ts b/src/rules/eslint/no-confusing-arrow.d.ts index 63e5e41c..1a4e77b0 100644 --- a/src/rules/eslint/no-confusing-arrow.d.ts +++ b/src/rules/eslint/no-confusing-arrow.d.ts @@ -1,35 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoConfusingArrowOption { +export interface Schema0 { allowParens?: boolean; onlyOneSimpleParam?: boolean; } -/** - * Options. - */ -export type NoConfusingArrowOptions = [NoConfusingArrowOption?]; - -/** - * Disallow arrow functions where they could be confused with comparisons. - * - * @see [no-confusing-arrow](https://eslint.org/docs/latest/rules/no-confusing-arrow) - */ -export type NoConfusingArrowRuleConfig = RuleConfig; - -/** - * Disallow arrow functions where they could be confused with comparisons. - * - * @see [no-confusing-arrow](https://eslint.org/docs/latest/rules/no-confusing-arrow) - */ -export interface NoConfusingArrowRule { - /** - * Disallow arrow functions where they could be confused with comparisons. - * - * @see [no-confusing-arrow](https://eslint.org/docs/latest/rules/no-confusing-arrow) - */ - 'no-confusing-arrow': NoConfusingArrowRuleConfig; -} +export type NoConfusingArrowRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-console.d.ts b/src/rules/eslint/no-console.d.ts index 55bf7f32..386d53c5 100644 --- a/src/rules/eslint/no-console.d.ts +++ b/src/rules/eslint/no-console.d.ts @@ -1,37 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoConsoleOption { +export interface Schema0 { /** * @minItems 1 */ allow?: [string, ...string[]]; } -/** - * Options. - */ -export type NoConsoleOptions = [NoConsoleOption?]; - -/** - * Disallow the use of `console`. - * - * @see [no-console](https://eslint.org/docs/latest/rules/no-console) - */ -export type NoConsoleRuleConfig = RuleConfig; - -/** - * Disallow the use of `console`. - * - * @see [no-console](https://eslint.org/docs/latest/rules/no-console) - */ -export interface NoConsoleRule { - /** - * Disallow the use of `console`. - * - * @see [no-console](https://eslint.org/docs/latest/rules/no-console) - */ - 'no-console': NoConsoleRuleConfig; -} +export type NoConsoleRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-const-assign.d.ts b/src/rules/eslint/no-const-assign.d.ts index 5c785257..c7cfef5c 100644 --- a/src/rules/eslint/no-const-assign.d.ts +++ b/src/rules/eslint/no-const-assign.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow reassigning `const` variables. - * - * @see [no-const-assign](https://eslint.org/docs/latest/rules/no-const-assign) - */ -export type NoConstAssignRuleConfig = RuleConfig<[]>; - -/** - * Disallow reassigning `const` variables. - * - * @see [no-const-assign](https://eslint.org/docs/latest/rules/no-const-assign) - */ -export interface NoConstAssignRule { - /** - * Disallow reassigning `const` variables. - * - * @see [no-const-assign](https://eslint.org/docs/latest/rules/no-const-assign) - */ - 'no-const-assign': NoConstAssignRuleConfig; -} +export type NoConstAssignRuleOptions = []; diff --git a/src/rules/eslint/no-constant-binary-expression.d.ts b/src/rules/eslint/no-constant-binary-expression.d.ts index 14aebd28..cd61f0b3 100644 --- a/src/rules/eslint/no-constant-binary-expression.d.ts +++ b/src/rules/eslint/no-constant-binary-expression.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow expressions where the operation doesn't affect the value. - * - * @see [no-constant-binary-expression](https://eslint.org/docs/latest/rules/no-constant-binary-expression) - */ -export type NoConstantBinaryExpressionRuleConfig = RuleConfig<[]>; - -/** - * Disallow expressions where the operation doesn't affect the value. - * - * @see [no-constant-binary-expression](https://eslint.org/docs/latest/rules/no-constant-binary-expression) - */ -export interface NoConstantBinaryExpressionRule { - /** - * Disallow expressions where the operation doesn't affect the value. - * - * @see [no-constant-binary-expression](https://eslint.org/docs/latest/rules/no-constant-binary-expression) - */ - 'no-constant-binary-expression': NoConstantBinaryExpressionRuleConfig; -} +export type NoConstantBinaryExpressionRuleOptions = []; diff --git a/src/rules/eslint/no-constant-condition.d.ts b/src/rules/eslint/no-constant-condition.d.ts index 4b57636e..6d4755b0 100644 --- a/src/rules/eslint/no-constant-condition.d.ts +++ b/src/rules/eslint/no-constant-condition.d.ts @@ -1,35 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoConstantConditionOption { +export interface Schema0 { checkLoops?: boolean; } -/** - * Options. - */ -export type NoConstantConditionOptions = [NoConstantConditionOption?]; - -/** - * Disallow constant expressions in conditions. - * - * @see [no-constant-condition](https://eslint.org/docs/latest/rules/no-constant-condition) - */ -export type NoConstantConditionRuleConfig = - RuleConfig; - -/** - * Disallow constant expressions in conditions. - * - * @see [no-constant-condition](https://eslint.org/docs/latest/rules/no-constant-condition) - */ -export interface NoConstantConditionRule { - /** - * Disallow constant expressions in conditions. - * - * @see [no-constant-condition](https://eslint.org/docs/latest/rules/no-constant-condition) - */ - 'no-constant-condition': NoConstantConditionRuleConfig; -} +export type NoConstantConditionRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-constructor-return.d.ts b/src/rules/eslint/no-constructor-return.d.ts index ee1af32b..1704a5f5 100644 --- a/src/rules/eslint/no-constructor-return.d.ts +++ b/src/rules/eslint/no-constructor-return.d.ts @@ -1,28 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Options. - */ -export type NoConstructorReturnOptions = []; - -/** - * Disallow returning value from constructor. - * - * @see [no-constructor-return](https://eslint.org/docs/latest/rules/no-constructor-return) - */ -export type NoConstructorReturnRuleConfig = - RuleConfig; - -/** - * Disallow returning value from constructor. - * - * @see [no-constructor-return](https://eslint.org/docs/latest/rules/no-constructor-return) - */ -export interface NoConstructorReturnRule { - /** - * Disallow returning value from constructor. - * - * @see [no-constructor-return](https://eslint.org/docs/latest/rules/no-constructor-return) - */ - 'no-constructor-return': NoConstructorReturnRuleConfig; +export interface Schema0 { + [k: string]: unknown; } + +export type NoConstructorReturnRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-continue.d.ts b/src/rules/eslint/no-continue.d.ts index 94b506ad..6177ec40 100644 --- a/src/rules/eslint/no-continue.d.ts +++ b/src/rules/eslint/no-continue.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `continue` statements. - * - * @see [no-continue](https://eslint.org/docs/latest/rules/no-continue) - */ -export type NoContinueRuleConfig = RuleConfig<[]>; - -/** - * Disallow `continue` statements. - * - * @see [no-continue](https://eslint.org/docs/latest/rules/no-continue) - */ -export interface NoContinueRule { - /** - * Disallow `continue` statements. - * - * @see [no-continue](https://eslint.org/docs/latest/rules/no-continue) - */ - 'no-continue': NoContinueRuleConfig; -} +export type NoContinueRuleOptions = []; diff --git a/src/rules/eslint/no-control-regex.d.ts b/src/rules/eslint/no-control-regex.d.ts index 0ae6f159..97cad3d6 100644 --- a/src/rules/eslint/no-control-regex.d.ts +++ b/src/rules/eslint/no-control-regex.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow control characters in regular expressions. - * - * @see [no-control-regex](https://eslint.org/docs/latest/rules/no-control-regex) - */ -export type NoControlRegexRuleConfig = RuleConfig<[]>; - -/** - * Disallow control characters in regular expressions. - * - * @see [no-control-regex](https://eslint.org/docs/latest/rules/no-control-regex) - */ -export interface NoControlRegexRule { - /** - * Disallow control characters in regular expressions. - * - * @see [no-control-regex](https://eslint.org/docs/latest/rules/no-control-regex) - */ - 'no-control-regex': NoControlRegexRuleConfig; -} +export type NoControlRegexRuleOptions = []; diff --git a/src/rules/eslint/no-debugger.d.ts b/src/rules/eslint/no-debugger.d.ts index a03693d9..10a5eaea 100644 --- a/src/rules/eslint/no-debugger.d.ts +++ b/src/rules/eslint/no-debugger.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow the use of `debugger`. - * - * @see [no-debugger](https://eslint.org/docs/latest/rules/no-debugger) - */ -export type NoDebuggerRuleConfig = RuleConfig<[]>; - -/** - * Disallow the use of `debugger`. - * - * @see [no-debugger](https://eslint.org/docs/latest/rules/no-debugger) - */ -export interface NoDebuggerRule { - /** - * Disallow the use of `debugger`. - * - * @see [no-debugger](https://eslint.org/docs/latest/rules/no-debugger) - */ - 'no-debugger': NoDebuggerRuleConfig; -} +export type NoDebuggerRuleOptions = []; diff --git a/src/rules/eslint/no-delete-var.d.ts b/src/rules/eslint/no-delete-var.d.ts index b8a0d77f..f73da504 100644 --- a/src/rules/eslint/no-delete-var.d.ts +++ b/src/rules/eslint/no-delete-var.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow deleting variables. - * - * @see [no-delete-var](https://eslint.org/docs/latest/rules/no-delete-var) - */ -export type NoDeleteVarRuleConfig = RuleConfig<[]>; - -/** - * Disallow deleting variables. - * - * @see [no-delete-var](https://eslint.org/docs/latest/rules/no-delete-var) - */ -export interface NoDeleteVarRule { - /** - * Disallow deleting variables. - * - * @see [no-delete-var](https://eslint.org/docs/latest/rules/no-delete-var) - */ - 'no-delete-var': NoDeleteVarRuleConfig; -} +export type NoDeleteVarRuleOptions = []; diff --git a/src/rules/eslint/no-div-regex.d.ts b/src/rules/eslint/no-div-regex.d.ts index 59339c6f..c047f2fc 100644 --- a/src/rules/eslint/no-div-regex.d.ts +++ b/src/rules/eslint/no-div-regex.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow equal signs explicitly at the beginning of regular expressions. - * - * @see [no-div-regex](https://eslint.org/docs/latest/rules/no-div-regex) - */ -export type NoDivRegexRuleConfig = RuleConfig<[]>; - -/** - * Disallow equal signs explicitly at the beginning of regular expressions. - * - * @see [no-div-regex](https://eslint.org/docs/latest/rules/no-div-regex) - */ -export interface NoDivRegexRule { - /** - * Disallow equal signs explicitly at the beginning of regular expressions. - * - * @see [no-div-regex](https://eslint.org/docs/latest/rules/no-div-regex) - */ - 'no-div-regex': NoDivRegexRuleConfig; -} +export type NoDivRegexRuleOptions = []; diff --git a/src/rules/eslint/no-dupe-args.d.ts b/src/rules/eslint/no-dupe-args.d.ts index b3d6a6f3..13a45143 100644 --- a/src/rules/eslint/no-dupe-args.d.ts +++ b/src/rules/eslint/no-dupe-args.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow duplicate arguments in `function` definitions. - * - * @see [no-dupe-args](https://eslint.org/docs/latest/rules/no-dupe-args) - */ -export type NoDupeArgsRuleConfig = RuleConfig<[]>; - -/** - * Disallow duplicate arguments in `function` definitions. - * - * @see [no-dupe-args](https://eslint.org/docs/latest/rules/no-dupe-args) - */ -export interface NoDupeArgsRule { - /** - * Disallow duplicate arguments in `function` definitions. - * - * @see [no-dupe-args](https://eslint.org/docs/latest/rules/no-dupe-args) - */ - 'no-dupe-args': NoDupeArgsRuleConfig; -} +export type NoDupeArgsRuleOptions = []; diff --git a/src/rules/eslint/no-dupe-class-members.d.ts b/src/rules/eslint/no-dupe-class-members.d.ts index 05033392..e7370f19 100644 --- a/src/rules/eslint/no-dupe-class-members.d.ts +++ b/src/rules/eslint/no-dupe-class-members.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow duplicate class members. - * - * @see [no-dupe-class-members](https://eslint.org/docs/latest/rules/no-dupe-class-members) - */ -export type NoDupeClassMembersRuleConfig = RuleConfig<[]>; - -/** - * Disallow duplicate class members. - * - * @see [no-dupe-class-members](https://eslint.org/docs/latest/rules/no-dupe-class-members) - */ -export interface NoDupeClassMembersRule { - /** - * Disallow duplicate class members. - * - * @see [no-dupe-class-members](https://eslint.org/docs/latest/rules/no-dupe-class-members) - */ - 'no-dupe-class-members': NoDupeClassMembersRuleConfig; -} +export type NoDupeClassMembersRuleOptions = []; diff --git a/src/rules/eslint/no-dupe-else-if.d.ts b/src/rules/eslint/no-dupe-else-if.d.ts index 7861842a..615ede88 100644 --- a/src/rules/eslint/no-dupe-else-if.d.ts +++ b/src/rules/eslint/no-dupe-else-if.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow duplicate conditions in if-else-if chains. - * - * @see [no-dupe-else-if](https://eslint.org/docs/latest/rules/no-dupe-else-if) - */ -export type NoDupeElseIfRuleConfig = RuleConfig<[]>; - -/** - * Disallow duplicate conditions in if-else-if chains. - * - * @see [no-dupe-else-if](https://eslint.org/docs/latest/rules/no-dupe-else-if) - */ -export interface NoDupeElseIfRule { - /** - * Disallow duplicate conditions in if-else-if chains. - * - * @see [no-dupe-else-if](https://eslint.org/docs/latest/rules/no-dupe-else-if) - */ - 'no-dupe-else-if': NoDupeElseIfRuleConfig; -} +export type NoDupeElseIfRuleOptions = []; diff --git a/src/rules/eslint/no-dupe-keys.d.ts b/src/rules/eslint/no-dupe-keys.d.ts index 7e7df7c0..f43b7ed7 100644 --- a/src/rules/eslint/no-dupe-keys.d.ts +++ b/src/rules/eslint/no-dupe-keys.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow duplicate keys in object literals. - * - * @see [no-dupe-keys](https://eslint.org/docs/latest/rules/no-dupe-keys) - */ -export type NoDupeKeysRuleConfig = RuleConfig<[]>; - -/** - * Disallow duplicate keys in object literals. - * - * @see [no-dupe-keys](https://eslint.org/docs/latest/rules/no-dupe-keys) - */ -export interface NoDupeKeysRule { - /** - * Disallow duplicate keys in object literals. - * - * @see [no-dupe-keys](https://eslint.org/docs/latest/rules/no-dupe-keys) - */ - 'no-dupe-keys': NoDupeKeysRuleConfig; -} +export type NoDupeKeysRuleOptions = []; diff --git a/src/rules/eslint/no-duplicate-case.d.ts b/src/rules/eslint/no-duplicate-case.d.ts index 036c0e0b..aca8462f 100644 --- a/src/rules/eslint/no-duplicate-case.d.ts +++ b/src/rules/eslint/no-duplicate-case.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow duplicate case labels. - * - * @see [no-duplicate-case](https://eslint.org/docs/latest/rules/no-duplicate-case) - */ -export type NoDuplicateCaseRuleConfig = RuleConfig<[]>; - -/** - * Disallow duplicate case labels. - * - * @see [no-duplicate-case](https://eslint.org/docs/latest/rules/no-duplicate-case) - */ -export interface NoDuplicateCaseRule { - /** - * Disallow duplicate case labels. - * - * @see [no-duplicate-case](https://eslint.org/docs/latest/rules/no-duplicate-case) - */ - 'no-duplicate-case': NoDuplicateCaseRuleConfig; -} +export type NoDuplicateCaseRuleOptions = []; diff --git a/src/rules/eslint/no-duplicate-imports.d.ts b/src/rules/eslint/no-duplicate-imports.d.ts index ade15d34..a93cd0a9 100644 --- a/src/rules/eslint/no-duplicate-imports.d.ts +++ b/src/rules/eslint/no-duplicate-imports.d.ts @@ -1,35 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoDuplicateImportsOption { +export interface Schema0 { includeExports?: boolean; } -/** - * Options. - */ -export type NoDuplicateImportsOptions = [NoDuplicateImportsOption?]; - -/** - * Disallow duplicate module imports. - * - * @see [no-duplicate-imports](https://eslint.org/docs/latest/rules/no-duplicate-imports) - */ -export type NoDuplicateImportsRuleConfig = - RuleConfig; - -/** - * Disallow duplicate module imports. - * - * @see [no-duplicate-imports](https://eslint.org/docs/latest/rules/no-duplicate-imports) - */ -export interface NoDuplicateImportsRule { - /** - * Disallow duplicate module imports. - * - * @see [no-duplicate-imports](https://eslint.org/docs/latest/rules/no-duplicate-imports) - */ - 'no-duplicate-imports': NoDuplicateImportsRuleConfig; -} +export type NoDuplicateImportsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-else-return.d.ts b/src/rules/eslint/no-else-return.d.ts index f78163fa..03db619d 100644 --- a/src/rules/eslint/no-else-return.d.ts +++ b/src/rules/eslint/no-else-return.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoElseReturnOption { +export interface Schema0 { allowElseIf?: boolean; } -/** - * Options. - */ -export type NoElseReturnOptions = [NoElseReturnOption?]; - -/** - * Disallow `else` blocks after `return` statements in `if` statements. - * - * @see [no-else-return](https://eslint.org/docs/latest/rules/no-else-return) - */ -export type NoElseReturnRuleConfig = RuleConfig; - -/** - * Disallow `else` blocks after `return` statements in `if` statements. - * - * @see [no-else-return](https://eslint.org/docs/latest/rules/no-else-return) - */ -export interface NoElseReturnRule { - /** - * Disallow `else` blocks after `return` statements in `if` statements. - * - * @see [no-else-return](https://eslint.org/docs/latest/rules/no-else-return) - */ - 'no-else-return': NoElseReturnRuleConfig; -} +export type NoElseReturnRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-empty-character-class.d.ts b/src/rules/eslint/no-empty-character-class.d.ts index 845e4866..c998cd58 100644 --- a/src/rules/eslint/no-empty-character-class.d.ts +++ b/src/rules/eslint/no-empty-character-class.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow empty character classes in regular expressions. - * - * @see [no-empty-character-class](https://eslint.org/docs/latest/rules/no-empty-character-class) - */ -export type NoEmptyCharacterClassRuleConfig = RuleConfig<[]>; - -/** - * Disallow empty character classes in regular expressions. - * - * @see [no-empty-character-class](https://eslint.org/docs/latest/rules/no-empty-character-class) - */ -export interface NoEmptyCharacterClassRule { - /** - * Disallow empty character classes in regular expressions. - * - * @see [no-empty-character-class](https://eslint.org/docs/latest/rules/no-empty-character-class) - */ - 'no-empty-character-class': NoEmptyCharacterClassRuleConfig; -} +export type NoEmptyCharacterClassRuleOptions = []; diff --git a/src/rules/eslint/no-empty-function.d.ts b/src/rules/eslint/no-empty-function.d.ts index 9d0b1647..5d21cfe2 100644 --- a/src/rules/eslint/no-empty-function.d.ts +++ b/src/rules/eslint/no-empty-function.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoEmptyFunctionOption { +export interface Schema0 { allow?: ( | 'functions' | 'arrowFunctions' @@ -18,28 +13,4 @@ export interface NoEmptyFunctionOption { )[]; } -/** - * Options. - */ -export type NoEmptyFunctionOptions = [NoEmptyFunctionOption?]; - -/** - * Disallow empty functions. - * - * @see [no-empty-function](https://eslint.org/docs/latest/rules/no-empty-function) - */ -export type NoEmptyFunctionRuleConfig = RuleConfig; - -/** - * Disallow empty functions. - * - * @see [no-empty-function](https://eslint.org/docs/latest/rules/no-empty-function) - */ -export interface NoEmptyFunctionRule { - /** - * Disallow empty functions. - * - * @see [no-empty-function](https://eslint.org/docs/latest/rules/no-empty-function) - */ - 'no-empty-function': NoEmptyFunctionRuleConfig; -} +export type NoEmptyFunctionRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-empty-pattern.d.ts b/src/rules/eslint/no-empty-pattern.d.ts index c2a4ed82..08dd46c4 100644 --- a/src/rules/eslint/no-empty-pattern.d.ts +++ b/src/rules/eslint/no-empty-pattern.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoEmptyPatternOption { +export interface Schema0 { allowObjectPatternsAsParameters?: boolean; } -/** - * Options. - */ -export type NoEmptyPatternOptions = [NoEmptyPatternOption?]; - -/** - * Disallow empty destructuring patterns. - * - * @see [no-empty-pattern](https://eslint.org/docs/latest/rules/no-empty-pattern) - */ -export type NoEmptyPatternRuleConfig = RuleConfig; - -/** - * Disallow empty destructuring patterns. - * - * @see [no-empty-pattern](https://eslint.org/docs/latest/rules/no-empty-pattern) - */ -export interface NoEmptyPatternRule { - /** - * Disallow empty destructuring patterns. - * - * @see [no-empty-pattern](https://eslint.org/docs/latest/rules/no-empty-pattern) - */ - 'no-empty-pattern': NoEmptyPatternRuleConfig; -} +export type NoEmptyPatternRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-empty-static-block.d.ts b/src/rules/eslint/no-empty-static-block.d.ts index fcb8d854..e4d10470 100644 --- a/src/rules/eslint/no-empty-static-block.d.ts +++ b/src/rules/eslint/no-empty-static-block.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow empty static blocks. - * - * @see [no-empty-static-block](https://eslint.org/docs/latest/rules/no-empty-static-block) - */ -export type NoEmptyStaticBlockRuleConfig = RuleConfig<[]>; - -/** - * Disallow empty static blocks. - * - * @see [no-empty-static-block](https://eslint.org/docs/latest/rules/no-empty-static-block) - */ -export interface NoEmptyStaticBlockRule { - /** - * Disallow empty static blocks. - * - * @see [no-empty-static-block](https://eslint.org/docs/latest/rules/no-empty-static-block) - */ - 'no-empty-static-block': NoEmptyStaticBlockRuleConfig; -} +export type NoEmptyStaticBlockRuleOptions = []; diff --git a/src/rules/eslint/no-empty.d.ts b/src/rules/eslint/no-empty.d.ts index de62c655..bfd1132b 100644 --- a/src/rules/eslint/no-empty.d.ts +++ b/src/rules/eslint/no-empty.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoEmptyOption { +export interface Schema0 { allowEmptyCatch?: boolean; } -/** - * Options. - */ -export type NoEmptyOptions = [NoEmptyOption?]; - -/** - * Disallow empty block statements. - * - * @see [no-empty](https://eslint.org/docs/latest/rules/no-empty) - */ -export type NoEmptyRuleConfig = RuleConfig; - -/** - * Disallow empty block statements. - * - * @see [no-empty](https://eslint.org/docs/latest/rules/no-empty) - */ -export interface NoEmptyRule { - /** - * Disallow empty block statements. - * - * @see [no-empty](https://eslint.org/docs/latest/rules/no-empty) - */ - 'no-empty': NoEmptyRuleConfig; -} +export type NoEmptyRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-eq-null.d.ts b/src/rules/eslint/no-eq-null.d.ts index 53c385a1..07210c90 100644 --- a/src/rules/eslint/no-eq-null.d.ts +++ b/src/rules/eslint/no-eq-null.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `null` comparisons without type-checking operators. - * - * @see [no-eq-null](https://eslint.org/docs/latest/rules/no-eq-null) - */ -export type NoEqNullRuleConfig = RuleConfig<[]>; - -/** - * Disallow `null` comparisons without type-checking operators. - * - * @see [no-eq-null](https://eslint.org/docs/latest/rules/no-eq-null) - */ -export interface NoEqNullRule { - /** - * Disallow `null` comparisons without type-checking operators. - * - * @see [no-eq-null](https://eslint.org/docs/latest/rules/no-eq-null) - */ - 'no-eq-null': NoEqNullRuleConfig; -} +export type NoEqNullRuleOptions = []; diff --git a/src/rules/eslint/no-eval.d.ts b/src/rules/eslint/no-eval.d.ts index 696abe99..b64cf8b3 100644 --- a/src/rules/eslint/no-eval.d.ts +++ b/src/rules/eslint/no-eval.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoEvalOption { +export interface Schema0 { allowIndirect?: boolean; } -/** - * Options. - */ -export type NoEvalOptions = [NoEvalOption?]; - -/** - * Disallow the use of `eval()`. - * - * @see [no-eval](https://eslint.org/docs/latest/rules/no-eval) - */ -export type NoEvalRuleConfig = RuleConfig; - -/** - * Disallow the use of `eval()`. - * - * @see [no-eval](https://eslint.org/docs/latest/rules/no-eval) - */ -export interface NoEvalRule { - /** - * Disallow the use of `eval()`. - * - * @see [no-eval](https://eslint.org/docs/latest/rules/no-eval) - */ - 'no-eval': NoEvalRuleConfig; -} +export type NoEvalRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-ex-assign.d.ts b/src/rules/eslint/no-ex-assign.d.ts index 5be74251..2fa55f68 100644 --- a/src/rules/eslint/no-ex-assign.d.ts +++ b/src/rules/eslint/no-ex-assign.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow reassigning exceptions in `catch` clauses. - * - * @see [no-ex-assign](https://eslint.org/docs/latest/rules/no-ex-assign) - */ -export type NoExAssignRuleConfig = RuleConfig<[]>; - -/** - * Disallow reassigning exceptions in `catch` clauses. - * - * @see [no-ex-assign](https://eslint.org/docs/latest/rules/no-ex-assign) - */ -export interface NoExAssignRule { - /** - * Disallow reassigning exceptions in `catch` clauses. - * - * @see [no-ex-assign](https://eslint.org/docs/latest/rules/no-ex-assign) - */ - 'no-ex-assign': NoExAssignRuleConfig; -} +export type NoExAssignRuleOptions = []; diff --git a/src/rules/eslint/no-extend-native.d.ts b/src/rules/eslint/no-extend-native.d.ts index 0f6408c0..da41985c 100644 --- a/src/rules/eslint/no-extend-native.d.ts +++ b/src/rules/eslint/no-extend-native.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoExtendNativeOption { +export interface Schema0 { exceptions?: string[]; } -/** - * Options. - */ -export type NoExtendNativeOptions = [NoExtendNativeOption?]; - -/** - * Disallow extending native types. - * - * @see [no-extend-native](https://eslint.org/docs/latest/rules/no-extend-native) - */ -export type NoExtendNativeRuleConfig = RuleConfig; - -/** - * Disallow extending native types. - * - * @see [no-extend-native](https://eslint.org/docs/latest/rules/no-extend-native) - */ -export interface NoExtendNativeRule { - /** - * Disallow extending native types. - * - * @see [no-extend-native](https://eslint.org/docs/latest/rules/no-extend-native) - */ - 'no-extend-native': NoExtendNativeRuleConfig; -} +export type NoExtendNativeRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-extra-bind.d.ts b/src/rules/eslint/no-extra-bind.d.ts index e3d759fb..0c86f93b 100644 --- a/src/rules/eslint/no-extra-bind.d.ts +++ b/src/rules/eslint/no-extra-bind.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary calls to `.bind()`. - * - * @see [no-extra-bind](https://eslint.org/docs/latest/rules/no-extra-bind) - */ -export type NoExtraBindRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary calls to `.bind()`. - * - * @see [no-extra-bind](https://eslint.org/docs/latest/rules/no-extra-bind) - */ -export interface NoExtraBindRule { - /** - * Disallow unnecessary calls to `.bind()`. - * - * @see [no-extra-bind](https://eslint.org/docs/latest/rules/no-extra-bind) - */ - 'no-extra-bind': NoExtraBindRuleConfig; -} +export type NoExtraBindRuleOptions = []; diff --git a/src/rules/eslint/no-extra-boolean-cast.d.ts b/src/rules/eslint/no-extra-boolean-cast.d.ts index 0386c762..830cc199 100644 --- a/src/rules/eslint/no-extra-boolean-cast.d.ts +++ b/src/rules/eslint/no-extra-boolean-cast.d.ts @@ -1,35 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoExtraBooleanCastOption { +export interface Schema0 { enforceForLogicalOperands?: boolean; } -/** - * Options. - */ -export type NoExtraBooleanCastOptions = [NoExtraBooleanCastOption?]; - -/** - * Disallow unnecessary boolean casts. - * - * @see [no-extra-boolean-cast](https://eslint.org/docs/latest/rules/no-extra-boolean-cast) - */ -export type NoExtraBooleanCastRuleConfig = - RuleConfig; - -/** - * Disallow unnecessary boolean casts. - * - * @see [no-extra-boolean-cast](https://eslint.org/docs/latest/rules/no-extra-boolean-cast) - */ -export interface NoExtraBooleanCastRule { - /** - * Disallow unnecessary boolean casts. - * - * @see [no-extra-boolean-cast](https://eslint.org/docs/latest/rules/no-extra-boolean-cast) - */ - 'no-extra-boolean-cast': NoExtraBooleanCastRuleConfig; -} +export type NoExtraBooleanCastRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-extra-label.d.ts b/src/rules/eslint/no-extra-label.d.ts index d6d229ce..60a05bb3 100644 --- a/src/rules/eslint/no-extra-label.d.ts +++ b/src/rules/eslint/no-extra-label.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary labels. - * - * @see [no-extra-label](https://eslint.org/docs/latest/rules/no-extra-label) - */ -export type NoExtraLabelRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary labels. - * - * @see [no-extra-label](https://eslint.org/docs/latest/rules/no-extra-label) - */ -export interface NoExtraLabelRule { - /** - * Disallow unnecessary labels. - * - * @see [no-extra-label](https://eslint.org/docs/latest/rules/no-extra-label) - */ - 'no-extra-label': NoExtraLabelRuleConfig; -} +export type NoExtraLabelRuleOptions = []; diff --git a/src/rules/eslint/no-extra-parens.d.ts b/src/rules/eslint/no-extra-parens.d.ts index 78a9674a..4f30c946 100644 --- a/src/rules/eslint/no-extra-parens.d.ts +++ b/src/rules/eslint/no-extra-parens.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoExtraParensOption = +export type Schema0 = | [] | ['functions'] | [] @@ -24,28 +19,4 @@ export type NoExtraParensOption = }, ]; -/** - * Options. - */ -export type NoExtraParensOptions = NoExtraParensOption; - -/** - * Disallow unnecessary parentheses. - * - * @see [no-extra-parens](https://eslint.org/docs/latest/rules/no-extra-parens) - */ -export type NoExtraParensRuleConfig = RuleConfig; - -/** - * Disallow unnecessary parentheses. - * - * @see [no-extra-parens](https://eslint.org/docs/latest/rules/no-extra-parens) - */ -export interface NoExtraParensRule { - /** - * Disallow unnecessary parentheses. - * - * @see [no-extra-parens](https://eslint.org/docs/latest/rules/no-extra-parens) - */ - 'no-extra-parens': NoExtraParensRuleConfig; -} +export type NoExtraParensRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-extra-semi.d.ts b/src/rules/eslint/no-extra-semi.d.ts index 1c690294..a0fc30c8 100644 --- a/src/rules/eslint/no-extra-semi.d.ts +++ b/src/rules/eslint/no-extra-semi.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary semicolons. - * - * @see [no-extra-semi](https://eslint.org/docs/latest/rules/no-extra-semi) - */ -export type NoExtraSemiRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary semicolons. - * - * @see [no-extra-semi](https://eslint.org/docs/latest/rules/no-extra-semi) - */ -export interface NoExtraSemiRule { - /** - * Disallow unnecessary semicolons. - * - * @see [no-extra-semi](https://eslint.org/docs/latest/rules/no-extra-semi) - */ - 'no-extra-semi': NoExtraSemiRuleConfig; -} +export type NoExtraSemiRuleOptions = []; diff --git a/src/rules/eslint/no-fallthrough.d.ts b/src/rules/eslint/no-fallthrough.d.ts index d84a5d02..ebbedbb1 100644 --- a/src/rules/eslint/no-fallthrough.d.ts +++ b/src/rules/eslint/no-fallthrough.d.ts @@ -1,35 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoFallthroughOption { +export interface Schema0 { commentPattern?: string; allowEmptyCase?: boolean; } -/** - * Options. - */ -export type NoFallthroughOptions = [NoFallthroughOption?]; - -/** - * Disallow fallthrough of `case` statements. - * - * @see [no-fallthrough](https://eslint.org/docs/latest/rules/no-fallthrough) - */ -export type NoFallthroughRuleConfig = RuleConfig; - -/** - * Disallow fallthrough of `case` statements. - * - * @see [no-fallthrough](https://eslint.org/docs/latest/rules/no-fallthrough) - */ -export interface NoFallthroughRule { - /** - * Disallow fallthrough of `case` statements. - * - * @see [no-fallthrough](https://eslint.org/docs/latest/rules/no-fallthrough) - */ - 'no-fallthrough': NoFallthroughRuleConfig; -} +export type NoFallthroughRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-floating-decimal.d.ts b/src/rules/eslint/no-floating-decimal.d.ts index d0fec80a..0093ed71 100644 --- a/src/rules/eslint/no-floating-decimal.d.ts +++ b/src/rules/eslint/no-floating-decimal.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow leading or trailing decimal points in numeric literals. - * - * @see [no-floating-decimal](https://eslint.org/docs/latest/rules/no-floating-decimal) - */ -export type NoFloatingDecimalRuleConfig = RuleConfig<[]>; - -/** - * Disallow leading or trailing decimal points in numeric literals. - * - * @see [no-floating-decimal](https://eslint.org/docs/latest/rules/no-floating-decimal) - */ -export interface NoFloatingDecimalRule { - /** - * Disallow leading or trailing decimal points in numeric literals. - * - * @see [no-floating-decimal](https://eslint.org/docs/latest/rules/no-floating-decimal) - */ - 'no-floating-decimal': NoFloatingDecimalRuleConfig; -} +export type NoFloatingDecimalRuleOptions = []; diff --git a/src/rules/eslint/no-func-assign.d.ts b/src/rules/eslint/no-func-assign.d.ts index 8e7511ab..fac3fd72 100644 --- a/src/rules/eslint/no-func-assign.d.ts +++ b/src/rules/eslint/no-func-assign.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow reassigning `function` declarations. - * - * @see [no-func-assign](https://eslint.org/docs/latest/rules/no-func-assign) - */ -export type NoFuncAssignRuleConfig = RuleConfig<[]>; - -/** - * Disallow reassigning `function` declarations. - * - * @see [no-func-assign](https://eslint.org/docs/latest/rules/no-func-assign) - */ -export interface NoFuncAssignRule { - /** - * Disallow reassigning `function` declarations. - * - * @see [no-func-assign](https://eslint.org/docs/latest/rules/no-func-assign) - */ - 'no-func-assign': NoFuncAssignRuleConfig; -} +export type NoFuncAssignRuleOptions = []; diff --git a/src/rules/eslint/no-global-assign.d.ts b/src/rules/eslint/no-global-assign.d.ts index 3a4bd029..fac35785 100644 --- a/src/rules/eslint/no-global-assign.d.ts +++ b/src/rules/eslint/no-global-assign.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoGlobalAssignOption { +export interface Schema0 { exceptions?: string[]; } -/** - * Options. - */ -export type NoGlobalAssignOptions = [NoGlobalAssignOption?]; - -/** - * Disallow assignments to native objects or read-only global variables. - * - * @see [no-global-assign](https://eslint.org/docs/latest/rules/no-global-assign) - */ -export type NoGlobalAssignRuleConfig = RuleConfig; - -/** - * Disallow assignments to native objects or read-only global variables. - * - * @see [no-global-assign](https://eslint.org/docs/latest/rules/no-global-assign) - */ -export interface NoGlobalAssignRule { - /** - * Disallow assignments to native objects or read-only global variables. - * - * @see [no-global-assign](https://eslint.org/docs/latest/rules/no-global-assign) - */ - 'no-global-assign': NoGlobalAssignRuleConfig; -} +export type NoGlobalAssignRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-implicit-coercion.d.ts b/src/rules/eslint/no-implicit-coercion.d.ts index 1fe2ea4c..ce3d8230 100644 --- a/src/rules/eslint/no-implicit-coercion.d.ts +++ b/src/rules/eslint/no-implicit-coercion.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoImplicitCoercionOption { +export interface Schema0 { boolean?: boolean; number?: boolean; string?: boolean; @@ -11,29 +6,4 @@ export interface NoImplicitCoercionOption { allow?: ('~' | '!!' | '+' | '*')[]; } -/** - * Options. - */ -export type NoImplicitCoercionOptions = [NoImplicitCoercionOption?]; - -/** - * Disallow shorthand type conversions. - * - * @see [no-implicit-coercion](https://eslint.org/docs/latest/rules/no-implicit-coercion) - */ -export type NoImplicitCoercionRuleConfig = - RuleConfig; - -/** - * Disallow shorthand type conversions. - * - * @see [no-implicit-coercion](https://eslint.org/docs/latest/rules/no-implicit-coercion) - */ -export interface NoImplicitCoercionRule { - /** - * Disallow shorthand type conversions. - * - * @see [no-implicit-coercion](https://eslint.org/docs/latest/rules/no-implicit-coercion) - */ - 'no-implicit-coercion': NoImplicitCoercionRuleConfig; -} +export type NoImplicitCoercionRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-implicit-globals.d.ts b/src/rules/eslint/no-implicit-globals.d.ts index 7d98403a..d323d1d8 100644 --- a/src/rules/eslint/no-implicit-globals.d.ts +++ b/src/rules/eslint/no-implicit-globals.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoImplicitGlobalsOption { +export interface Schema0 { lexicalBindings?: boolean; } -/** - * Options. - */ -export type NoImplicitGlobalsOptions = [NoImplicitGlobalsOption?]; - -/** - * Disallow declarations in the global scope. - * - * @see [no-implicit-globals](https://eslint.org/docs/latest/rules/no-implicit-globals) - */ -export type NoImplicitGlobalsRuleConfig = RuleConfig; - -/** - * Disallow declarations in the global scope. - * - * @see [no-implicit-globals](https://eslint.org/docs/latest/rules/no-implicit-globals) - */ -export interface NoImplicitGlobalsRule { - /** - * Disallow declarations in the global scope. - * - * @see [no-implicit-globals](https://eslint.org/docs/latest/rules/no-implicit-globals) - */ - 'no-implicit-globals': NoImplicitGlobalsRuleConfig; -} +export type NoImplicitGlobalsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-implied-eval.d.ts b/src/rules/eslint/no-implied-eval.d.ts index 34ce4330..76a3d35f 100644 --- a/src/rules/eslint/no-implied-eval.d.ts +++ b/src/rules/eslint/no-implied-eval.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow the use of `eval()`-like methods. - * - * @see [no-implied-eval](https://eslint.org/docs/latest/rules/no-implied-eval) - */ -export type NoImpliedEvalRuleConfig = RuleConfig<[]>; - -/** - * Disallow the use of `eval()`-like methods. - * - * @see [no-implied-eval](https://eslint.org/docs/latest/rules/no-implied-eval) - */ -export interface NoImpliedEvalRule { - /** - * Disallow the use of `eval()`-like methods. - * - * @see [no-implied-eval](https://eslint.org/docs/latest/rules/no-implied-eval) - */ - 'no-implied-eval': NoImpliedEvalRuleConfig; -} +export type NoImpliedEvalRuleOptions = []; diff --git a/src/rules/eslint/no-import-assign.d.ts b/src/rules/eslint/no-import-assign.d.ts index 383ff7d2..8d2e702b 100644 --- a/src/rules/eslint/no-import-assign.d.ts +++ b/src/rules/eslint/no-import-assign.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow assigning to imported bindings. - * - * @see [no-import-assign](https://eslint.org/docs/latest/rules/no-import-assign) - */ -export type NoImportAssignRuleConfig = RuleConfig<[]>; - -/** - * Disallow assigning to imported bindings. - * - * @see [no-import-assign](https://eslint.org/docs/latest/rules/no-import-assign) - */ -export interface NoImportAssignRule { - /** - * Disallow assigning to imported bindings. - * - * @see [no-import-assign](https://eslint.org/docs/latest/rules/no-import-assign) - */ - 'no-import-assign': NoImportAssignRuleConfig; -} +export type NoImportAssignRuleOptions = []; diff --git a/src/rules/eslint/no-inline-comments.d.ts b/src/rules/eslint/no-inline-comments.d.ts index 683aabaa..ec62226f 100644 --- a/src/rules/eslint/no-inline-comments.d.ts +++ b/src/rules/eslint/no-inline-comments.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoInlineCommentsOption { +export interface Schema0 { ignorePattern?: string; } -/** - * Options. - */ -export type NoInlineCommentsOptions = [NoInlineCommentsOption?]; - -/** - * Disallow inline comments after code. - * - * @see [no-inline-comments](https://eslint.org/docs/latest/rules/no-inline-comments) - */ -export type NoInlineCommentsRuleConfig = RuleConfig; - -/** - * Disallow inline comments after code. - * - * @see [no-inline-comments](https://eslint.org/docs/latest/rules/no-inline-comments) - */ -export interface NoInlineCommentsRule { - /** - * Disallow inline comments after code. - * - * @see [no-inline-comments](https://eslint.org/docs/latest/rules/no-inline-comments) - */ - 'no-inline-comments': NoInlineCommentsRuleConfig; -} +export type NoInlineCommentsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-inner-declarations.d.ts b/src/rules/eslint/no-inner-declarations.d.ts index 16032e65..fc633408 100644 --- a/src/rules/eslint/no-inner-declarations.d.ts +++ b/src/rules/eslint/no-inner-declarations.d.ts @@ -1,33 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'functions' | 'both'; -/** - * Option. - */ -export type NoInnerDeclarationsOption = 'functions' | 'both'; - -/** - * Options. - */ -export type NoInnerDeclarationsOptions = [NoInnerDeclarationsOption?]; - -/** - * Disallow variable or `function` declarations in nested blocks. - * - * @see [no-inner-declarations](https://eslint.org/docs/latest/rules/no-inner-declarations) - */ -export type NoInnerDeclarationsRuleConfig = - RuleConfig; - -/** - * Disallow variable or `function` declarations in nested blocks. - * - * @see [no-inner-declarations](https://eslint.org/docs/latest/rules/no-inner-declarations) - */ -export interface NoInnerDeclarationsRule { - /** - * Disallow variable or `function` declarations in nested blocks. - * - * @see [no-inner-declarations](https://eslint.org/docs/latest/rules/no-inner-declarations) - */ - 'no-inner-declarations': NoInnerDeclarationsRuleConfig; -} +export type NoInnerDeclarationsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-invalid-regexp.d.ts b/src/rules/eslint/no-invalid-regexp.d.ts index 37ea02fe..62679f93 100644 --- a/src/rules/eslint/no-invalid-regexp.d.ts +++ b/src/rules/eslint/no-invalid-regexp.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoInvalidRegexpOption { +export interface Schema0 { allowConstructorFlags?: string[]; } -/** - * Options. - */ -export type NoInvalidRegexpOptions = [NoInvalidRegexpOption?]; - -/** - * Disallow invalid regular expression strings in `RegExp` constructors. - * - * @see [no-invalid-regexp](https://eslint.org/docs/latest/rules/no-invalid-regexp) - */ -export type NoInvalidRegexpRuleConfig = RuleConfig; - -/** - * Disallow invalid regular expression strings in `RegExp` constructors. - * - * @see [no-invalid-regexp](https://eslint.org/docs/latest/rules/no-invalid-regexp) - */ -export interface NoInvalidRegexpRule { - /** - * Disallow invalid regular expression strings in `RegExp` constructors. - * - * @see [no-invalid-regexp](https://eslint.org/docs/latest/rules/no-invalid-regexp) - */ - 'no-invalid-regexp': NoInvalidRegexpRuleConfig; -} +export type NoInvalidRegexpRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-invalid-this.d.ts b/src/rules/eslint/no-invalid-this.d.ts index 9052b18d..aea2c78d 100644 --- a/src/rules/eslint/no-invalid-this.d.ts +++ b/src/rules/eslint/no-invalid-this.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoInvalidThisOption { +export interface Schema0 { capIsConstructor?: boolean; } -/** - * Options. - */ -export type NoInvalidThisOptions = [NoInvalidThisOption?]; - -/** - * Disallow use of `this` in contexts where the value of `this` is `undefined`. - * - * @see [no-invalid-this](https://eslint.org/docs/latest/rules/no-invalid-this) - */ -export type NoInvalidThisRuleConfig = RuleConfig; - -/** - * Disallow use of `this` in contexts where the value of `this` is `undefined`. - * - * @see [no-invalid-this](https://eslint.org/docs/latest/rules/no-invalid-this) - */ -export interface NoInvalidThisRule { - /** - * Disallow use of `this` in contexts where the value of `this` is `undefined`. - * - * @see [no-invalid-this](https://eslint.org/docs/latest/rules/no-invalid-this) - */ - 'no-invalid-this': NoInvalidThisRuleConfig; -} +export type NoInvalidThisRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-irregular-whitespace.d.ts b/src/rules/eslint/no-irregular-whitespace.d.ts index 5ab7a443..62945d2c 100644 --- a/src/rules/eslint/no-irregular-whitespace.d.ts +++ b/src/rules/eslint/no-irregular-whitespace.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoIrregularWhitespaceOption { +export interface Schema0 { skipComments?: boolean; skipStrings?: boolean; skipTemplates?: boolean; @@ -11,29 +6,4 @@ export interface NoIrregularWhitespaceOption { skipJSXText?: boolean; } -/** - * Options. - */ -export type NoIrregularWhitespaceOptions = [NoIrregularWhitespaceOption?]; - -/** - * Disallow irregular whitespace. - * - * @see [no-irregular-whitespace](https://eslint.org/docs/latest/rules/no-irregular-whitespace) - */ -export type NoIrregularWhitespaceRuleConfig = - RuleConfig; - -/** - * Disallow irregular whitespace. - * - * @see [no-irregular-whitespace](https://eslint.org/docs/latest/rules/no-irregular-whitespace) - */ -export interface NoIrregularWhitespaceRule { - /** - * Disallow irregular whitespace. - * - * @see [no-irregular-whitespace](https://eslint.org/docs/latest/rules/no-irregular-whitespace) - */ - 'no-irregular-whitespace': NoIrregularWhitespaceRuleConfig; -} +export type NoIrregularWhitespaceRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-iterator.d.ts b/src/rules/eslint/no-iterator.d.ts index 7f3092df..30f9ae2a 100644 --- a/src/rules/eslint/no-iterator.d.ts +++ b/src/rules/eslint/no-iterator.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow the use of the `__iterator__` property. - * - * @see [no-iterator](https://eslint.org/docs/latest/rules/no-iterator) - */ -export type NoIteratorRuleConfig = RuleConfig<[]>; - -/** - * Disallow the use of the `__iterator__` property. - * - * @see [no-iterator](https://eslint.org/docs/latest/rules/no-iterator) - */ -export interface NoIteratorRule { - /** - * Disallow the use of the `__iterator__` property. - * - * @see [no-iterator](https://eslint.org/docs/latest/rules/no-iterator) - */ - 'no-iterator': NoIteratorRuleConfig; -} +export type NoIteratorRuleOptions = []; diff --git a/src/rules/eslint/no-label-var.d.ts b/src/rules/eslint/no-label-var.d.ts index cf018998..0c8d4a41 100644 --- a/src/rules/eslint/no-label-var.d.ts +++ b/src/rules/eslint/no-label-var.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow labels that share a name with a variable. - * - * @see [no-label-var](https://eslint.org/docs/latest/rules/no-label-var) - */ -export type NoLabelVarRuleConfig = RuleConfig<[]>; - -/** - * Disallow labels that share a name with a variable. - * - * @see [no-label-var](https://eslint.org/docs/latest/rules/no-label-var) - */ -export interface NoLabelVarRule { - /** - * Disallow labels that share a name with a variable. - * - * @see [no-label-var](https://eslint.org/docs/latest/rules/no-label-var) - */ - 'no-label-var': NoLabelVarRuleConfig; -} +export type NoLabelVarRuleOptions = []; diff --git a/src/rules/eslint/no-labels.d.ts b/src/rules/eslint/no-labels.d.ts index cfa178ba..48c9a136 100644 --- a/src/rules/eslint/no-labels.d.ts +++ b/src/rules/eslint/no-labels.d.ts @@ -1,35 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoLabelsOption { +export interface Schema0 { allowLoop?: boolean; allowSwitch?: boolean; } -/** - * Options. - */ -export type NoLabelsOptions = [NoLabelsOption?]; - -/** - * Disallow labeled statements. - * - * @see [no-labels](https://eslint.org/docs/latest/rules/no-labels) - */ -export type NoLabelsRuleConfig = RuleConfig; - -/** - * Disallow labeled statements. - * - * @see [no-labels](https://eslint.org/docs/latest/rules/no-labels) - */ -export interface NoLabelsRule { - /** - * Disallow labeled statements. - * - * @see [no-labels](https://eslint.org/docs/latest/rules/no-labels) - */ - 'no-labels': NoLabelsRuleConfig; -} +export type NoLabelsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-lone-blocks.d.ts b/src/rules/eslint/no-lone-blocks.d.ts index a15f286a..3e9232ae 100644 --- a/src/rules/eslint/no-lone-blocks.d.ts +++ b/src/rules/eslint/no-lone-blocks.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary nested blocks. - * - * @see [no-lone-blocks](https://eslint.org/docs/latest/rules/no-lone-blocks) - */ -export type NoLoneBlocksRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary nested blocks. - * - * @see [no-lone-blocks](https://eslint.org/docs/latest/rules/no-lone-blocks) - */ -export interface NoLoneBlocksRule { - /** - * Disallow unnecessary nested blocks. - * - * @see [no-lone-blocks](https://eslint.org/docs/latest/rules/no-lone-blocks) - */ - 'no-lone-blocks': NoLoneBlocksRuleConfig; -} +export type NoLoneBlocksRuleOptions = []; diff --git a/src/rules/eslint/no-lonely-if.d.ts b/src/rules/eslint/no-lonely-if.d.ts index 9e572cdb..7ddc9780 100644 --- a/src/rules/eslint/no-lonely-if.d.ts +++ b/src/rules/eslint/no-lonely-if.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `if` statements as the only statement in `else` blocks. - * - * @see [no-lonely-if](https://eslint.org/docs/latest/rules/no-lonely-if) - */ -export type NoLonelyIfRuleConfig = RuleConfig<[]>; - -/** - * Disallow `if` statements as the only statement in `else` blocks. - * - * @see [no-lonely-if](https://eslint.org/docs/latest/rules/no-lonely-if) - */ -export interface NoLonelyIfRule { - /** - * Disallow `if` statements as the only statement in `else` blocks. - * - * @see [no-lonely-if](https://eslint.org/docs/latest/rules/no-lonely-if) - */ - 'no-lonely-if': NoLonelyIfRuleConfig; -} +export type NoLonelyIfRuleOptions = []; diff --git a/src/rules/eslint/no-loop-func.d.ts b/src/rules/eslint/no-loop-func.d.ts index 65191753..5e6f6b6b 100644 --- a/src/rules/eslint/no-loop-func.d.ts +++ b/src/rules/eslint/no-loop-func.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow function declarations that contain unsafe references inside loop statements. - * - * @see [no-loop-func](https://eslint.org/docs/latest/rules/no-loop-func) - */ -export type NoLoopFuncRuleConfig = RuleConfig<[]>; - -/** - * Disallow function declarations that contain unsafe references inside loop statements. - * - * @see [no-loop-func](https://eslint.org/docs/latest/rules/no-loop-func) - */ -export interface NoLoopFuncRule { - /** - * Disallow function declarations that contain unsafe references inside loop statements. - * - * @see [no-loop-func](https://eslint.org/docs/latest/rules/no-loop-func) - */ - 'no-loop-func': NoLoopFuncRuleConfig; -} +export type NoLoopFuncRuleOptions = []; diff --git a/src/rules/eslint/no-loss-of-precision.d.ts b/src/rules/eslint/no-loss-of-precision.d.ts index ba26218f..84f80916 100644 --- a/src/rules/eslint/no-loss-of-precision.d.ts +++ b/src/rules/eslint/no-loss-of-precision.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow literal numbers that lose precision. - * - * @see [no-loss-of-precision](https://eslint.org/docs/latest/rules/no-loss-of-precision) - */ -export type NoLossOfPrecisionRuleConfig = RuleConfig<[]>; - -/** - * Disallow literal numbers that lose precision. - * - * @see [no-loss-of-precision](https://eslint.org/docs/latest/rules/no-loss-of-precision) - */ -export interface NoLossOfPrecisionRule { - /** - * Disallow literal numbers that lose precision. - * - * @see [no-loss-of-precision](https://eslint.org/docs/latest/rules/no-loss-of-precision) - */ - 'no-loss-of-precision': NoLossOfPrecisionRuleConfig; -} +export type NoLossOfPrecisionRuleOptions = []; diff --git a/src/rules/eslint/no-magic-numbers.d.ts b/src/rules/eslint/no-magic-numbers.d.ts index 12be4580..93e59ef7 100644 --- a/src/rules/eslint/no-magic-numbers.d.ts +++ b/src/rules/eslint/no-magic-numbers.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoMagicNumbersOption { +export interface Schema0 { detectObjects?: boolean; enforceConst?: boolean; ignore?: (number | string)[]; @@ -12,28 +7,4 @@ export interface NoMagicNumbersOption { ignoreClassFieldInitialValues?: boolean; } -/** - * Options. - */ -export type NoMagicNumbersOptions = [NoMagicNumbersOption?]; - -/** - * Disallow magic numbers. - * - * @see [no-magic-numbers](https://eslint.org/docs/latest/rules/no-magic-numbers) - */ -export type NoMagicNumbersRuleConfig = RuleConfig; - -/** - * Disallow magic numbers. - * - * @see [no-magic-numbers](https://eslint.org/docs/latest/rules/no-magic-numbers) - */ -export interface NoMagicNumbersRule { - /** - * Disallow magic numbers. - * - * @see [no-magic-numbers](https://eslint.org/docs/latest/rules/no-magic-numbers) - */ - 'no-magic-numbers': NoMagicNumbersRuleConfig; -} +export type NoMagicNumbersRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-misleading-character-class.d.ts b/src/rules/eslint/no-misleading-character-class.d.ts index cf498f48..0cf0e8df 100644 --- a/src/rules/eslint/no-misleading-character-class.d.ts +++ b/src/rules/eslint/no-misleading-character-class.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow characters which are made with multiple code points in character class syntax. - * - * @see [no-misleading-character-class](https://eslint.org/docs/latest/rules/no-misleading-character-class) - */ -export type NoMisleadingCharacterClassRuleConfig = RuleConfig<[]>; - -/** - * Disallow characters which are made with multiple code points in character class syntax. - * - * @see [no-misleading-character-class](https://eslint.org/docs/latest/rules/no-misleading-character-class) - */ -export interface NoMisleadingCharacterClassRule { - /** - * Disallow characters which are made with multiple code points in character class syntax. - * - * @see [no-misleading-character-class](https://eslint.org/docs/latest/rules/no-misleading-character-class) - */ - 'no-misleading-character-class': NoMisleadingCharacterClassRuleConfig; -} +export type NoMisleadingCharacterClassRuleOptions = []; diff --git a/src/rules/eslint/no-mixed-operators.d.ts b/src/rules/eslint/no-mixed-operators.d.ts index 808f3510..58187d73 100644 --- a/src/rules/eslint/no-mixed-operators.d.ts +++ b/src/rules/eslint/no-mixed-operators.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoMixedOperatorsOption { +export interface Schema0 { groups?: [ ( | '+' @@ -96,28 +91,4 @@ export interface NoMixedOperatorsOption { allowSamePrecedence?: boolean; } -/** - * Options. - */ -export type NoMixedOperatorsOptions = [NoMixedOperatorsOption?]; - -/** - * Disallow mixed binary operators. - * - * @see [no-mixed-operators](https://eslint.org/docs/latest/rules/no-mixed-operators) - */ -export type NoMixedOperatorsRuleConfig = RuleConfig; - -/** - * Disallow mixed binary operators. - * - * @see [no-mixed-operators](https://eslint.org/docs/latest/rules/no-mixed-operators) - */ -export interface NoMixedOperatorsRule { - /** - * Disallow mixed binary operators. - * - * @see [no-mixed-operators](https://eslint.org/docs/latest/rules/no-mixed-operators) - */ - 'no-mixed-operators': NoMixedOperatorsRuleConfig; -} +export type NoMixedOperatorsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-mixed-requires.d.ts b/src/rules/eslint/no-mixed-requires.d.ts index d839710b..f51e2ee2 100644 --- a/src/rules/eslint/no-mixed-requires.d.ts +++ b/src/rules/eslint/no-mixed-requires.d.ts @@ -1,43 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoMixedRequiresOption = +export type Schema0 = | boolean | { grouping?: boolean; allowCall?: boolean; }; -/** - * Options. - */ -export type NoMixedRequiresOptions = [NoMixedRequiresOption?]; - -/** - * Disallow `require` calls to be mixed with regular variable declarations. - * - * @deprecated - * - * @see [no-mixed-requires](https://eslint.org/docs/latest/rules/no-mixed-requires) - */ -export type NoMixedRequiresRuleConfig = RuleConfig; - -/** - * Disallow `require` calls to be mixed with regular variable declarations. - * - * @deprecated - * - * @see [no-mixed-requires](https://eslint.org/docs/latest/rules/no-mixed-requires) - */ -export interface NoMixedRequiresRule { - /** - * Disallow `require` calls to be mixed with regular variable declarations. - * - * @deprecated - * - * @see [no-mixed-requires](https://eslint.org/docs/latest/rules/no-mixed-requires) - */ - 'no-mixed-requires': NoMixedRequiresRuleConfig; -} +export type NoMixedRequiresRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-mixed-spaces-and-tabs.d.ts b/src/rules/eslint/no-mixed-spaces-and-tabs.d.ts index 3342d9a2..7e085455 100644 --- a/src/rules/eslint/no-mixed-spaces-and-tabs.d.ts +++ b/src/rules/eslint/no-mixed-spaces-and-tabs.d.ts @@ -1,33 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'smart-tabs' | true | false; -/** - * Option. - */ -export type NoMixedSpacesAndTabsOption = 'smart-tabs' | true | false; - -/** - * Options. - */ -export type NoMixedSpacesAndTabsOptions = [NoMixedSpacesAndTabsOption?]; - -/** - * Disallow mixed spaces and tabs for indentation. - * - * @see [no-mixed-spaces-and-tabs](https://eslint.org/docs/latest/rules/no-mixed-spaces-and-tabs) - */ -export type NoMixedSpacesAndTabsRuleConfig = - RuleConfig; - -/** - * Disallow mixed spaces and tabs for indentation. - * - * @see [no-mixed-spaces-and-tabs](https://eslint.org/docs/latest/rules/no-mixed-spaces-and-tabs) - */ -export interface NoMixedSpacesAndTabsRule { - /** - * Disallow mixed spaces and tabs for indentation. - * - * @see [no-mixed-spaces-and-tabs](https://eslint.org/docs/latest/rules/no-mixed-spaces-and-tabs) - */ - 'no-mixed-spaces-and-tabs': NoMixedSpacesAndTabsRuleConfig; -} +export type NoMixedSpacesAndTabsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-multi-assign.d.ts b/src/rules/eslint/no-multi-assign.d.ts index 9d9431f9..8cd00a84 100644 --- a/src/rules/eslint/no-multi-assign.d.ts +++ b/src/rules/eslint/no-multi-assign.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoMultiAssignOption { +export interface Schema0 { ignoreNonDeclaration?: boolean; } -/** - * Options. - */ -export type NoMultiAssignOptions = [NoMultiAssignOption?]; - -/** - * Disallow use of chained assignment expressions. - * - * @see [no-multi-assign](https://eslint.org/docs/latest/rules/no-multi-assign) - */ -export type NoMultiAssignRuleConfig = RuleConfig; - -/** - * Disallow use of chained assignment expressions. - * - * @see [no-multi-assign](https://eslint.org/docs/latest/rules/no-multi-assign) - */ -export interface NoMultiAssignRule { - /** - * Disallow use of chained assignment expressions. - * - * @see [no-multi-assign](https://eslint.org/docs/latest/rules/no-multi-assign) - */ - 'no-multi-assign': NoMultiAssignRuleConfig; -} +export type NoMultiAssignRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-multi-spaces.d.ts b/src/rules/eslint/no-multi-spaces.d.ts index 5b65a882..691eea3a 100644 --- a/src/rules/eslint/no-multi-spaces.d.ts +++ b/src/rules/eslint/no-multi-spaces.d.ts @@ -1,39 +1,12 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoMultiSpacesOption { +export interface Schema0 { exceptions?: { /** + * This interface was referenced by `undefined`'s JSON-Schema definition + * via the `patternProperty` "^([A-Z][a-z]*)+$". */ [k: string]: boolean; }; ignoreEOLComments?: boolean; } -/** - * Options. - */ -export type NoMultiSpacesOptions = [NoMultiSpacesOption?]; - -/** - * Disallow multiple spaces. - * - * @see [no-multi-spaces](https://eslint.org/docs/latest/rules/no-multi-spaces) - */ -export type NoMultiSpacesRuleConfig = RuleConfig; - -/** - * Disallow multiple spaces. - * - * @see [no-multi-spaces](https://eslint.org/docs/latest/rules/no-multi-spaces) - */ -export interface NoMultiSpacesRule { - /** - * Disallow multiple spaces. - * - * @see [no-multi-spaces](https://eslint.org/docs/latest/rules/no-multi-spaces) - */ - 'no-multi-spaces': NoMultiSpacesRuleConfig; -} +export type NoMultiSpacesRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-multi-str.d.ts b/src/rules/eslint/no-multi-str.d.ts index 01da623f..619a44ad 100644 --- a/src/rules/eslint/no-multi-str.d.ts +++ b/src/rules/eslint/no-multi-str.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow multiline strings. - * - * @see [no-multi-str](https://eslint.org/docs/latest/rules/no-multi-str) - */ -export type NoMultiStrRuleConfig = RuleConfig<[]>; - -/** - * Disallow multiline strings. - * - * @see [no-multi-str](https://eslint.org/docs/latest/rules/no-multi-str) - */ -export interface NoMultiStrRule { - /** - * Disallow multiline strings. - * - * @see [no-multi-str](https://eslint.org/docs/latest/rules/no-multi-str) - */ - 'no-multi-str': NoMultiStrRuleConfig; -} +export type NoMultiStrRuleOptions = []; diff --git a/src/rules/eslint/no-multiple-empty-lines.d.ts b/src/rules/eslint/no-multiple-empty-lines.d.ts index 4c787b02..fa962a3e 100644 --- a/src/rules/eslint/no-multiple-empty-lines.d.ts +++ b/src/rules/eslint/no-multiple-empty-lines.d.ts @@ -1,37 +1,7 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoMultipleEmptyLinesOption { +export interface Schema0 { max: number; maxEOF?: number; maxBOF?: number; } -/** - * Options. - */ -export type NoMultipleEmptyLinesOptions = [NoMultipleEmptyLinesOption?]; - -/** - * Disallow multiple empty lines. - * - * @see [no-multiple-empty-lines](https://eslint.org/docs/latest/rules/no-multiple-empty-lines) - */ -export type NoMultipleEmptyLinesRuleConfig = - RuleConfig; - -/** - * Disallow multiple empty lines. - * - * @see [no-multiple-empty-lines](https://eslint.org/docs/latest/rules/no-multiple-empty-lines) - */ -export interface NoMultipleEmptyLinesRule { - /** - * Disallow multiple empty lines. - * - * @see [no-multiple-empty-lines](https://eslint.org/docs/latest/rules/no-multiple-empty-lines) - */ - 'no-multiple-empty-lines': NoMultipleEmptyLinesRuleConfig; -} +export type NoMultipleEmptyLinesRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-native-reassign.d.ts b/src/rules/eslint/no-native-reassign.d.ts index 5d2cf2a0..79e5ccdc 100644 --- a/src/rules/eslint/no-native-reassign.d.ts +++ b/src/rules/eslint/no-native-reassign.d.ts @@ -1,40 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoNativeReassignOption { +export interface Schema0 { exceptions?: string[]; } -/** - * Options. - */ -export type NoNativeReassignOptions = [NoNativeReassignOption?]; - -/** - * Disallow assignments to native objects or read-only global variables. - * - * @deprecated - * - * @see [no-native-reassign](https://eslint.org/docs/latest/rules/no-native-reassign) - */ -export type NoNativeReassignRuleConfig = RuleConfig; - -/** - * Disallow assignments to native objects or read-only global variables. - * - * @deprecated - * - * @see [no-native-reassign](https://eslint.org/docs/latest/rules/no-native-reassign) - */ -export interface NoNativeReassignRule { - /** - * Disallow assignments to native objects or read-only global variables. - * - * @deprecated - * - * @see [no-native-reassign](https://eslint.org/docs/latest/rules/no-native-reassign) - */ - 'no-native-reassign': NoNativeReassignRuleConfig; -} +export type NoNativeReassignRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-negated-condition.d.ts b/src/rules/eslint/no-negated-condition.d.ts index 83ab8072..34077296 100644 --- a/src/rules/eslint/no-negated-condition.d.ts +++ b/src/rules/eslint/no-negated-condition.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow negated conditions. - * - * @see [no-negated-condition](https://eslint.org/docs/latest/rules/no-negated-condition) - */ -export type NoNegatedConditionRuleConfig = RuleConfig<[]>; - -/** - * Disallow negated conditions. - * - * @see [no-negated-condition](https://eslint.org/docs/latest/rules/no-negated-condition) - */ -export interface NoNegatedConditionRule { - /** - * Disallow negated conditions. - * - * @see [no-negated-condition](https://eslint.org/docs/latest/rules/no-negated-condition) - */ - 'no-negated-condition': NoNegatedConditionRuleConfig; -} +export type NoNegatedConditionRuleOptions = []; diff --git a/src/rules/eslint/no-negated-in-lhs.d.ts b/src/rules/eslint/no-negated-in-lhs.d.ts index ac86aeb4..50c8dacd 100644 --- a/src/rules/eslint/no-negated-in-lhs.d.ts +++ b/src/rules/eslint/no-negated-in-lhs.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow negating the left operand in `in` expressions. - * - * @deprecated - * - * @see [no-negated-in-lhs](https://eslint.org/docs/latest/rules/no-negated-in-lhs) - */ -export type NoNegatedInLhsRuleConfig = RuleConfig<[]>; - -/** - * Disallow negating the left operand in `in` expressions. - * - * @deprecated - * - * @see [no-negated-in-lhs](https://eslint.org/docs/latest/rules/no-negated-in-lhs) - */ -export interface NoNegatedInLhsRule { - /** - * Disallow negating the left operand in `in` expressions. - * - * @deprecated - * - * @see [no-negated-in-lhs](https://eslint.org/docs/latest/rules/no-negated-in-lhs) - */ - 'no-negated-in-lhs': NoNegatedInLhsRuleConfig; -} +export type NoNegatedInLhsRuleOptions = []; diff --git a/src/rules/eslint/no-nested-ternary.d.ts b/src/rules/eslint/no-nested-ternary.d.ts index cd7ab0ad..29576b15 100644 --- a/src/rules/eslint/no-nested-ternary.d.ts +++ b/src/rules/eslint/no-nested-ternary.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow nested ternary expressions. - * - * @see [no-nested-ternary](https://eslint.org/docs/latest/rules/no-nested-ternary) - */ -export type NoNestedTernaryRuleConfig = RuleConfig<[]>; - -/** - * Disallow nested ternary expressions. - * - * @see [no-nested-ternary](https://eslint.org/docs/latest/rules/no-nested-ternary) - */ -export interface NoNestedTernaryRule { - /** - * Disallow nested ternary expressions. - * - * @see [no-nested-ternary](https://eslint.org/docs/latest/rules/no-nested-ternary) - */ - 'no-nested-ternary': NoNestedTernaryRuleConfig; -} +export type NoNestedTernaryRuleOptions = []; diff --git a/src/rules/eslint/no-new-func.d.ts b/src/rules/eslint/no-new-func.d.ts index 0081ff11..b6e0a233 100644 --- a/src/rules/eslint/no-new-func.d.ts +++ b/src/rules/eslint/no-new-func.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `new` operators with the `Function` object. - * - * @see [no-new-func](https://eslint.org/docs/latest/rules/no-new-func) - */ -export type NoNewFuncRuleConfig = RuleConfig<[]>; - -/** - * Disallow `new` operators with the `Function` object. - * - * @see [no-new-func](https://eslint.org/docs/latest/rules/no-new-func) - */ -export interface NoNewFuncRule { - /** - * Disallow `new` operators with the `Function` object. - * - * @see [no-new-func](https://eslint.org/docs/latest/rules/no-new-func) - */ - 'no-new-func': NoNewFuncRuleConfig; -} +export type NoNewFuncRuleOptions = []; diff --git a/src/rules/eslint/no-new-native-nonconstructor.d.ts b/src/rules/eslint/no-new-native-nonconstructor.d.ts index 4a981849..adc6b6fd 100644 --- a/src/rules/eslint/no-new-native-nonconstructor.d.ts +++ b/src/rules/eslint/no-new-native-nonconstructor.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `new` operators with global non-constructor functions. - * - * @see [no-new-native-nonconstructor](https://eslint.org/docs/latest/rules/no-new-native-nonconstructor) - */ -export type NoNewNativeNonconstructorRuleConfig = RuleConfig<[]>; - -/** - * Disallow `new` operators with global non-constructor functions. - * - * @see [no-new-native-nonconstructor](https://eslint.org/docs/latest/rules/no-new-native-nonconstructor) - */ -export interface NoNewNativeNonconstructorRule { - /** - * Disallow `new` operators with global non-constructor functions. - * - * @see [no-new-native-nonconstructor](https://eslint.org/docs/latest/rules/no-new-native-nonconstructor) - */ - 'no-new-native-nonconstructor': NoNewNativeNonconstructorRuleConfig; -} +export type NoNewNativeNonconstructorRuleOptions = []; diff --git a/src/rules/eslint/no-new-object.d.ts b/src/rules/eslint/no-new-object.d.ts index 6f2a53da..38b9cf3c 100644 --- a/src/rules/eslint/no-new-object.d.ts +++ b/src/rules/eslint/no-new-object.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `Object` constructors. - * - * @deprecated - * - * @see [no-new-object](https://eslint.org/docs/latest/rules/no-new-object) - */ -export type NoNewObjectRuleConfig = RuleConfig<[]>; - -/** - * Disallow `Object` constructors. - * - * @deprecated - * - * @see [no-new-object](https://eslint.org/docs/latest/rules/no-new-object) - */ -export interface NoNewObjectRule { - /** - * Disallow `Object` constructors. - * - * @deprecated - * - * @see [no-new-object](https://eslint.org/docs/latest/rules/no-new-object) - */ - 'no-new-object': NoNewObjectRuleConfig; -} +export type NoNewObjectRuleOptions = []; diff --git a/src/rules/eslint/no-new-require.d.ts b/src/rules/eslint/no-new-require.d.ts index 1f5c150e..565067c8 100644 --- a/src/rules/eslint/no-new-require.d.ts +++ b/src/rules/eslint/no-new-require.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `new` operators with calls to `require`. - * - * @deprecated - * - * @see [no-new-require](https://eslint.org/docs/latest/rules/no-new-require) - */ -export type NoNewRequireRuleConfig = RuleConfig<[]>; - -/** - * Disallow `new` operators with calls to `require`. - * - * @deprecated - * - * @see [no-new-require](https://eslint.org/docs/latest/rules/no-new-require) - */ -export interface NoNewRequireRule { - /** - * Disallow `new` operators with calls to `require`. - * - * @deprecated - * - * @see [no-new-require](https://eslint.org/docs/latest/rules/no-new-require) - */ - 'no-new-require': NoNewRequireRuleConfig; -} +export type NoNewRequireRuleOptions = []; diff --git a/src/rules/eslint/no-new-symbol.d.ts b/src/rules/eslint/no-new-symbol.d.ts index f5f03c7c..47a87e52 100644 --- a/src/rules/eslint/no-new-symbol.d.ts +++ b/src/rules/eslint/no-new-symbol.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `new` operators with the `Symbol` object. - * - * @see [no-new-symbol](https://eslint.org/docs/latest/rules/no-new-symbol) - */ -export type NoNewSymbolRuleConfig = RuleConfig<[]>; - -/** - * Disallow `new` operators with the `Symbol` object. - * - * @see [no-new-symbol](https://eslint.org/docs/latest/rules/no-new-symbol) - */ -export interface NoNewSymbolRule { - /** - * Disallow `new` operators with the `Symbol` object. - * - * @see [no-new-symbol](https://eslint.org/docs/latest/rules/no-new-symbol) - */ - 'no-new-symbol': NoNewSymbolRuleConfig; -} +export type NoNewSymbolRuleOptions = []; diff --git a/src/rules/eslint/no-new-wrappers.d.ts b/src/rules/eslint/no-new-wrappers.d.ts index b50517b9..6030794a 100644 --- a/src/rules/eslint/no-new-wrappers.d.ts +++ b/src/rules/eslint/no-new-wrappers.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `new` operators with the `String`, `Number`, and `Boolean` objects. - * - * @see [no-new-wrappers](https://eslint.org/docs/latest/rules/no-new-wrappers) - */ -export type NoNewWrappersRuleConfig = RuleConfig<[]>; - -/** - * Disallow `new` operators with the `String`, `Number`, and `Boolean` objects. - * - * @see [no-new-wrappers](https://eslint.org/docs/latest/rules/no-new-wrappers) - */ -export interface NoNewWrappersRule { - /** - * Disallow `new` operators with the `String`, `Number`, and `Boolean` objects. - * - * @see [no-new-wrappers](https://eslint.org/docs/latest/rules/no-new-wrappers) - */ - 'no-new-wrappers': NoNewWrappersRuleConfig; -} +export type NoNewWrappersRuleOptions = []; diff --git a/src/rules/eslint/no-new.d.ts b/src/rules/eslint/no-new.d.ts index f4903793..f7e3ba66 100644 --- a/src/rules/eslint/no-new.d.ts +++ b/src/rules/eslint/no-new.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `new` operators outside of assignments or comparisons. - * - * @see [no-new](https://eslint.org/docs/latest/rules/no-new) - */ -export type NoNewRuleConfig = RuleConfig<[]>; - -/** - * Disallow `new` operators outside of assignments or comparisons. - * - * @see [no-new](https://eslint.org/docs/latest/rules/no-new) - */ -export interface NoNewRule { - /** - * Disallow `new` operators outside of assignments or comparisons. - * - * @see [no-new](https://eslint.org/docs/latest/rules/no-new) - */ - 'no-new': NoNewRuleConfig; -} +export type NoNewRuleOptions = []; diff --git a/src/rules/eslint/no-nonoctal-decimal-escape.d.ts b/src/rules/eslint/no-nonoctal-decimal-escape.d.ts index 4abeafef..e3ffd6b4 100644 --- a/src/rules/eslint/no-nonoctal-decimal-escape.d.ts +++ b/src/rules/eslint/no-nonoctal-decimal-escape.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `\8` and `\9` escape sequences in string literals. - * - * @see [no-nonoctal-decimal-escape](https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape) - */ -export type NoNonoctalDecimalEscapeRuleConfig = RuleConfig<[]>; - -/** - * Disallow `\8` and `\9` escape sequences in string literals. - * - * @see [no-nonoctal-decimal-escape](https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape) - */ -export interface NoNonoctalDecimalEscapeRule { - /** - * Disallow `\8` and `\9` escape sequences in string literals. - * - * @see [no-nonoctal-decimal-escape](https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape) - */ - 'no-nonoctal-decimal-escape': NoNonoctalDecimalEscapeRuleConfig; -} +export type NoNonoctalDecimalEscapeRuleOptions = []; diff --git a/src/rules/eslint/no-obj-calls.d.ts b/src/rules/eslint/no-obj-calls.d.ts index 58152cdb..b1c22c9a 100644 --- a/src/rules/eslint/no-obj-calls.d.ts +++ b/src/rules/eslint/no-obj-calls.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow calling global object properties as functions. - * - * @see [no-obj-calls](https://eslint.org/docs/latest/rules/no-obj-calls) - */ -export type NoObjCallsRuleConfig = RuleConfig<[]>; - -/** - * Disallow calling global object properties as functions. - * - * @see [no-obj-calls](https://eslint.org/docs/latest/rules/no-obj-calls) - */ -export interface NoObjCallsRule { - /** - * Disallow calling global object properties as functions. - * - * @see [no-obj-calls](https://eslint.org/docs/latest/rules/no-obj-calls) - */ - 'no-obj-calls': NoObjCallsRuleConfig; -} +export type NoObjCallsRuleOptions = []; diff --git a/src/rules/eslint/no-object-constructor.d.ts b/src/rules/eslint/no-object-constructor.d.ts index 2f95d48a..3d7560c7 100644 --- a/src/rules/eslint/no-object-constructor.d.ts +++ b/src/rules/eslint/no-object-constructor.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow calls to the `Object` constructor without an argument. - * - * @see [no-object-constructor](https://eslint.org/docs/latest/rules/no-object-constructor) - */ -export type NoObjectConstructorRuleConfig = RuleConfig<[]>; - -/** - * Disallow calls to the `Object` constructor without an argument. - * - * @see [no-object-constructor](https://eslint.org/docs/latest/rules/no-object-constructor) - */ -export interface NoObjectConstructorRule { - /** - * Disallow calls to the `Object` constructor without an argument. - * - * @see [no-object-constructor](https://eslint.org/docs/latest/rules/no-object-constructor) - */ - 'no-object-constructor': NoObjectConstructorRuleConfig; -} +export type NoObjectConstructorRuleOptions = []; diff --git a/src/rules/eslint/no-octal-escape.d.ts b/src/rules/eslint/no-octal-escape.d.ts index 7c065b7e..2bf33df4 100644 --- a/src/rules/eslint/no-octal-escape.d.ts +++ b/src/rules/eslint/no-octal-escape.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow octal escape sequences in string literals. - * - * @see [no-octal-escape](https://eslint.org/docs/latest/rules/no-octal-escape) - */ -export type NoOctalEscapeRuleConfig = RuleConfig<[]>; - -/** - * Disallow octal escape sequences in string literals. - * - * @see [no-octal-escape](https://eslint.org/docs/latest/rules/no-octal-escape) - */ -export interface NoOctalEscapeRule { - /** - * Disallow octal escape sequences in string literals. - * - * @see [no-octal-escape](https://eslint.org/docs/latest/rules/no-octal-escape) - */ - 'no-octal-escape': NoOctalEscapeRuleConfig; -} +export type NoOctalEscapeRuleOptions = []; diff --git a/src/rules/eslint/no-octal.d.ts b/src/rules/eslint/no-octal.d.ts index a036285c..8081331b 100644 --- a/src/rules/eslint/no-octal.d.ts +++ b/src/rules/eslint/no-octal.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow octal literals. - * - * @see [no-octal](https://eslint.org/docs/latest/rules/no-octal) - */ -export type NoOctalRuleConfig = RuleConfig<[]>; - -/** - * Disallow octal literals. - * - * @see [no-octal](https://eslint.org/docs/latest/rules/no-octal) - */ -export interface NoOctalRule { - /** - * Disallow octal literals. - * - * @see [no-octal](https://eslint.org/docs/latest/rules/no-octal) - */ - 'no-octal': NoOctalRuleConfig; -} +export type NoOctalRuleOptions = []; diff --git a/src/rules/eslint/no-param-reassign.d.ts b/src/rules/eslint/no-param-reassign.d.ts index 15bff3da..5b875410 100644 --- a/src/rules/eslint/no-param-reassign.d.ts +++ b/src/rules/eslint/no-param-reassign.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoParamReassignOption = +export type Schema0 = | { props?: false; } @@ -13,28 +8,4 @@ export type NoParamReassignOption = ignorePropertyModificationsForRegex?: string[]; }; -/** - * Options. - */ -export type NoParamReassignOptions = [NoParamReassignOption?]; - -/** - * Disallow reassigning `function` parameters. - * - * @see [no-param-reassign](https://eslint.org/docs/latest/rules/no-param-reassign) - */ -export type NoParamReassignRuleConfig = RuleConfig; - -/** - * Disallow reassigning `function` parameters. - * - * @see [no-param-reassign](https://eslint.org/docs/latest/rules/no-param-reassign) - */ -export interface NoParamReassignRule { - /** - * Disallow reassigning `function` parameters. - * - * @see [no-param-reassign](https://eslint.org/docs/latest/rules/no-param-reassign) - */ - 'no-param-reassign': NoParamReassignRuleConfig; -} +export type NoParamReassignRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-path-concat.d.ts b/src/rules/eslint/no-path-concat.d.ts index 589747a5..c9b51c4c 100644 --- a/src/rules/eslint/no-path-concat.d.ts +++ b/src/rules/eslint/no-path-concat.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow string concatenation with `__dirname` and `__filename`. - * - * @deprecated - * - * @see [no-path-concat](https://eslint.org/docs/latest/rules/no-path-concat) - */ -export type NoPathConcatRuleConfig = RuleConfig<[]>; - -/** - * Disallow string concatenation with `__dirname` and `__filename`. - * - * @deprecated - * - * @see [no-path-concat](https://eslint.org/docs/latest/rules/no-path-concat) - */ -export interface NoPathConcatRule { - /** - * Disallow string concatenation with `__dirname` and `__filename`. - * - * @deprecated - * - * @see [no-path-concat](https://eslint.org/docs/latest/rules/no-path-concat) - */ - 'no-path-concat': NoPathConcatRuleConfig; -} +export type NoPathConcatRuleOptions = []; diff --git a/src/rules/eslint/no-plusplus.d.ts b/src/rules/eslint/no-plusplus.d.ts index 3c067532..7eb79ad4 100644 --- a/src/rules/eslint/no-plusplus.d.ts +++ b/src/rules/eslint/no-plusplus.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoPlusplusOption { +export interface Schema0 { allowForLoopAfterthoughts?: boolean; } -/** - * Options. - */ -export type NoPlusplusOptions = [NoPlusplusOption?]; - -/** - * Disallow the unary operators `++` and `--`. - * - * @see [no-plusplus](https://eslint.org/docs/latest/rules/no-plusplus) - */ -export type NoPlusplusRuleConfig = RuleConfig; - -/** - * Disallow the unary operators `++` and `--`. - * - * @see [no-plusplus](https://eslint.org/docs/latest/rules/no-plusplus) - */ -export interface NoPlusplusRule { - /** - * Disallow the unary operators `++` and `--`. - * - * @see [no-plusplus](https://eslint.org/docs/latest/rules/no-plusplus) - */ - 'no-plusplus': NoPlusplusRuleConfig; -} +export type NoPlusplusRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-process-env.d.ts b/src/rules/eslint/no-process-env.d.ts index 398961e7..ccb22837 100644 --- a/src/rules/eslint/no-process-env.d.ts +++ b/src/rules/eslint/no-process-env.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow the use of `process.env`. - * - * @deprecated - * - * @see [no-process-env](https://eslint.org/docs/latest/rules/no-process-env) - */ -export type NoProcessEnvRuleConfig = RuleConfig<[]>; - -/** - * Disallow the use of `process.env`. - * - * @deprecated - * - * @see [no-process-env](https://eslint.org/docs/latest/rules/no-process-env) - */ -export interface NoProcessEnvRule { - /** - * Disallow the use of `process.env`. - * - * @deprecated - * - * @see [no-process-env](https://eslint.org/docs/latest/rules/no-process-env) - */ - 'no-process-env': NoProcessEnvRuleConfig; -} +export type NoProcessEnvRuleOptions = []; diff --git a/src/rules/eslint/no-process-exit.d.ts b/src/rules/eslint/no-process-exit.d.ts index da1a07bd..fb45946d 100644 --- a/src/rules/eslint/no-process-exit.d.ts +++ b/src/rules/eslint/no-process-exit.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow the use of `process.exit()`. - * - * @deprecated - * - * @see [no-process-exit](https://eslint.org/docs/latest/rules/no-process-exit) - */ -export type NoProcessExitRuleConfig = RuleConfig<[]>; - -/** - * Disallow the use of `process.exit()`. - * - * @deprecated - * - * @see [no-process-exit](https://eslint.org/docs/latest/rules/no-process-exit) - */ -export interface NoProcessExitRule { - /** - * Disallow the use of `process.exit()`. - * - * @deprecated - * - * @see [no-process-exit](https://eslint.org/docs/latest/rules/no-process-exit) - */ - 'no-process-exit': NoProcessExitRuleConfig; -} +export type NoProcessExitRuleOptions = []; diff --git a/src/rules/eslint/no-promise-executor-return.d.ts b/src/rules/eslint/no-promise-executor-return.d.ts index 96b1fcf7..3bdcc9cd 100644 --- a/src/rules/eslint/no-promise-executor-return.d.ts +++ b/src/rules/eslint/no-promise-executor-return.d.ts @@ -1,35 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoPromiseExecutorReturnOption { +export interface Schema0 { allowVoid?: boolean; } -/** - * Options. - */ -export type NoPromiseExecutorReturnOptions = [NoPromiseExecutorReturnOption?]; - -/** - * Disallow returning values from Promise executor functions. - * - * @see [no-promise-executor-return](https://eslint.org/docs/latest/rules/no-promise-executor-return) - */ -export type NoPromiseExecutorReturnRuleConfig = - RuleConfig; - -/** - * Disallow returning values from Promise executor functions. - * - * @see [no-promise-executor-return](https://eslint.org/docs/latest/rules/no-promise-executor-return) - */ -export interface NoPromiseExecutorReturnRule { - /** - * Disallow returning values from Promise executor functions. - * - * @see [no-promise-executor-return](https://eslint.org/docs/latest/rules/no-promise-executor-return) - */ - 'no-promise-executor-return': NoPromiseExecutorReturnRuleConfig; -} +export type NoPromiseExecutorReturnRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-proto.d.ts b/src/rules/eslint/no-proto.d.ts index f0cffe1a..4e2b4bbd 100644 --- a/src/rules/eslint/no-proto.d.ts +++ b/src/rules/eslint/no-proto.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow the use of the `__proto__` property. - * - * @see [no-proto](https://eslint.org/docs/latest/rules/no-proto) - */ -export type NoProtoRuleConfig = RuleConfig<[]>; - -/** - * Disallow the use of the `__proto__` property. - * - * @see [no-proto](https://eslint.org/docs/latest/rules/no-proto) - */ -export interface NoProtoRule { - /** - * Disallow the use of the `__proto__` property. - * - * @see [no-proto](https://eslint.org/docs/latest/rules/no-proto) - */ - 'no-proto': NoProtoRuleConfig; -} +export type NoProtoRuleOptions = []; diff --git a/src/rules/eslint/no-prototype-builtins.d.ts b/src/rules/eslint/no-prototype-builtins.d.ts index a0adaec1..846c7d55 100644 --- a/src/rules/eslint/no-prototype-builtins.d.ts +++ b/src/rules/eslint/no-prototype-builtins.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow calling some `Object.prototype` methods directly on objects. - * - * @see [no-prototype-builtins](https://eslint.org/docs/latest/rules/no-prototype-builtins) - */ -export type NoPrototypeBuiltinsRuleConfig = RuleConfig<[]>; - -/** - * Disallow calling some `Object.prototype` methods directly on objects. - * - * @see [no-prototype-builtins](https://eslint.org/docs/latest/rules/no-prototype-builtins) - */ -export interface NoPrototypeBuiltinsRule { - /** - * Disallow calling some `Object.prototype` methods directly on objects. - * - * @see [no-prototype-builtins](https://eslint.org/docs/latest/rules/no-prototype-builtins) - */ - 'no-prototype-builtins': NoPrototypeBuiltinsRuleConfig; -} +export type NoPrototypeBuiltinsRuleOptions = []; diff --git a/src/rules/eslint/no-redeclare.d.ts b/src/rules/eslint/no-redeclare.d.ts index df525437..0a034245 100644 --- a/src/rules/eslint/no-redeclare.d.ts +++ b/src/rules/eslint/no-redeclare.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoRedeclareOption { +export interface Schema0 { builtinGlobals?: boolean; } -/** - * Options. - */ -export type NoRedeclareOptions = [NoRedeclareOption?]; - -/** - * Disallow variable redeclaration. - * - * @see [no-redeclare](https://eslint.org/docs/latest/rules/no-redeclare) - */ -export type NoRedeclareRuleConfig = RuleConfig; - -/** - * Disallow variable redeclaration. - * - * @see [no-redeclare](https://eslint.org/docs/latest/rules/no-redeclare) - */ -export interface NoRedeclareRule { - /** - * Disallow variable redeclaration. - * - * @see [no-redeclare](https://eslint.org/docs/latest/rules/no-redeclare) - */ - 'no-redeclare': NoRedeclareRuleConfig; -} +export type NoRedeclareRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-regex-spaces.d.ts b/src/rules/eslint/no-regex-spaces.d.ts index c73eb4fc..97a09c71 100644 --- a/src/rules/eslint/no-regex-spaces.d.ts +++ b/src/rules/eslint/no-regex-spaces.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow multiple spaces in regular expressions. - * - * @see [no-regex-spaces](https://eslint.org/docs/latest/rules/no-regex-spaces) - */ -export type NoRegexSpacesRuleConfig = RuleConfig<[]>; - -/** - * Disallow multiple spaces in regular expressions. - * - * @see [no-regex-spaces](https://eslint.org/docs/latest/rules/no-regex-spaces) - */ -export interface NoRegexSpacesRule { - /** - * Disallow multiple spaces in regular expressions. - * - * @see [no-regex-spaces](https://eslint.org/docs/latest/rules/no-regex-spaces) - */ - 'no-regex-spaces': NoRegexSpacesRuleConfig; -} +export type NoRegexSpacesRuleOptions = []; diff --git a/src/rules/eslint/no-restricted-exports.d.ts b/src/rules/eslint/no-restricted-exports.d.ts index 80d43030..4f3b98c1 100644 --- a/src/rules/eslint/no-restricted-exports.d.ts +++ b/src/rules/eslint/no-restricted-exports.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoRestrictedExportsOption = +export type Schema0 = | { restrictedNamedExports?: string[]; } @@ -18,29 +13,4 @@ export type NoRestrictedExportsOption = }; }; -/** - * Options. - */ -export type NoRestrictedExportsOptions = [NoRestrictedExportsOption?]; - -/** - * Disallow specified names in exports. - * - * @see [no-restricted-exports](https://eslint.org/docs/latest/rules/no-restricted-exports) - */ -export type NoRestrictedExportsRuleConfig = - RuleConfig; - -/** - * Disallow specified names in exports. - * - * @see [no-restricted-exports](https://eslint.org/docs/latest/rules/no-restricted-exports) - */ -export interface NoRestrictedExportsRule { - /** - * Disallow specified names in exports. - * - * @see [no-restricted-exports](https://eslint.org/docs/latest/rules/no-restricted-exports) - */ - 'no-restricted-exports': NoRestrictedExportsRuleConfig; -} +export type NoRestrictedExportsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-restricted-globals.d.ts b/src/rules/eslint/no-restricted-globals.d.ts index 3539640c..91035d4f 100644 --- a/src/rules/eslint/no-restricted-globals.d.ts +++ b/src/rules/eslint/no-restricted-globals.d.ts @@ -1,12 +1,7 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ /** * @minItems 0 */ -export type NoRestrictedGlobalsOption = ( +export type Schema0 = ( | string | { name: string; @@ -14,29 +9,4 @@ export type NoRestrictedGlobalsOption = ( } )[]; -/** - * Options. - */ -export type NoRestrictedGlobalsOptions = NoRestrictedGlobalsOption; - -/** - * Disallow specified global variables. - * - * @see [no-restricted-globals](https://eslint.org/docs/latest/rules/no-restricted-globals) - */ -export type NoRestrictedGlobalsRuleConfig = - RuleConfig; - -/** - * Disallow specified global variables. - * - * @see [no-restricted-globals](https://eslint.org/docs/latest/rules/no-restricted-globals) - */ -export interface NoRestrictedGlobalsRule { - /** - * Disallow specified global variables. - * - * @see [no-restricted-globals](https://eslint.org/docs/latest/rules/no-restricted-globals) - */ - 'no-restricted-globals': NoRestrictedGlobalsRuleConfig; -} +export type NoRestrictedGlobalsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-restricted-imports.d.ts b/src/rules/eslint/no-restricted-imports.d.ts index 037a12e0..9c8dbb9d 100644 --- a/src/rules/eslint/no-restricted-imports.d.ts +++ b/src/rules/eslint/no-restricted-imports.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoRestrictedImportsOption = +export type Schema0 = | ( | string | { @@ -40,29 +35,4 @@ export type NoRestrictedImportsOption = }, ]; -/** - * Options. - */ -export type NoRestrictedImportsOptions = NoRestrictedImportsOption; - -/** - * Disallow specified modules when loaded by `import`. - * - * @see [no-restricted-imports](https://eslint.org/docs/latest/rules/no-restricted-imports) - */ -export type NoRestrictedImportsRuleConfig = - RuleConfig; - -/** - * Disallow specified modules when loaded by `import`. - * - * @see [no-restricted-imports](https://eslint.org/docs/latest/rules/no-restricted-imports) - */ -export interface NoRestrictedImportsRule { - /** - * Disallow specified modules when loaded by `import`. - * - * @see [no-restricted-imports](https://eslint.org/docs/latest/rules/no-restricted-imports) - */ - 'no-restricted-imports': NoRestrictedImportsRuleConfig; -} +export type NoRestrictedImportsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-restricted-modules.d.ts b/src/rules/eslint/no-restricted-modules.d.ts index 4b8c1347..5bcbea59 100644 --- a/src/rules/eslint/no-restricted-modules.d.ts +++ b/src/rules/eslint/no-restricted-modules.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoRestrictedModulesOption = +export type Schema0 = | ( | string | { @@ -22,35 +17,4 @@ export type NoRestrictedModulesOption = patterns?: string[]; }[]; -/** - * Options. - */ -export type NoRestrictedModulesOptions = NoRestrictedModulesOption; - -/** - * Disallow specified modules when loaded by `require`. - * - * @deprecated - * - * @see [no-restricted-modules](https://eslint.org/docs/latest/rules/no-restricted-modules) - */ -export type NoRestrictedModulesRuleConfig = - RuleConfig; - -/** - * Disallow specified modules when loaded by `require`. - * - * @deprecated - * - * @see [no-restricted-modules](https://eslint.org/docs/latest/rules/no-restricted-modules) - */ -export interface NoRestrictedModulesRule { - /** - * Disallow specified modules when loaded by `require`. - * - * @deprecated - * - * @see [no-restricted-modules](https://eslint.org/docs/latest/rules/no-restricted-modules) - */ - 'no-restricted-modules': NoRestrictedModulesRuleConfig; -} +export type NoRestrictedModulesRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-restricted-properties.d.ts b/src/rules/eslint/no-restricted-properties.d.ts index 03afb2e9..66412715 100644 --- a/src/rules/eslint/no-restricted-properties.d.ts +++ b/src/rules/eslint/no-restricted-properties.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoRestrictedPropertiesOption = ( +export type Schema0 = ( | { object: string; property?: string; @@ -16,29 +11,4 @@ export type NoRestrictedPropertiesOption = ( } )[]; -/** - * Options. - */ -export type NoRestrictedPropertiesOptions = NoRestrictedPropertiesOption; - -/** - * Disallow certain properties on certain objects. - * - * @see [no-restricted-properties](https://eslint.org/docs/latest/rules/no-restricted-properties) - */ -export type NoRestrictedPropertiesRuleConfig = - RuleConfig; - -/** - * Disallow certain properties on certain objects. - * - * @see [no-restricted-properties](https://eslint.org/docs/latest/rules/no-restricted-properties) - */ -export interface NoRestrictedPropertiesRule { - /** - * Disallow certain properties on certain objects. - * - * @see [no-restricted-properties](https://eslint.org/docs/latest/rules/no-restricted-properties) - */ - 'no-restricted-properties': NoRestrictedPropertiesRuleConfig; -} +export type NoRestrictedPropertiesRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-restricted-syntax.d.ts b/src/rules/eslint/no-restricted-syntax.d.ts index d1561a72..485d9edf 100644 --- a/src/rules/eslint/no-restricted-syntax.d.ts +++ b/src/rules/eslint/no-restricted-syntax.d.ts @@ -1,12 +1,7 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ /** * @minItems 0 */ -export type NoRestrictedSyntaxOption = ( +export type Schema0 = ( | string | { selector: string; @@ -14,29 +9,4 @@ export type NoRestrictedSyntaxOption = ( } )[]; -/** - * Options. - */ -export type NoRestrictedSyntaxOptions = NoRestrictedSyntaxOption; - -/** - * Disallow specified syntax. - * - * @see [no-restricted-syntax](https://eslint.org/docs/latest/rules/no-restricted-syntax) - */ -export type NoRestrictedSyntaxRuleConfig = - RuleConfig; - -/** - * Disallow specified syntax. - * - * @see [no-restricted-syntax](https://eslint.org/docs/latest/rules/no-restricted-syntax) - */ -export interface NoRestrictedSyntaxRule { - /** - * Disallow specified syntax. - * - * @see [no-restricted-syntax](https://eslint.org/docs/latest/rules/no-restricted-syntax) - */ - 'no-restricted-syntax': NoRestrictedSyntaxRuleConfig; -} +export type NoRestrictedSyntaxRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-return-assign.d.ts b/src/rules/eslint/no-return-assign.d.ts index 3871469f..c54dcad9 100644 --- a/src/rules/eslint/no-return-assign.d.ts +++ b/src/rules/eslint/no-return-assign.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'except-parens' | 'always'; -/** - * Option. - */ -export type NoReturnAssignOption = 'except-parens' | 'always'; - -/** - * Options. - */ -export type NoReturnAssignOptions = [NoReturnAssignOption?]; - -/** - * Disallow assignment operators in `return` statements. - * - * @see [no-return-assign](https://eslint.org/docs/latest/rules/no-return-assign) - */ -export type NoReturnAssignRuleConfig = RuleConfig; - -/** - * Disallow assignment operators in `return` statements. - * - * @see [no-return-assign](https://eslint.org/docs/latest/rules/no-return-assign) - */ -export interface NoReturnAssignRule { - /** - * Disallow assignment operators in `return` statements. - * - * @see [no-return-assign](https://eslint.org/docs/latest/rules/no-return-assign) - */ - 'no-return-assign': NoReturnAssignRuleConfig; -} +export type NoReturnAssignRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-return-await.d.ts b/src/rules/eslint/no-return-await.d.ts index d06b6bd5..380cf836 100644 --- a/src/rules/eslint/no-return-await.d.ts +++ b/src/rules/eslint/no-return-await.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary `return await`. - * - * @deprecated - * - * @see [no-return-await](https://eslint.org/docs/latest/rules/no-return-await) - */ -export type NoReturnAwaitRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary `return await`. - * - * @deprecated - * - * @see [no-return-await](https://eslint.org/docs/latest/rules/no-return-await) - */ -export interface NoReturnAwaitRule { - /** - * Disallow unnecessary `return await`. - * - * @deprecated - * - * @see [no-return-await](https://eslint.org/docs/latest/rules/no-return-await) - */ - 'no-return-await': NoReturnAwaitRuleConfig; -} +export type NoReturnAwaitRuleOptions = []; diff --git a/src/rules/eslint/no-script-url.d.ts b/src/rules/eslint/no-script-url.d.ts index df654c55..59c60a55 100644 --- a/src/rules/eslint/no-script-url.d.ts +++ b/src/rules/eslint/no-script-url.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `javascript:` urls. - * - * @see [no-script-url](https://eslint.org/docs/latest/rules/no-script-url) - */ -export type NoScriptUrlRuleConfig = RuleConfig<[]>; - -/** - * Disallow `javascript:` urls. - * - * @see [no-script-url](https://eslint.org/docs/latest/rules/no-script-url) - */ -export interface NoScriptUrlRule { - /** - * Disallow `javascript:` urls. - * - * @see [no-script-url](https://eslint.org/docs/latest/rules/no-script-url) - */ - 'no-script-url': NoScriptUrlRuleConfig; -} +export type NoScriptUrlRuleOptions = []; diff --git a/src/rules/eslint/no-self-assign.d.ts b/src/rules/eslint/no-self-assign.d.ts index e023bafc..62fef9a8 100644 --- a/src/rules/eslint/no-self-assign.d.ts +++ b/src/rules/eslint/no-self-assign.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoSelfAssignOption { +export interface Schema0 { props?: boolean; } -/** - * Options. - */ -export type NoSelfAssignOptions = [NoSelfAssignOption?]; - -/** - * Disallow assignments where both sides are exactly the same. - * - * @see [no-self-assign](https://eslint.org/docs/latest/rules/no-self-assign) - */ -export type NoSelfAssignRuleConfig = RuleConfig; - -/** - * Disallow assignments where both sides are exactly the same. - * - * @see [no-self-assign](https://eslint.org/docs/latest/rules/no-self-assign) - */ -export interface NoSelfAssignRule { - /** - * Disallow assignments where both sides are exactly the same. - * - * @see [no-self-assign](https://eslint.org/docs/latest/rules/no-self-assign) - */ - 'no-self-assign': NoSelfAssignRuleConfig; -} +export type NoSelfAssignRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-self-compare.d.ts b/src/rules/eslint/no-self-compare.d.ts index 1055bb77..0f005521 100644 --- a/src/rules/eslint/no-self-compare.d.ts +++ b/src/rules/eslint/no-self-compare.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow comparisons where both sides are exactly the same. - * - * @see [no-self-compare](https://eslint.org/docs/latest/rules/no-self-compare) - */ -export type NoSelfCompareRuleConfig = RuleConfig<[]>; - -/** - * Disallow comparisons where both sides are exactly the same. - * - * @see [no-self-compare](https://eslint.org/docs/latest/rules/no-self-compare) - */ -export interface NoSelfCompareRule { - /** - * Disallow comparisons where both sides are exactly the same. - * - * @see [no-self-compare](https://eslint.org/docs/latest/rules/no-self-compare) - */ - 'no-self-compare': NoSelfCompareRuleConfig; -} +export type NoSelfCompareRuleOptions = []; diff --git a/src/rules/eslint/no-sequences.d.ts b/src/rules/eslint/no-sequences.d.ts index 6b62c03f..5856eaba 100644 --- a/src/rules/eslint/no-sequences.d.ts +++ b/src/rules/eslint/no-sequences.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoSequencesOption { +export interface Schema0 { allowInParentheses?: boolean; } -/** - * Options. - */ -export type NoSequencesOptions = [NoSequencesOption?]; - -/** - * Disallow comma operators. - * - * @see [no-sequences](https://eslint.org/docs/latest/rules/no-sequences) - */ -export type NoSequencesRuleConfig = RuleConfig; - -/** - * Disallow comma operators. - * - * @see [no-sequences](https://eslint.org/docs/latest/rules/no-sequences) - */ -export interface NoSequencesRule { - /** - * Disallow comma operators. - * - * @see [no-sequences](https://eslint.org/docs/latest/rules/no-sequences) - */ - 'no-sequences': NoSequencesRuleConfig; -} +export type NoSequencesRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-setter-return.d.ts b/src/rules/eslint/no-setter-return.d.ts index d70c879f..1ad2072f 100644 --- a/src/rules/eslint/no-setter-return.d.ts +++ b/src/rules/eslint/no-setter-return.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow returning values from setters. - * - * @see [no-setter-return](https://eslint.org/docs/latest/rules/no-setter-return) - */ -export type NoSetterReturnRuleConfig = RuleConfig<[]>; - -/** - * Disallow returning values from setters. - * - * @see [no-setter-return](https://eslint.org/docs/latest/rules/no-setter-return) - */ -export interface NoSetterReturnRule { - /** - * Disallow returning values from setters. - * - * @see [no-setter-return](https://eslint.org/docs/latest/rules/no-setter-return) - */ - 'no-setter-return': NoSetterReturnRuleConfig; -} +export type NoSetterReturnRuleOptions = []; diff --git a/src/rules/eslint/no-shadow-restricted-names.d.ts b/src/rules/eslint/no-shadow-restricted-names.d.ts index bc3956fe..ae2ae2c4 100644 --- a/src/rules/eslint/no-shadow-restricted-names.d.ts +++ b/src/rules/eslint/no-shadow-restricted-names.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow identifiers from shadowing restricted names. - * - * @see [no-shadow-restricted-names](https://eslint.org/docs/latest/rules/no-shadow-restricted-names) - */ -export type NoShadowRestrictedNamesRuleConfig = RuleConfig<[]>; - -/** - * Disallow identifiers from shadowing restricted names. - * - * @see [no-shadow-restricted-names](https://eslint.org/docs/latest/rules/no-shadow-restricted-names) - */ -export interface NoShadowRestrictedNamesRule { - /** - * Disallow identifiers from shadowing restricted names. - * - * @see [no-shadow-restricted-names](https://eslint.org/docs/latest/rules/no-shadow-restricted-names) - */ - 'no-shadow-restricted-names': NoShadowRestrictedNamesRuleConfig; -} +export type NoShadowRestrictedNamesRuleOptions = []; diff --git a/src/rules/eslint/no-shadow.d.ts b/src/rules/eslint/no-shadow.d.ts index 9d2cfcc3..7cd3cb97 100644 --- a/src/rules/eslint/no-shadow.d.ts +++ b/src/rules/eslint/no-shadow.d.ts @@ -1,37 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoShadowOption { +export interface Schema0 { builtinGlobals?: boolean; hoist?: 'all' | 'functions' | 'never'; allow?: string[]; ignoreOnInitialization?: boolean; } -/** - * Options. - */ -export type NoShadowOptions = [NoShadowOption?]; - -/** - * Disallow variable declarations from shadowing variables declared in the outer scope. - * - * @see [no-shadow](https://eslint.org/docs/latest/rules/no-shadow) - */ -export type NoShadowRuleConfig = RuleConfig; - -/** - * Disallow variable declarations from shadowing variables declared in the outer scope. - * - * @see [no-shadow](https://eslint.org/docs/latest/rules/no-shadow) - */ -export interface NoShadowRule { - /** - * Disallow variable declarations from shadowing variables declared in the outer scope. - * - * @see [no-shadow](https://eslint.org/docs/latest/rules/no-shadow) - */ - 'no-shadow': NoShadowRuleConfig; -} +export type NoShadowRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-spaced-func.d.ts b/src/rules/eslint/no-spaced-func.d.ts index d92f68fc..6a8e4105 100644 --- a/src/rules/eslint/no-spaced-func.d.ts +++ b/src/rules/eslint/no-spaced-func.d.ts @@ -1,28 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow spacing between function identifiers and their applications (deprecated). - * - * @deprecated - * - * @see [no-spaced-func](https://eslint.org/docs/latest/rules/no-spaced-func) - */ -export type NoSpacedFuncRuleConfig = RuleConfig<[]>; - -/** - * Disallow spacing between function identifiers and their applications (deprecated). - * - * @deprecated - * - * @see [no-spaced-func](https://eslint.org/docs/latest/rules/no-spaced-func) - */ -export interface NoSpacedFuncRule { - /** - * Disallow spacing between function identifiers and their applications (deprecated). - * - * @deprecated - * - * @see [no-spaced-func](https://eslint.org/docs/latest/rules/no-spaced-func) - */ - 'no-spaced-func': NoSpacedFuncRuleConfig; -} +export type NoSpacedFuncRuleOptions = []; diff --git a/src/rules/eslint/no-sparse-arrays.d.ts b/src/rules/eslint/no-sparse-arrays.d.ts index 73612b3f..7ee5ea8e 100644 --- a/src/rules/eslint/no-sparse-arrays.d.ts +++ b/src/rules/eslint/no-sparse-arrays.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow sparse arrays. - * - * @see [no-sparse-arrays](https://eslint.org/docs/latest/rules/no-sparse-arrays) - */ -export type NoSparseArraysRuleConfig = RuleConfig<[]>; - -/** - * Disallow sparse arrays. - * - * @see [no-sparse-arrays](https://eslint.org/docs/latest/rules/no-sparse-arrays) - */ -export interface NoSparseArraysRule { - /** - * Disallow sparse arrays. - * - * @see [no-sparse-arrays](https://eslint.org/docs/latest/rules/no-sparse-arrays) - */ - 'no-sparse-arrays': NoSparseArraysRuleConfig; -} +export type NoSparseArraysRuleOptions = []; diff --git a/src/rules/eslint/no-sync.d.ts b/src/rules/eslint/no-sync.d.ts index 8db8c2ff..f443edb4 100644 --- a/src/rules/eslint/no-sync.d.ts +++ b/src/rules/eslint/no-sync.d.ts @@ -1,40 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoSyncOption { +export interface Schema0 { allowAtRootLevel?: boolean; } -/** - * Options. - */ -export type NoSyncOptions = [NoSyncOption?]; - -/** - * Disallow synchronous methods. - * - * @deprecated - * - * @see [no-sync](https://eslint.org/docs/latest/rules/no-sync) - */ -export type NoSyncRuleConfig = RuleConfig; - -/** - * Disallow synchronous methods. - * - * @deprecated - * - * @see [no-sync](https://eslint.org/docs/latest/rules/no-sync) - */ -export interface NoSyncRule { - /** - * Disallow synchronous methods. - * - * @deprecated - * - * @see [no-sync](https://eslint.org/docs/latest/rules/no-sync) - */ - 'no-sync': NoSyncRuleConfig; -} +export type NoSyncRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-tabs.d.ts b/src/rules/eslint/no-tabs.d.ts index 515f63ca..e2e8baf9 100644 --- a/src/rules/eslint/no-tabs.d.ts +++ b/src/rules/eslint/no-tabs.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoTabsOption { +export interface Schema0 { allowIndentationTabs?: boolean; } -/** - * Options. - */ -export type NoTabsOptions = [NoTabsOption?]; - -/** - * Disallow all tabs. - * - * @see [no-tabs](https://eslint.org/docs/latest/rules/no-tabs) - */ -export type NoTabsRuleConfig = RuleConfig; - -/** - * Disallow all tabs. - * - * @see [no-tabs](https://eslint.org/docs/latest/rules/no-tabs) - */ -export interface NoTabsRule { - /** - * Disallow all tabs. - * - * @see [no-tabs](https://eslint.org/docs/latest/rules/no-tabs) - */ - 'no-tabs': NoTabsRuleConfig; -} +export type NoTabsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-template-curly-in-string.d.ts b/src/rules/eslint/no-template-curly-in-string.d.ts index 4b494ffd..fb69227f 100644 --- a/src/rules/eslint/no-template-curly-in-string.d.ts +++ b/src/rules/eslint/no-template-curly-in-string.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow template literal placeholder syntax in regular strings. - * - * @see [no-template-curly-in-string](https://eslint.org/docs/latest/rules/no-template-curly-in-string) - */ -export type NoTemplateCurlyInStringRuleConfig = RuleConfig<[]>; - -/** - * Disallow template literal placeholder syntax in regular strings. - * - * @see [no-template-curly-in-string](https://eslint.org/docs/latest/rules/no-template-curly-in-string) - */ -export interface NoTemplateCurlyInStringRule { - /** - * Disallow template literal placeholder syntax in regular strings. - * - * @see [no-template-curly-in-string](https://eslint.org/docs/latest/rules/no-template-curly-in-string) - */ - 'no-template-curly-in-string': NoTemplateCurlyInStringRuleConfig; -} +export type NoTemplateCurlyInStringRuleOptions = []; diff --git a/src/rules/eslint/no-ternary.d.ts b/src/rules/eslint/no-ternary.d.ts index 240eec06..52bf9b55 100644 --- a/src/rules/eslint/no-ternary.d.ts +++ b/src/rules/eslint/no-ternary.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow ternary operators. - * - * @see [no-ternary](https://eslint.org/docs/latest/rules/no-ternary) - */ -export type NoTernaryRuleConfig = RuleConfig<[]>; - -/** - * Disallow ternary operators. - * - * @see [no-ternary](https://eslint.org/docs/latest/rules/no-ternary) - */ -export interface NoTernaryRule { - /** - * Disallow ternary operators. - * - * @see [no-ternary](https://eslint.org/docs/latest/rules/no-ternary) - */ - 'no-ternary': NoTernaryRuleConfig; -} +export type NoTernaryRuleOptions = []; diff --git a/src/rules/eslint/no-this-before-super.d.ts b/src/rules/eslint/no-this-before-super.d.ts index a42958e6..9e519000 100644 --- a/src/rules/eslint/no-this-before-super.d.ts +++ b/src/rules/eslint/no-this-before-super.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `this`/`super` before calling `super()` in constructors. - * - * @see [no-this-before-super](https://eslint.org/docs/latest/rules/no-this-before-super) - */ -export type NoThisBeforeSuperRuleConfig = RuleConfig<[]>; - -/** - * Disallow `this`/`super` before calling `super()` in constructors. - * - * @see [no-this-before-super](https://eslint.org/docs/latest/rules/no-this-before-super) - */ -export interface NoThisBeforeSuperRule { - /** - * Disallow `this`/`super` before calling `super()` in constructors. - * - * @see [no-this-before-super](https://eslint.org/docs/latest/rules/no-this-before-super) - */ - 'no-this-before-super': NoThisBeforeSuperRuleConfig; -} +export type NoThisBeforeSuperRuleOptions = []; diff --git a/src/rules/eslint/no-throw-literal.d.ts b/src/rules/eslint/no-throw-literal.d.ts index 158281f6..5464f5c6 100644 --- a/src/rules/eslint/no-throw-literal.d.ts +++ b/src/rules/eslint/no-throw-literal.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow throwing literals as exceptions. - * - * @see [no-throw-literal](https://eslint.org/docs/latest/rules/no-throw-literal) - */ -export type NoThrowLiteralRuleConfig = RuleConfig<[]>; - -/** - * Disallow throwing literals as exceptions. - * - * @see [no-throw-literal](https://eslint.org/docs/latest/rules/no-throw-literal) - */ -export interface NoThrowLiteralRule { - /** - * Disallow throwing literals as exceptions. - * - * @see [no-throw-literal](https://eslint.org/docs/latest/rules/no-throw-literal) - */ - 'no-throw-literal': NoThrowLiteralRuleConfig; -} +export type NoThrowLiteralRuleOptions = []; diff --git a/src/rules/eslint/no-trailing-spaces.d.ts b/src/rules/eslint/no-trailing-spaces.d.ts index c77d8591..1049c889 100644 --- a/src/rules/eslint/no-trailing-spaces.d.ts +++ b/src/rules/eslint/no-trailing-spaces.d.ts @@ -1,35 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoTrailingSpacesOption { +export interface Schema0 { skipBlankLines?: boolean; ignoreComments?: boolean; } -/** - * Options. - */ -export type NoTrailingSpacesOptions = [NoTrailingSpacesOption?]; - -/** - * Disallow trailing whitespace at the end of lines. - * - * @see [no-trailing-spaces](https://eslint.org/docs/latest/rules/no-trailing-spaces) - */ -export type NoTrailingSpacesRuleConfig = RuleConfig; - -/** - * Disallow trailing whitespace at the end of lines. - * - * @see [no-trailing-spaces](https://eslint.org/docs/latest/rules/no-trailing-spaces) - */ -export interface NoTrailingSpacesRule { - /** - * Disallow trailing whitespace at the end of lines. - * - * @see [no-trailing-spaces](https://eslint.org/docs/latest/rules/no-trailing-spaces) - */ - 'no-trailing-spaces': NoTrailingSpacesRuleConfig; -} +export type NoTrailingSpacesRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-undef-init.d.ts b/src/rules/eslint/no-undef-init.d.ts index d7a6710f..a3effac5 100644 --- a/src/rules/eslint/no-undef-init.d.ts +++ b/src/rules/eslint/no-undef-init.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow initializing variables to `undefined`. - * - * @see [no-undef-init](https://eslint.org/docs/latest/rules/no-undef-init) - */ -export type NoUndefInitRuleConfig = RuleConfig<[]>; - -/** - * Disallow initializing variables to `undefined`. - * - * @see [no-undef-init](https://eslint.org/docs/latest/rules/no-undef-init) - */ -export interface NoUndefInitRule { - /** - * Disallow initializing variables to `undefined`. - * - * @see [no-undef-init](https://eslint.org/docs/latest/rules/no-undef-init) - */ - 'no-undef-init': NoUndefInitRuleConfig; -} +export type NoUndefInitRuleOptions = []; diff --git a/src/rules/eslint/no-undef.d.ts b/src/rules/eslint/no-undef.d.ts index 9cc1f7b3..2654ed0a 100644 --- a/src/rules/eslint/no-undef.d.ts +++ b/src/rules/eslint/no-undef.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUndefOption { +export interface Schema0 { typeof?: boolean; } -/** - * Options. - */ -export type NoUndefOptions = [NoUndefOption?]; - -/** - * Disallow the use of undeclared variables unless mentioned in `/*global ` comments. - * - * @see [no-undef](https://eslint.org/docs/latest/rules/no-undef) - */ -export type NoUndefRuleConfig = RuleConfig; - -/** - * Disallow the use of undeclared variables unless mentioned in `/*global ` comments. - * - * @see [no-undef](https://eslint.org/docs/latest/rules/no-undef) - */ -export interface NoUndefRule { - /** - * Disallow the use of undeclared variables unless mentioned in `/*global ` comments. - * - * @see [no-undef](https://eslint.org/docs/latest/rules/no-undef) - */ - 'no-undef': NoUndefRuleConfig; -} +export type NoUndefRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-undefined.d.ts b/src/rules/eslint/no-undefined.d.ts index 67405770..aefb6072 100644 --- a/src/rules/eslint/no-undefined.d.ts +++ b/src/rules/eslint/no-undefined.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow the use of `undefined` as an identifier. - * - * @see [no-undefined](https://eslint.org/docs/latest/rules/no-undefined) - */ -export type NoUndefinedRuleConfig = RuleConfig<[]>; - -/** - * Disallow the use of `undefined` as an identifier. - * - * @see [no-undefined](https://eslint.org/docs/latest/rules/no-undefined) - */ -export interface NoUndefinedRule { - /** - * Disallow the use of `undefined` as an identifier. - * - * @see [no-undefined](https://eslint.org/docs/latest/rules/no-undefined) - */ - 'no-undefined': NoUndefinedRuleConfig; -} +export type NoUndefinedRuleOptions = []; diff --git a/src/rules/eslint/no-underscore-dangle.d.ts b/src/rules/eslint/no-underscore-dangle.d.ts index ce590e1d..d8cd6d93 100644 --- a/src/rules/eslint/no-underscore-dangle.d.ts +++ b/src/rules/eslint/no-underscore-dangle.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUnderscoreDangleOption { +export interface Schema0 { allow?: string[]; allowAfterThis?: boolean; allowAfterSuper?: boolean; @@ -15,29 +10,4 @@ export interface NoUnderscoreDangleOption { allowInObjectDestructuring?: boolean; } -/** - * Options. - */ -export type NoUnderscoreDangleOptions = [NoUnderscoreDangleOption?]; - -/** - * Disallow dangling underscores in identifiers. - * - * @see [no-underscore-dangle](https://eslint.org/docs/latest/rules/no-underscore-dangle) - */ -export type NoUnderscoreDangleRuleConfig = - RuleConfig; - -/** - * Disallow dangling underscores in identifiers. - * - * @see [no-underscore-dangle](https://eslint.org/docs/latest/rules/no-underscore-dangle) - */ -export interface NoUnderscoreDangleRule { - /** - * Disallow dangling underscores in identifiers. - * - * @see [no-underscore-dangle](https://eslint.org/docs/latest/rules/no-underscore-dangle) - */ - 'no-underscore-dangle': NoUnderscoreDangleRuleConfig; -} +export type NoUnderscoreDangleRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-unexpected-multiline.d.ts b/src/rules/eslint/no-unexpected-multiline.d.ts index dda34f94..c7565335 100644 --- a/src/rules/eslint/no-unexpected-multiline.d.ts +++ b/src/rules/eslint/no-unexpected-multiline.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow confusing multiline expressions. - * - * @see [no-unexpected-multiline](https://eslint.org/docs/latest/rules/no-unexpected-multiline) - */ -export type NoUnexpectedMultilineRuleConfig = RuleConfig<[]>; - -/** - * Disallow confusing multiline expressions. - * - * @see [no-unexpected-multiline](https://eslint.org/docs/latest/rules/no-unexpected-multiline) - */ -export interface NoUnexpectedMultilineRule { - /** - * Disallow confusing multiline expressions. - * - * @see [no-unexpected-multiline](https://eslint.org/docs/latest/rules/no-unexpected-multiline) - */ - 'no-unexpected-multiline': NoUnexpectedMultilineRuleConfig; -} +export type NoUnexpectedMultilineRuleOptions = []; diff --git a/src/rules/eslint/no-unmodified-loop-condition.d.ts b/src/rules/eslint/no-unmodified-loop-condition.d.ts index 77def24e..cf55748e 100644 --- a/src/rules/eslint/no-unmodified-loop-condition.d.ts +++ b/src/rules/eslint/no-unmodified-loop-condition.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unmodified loop conditions. - * - * @see [no-unmodified-loop-condition](https://eslint.org/docs/latest/rules/no-unmodified-loop-condition) - */ -export type NoUnmodifiedLoopConditionRuleConfig = RuleConfig<[]>; - -/** - * Disallow unmodified loop conditions. - * - * @see [no-unmodified-loop-condition](https://eslint.org/docs/latest/rules/no-unmodified-loop-condition) - */ -export interface NoUnmodifiedLoopConditionRule { - /** - * Disallow unmodified loop conditions. - * - * @see [no-unmodified-loop-condition](https://eslint.org/docs/latest/rules/no-unmodified-loop-condition) - */ - 'no-unmodified-loop-condition': NoUnmodifiedLoopConditionRuleConfig; -} +export type NoUnmodifiedLoopConditionRuleOptions = []; diff --git a/src/rules/eslint/no-unneeded-ternary.d.ts b/src/rules/eslint/no-unneeded-ternary.d.ts index 31b66df4..6b47f746 100644 --- a/src/rules/eslint/no-unneeded-ternary.d.ts +++ b/src/rules/eslint/no-unneeded-ternary.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUnneededTernaryOption { +export interface Schema0 { defaultAssignment?: boolean; } -/** - * Options. - */ -export type NoUnneededTernaryOptions = [NoUnneededTernaryOption?]; - -/** - * Disallow ternary operators when simpler alternatives exist. - * - * @see [no-unneeded-ternary](https://eslint.org/docs/latest/rules/no-unneeded-ternary) - */ -export type NoUnneededTernaryRuleConfig = RuleConfig; - -/** - * Disallow ternary operators when simpler alternatives exist. - * - * @see [no-unneeded-ternary](https://eslint.org/docs/latest/rules/no-unneeded-ternary) - */ -export interface NoUnneededTernaryRule { - /** - * Disallow ternary operators when simpler alternatives exist. - * - * @see [no-unneeded-ternary](https://eslint.org/docs/latest/rules/no-unneeded-ternary) - */ - 'no-unneeded-ternary': NoUnneededTernaryRuleConfig; -} +export type NoUnneededTernaryRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-unreachable-loop.d.ts b/src/rules/eslint/no-unreachable-loop.d.ts index d0692f75..2fe8471c 100644 --- a/src/rules/eslint/no-unreachable-loop.d.ts +++ b/src/rules/eslint/no-unreachable-loop.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUnreachableLoopOption { +export interface Schema0 { ignore?: ( | 'WhileStatement' | 'DoWhileStatement' @@ -13,28 +8,4 @@ export interface NoUnreachableLoopOption { )[]; } -/** - * Options. - */ -export type NoUnreachableLoopOptions = [NoUnreachableLoopOption?]; - -/** - * Disallow loops with a body that allows only one iteration. - * - * @see [no-unreachable-loop](https://eslint.org/docs/latest/rules/no-unreachable-loop) - */ -export type NoUnreachableLoopRuleConfig = RuleConfig; - -/** - * Disallow loops with a body that allows only one iteration. - * - * @see [no-unreachable-loop](https://eslint.org/docs/latest/rules/no-unreachable-loop) - */ -export interface NoUnreachableLoopRule { - /** - * Disallow loops with a body that allows only one iteration. - * - * @see [no-unreachable-loop](https://eslint.org/docs/latest/rules/no-unreachable-loop) - */ - 'no-unreachable-loop': NoUnreachableLoopRuleConfig; -} +export type NoUnreachableLoopRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-unreachable.d.ts b/src/rules/eslint/no-unreachable.d.ts index 46b6f843..da616efe 100644 --- a/src/rules/eslint/no-unreachable.d.ts +++ b/src/rules/eslint/no-unreachable.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unreachable code after `return`, `throw`, `continue`, and `break` statements. - * - * @see [no-unreachable](https://eslint.org/docs/latest/rules/no-unreachable) - */ -export type NoUnreachableRuleConfig = RuleConfig<[]>; - -/** - * Disallow unreachable code after `return`, `throw`, `continue`, and `break` statements. - * - * @see [no-unreachable](https://eslint.org/docs/latest/rules/no-unreachable) - */ -export interface NoUnreachableRule { - /** - * Disallow unreachable code after `return`, `throw`, `continue`, and `break` statements. - * - * @see [no-unreachable](https://eslint.org/docs/latest/rules/no-unreachable) - */ - 'no-unreachable': NoUnreachableRuleConfig; -} +export type NoUnreachableRuleOptions = []; diff --git a/src/rules/eslint/no-unsafe-finally.d.ts b/src/rules/eslint/no-unsafe-finally.d.ts index a1b4c27c..f98b216f 100644 --- a/src/rules/eslint/no-unsafe-finally.d.ts +++ b/src/rules/eslint/no-unsafe-finally.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow control flow statements in `finally` blocks. - * - * @see [no-unsafe-finally](https://eslint.org/docs/latest/rules/no-unsafe-finally) - */ -export type NoUnsafeFinallyRuleConfig = RuleConfig<[]>; - -/** - * Disallow control flow statements in `finally` blocks. - * - * @see [no-unsafe-finally](https://eslint.org/docs/latest/rules/no-unsafe-finally) - */ -export interface NoUnsafeFinallyRule { - /** - * Disallow control flow statements in `finally` blocks. - * - * @see [no-unsafe-finally](https://eslint.org/docs/latest/rules/no-unsafe-finally) - */ - 'no-unsafe-finally': NoUnsafeFinallyRuleConfig; -} +export type NoUnsafeFinallyRuleOptions = []; diff --git a/src/rules/eslint/no-unsafe-negation.d.ts b/src/rules/eslint/no-unsafe-negation.d.ts index 1a1a44b2..94488ba9 100644 --- a/src/rules/eslint/no-unsafe-negation.d.ts +++ b/src/rules/eslint/no-unsafe-negation.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUnsafeNegationOption { +export interface Schema0 { enforceForOrderingRelations?: boolean; } -/** - * Options. - */ -export type NoUnsafeNegationOptions = [NoUnsafeNegationOption?]; - -/** - * Disallow negating the left operand of relational operators. - * - * @see [no-unsafe-negation](https://eslint.org/docs/latest/rules/no-unsafe-negation) - */ -export type NoUnsafeNegationRuleConfig = RuleConfig; - -/** - * Disallow negating the left operand of relational operators. - * - * @see [no-unsafe-negation](https://eslint.org/docs/latest/rules/no-unsafe-negation) - */ -export interface NoUnsafeNegationRule { - /** - * Disallow negating the left operand of relational operators. - * - * @see [no-unsafe-negation](https://eslint.org/docs/latest/rules/no-unsafe-negation) - */ - 'no-unsafe-negation': NoUnsafeNegationRuleConfig; -} +export type NoUnsafeNegationRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-unsafe-optional-chaining.d.ts b/src/rules/eslint/no-unsafe-optional-chaining.d.ts index b7848553..d6210027 100644 --- a/src/rules/eslint/no-unsafe-optional-chaining.d.ts +++ b/src/rules/eslint/no-unsafe-optional-chaining.d.ts @@ -1,35 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUnsafeOptionalChainingOption { +export interface Schema0 { disallowArithmeticOperators?: boolean; } -/** - * Options. - */ -export type NoUnsafeOptionalChainingOptions = [NoUnsafeOptionalChainingOption?]; - -/** - * Disallow use of optional chaining in contexts where the `undefined` value is not allowed. - * - * @see [no-unsafe-optional-chaining](https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining) - */ -export type NoUnsafeOptionalChainingRuleConfig = - RuleConfig; - -/** - * Disallow use of optional chaining in contexts where the `undefined` value is not allowed. - * - * @see [no-unsafe-optional-chaining](https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining) - */ -export interface NoUnsafeOptionalChainingRule { - /** - * Disallow use of optional chaining in contexts where the `undefined` value is not allowed. - * - * @see [no-unsafe-optional-chaining](https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining) - */ - 'no-unsafe-optional-chaining': NoUnsafeOptionalChainingRuleConfig; -} +export type NoUnsafeOptionalChainingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-unused-expressions.d.ts b/src/rules/eslint/no-unused-expressions.d.ts index edb6ee39..8defc891 100644 --- a/src/rules/eslint/no-unused-expressions.d.ts +++ b/src/rules/eslint/no-unused-expressions.d.ts @@ -1,38 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUnusedExpressionsOption { +export interface Schema0 { allowShortCircuit?: boolean; allowTernary?: boolean; allowTaggedTemplates?: boolean; enforceForJSX?: boolean; } -/** - * Options. - */ -export type NoUnusedExpressionsOptions = [NoUnusedExpressionsOption?]; - -/** - * Disallow unused expressions. - * - * @see [no-unused-expressions](https://eslint.org/docs/latest/rules/no-unused-expressions) - */ -export type NoUnusedExpressionsRuleConfig = - RuleConfig; - -/** - * Disallow unused expressions. - * - * @see [no-unused-expressions](https://eslint.org/docs/latest/rules/no-unused-expressions) - */ -export interface NoUnusedExpressionsRule { - /** - * Disallow unused expressions. - * - * @see [no-unused-expressions](https://eslint.org/docs/latest/rules/no-unused-expressions) - */ - 'no-unused-expressions': NoUnusedExpressionsRuleConfig; -} +export type NoUnusedExpressionsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-unused-labels.d.ts b/src/rules/eslint/no-unused-labels.d.ts index 50c55978..5d0dd076 100644 --- a/src/rules/eslint/no-unused-labels.d.ts +++ b/src/rules/eslint/no-unused-labels.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unused labels. - * - * @see [no-unused-labels](https://eslint.org/docs/latest/rules/no-unused-labels) - */ -export type NoUnusedLabelsRuleConfig = RuleConfig<[]>; - -/** - * Disallow unused labels. - * - * @see [no-unused-labels](https://eslint.org/docs/latest/rules/no-unused-labels) - */ -export interface NoUnusedLabelsRule { - /** - * Disallow unused labels. - * - * @see [no-unused-labels](https://eslint.org/docs/latest/rules/no-unused-labels) - */ - 'no-unused-labels': NoUnusedLabelsRuleConfig; -} +export type NoUnusedLabelsRuleOptions = []; diff --git a/src/rules/eslint/no-unused-private-class-members.d.ts b/src/rules/eslint/no-unused-private-class-members.d.ts index f60849d8..be13da15 100644 --- a/src/rules/eslint/no-unused-private-class-members.d.ts +++ b/src/rules/eslint/no-unused-private-class-members.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unused private class members. - * - * @see [no-unused-private-class-members](https://eslint.org/docs/latest/rules/no-unused-private-class-members) - */ -export type NoUnusedPrivateClassMembersRuleConfig = RuleConfig<[]>; - -/** - * Disallow unused private class members. - * - * @see [no-unused-private-class-members](https://eslint.org/docs/latest/rules/no-unused-private-class-members) - */ -export interface NoUnusedPrivateClassMembersRule { - /** - * Disallow unused private class members. - * - * @see [no-unused-private-class-members](https://eslint.org/docs/latest/rules/no-unused-private-class-members) - */ - 'no-unused-private-class-members': NoUnusedPrivateClassMembersRuleConfig; -} +export type NoUnusedPrivateClassMembersRuleOptions = []; diff --git a/src/rules/eslint/no-unused-vars.d.ts b/src/rules/eslint/no-unused-vars.d.ts index 7c2944cc..7a764137 100644 --- a/src/rules/eslint/no-unused-vars.d.ts +++ b/src/rules/eslint/no-unused-vars.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoUnusedVarsOption = +export type Schema0 = | ('all' | 'local') | { vars?: 'all' | 'local'; @@ -16,28 +11,4 @@ export type NoUnusedVarsOption = destructuredArrayIgnorePattern?: string; }; -/** - * Options. - */ -export type NoUnusedVarsOptions = [NoUnusedVarsOption?]; - -/** - * Disallow unused variables. - * - * @see [no-unused-vars](https://eslint.org/docs/latest/rules/no-unused-vars) - */ -export type NoUnusedVarsRuleConfig = RuleConfig; - -/** - * Disallow unused variables. - * - * @see [no-unused-vars](https://eslint.org/docs/latest/rules/no-unused-vars) - */ -export interface NoUnusedVarsRule { - /** - * Disallow unused variables. - * - * @see [no-unused-vars](https://eslint.org/docs/latest/rules/no-unused-vars) - */ - 'no-unused-vars': NoUnusedVarsRuleConfig; -} +export type NoUnusedVarsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-use-before-define.d.ts b/src/rules/eslint/no-use-before-define.d.ts index 61137269..9f170b2b 100644 --- a/src/rules/eslint/no-use-before-define.d.ts +++ b/src/rules/eslint/no-use-before-define.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoUseBeforeDefineOption = +export type Schema0 = | 'nofunc' | { functions?: boolean; @@ -12,28 +7,4 @@ export type NoUseBeforeDefineOption = allowNamedExports?: boolean; }; -/** - * Options. - */ -export type NoUseBeforeDefineOptions = [NoUseBeforeDefineOption?]; - -/** - * Disallow the use of variables before they are defined. - * - * @see [no-use-before-define](https://eslint.org/docs/latest/rules/no-use-before-define) - */ -export type NoUseBeforeDefineRuleConfig = RuleConfig; - -/** - * Disallow the use of variables before they are defined. - * - * @see [no-use-before-define](https://eslint.org/docs/latest/rules/no-use-before-define) - */ -export interface NoUseBeforeDefineRule { - /** - * Disallow the use of variables before they are defined. - * - * @see [no-use-before-define](https://eslint.org/docs/latest/rules/no-use-before-define) - */ - 'no-use-before-define': NoUseBeforeDefineRuleConfig; -} +export type NoUseBeforeDefineRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-useless-backreference.d.ts b/src/rules/eslint/no-useless-backreference.d.ts index 0fcf04b7..4f3ab7da 100644 --- a/src/rules/eslint/no-useless-backreference.d.ts +++ b/src/rules/eslint/no-useless-backreference.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow useless backreferences in regular expressions. - * - * @see [no-useless-backreference](https://eslint.org/docs/latest/rules/no-useless-backreference) - */ -export type NoUselessBackreferenceRuleConfig = RuleConfig<[]>; - -/** - * Disallow useless backreferences in regular expressions. - * - * @see [no-useless-backreference](https://eslint.org/docs/latest/rules/no-useless-backreference) - */ -export interface NoUselessBackreferenceRule { - /** - * Disallow useless backreferences in regular expressions. - * - * @see [no-useless-backreference](https://eslint.org/docs/latest/rules/no-useless-backreference) - */ - 'no-useless-backreference': NoUselessBackreferenceRuleConfig; -} +export type NoUselessBackreferenceRuleOptions = []; diff --git a/src/rules/eslint/no-useless-call.d.ts b/src/rules/eslint/no-useless-call.d.ts index 78743588..a005dcc1 100644 --- a/src/rules/eslint/no-useless-call.d.ts +++ b/src/rules/eslint/no-useless-call.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary calls to `.call()` and `.apply()`. - * - * @see [no-useless-call](https://eslint.org/docs/latest/rules/no-useless-call) - */ -export type NoUselessCallRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary calls to `.call()` and `.apply()`. - * - * @see [no-useless-call](https://eslint.org/docs/latest/rules/no-useless-call) - */ -export interface NoUselessCallRule { - /** - * Disallow unnecessary calls to `.call()` and `.apply()`. - * - * @see [no-useless-call](https://eslint.org/docs/latest/rules/no-useless-call) - */ - 'no-useless-call': NoUselessCallRuleConfig; -} +export type NoUselessCallRuleOptions = []; diff --git a/src/rules/eslint/no-useless-catch.d.ts b/src/rules/eslint/no-useless-catch.d.ts index 67f58d4e..b760bdf0 100644 --- a/src/rules/eslint/no-useless-catch.d.ts +++ b/src/rules/eslint/no-useless-catch.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary `catch` clauses. - * - * @see [no-useless-catch](https://eslint.org/docs/latest/rules/no-useless-catch) - */ -export type NoUselessCatchRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary `catch` clauses. - * - * @see [no-useless-catch](https://eslint.org/docs/latest/rules/no-useless-catch) - */ -export interface NoUselessCatchRule { - /** - * Disallow unnecessary `catch` clauses. - * - * @see [no-useless-catch](https://eslint.org/docs/latest/rules/no-useless-catch) - */ - 'no-useless-catch': NoUselessCatchRuleConfig; -} +export type NoUselessCatchRuleOptions = []; diff --git a/src/rules/eslint/no-useless-computed-key.d.ts b/src/rules/eslint/no-useless-computed-key.d.ts index 64d9b40c..9b07fcd2 100644 --- a/src/rules/eslint/no-useless-computed-key.d.ts +++ b/src/rules/eslint/no-useless-computed-key.d.ts @@ -1,35 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUselessComputedKeyOption { +export interface Schema0 { enforceForClassMembers?: boolean; } -/** - * Options. - */ -export type NoUselessComputedKeyOptions = [NoUselessComputedKeyOption?]; - -/** - * Disallow unnecessary computed property keys in objects and classes. - * - * @see [no-useless-computed-key](https://eslint.org/docs/latest/rules/no-useless-computed-key) - */ -export type NoUselessComputedKeyRuleConfig = - RuleConfig; - -/** - * Disallow unnecessary computed property keys in objects and classes. - * - * @see [no-useless-computed-key](https://eslint.org/docs/latest/rules/no-useless-computed-key) - */ -export interface NoUselessComputedKeyRule { - /** - * Disallow unnecessary computed property keys in objects and classes. - * - * @see [no-useless-computed-key](https://eslint.org/docs/latest/rules/no-useless-computed-key) - */ - 'no-useless-computed-key': NoUselessComputedKeyRuleConfig; -} +export type NoUselessComputedKeyRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-useless-concat.d.ts b/src/rules/eslint/no-useless-concat.d.ts index a9f8bc2a..7eb39a7e 100644 --- a/src/rules/eslint/no-useless-concat.d.ts +++ b/src/rules/eslint/no-useless-concat.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary concatenation of literals or template literals. - * - * @see [no-useless-concat](https://eslint.org/docs/latest/rules/no-useless-concat) - */ -export type NoUselessConcatRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary concatenation of literals or template literals. - * - * @see [no-useless-concat](https://eslint.org/docs/latest/rules/no-useless-concat) - */ -export interface NoUselessConcatRule { - /** - * Disallow unnecessary concatenation of literals or template literals. - * - * @see [no-useless-concat](https://eslint.org/docs/latest/rules/no-useless-concat) - */ - 'no-useless-concat': NoUselessConcatRuleConfig; -} +export type NoUselessConcatRuleOptions = []; diff --git a/src/rules/eslint/no-useless-constructor.d.ts b/src/rules/eslint/no-useless-constructor.d.ts index 6e5d0593..5c718551 100644 --- a/src/rules/eslint/no-useless-constructor.d.ts +++ b/src/rules/eslint/no-useless-constructor.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary constructors. - * - * @see [no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) - */ -export type NoUselessConstructorRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary constructors. - * - * @see [no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) - */ -export interface NoUselessConstructorRule { - /** - * Disallow unnecessary constructors. - * - * @see [no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) - */ - 'no-useless-constructor': NoUselessConstructorRuleConfig; -} +export type NoUselessConstructorRuleOptions = []; diff --git a/src/rules/eslint/no-useless-escape.d.ts b/src/rules/eslint/no-useless-escape.d.ts index 2a3bfbef..04c1054c 100644 --- a/src/rules/eslint/no-useless-escape.d.ts +++ b/src/rules/eslint/no-useless-escape.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary escape characters. - * - * @see [no-useless-escape](https://eslint.org/docs/latest/rules/no-useless-escape) - */ -export type NoUselessEscapeRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary escape characters. - * - * @see [no-useless-escape](https://eslint.org/docs/latest/rules/no-useless-escape) - */ -export interface NoUselessEscapeRule { - /** - * Disallow unnecessary escape characters. - * - * @see [no-useless-escape](https://eslint.org/docs/latest/rules/no-useless-escape) - */ - 'no-useless-escape': NoUselessEscapeRuleConfig; -} +export type NoUselessEscapeRuleOptions = []; diff --git a/src/rules/eslint/no-useless-rename.d.ts b/src/rules/eslint/no-useless-rename.d.ts index a598c8b1..89edc141 100644 --- a/src/rules/eslint/no-useless-rename.d.ts +++ b/src/rules/eslint/no-useless-rename.d.ts @@ -1,36 +1,7 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUselessRenameOption { +export interface Schema0 { ignoreDestructuring?: boolean; ignoreImport?: boolean; ignoreExport?: boolean; } -/** - * Options. - */ -export type NoUselessRenameOptions = [NoUselessRenameOption?]; - -/** - * Disallow renaming import, export, and destructured assignments to the same name. - * - * @see [no-useless-rename](https://eslint.org/docs/latest/rules/no-useless-rename) - */ -export type NoUselessRenameRuleConfig = RuleConfig; - -/** - * Disallow renaming import, export, and destructured assignments to the same name. - * - * @see [no-useless-rename](https://eslint.org/docs/latest/rules/no-useless-rename) - */ -export interface NoUselessRenameRule { - /** - * Disallow renaming import, export, and destructured assignments to the same name. - * - * @see [no-useless-rename](https://eslint.org/docs/latest/rules/no-useless-rename) - */ - 'no-useless-rename': NoUselessRenameRuleConfig; -} +export type NoUselessRenameRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-useless-return.d.ts b/src/rules/eslint/no-useless-return.d.ts index a1664475..eca36a92 100644 --- a/src/rules/eslint/no-useless-return.d.ts +++ b/src/rules/eslint/no-useless-return.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow redundant return statements. - * - * @see [no-useless-return](https://eslint.org/docs/latest/rules/no-useless-return) - */ -export type NoUselessReturnRuleConfig = RuleConfig<[]>; - -/** - * Disallow redundant return statements. - * - * @see [no-useless-return](https://eslint.org/docs/latest/rules/no-useless-return) - */ -export interface NoUselessReturnRule { - /** - * Disallow redundant return statements. - * - * @see [no-useless-return](https://eslint.org/docs/latest/rules/no-useless-return) - */ - 'no-useless-return': NoUselessReturnRuleConfig; -} +export type NoUselessReturnRuleOptions = []; diff --git a/src/rules/eslint/no-var.d.ts b/src/rules/eslint/no-var.d.ts index 92d879ce..e07efb84 100644 --- a/src/rules/eslint/no-var.d.ts +++ b/src/rules/eslint/no-var.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require `let` or `const` instead of `var`. - * - * @see [no-var](https://eslint.org/docs/latest/rules/no-var) - */ -export type NoVarRuleConfig = RuleConfig<[]>; - -/** - * Require `let` or `const` instead of `var`. - * - * @see [no-var](https://eslint.org/docs/latest/rules/no-var) - */ -export interface NoVarRule { - /** - * Require `let` or `const` instead of `var`. - * - * @see [no-var](https://eslint.org/docs/latest/rules/no-var) - */ - 'no-var': NoVarRuleConfig; -} +export type NoVarRuleOptions = []; diff --git a/src/rules/eslint/no-void.d.ts b/src/rules/eslint/no-void.d.ts index b22f5cf6..c44adf7f 100644 --- a/src/rules/eslint/no-void.d.ts +++ b/src/rules/eslint/no-void.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoVoidOption { +export interface Schema0 { allowAsStatement?: boolean; } -/** - * Options. - */ -export type NoVoidOptions = [NoVoidOption?]; - -/** - * Disallow `void` operators. - * - * @see [no-void](https://eslint.org/docs/latest/rules/no-void) - */ -export type NoVoidRuleConfig = RuleConfig; - -/** - * Disallow `void` operators. - * - * @see [no-void](https://eslint.org/docs/latest/rules/no-void) - */ -export interface NoVoidRule { - /** - * Disallow `void` operators. - * - * @see [no-void](https://eslint.org/docs/latest/rules/no-void) - */ - 'no-void': NoVoidRuleConfig; -} +export type NoVoidRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-warning-comments.d.ts b/src/rules/eslint/no-warning-comments.d.ts index 81e0ba71..81a8b945 100644 --- a/src/rules/eslint/no-warning-comments.d.ts +++ b/src/rules/eslint/no-warning-comments.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoWarningCommentsOption { +export interface Schema0 { terms?: string[]; location?: 'start' | 'anywhere'; /** @@ -12,28 +7,4 @@ export interface NoWarningCommentsOption { decoration?: [string, ...string[]]; } -/** - * Options. - */ -export type NoWarningCommentsOptions = [NoWarningCommentsOption?]; - -/** - * Disallow specified warning terms in comments. - * - * @see [no-warning-comments](https://eslint.org/docs/latest/rules/no-warning-comments) - */ -export type NoWarningCommentsRuleConfig = RuleConfig; - -/** - * Disallow specified warning terms in comments. - * - * @see [no-warning-comments](https://eslint.org/docs/latest/rules/no-warning-comments) - */ -export interface NoWarningCommentsRule { - /** - * Disallow specified warning terms in comments. - * - * @see [no-warning-comments](https://eslint.org/docs/latest/rules/no-warning-comments) - */ - 'no-warning-comments': NoWarningCommentsRuleConfig; -} +export type NoWarningCommentsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/no-whitespace-before-property.d.ts b/src/rules/eslint/no-whitespace-before-property.d.ts index 27874bdf..fbe10de8 100644 --- a/src/rules/eslint/no-whitespace-before-property.d.ts +++ b/src/rules/eslint/no-whitespace-before-property.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow whitespace before properties. - * - * @see [no-whitespace-before-property](https://eslint.org/docs/latest/rules/no-whitespace-before-property) - */ -export type NoWhitespaceBeforePropertyRuleConfig = RuleConfig<[]>; - -/** - * Disallow whitespace before properties. - * - * @see [no-whitespace-before-property](https://eslint.org/docs/latest/rules/no-whitespace-before-property) - */ -export interface NoWhitespaceBeforePropertyRule { - /** - * Disallow whitespace before properties. - * - * @see [no-whitespace-before-property](https://eslint.org/docs/latest/rules/no-whitespace-before-property) - */ - 'no-whitespace-before-property': NoWhitespaceBeforePropertyRuleConfig; -} +export type NoWhitespaceBeforePropertyRuleOptions = []; diff --git a/src/rules/eslint/no-with.d.ts b/src/rules/eslint/no-with.d.ts index 84951515..de8e52bf 100644 --- a/src/rules/eslint/no-with.d.ts +++ b/src/rules/eslint/no-with.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `with` statements. - * - * @see [no-with](https://eslint.org/docs/latest/rules/no-with) - */ -export type NoWithRuleConfig = RuleConfig<[]>; - -/** - * Disallow `with` statements. - * - * @see [no-with](https://eslint.org/docs/latest/rules/no-with) - */ -export interface NoWithRule { - /** - * Disallow `with` statements. - * - * @see [no-with](https://eslint.org/docs/latest/rules/no-with) - */ - 'no-with': NoWithRuleConfig; -} +export type NoWithRuleOptions = []; diff --git a/src/rules/eslint/nonblock-statement-body-position.d.ts b/src/rules/eslint/nonblock-statement-body-position.d.ts index 8c224f8c..d0d167c5 100644 --- a/src/rules/eslint/nonblock-statement-body-position.d.ts +++ b/src/rules/eslint/nonblock-statement-body-position.d.ts @@ -1,9 +1,6 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'beside' | 'below' | 'any'; -/** - * Config. - */ -export interface NonblockStatementBodyPositionConfig { +export interface Schema1 { overrides?: { if?: 'beside' | 'below' | 'any'; else?: 'beside' | 'below' | 'any'; @@ -13,37 +10,4 @@ export interface NonblockStatementBodyPositionConfig { }; } -/** - * Option. - */ -export type NonblockStatementBodyPositionOption = 'beside' | 'below' | 'any'; - -/** - * Options. - */ -export type NonblockStatementBodyPositionOptions = [ - NonblockStatementBodyPositionOption?, - NonblockStatementBodyPositionConfig?, -]; - -/** - * Enforce the location of single-line statements. - * - * @see [nonblock-statement-body-position](https://eslint.org/docs/latest/rules/nonblock-statement-body-position) - */ -export type NonblockStatementBodyPositionRuleConfig = - RuleConfig; - -/** - * Enforce the location of single-line statements. - * - * @see [nonblock-statement-body-position](https://eslint.org/docs/latest/rules/nonblock-statement-body-position) - */ -export interface NonblockStatementBodyPositionRule { - /** - * Enforce the location of single-line statements. - * - * @see [nonblock-statement-body-position](https://eslint.org/docs/latest/rules/nonblock-statement-body-position) - */ - 'nonblock-statement-body-position': NonblockStatementBodyPositionRuleConfig; -} +export type NonblockStatementBodyPositionRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/object-curly-newline.d.ts b/src/rules/eslint/object-curly-newline.d.ts index be9a6a3d..06c75150 100644 --- a/src/rules/eslint/object-curly-newline.d.ts +++ b/src/rules/eslint/object-curly-newline.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ObjectCurlyNewlineOption = +export type Schema0 = | ( | ('always' | 'never') | { @@ -43,29 +38,4 @@ export type ObjectCurlyNewlineOption = }; }; -/** - * Options. - */ -export type ObjectCurlyNewlineOptions = [ObjectCurlyNewlineOption?]; - -/** - * Enforce consistent line breaks after opening and before closing braces. - * - * @see [object-curly-newline](https://eslint.org/docs/latest/rules/object-curly-newline) - */ -export type ObjectCurlyNewlineRuleConfig = - RuleConfig; - -/** - * Enforce consistent line breaks after opening and before closing braces. - * - * @see [object-curly-newline](https://eslint.org/docs/latest/rules/object-curly-newline) - */ -export interface ObjectCurlyNewlineRule { - /** - * Enforce consistent line breaks after opening and before closing braces. - * - * @see [object-curly-newline](https://eslint.org/docs/latest/rules/object-curly-newline) - */ - 'object-curly-newline': ObjectCurlyNewlineRuleConfig; -} +export type ObjectCurlyNewlineRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/object-curly-spacing.d.ts b/src/rules/eslint/object-curly-spacing.d.ts index 7ea20e61..35d2024b 100644 --- a/src/rules/eslint/object-curly-spacing.d.ts +++ b/src/rules/eslint/object-curly-spacing.d.ts @@ -1,44 +1,8 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Config. - */ -export interface ObjectCurlySpacingConfig { +export interface Schema1 { arraysInObjects?: boolean; objectsInObjects?: boolean; } -/** - * Option. - */ -export type ObjectCurlySpacingOption = 'always' | 'never'; - -/** - * Options. - */ -export type ObjectCurlySpacingOptions = [ - ObjectCurlySpacingOption?, - ObjectCurlySpacingConfig?, -]; - -/** - * Enforce consistent spacing inside braces. - * - * @see [object-curly-spacing](https://eslint.org/docs/latest/rules/object-curly-spacing) - */ -export type ObjectCurlySpacingRuleConfig = - RuleConfig; - -/** - * Enforce consistent spacing inside braces. - * - * @see [object-curly-spacing](https://eslint.org/docs/latest/rules/object-curly-spacing) - */ -export interface ObjectCurlySpacingRule { - /** - * Enforce consistent spacing inside braces. - * - * @see [object-curly-spacing](https://eslint.org/docs/latest/rules/object-curly-spacing) - */ - 'object-curly-spacing': ObjectCurlySpacingRuleConfig; -} +export type ObjectCurlySpacingRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/object-property-newline.d.ts b/src/rules/eslint/object-property-newline.d.ts index 5dbc05ad..737c304a 100644 --- a/src/rules/eslint/object-property-newline.d.ts +++ b/src/rules/eslint/object-property-newline.d.ts @@ -1,36 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ObjectPropertyNewlineOption { +export interface Schema0 { allowAllPropertiesOnSameLine?: boolean; allowMultiplePropertiesPerLine?: boolean; } -/** - * Options. - */ -export type ObjectPropertyNewlineOptions = [ObjectPropertyNewlineOption?]; - -/** - * Enforce placing object properties on separate lines. - * - * @see [object-property-newline](https://eslint.org/docs/latest/rules/object-property-newline) - */ -export type ObjectPropertyNewlineRuleConfig = - RuleConfig; - -/** - * Enforce placing object properties on separate lines. - * - * @see [object-property-newline](https://eslint.org/docs/latest/rules/object-property-newline) - */ -export interface ObjectPropertyNewlineRule { - /** - * Enforce placing object properties on separate lines. - * - * @see [object-property-newline](https://eslint.org/docs/latest/rules/object-property-newline) - */ - 'object-property-newline': ObjectPropertyNewlineRuleConfig; -} +export type ObjectPropertyNewlineRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/object-shorthand.d.ts b/src/rules/eslint/object-shorthand.d.ts index 6e13bee9..37d86191 100644 --- a/src/rules/eslint/object-shorthand.d.ts +++ b/src/rules/eslint/object-shorthand.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ObjectShorthandOption = +export type Schema0 = | [] | [ | 'always' @@ -33,28 +28,4 @@ export type ObjectShorthandOption = }, ]; -/** - * Options. - */ -export type ObjectShorthandOptions = ObjectShorthandOption; - -/** - * Require or disallow method and property shorthand syntax for object literals. - * - * @see [object-shorthand](https://eslint.org/docs/latest/rules/object-shorthand) - */ -export type ObjectShorthandRuleConfig = RuleConfig; - -/** - * Require or disallow method and property shorthand syntax for object literals. - * - * @see [object-shorthand](https://eslint.org/docs/latest/rules/object-shorthand) - */ -export interface ObjectShorthandRule { - /** - * Require or disallow method and property shorthand syntax for object literals. - * - * @see [object-shorthand](https://eslint.org/docs/latest/rules/object-shorthand) - */ - 'object-shorthand': ObjectShorthandRuleConfig; -} +export type ObjectShorthandRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/one-var-declaration-per-line.d.ts b/src/rules/eslint/one-var-declaration-per-line.d.ts index 8a373ea0..11909412 100644 --- a/src/rules/eslint/one-var-declaration-per-line.d.ts +++ b/src/rules/eslint/one-var-declaration-per-line.d.ts @@ -1,33 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'initializations'; -/** - * Option. - */ -export type OneVarDeclarationPerLineOption = 'always' | 'initializations'; - -/** - * Options. - */ -export type OneVarDeclarationPerLineOptions = [OneVarDeclarationPerLineOption?]; - -/** - * Require or disallow newlines around variable declarations. - * - * @see [one-var-declaration-per-line](https://eslint.org/docs/latest/rules/one-var-declaration-per-line) - */ -export type OneVarDeclarationPerLineRuleConfig = - RuleConfig; - -/** - * Require or disallow newlines around variable declarations. - * - * @see [one-var-declaration-per-line](https://eslint.org/docs/latest/rules/one-var-declaration-per-line) - */ -export interface OneVarDeclarationPerLineRule { - /** - * Require or disallow newlines around variable declarations. - * - * @see [one-var-declaration-per-line](https://eslint.org/docs/latest/rules/one-var-declaration-per-line) - */ - 'one-var-declaration-per-line': OneVarDeclarationPerLineRuleConfig; -} +export type OneVarDeclarationPerLineRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/one-var.d.ts b/src/rules/eslint/one-var.d.ts index 07c106b2..3eea7fe8 100644 --- a/src/rules/eslint/one-var.d.ts +++ b/src/rules/eslint/one-var.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type OneVarOption = +export type Schema0 = | ('always' | 'never' | 'consecutive') | { separateRequires?: boolean; @@ -16,28 +11,4 @@ export type OneVarOption = uninitialized?: 'always' | 'never' | 'consecutive'; }; -/** - * Options. - */ -export type OneVarOptions = [OneVarOption?]; - -/** - * Enforce variables to be declared either together or separately in functions. - * - * @see [one-var](https://eslint.org/docs/latest/rules/one-var) - */ -export type OneVarRuleConfig = RuleConfig; - -/** - * Enforce variables to be declared either together or separately in functions. - * - * @see [one-var](https://eslint.org/docs/latest/rules/one-var) - */ -export interface OneVarRule { - /** - * Enforce variables to be declared either together or separately in functions. - * - * @see [one-var](https://eslint.org/docs/latest/rules/one-var) - */ - 'one-var': OneVarRuleConfig; -} +export type OneVarRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/operator-assignment.d.ts b/src/rules/eslint/operator-assignment.d.ts index 6878abe9..728e22ce 100644 --- a/src/rules/eslint/operator-assignment.d.ts +++ b/src/rules/eslint/operator-assignment.d.ts @@ -1,33 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Option. - */ -export type OperatorAssignmentOption = 'always' | 'never'; - -/** - * Options. - */ -export type OperatorAssignmentOptions = [OperatorAssignmentOption?]; - -/** - * Require or disallow assignment operator shorthand where possible. - * - * @see [operator-assignment](https://eslint.org/docs/latest/rules/operator-assignment) - */ -export type OperatorAssignmentRuleConfig = - RuleConfig; - -/** - * Require or disallow assignment operator shorthand where possible. - * - * @see [operator-assignment](https://eslint.org/docs/latest/rules/operator-assignment) - */ -export interface OperatorAssignmentRule { - /** - * Require or disallow assignment operator shorthand where possible. - * - * @see [operator-assignment](https://eslint.org/docs/latest/rules/operator-assignment) - */ - 'operator-assignment': OperatorAssignmentRuleConfig; -} +export type OperatorAssignmentRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/operator-linebreak.d.ts b/src/rules/eslint/operator-linebreak.d.ts index 6cc78077..aa1fbd62 100644 --- a/src/rules/eslint/operator-linebreak.d.ts +++ b/src/rules/eslint/operator-linebreak.d.ts @@ -1,44 +1,9 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'after' | 'before' | 'none' | null; -/** - * Config. - */ -export interface OperatorLinebreakConfig { +export interface Schema1 { overrides?: { [k: string]: 'after' | 'before' | 'none' | 'ignore'; }; } -/** - * Option. - */ -export type OperatorLinebreakOption = 'after' | 'before' | 'none' | null; - -/** - * Options. - */ -export type OperatorLinebreakOptions = [ - OperatorLinebreakOption?, - OperatorLinebreakConfig?, -]; - -/** - * Enforce consistent linebreak style for operators. - * - * @see [operator-linebreak](https://eslint.org/docs/latest/rules/operator-linebreak) - */ -export type OperatorLinebreakRuleConfig = RuleConfig; - -/** - * Enforce consistent linebreak style for operators. - * - * @see [operator-linebreak](https://eslint.org/docs/latest/rules/operator-linebreak) - */ -export interface OperatorLinebreakRule { - /** - * Enforce consistent linebreak style for operators. - * - * @see [operator-linebreak](https://eslint.org/docs/latest/rules/operator-linebreak) - */ - 'operator-linebreak': OperatorLinebreakRuleConfig; -} +export type OperatorLinebreakRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/padded-blocks.d.ts b/src/rules/eslint/padded-blocks.d.ts index f2c303ec..e2e58552 100644 --- a/src/rules/eslint/padded-blocks.d.ts +++ b/src/rules/eslint/padded-blocks.d.ts @@ -1,16 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface PaddedBlocksConfig { - allowSingleLineBlocks?: boolean; -} - -/** - * Option. - */ -export type PaddedBlocksOption = +export type Schema0 = | ('always' | 'never') | { blocks?: 'always' | 'never'; @@ -18,28 +6,8 @@ export type PaddedBlocksOption = classes?: 'always' | 'never'; }; -/** - * Options. - */ -export type PaddedBlocksOptions = [PaddedBlocksOption?, PaddedBlocksConfig?]; - -/** - * Require or disallow padding within blocks. - * - * @see [padded-blocks](https://eslint.org/docs/latest/rules/padded-blocks) - */ -export type PaddedBlocksRuleConfig = RuleConfig; - -/** - * Require or disallow padding within blocks. - * - * @see [padded-blocks](https://eslint.org/docs/latest/rules/padded-blocks) - */ -export interface PaddedBlocksRule { - /** - * Require or disallow padding within blocks. - * - * @see [padded-blocks](https://eslint.org/docs/latest/rules/padded-blocks) - */ - 'padded-blocks': PaddedBlocksRuleConfig; +export interface Schema1 { + allowSingleLineBlocks?: boolean; } + +export type PaddedBlocksRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/padding-line-between-statements.d.ts b/src/rules/eslint/padding-line-between-statements.d.ts index 0d3f2072..a907002c 100644 --- a/src/rules/eslint/padding-line-between-statements.d.ts +++ b/src/rules/eslint/padding-line-between-statements.d.ts @@ -1,8 +1,3 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ export type PaddingType = 'any' | 'never' | 'always'; export type StatementType = | ( @@ -127,36 +122,10 @@ export type StatementType = | 'with' )[], ]; -export type PaddingLineBetweenStatementsOption = { +export type Schema0 = { blankLine: PaddingType; prev: StatementType; next: StatementType; }[]; -/** - * Options. - */ -export type PaddingLineBetweenStatementsOptions = - PaddingLineBetweenStatementsOption; - -/** - * Require or disallow padding lines between statements. - * - * @see [padding-line-between-statements](https://eslint.org/docs/latest/rules/padding-line-between-statements) - */ -export type PaddingLineBetweenStatementsRuleConfig = - RuleConfig; - -/** - * Require or disallow padding lines between statements. - * - * @see [padding-line-between-statements](https://eslint.org/docs/latest/rules/padding-line-between-statements) - */ -export interface PaddingLineBetweenStatementsRule { - /** - * Require or disallow padding lines between statements. - * - * @see [padding-line-between-statements](https://eslint.org/docs/latest/rules/padding-line-between-statements) - */ - 'padding-line-between-statements': PaddingLineBetweenStatementsRuleConfig; -} +export type PaddingLineBetweenStatementsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/prefer-arrow-callback.d.ts b/src/rules/eslint/prefer-arrow-callback.d.ts index 08f81d70..ec808981 100644 --- a/src/rules/eslint/prefer-arrow-callback.d.ts +++ b/src/rules/eslint/prefer-arrow-callback.d.ts @@ -1,36 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface PreferArrowCallbackOption { +export interface Schema0 { allowNamedFunctions?: boolean; allowUnboundThis?: boolean; } -/** - * Options. - */ -export type PreferArrowCallbackOptions = [PreferArrowCallbackOption?]; - -/** - * Require using arrow functions for callbacks. - * - * @see [prefer-arrow-callback](https://eslint.org/docs/latest/rules/prefer-arrow-callback) - */ -export type PreferArrowCallbackRuleConfig = - RuleConfig; - -/** - * Require using arrow functions for callbacks. - * - * @see [prefer-arrow-callback](https://eslint.org/docs/latest/rules/prefer-arrow-callback) - */ -export interface PreferArrowCallbackRule { - /** - * Require using arrow functions for callbacks. - * - * @see [prefer-arrow-callback](https://eslint.org/docs/latest/rules/prefer-arrow-callback) - */ - 'prefer-arrow-callback': PreferArrowCallbackRuleConfig; -} +export type PreferArrowCallbackRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/prefer-const.d.ts b/src/rules/eslint/prefer-const.d.ts index 432988f5..7ec7d6db 100644 --- a/src/rules/eslint/prefer-const.d.ts +++ b/src/rules/eslint/prefer-const.d.ts @@ -1,35 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface PreferConstOption { +export interface Schema0 { destructuring?: 'any' | 'all'; ignoreReadBeforeAssign?: boolean; } -/** - * Options. - */ -export type PreferConstOptions = [PreferConstOption?]; - -/** - * Require `const` declarations for variables that are never reassigned after declared. - * - * @see [prefer-const](https://eslint.org/docs/latest/rules/prefer-const) - */ -export type PreferConstRuleConfig = RuleConfig; - -/** - * Require `const` declarations for variables that are never reassigned after declared. - * - * @see [prefer-const](https://eslint.org/docs/latest/rules/prefer-const) - */ -export interface PreferConstRule { - /** - * Require `const` declarations for variables that are never reassigned after declared. - * - * @see [prefer-const](https://eslint.org/docs/latest/rules/prefer-const) - */ - 'prefer-const': PreferConstRuleConfig; -} +export type PreferConstRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/prefer-destructuring.d.ts b/src/rules/eslint/prefer-destructuring.d.ts index b3816b2e..380f4407 100644 --- a/src/rules/eslint/prefer-destructuring.d.ts +++ b/src/rules/eslint/prefer-destructuring.d.ts @@ -1,16 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface PreferDestructuringConfig { - enforceForRenamedProperties?: boolean; -} - -/** - * Option. - */ -export type PreferDestructuringOption = +export type Schema0 = | { VariableDeclarator?: { array?: boolean; @@ -26,32 +14,8 @@ export type PreferDestructuringOption = object?: boolean; }; -/** - * Options. - */ -export type PreferDestructuringOptions = [ - PreferDestructuringOption?, - PreferDestructuringConfig?, -]; - -/** - * Require destructuring from arrays and/or objects. - * - * @see [prefer-destructuring](https://eslint.org/docs/latest/rules/prefer-destructuring) - */ -export type PreferDestructuringRuleConfig = - RuleConfig; - -/** - * Require destructuring from arrays and/or objects. - * - * @see [prefer-destructuring](https://eslint.org/docs/latest/rules/prefer-destructuring) - */ -export interface PreferDestructuringRule { - /** - * Require destructuring from arrays and/or objects. - * - * @see [prefer-destructuring](https://eslint.org/docs/latest/rules/prefer-destructuring) - */ - 'prefer-destructuring': PreferDestructuringRuleConfig; +export interface Schema1 { + enforceForRenamedProperties?: boolean; } + +export type PreferDestructuringRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/prefer-exponentiation-operator.d.ts b/src/rules/eslint/prefer-exponentiation-operator.d.ts index 7ed6698d..8a81f07c 100644 --- a/src/rules/eslint/prefer-exponentiation-operator.d.ts +++ b/src/rules/eslint/prefer-exponentiation-operator.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow the use of `Math.pow` in favor of the `**` operator. - * - * @see [prefer-exponentiation-operator](https://eslint.org/docs/latest/rules/prefer-exponentiation-operator) - */ -export type PreferExponentiationOperatorRuleConfig = RuleConfig<[]>; - -/** - * Disallow the use of `Math.pow` in favor of the `**` operator. - * - * @see [prefer-exponentiation-operator](https://eslint.org/docs/latest/rules/prefer-exponentiation-operator) - */ -export interface PreferExponentiationOperatorRule { - /** - * Disallow the use of `Math.pow` in favor of the `**` operator. - * - * @see [prefer-exponentiation-operator](https://eslint.org/docs/latest/rules/prefer-exponentiation-operator) - */ - 'prefer-exponentiation-operator': PreferExponentiationOperatorRuleConfig; -} +export type PreferExponentiationOperatorRuleOptions = []; diff --git a/src/rules/eslint/prefer-named-capture-group.d.ts b/src/rules/eslint/prefer-named-capture-group.d.ts index dc53d25d..ed6f34d6 100644 --- a/src/rules/eslint/prefer-named-capture-group.d.ts +++ b/src/rules/eslint/prefer-named-capture-group.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforce using named capture group in regular expression. - * - * @see [prefer-named-capture-group](https://eslint.org/docs/latest/rules/prefer-named-capture-group) - */ -export type PreferNamedCaptureGroupRuleConfig = RuleConfig<[]>; - -/** - * Enforce using named capture group in regular expression. - * - * @see [prefer-named-capture-group](https://eslint.org/docs/latest/rules/prefer-named-capture-group) - */ -export interface PreferNamedCaptureGroupRule { - /** - * Enforce using named capture group in regular expression. - * - * @see [prefer-named-capture-group](https://eslint.org/docs/latest/rules/prefer-named-capture-group) - */ - 'prefer-named-capture-group': PreferNamedCaptureGroupRuleConfig; -} +export type PreferNamedCaptureGroupRuleOptions = []; diff --git a/src/rules/eslint/prefer-numeric-literals.d.ts b/src/rules/eslint/prefer-numeric-literals.d.ts index f28342b1..36e7d9cd 100644 --- a/src/rules/eslint/prefer-numeric-literals.d.ts +++ b/src/rules/eslint/prefer-numeric-literals.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals. - * - * @see [prefer-numeric-literals](https://eslint.org/docs/latest/rules/prefer-numeric-literals) - */ -export type PreferNumericLiteralsRuleConfig = RuleConfig<[]>; - -/** - * Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals. - * - * @see [prefer-numeric-literals](https://eslint.org/docs/latest/rules/prefer-numeric-literals) - */ -export interface PreferNumericLiteralsRule { - /** - * Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals. - * - * @see [prefer-numeric-literals](https://eslint.org/docs/latest/rules/prefer-numeric-literals) - */ - 'prefer-numeric-literals': PreferNumericLiteralsRuleConfig; -} +export type PreferNumericLiteralsRuleOptions = []; diff --git a/src/rules/eslint/prefer-object-has-own.d.ts b/src/rules/eslint/prefer-object-has-own.d.ts index 4e5ce3aa..0e6b3e4a 100644 --- a/src/rules/eslint/prefer-object-has-own.d.ts +++ b/src/rules/eslint/prefer-object-has-own.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn()`. - * - * @see [prefer-object-has-own](https://eslint.org/docs/latest/rules/prefer-object-has-own) - */ -export type PreferObjectHasOwnRuleConfig = RuleConfig<[]>; - -/** - * Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn()`. - * - * @see [prefer-object-has-own](https://eslint.org/docs/latest/rules/prefer-object-has-own) - */ -export interface PreferObjectHasOwnRule { - /** - * Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn()`. - * - * @see [prefer-object-has-own](https://eslint.org/docs/latest/rules/prefer-object-has-own) - */ - 'prefer-object-has-own': PreferObjectHasOwnRuleConfig; -} +export type PreferObjectHasOwnRuleOptions = []; diff --git a/src/rules/eslint/prefer-object-spread.d.ts b/src/rules/eslint/prefer-object-spread.d.ts index 9a0c9908..94922e9e 100644 --- a/src/rules/eslint/prefer-object-spread.d.ts +++ b/src/rules/eslint/prefer-object-spread.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead. - * - * @see [prefer-object-spread](https://eslint.org/docs/latest/rules/prefer-object-spread) - */ -export type PreferObjectSpreadRuleConfig = RuleConfig<[]>; - -/** - * Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead. - * - * @see [prefer-object-spread](https://eslint.org/docs/latest/rules/prefer-object-spread) - */ -export interface PreferObjectSpreadRule { - /** - * Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead. - * - * @see [prefer-object-spread](https://eslint.org/docs/latest/rules/prefer-object-spread) - */ - 'prefer-object-spread': PreferObjectSpreadRuleConfig; -} +export type PreferObjectSpreadRuleOptions = []; diff --git a/src/rules/eslint/prefer-promise-reject-errors.d.ts b/src/rules/eslint/prefer-promise-reject-errors.d.ts index c8fc7476..ce52cc68 100644 --- a/src/rules/eslint/prefer-promise-reject-errors.d.ts +++ b/src/rules/eslint/prefer-promise-reject-errors.d.ts @@ -1,37 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface PreferPromiseRejectErrorsOption { +export interface Schema0 { allowEmptyReject?: boolean; } -/** - * Options. - */ -export type PreferPromiseRejectErrorsOptions = [ - PreferPromiseRejectErrorsOption?, -]; - -/** - * Require using Error objects as Promise rejection reasons. - * - * @see [prefer-promise-reject-errors](https://eslint.org/docs/latest/rules/prefer-promise-reject-errors) - */ -export type PreferPromiseRejectErrorsRuleConfig = - RuleConfig; - -/** - * Require using Error objects as Promise rejection reasons. - * - * @see [prefer-promise-reject-errors](https://eslint.org/docs/latest/rules/prefer-promise-reject-errors) - */ -export interface PreferPromiseRejectErrorsRule { - /** - * Require using Error objects as Promise rejection reasons. - * - * @see [prefer-promise-reject-errors](https://eslint.org/docs/latest/rules/prefer-promise-reject-errors) - */ - 'prefer-promise-reject-errors': PreferPromiseRejectErrorsRuleConfig; -} +export type PreferPromiseRejectErrorsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/prefer-reflect.d.ts b/src/rules/eslint/prefer-reflect.d.ts index f2fd2381..fc6fe49e 100644 --- a/src/rules/eslint/prefer-reflect.d.ts +++ b/src/rules/eslint/prefer-reflect.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface PreferReflectOption { +export interface Schema0 { exceptions?: ( | 'apply' | 'call' @@ -18,34 +13,4 @@ export interface PreferReflectOption { )[]; } -/** - * Options. - */ -export type PreferReflectOptions = [PreferReflectOption?]; - -/** - * Require `Reflect` methods where applicable. - * - * @deprecated - * - * @see [prefer-reflect](https://eslint.org/docs/latest/rules/prefer-reflect) - */ -export type PreferReflectRuleConfig = RuleConfig; - -/** - * Require `Reflect` methods where applicable. - * - * @deprecated - * - * @see [prefer-reflect](https://eslint.org/docs/latest/rules/prefer-reflect) - */ -export interface PreferReflectRule { - /** - * Require `Reflect` methods where applicable. - * - * @deprecated - * - * @see [prefer-reflect](https://eslint.org/docs/latest/rules/prefer-reflect) - */ - 'prefer-reflect': PreferReflectRuleConfig; -} +export type PreferReflectRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/prefer-regex-literals.d.ts b/src/rules/eslint/prefer-regex-literals.d.ts index 9814a5db..e43a1567 100644 --- a/src/rules/eslint/prefer-regex-literals.d.ts +++ b/src/rules/eslint/prefer-regex-literals.d.ts @@ -1,35 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface PreferRegexLiteralsOption { +export interface Schema0 { disallowRedundantWrapping?: boolean; } -/** - * Options. - */ -export type PreferRegexLiteralsOptions = [PreferRegexLiteralsOption?]; - -/** - * Disallow use of the `RegExp` constructor in favor of regular expression literals. - * - * @see [prefer-regex-literals](https://eslint.org/docs/latest/rules/prefer-regex-literals) - */ -export type PreferRegexLiteralsRuleConfig = - RuleConfig; - -/** - * Disallow use of the `RegExp` constructor in favor of regular expression literals. - * - * @see [prefer-regex-literals](https://eslint.org/docs/latest/rules/prefer-regex-literals) - */ -export interface PreferRegexLiteralsRule { - /** - * Disallow use of the `RegExp` constructor in favor of regular expression literals. - * - * @see [prefer-regex-literals](https://eslint.org/docs/latest/rules/prefer-regex-literals) - */ - 'prefer-regex-literals': PreferRegexLiteralsRuleConfig; -} +export type PreferRegexLiteralsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/prefer-rest-params.d.ts b/src/rules/eslint/prefer-rest-params.d.ts index fcadc5ae..f6b41024 100644 --- a/src/rules/eslint/prefer-rest-params.d.ts +++ b/src/rules/eslint/prefer-rest-params.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require rest parameters instead of `arguments`. - * - * @see [prefer-rest-params](https://eslint.org/docs/latest/rules/prefer-rest-params) - */ -export type PreferRestParamsRuleConfig = RuleConfig<[]>; - -/** - * Require rest parameters instead of `arguments`. - * - * @see [prefer-rest-params](https://eslint.org/docs/latest/rules/prefer-rest-params) - */ -export interface PreferRestParamsRule { - /** - * Require rest parameters instead of `arguments`. - * - * @see [prefer-rest-params](https://eslint.org/docs/latest/rules/prefer-rest-params) - */ - 'prefer-rest-params': PreferRestParamsRuleConfig; -} +export type PreferRestParamsRuleOptions = []; diff --git a/src/rules/eslint/prefer-spread.d.ts b/src/rules/eslint/prefer-spread.d.ts index d1971a18..b0924684 100644 --- a/src/rules/eslint/prefer-spread.d.ts +++ b/src/rules/eslint/prefer-spread.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require spread operators instead of `.apply()`. - * - * @see [prefer-spread](https://eslint.org/docs/latest/rules/prefer-spread) - */ -export type PreferSpreadRuleConfig = RuleConfig<[]>; - -/** - * Require spread operators instead of `.apply()`. - * - * @see [prefer-spread](https://eslint.org/docs/latest/rules/prefer-spread) - */ -export interface PreferSpreadRule { - /** - * Require spread operators instead of `.apply()`. - * - * @see [prefer-spread](https://eslint.org/docs/latest/rules/prefer-spread) - */ - 'prefer-spread': PreferSpreadRuleConfig; -} +export type PreferSpreadRuleOptions = []; diff --git a/src/rules/eslint/prefer-template.d.ts b/src/rules/eslint/prefer-template.d.ts index 005dcb03..86fa098f 100644 --- a/src/rules/eslint/prefer-template.d.ts +++ b/src/rules/eslint/prefer-template.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require template literals instead of string concatenation. - * - * @see [prefer-template](https://eslint.org/docs/latest/rules/prefer-template) - */ -export type PreferTemplateRuleConfig = RuleConfig<[]>; - -/** - * Require template literals instead of string concatenation. - * - * @see [prefer-template](https://eslint.org/docs/latest/rules/prefer-template) - */ -export interface PreferTemplateRule { - /** - * Require template literals instead of string concatenation. - * - * @see [prefer-template](https://eslint.org/docs/latest/rules/prefer-template) - */ - 'prefer-template': PreferTemplateRuleConfig; -} +export type PreferTemplateRuleOptions = []; diff --git a/src/rules/eslint/quote-props.d.ts b/src/rules/eslint/quote-props.d.ts index 8a85e99d..8a703810 100644 --- a/src/rules/eslint/quote-props.d.ts +++ b/src/rules/eslint/quote-props.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type QuotePropsOption = +export type Schema0 = | [] | ['always' | 'as-needed' | 'consistent' | 'consistent-as-needed'] | [] @@ -17,28 +12,4 @@ export type QuotePropsOption = }, ]; -/** - * Options. - */ -export type QuotePropsOptions = QuotePropsOption; - -/** - * Require quotes around object literal property names. - * - * @see [quote-props](https://eslint.org/docs/latest/rules/quote-props) - */ -export type QuotePropsRuleConfig = RuleConfig; - -/** - * Require quotes around object literal property names. - * - * @see [quote-props](https://eslint.org/docs/latest/rules/quote-props) - */ -export interface QuotePropsRule { - /** - * Require quotes around object literal property names. - * - * @see [quote-props](https://eslint.org/docs/latest/rules/quote-props) - */ - 'quote-props': QuotePropsRuleConfig; -} +export type QuotePropsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/quotes.d.ts b/src/rules/eslint/quotes.d.ts index 82e0aad0..38bb77ca 100644 --- a/src/rules/eslint/quotes.d.ts +++ b/src/rules/eslint/quotes.d.ts @@ -1,42 +1,10 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'single' | 'double' | 'backtick'; -/** - * Config. - */ -export type QuotesConfig = +export type Schema1 = | 'avoid-escape' | { avoidEscape?: boolean; allowTemplateLiterals?: boolean; }; -/** - * Option. - */ -export type QuotesOption = 'single' | 'double' | 'backtick'; - -/** - * Options. - */ -export type QuotesOptions = [QuotesOption?, QuotesConfig?]; - -/** - * Enforce the consistent use of either backticks, double, or single quotes. - * - * @see [quotes](https://eslint.org/docs/latest/rules/quotes) - */ -export type QuotesRuleConfig = RuleConfig; - -/** - * Enforce the consistent use of either backticks, double, or single quotes. - * - * @see [quotes](https://eslint.org/docs/latest/rules/quotes) - */ -export interface QuotesRule { - /** - * Enforce the consistent use of either backticks, double, or single quotes. - * - * @see [quotes](https://eslint.org/docs/latest/rules/quotes) - */ - quotes: QuotesRuleConfig; -} +export type QuotesRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/radix.d.ts b/src/rules/eslint/radix.d.ts index 8b3e4908..464ade83 100644 --- a/src/rules/eslint/radix.d.ts +++ b/src/rules/eslint/radix.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'as-needed'; -/** - * Option. - */ -export type RadixOption = 'always' | 'as-needed'; - -/** - * Options. - */ -export type RadixOptions = [RadixOption?]; - -/** - * Enforce the consistent use of the radix argument when using `parseInt()`. - * - * @see [radix](https://eslint.org/docs/latest/rules/radix) - */ -export type RadixRuleConfig = RuleConfig; - -/** - * Enforce the consistent use of the radix argument when using `parseInt()`. - * - * @see [radix](https://eslint.org/docs/latest/rules/radix) - */ -export interface RadixRule { - /** - * Enforce the consistent use of the radix argument when using `parseInt()`. - * - * @see [radix](https://eslint.org/docs/latest/rules/radix) - */ - radix: RadixRuleConfig; -} +export type RadixRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/require-atomic-updates.d.ts b/src/rules/eslint/require-atomic-updates.d.ts index e8e8ba33..54081f7b 100644 --- a/src/rules/eslint/require-atomic-updates.d.ts +++ b/src/rules/eslint/require-atomic-updates.d.ts @@ -1,35 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireAtomicUpdatesOption { +export interface Schema0 { allowProperties?: boolean; } -/** - * Options. - */ -export type RequireAtomicUpdatesOptions = [RequireAtomicUpdatesOption?]; - -/** - * Disallow assignments that can lead to race conditions due to usage of `await` or `yield`. - * - * @see [require-atomic-updates](https://eslint.org/docs/latest/rules/require-atomic-updates) - */ -export type RequireAtomicUpdatesRuleConfig = - RuleConfig; - -/** - * Disallow assignments that can lead to race conditions due to usage of `await` or `yield`. - * - * @see [require-atomic-updates](https://eslint.org/docs/latest/rules/require-atomic-updates) - */ -export interface RequireAtomicUpdatesRule { - /** - * Disallow assignments that can lead to race conditions due to usage of `await` or `yield`. - * - * @see [require-atomic-updates](https://eslint.org/docs/latest/rules/require-atomic-updates) - */ - 'require-atomic-updates': RequireAtomicUpdatesRuleConfig; -} +export type RequireAtomicUpdatesRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/require-await.d.ts b/src/rules/eslint/require-await.d.ts index 968c043c..cf08c442 100644 --- a/src/rules/eslint/require-await.d.ts +++ b/src/rules/eslint/require-await.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow async functions which have no `await` expression. - * - * @see [require-await](https://eslint.org/docs/latest/rules/require-await) - */ -export type RequireAwaitRuleConfig = RuleConfig<[]>; - -/** - * Disallow async functions which have no `await` expression. - * - * @see [require-await](https://eslint.org/docs/latest/rules/require-await) - */ -export interface RequireAwaitRule { - /** - * Disallow async functions which have no `await` expression. - * - * @see [require-await](https://eslint.org/docs/latest/rules/require-await) - */ - 'require-await': RequireAwaitRuleConfig; -} +export type RequireAwaitRuleOptions = []; diff --git a/src/rules/eslint/require-jsdoc.d.ts b/src/rules/eslint/require-jsdoc.d.ts index 3dfa5d11..6a1a5c23 100644 --- a/src/rules/eslint/require-jsdoc.d.ts +++ b/src/rules/eslint/require-jsdoc.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireJsdocOption { +export interface Schema0 { require?: { ClassDeclaration?: boolean; MethodDefinition?: boolean; @@ -13,34 +8,4 @@ export interface RequireJsdocOption { }; } -/** - * Options. - */ -export type RequireJsdocOptions = [RequireJsdocOption?]; - -/** - * Require JSDoc comments. - * - * @deprecated - * - * @see [require-jsdoc](https://eslint.org/docs/latest/rules/require-jsdoc) - */ -export type RequireJsdocRuleConfig = RuleConfig; - -/** - * Require JSDoc comments. - * - * @deprecated - * - * @see [require-jsdoc](https://eslint.org/docs/latest/rules/require-jsdoc) - */ -export interface RequireJsdocRule { - /** - * Require JSDoc comments. - * - * @deprecated - * - * @see [require-jsdoc](https://eslint.org/docs/latest/rules/require-jsdoc) - */ - 'require-jsdoc': RequireJsdocRuleConfig; -} +export type RequireJsdocRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/require-unicode-regexp.d.ts b/src/rules/eslint/require-unicode-regexp.d.ts index 0b32a1f2..a4d344e3 100644 --- a/src/rules/eslint/require-unicode-regexp.d.ts +++ b/src/rules/eslint/require-unicode-regexp.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforce the use of `u` or `v` flag on RegExp. - * - * @see [require-unicode-regexp](https://eslint.org/docs/latest/rules/require-unicode-regexp) - */ -export type RequireUnicodeRegexpRuleConfig = RuleConfig<[]>; - -/** - * Enforce the use of `u` or `v` flag on RegExp. - * - * @see [require-unicode-regexp](https://eslint.org/docs/latest/rules/require-unicode-regexp) - */ -export interface RequireUnicodeRegexpRule { - /** - * Enforce the use of `u` or `v` flag on RegExp. - * - * @see [require-unicode-regexp](https://eslint.org/docs/latest/rules/require-unicode-regexp) - */ - 'require-unicode-regexp': RequireUnicodeRegexpRuleConfig; -} +export type RequireUnicodeRegexpRuleOptions = []; diff --git a/src/rules/eslint/require-yield.d.ts b/src/rules/eslint/require-yield.d.ts index e3f02f88..edf37024 100644 --- a/src/rules/eslint/require-yield.d.ts +++ b/src/rules/eslint/require-yield.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require generator functions to contain `yield`. - * - * @see [require-yield](https://eslint.org/docs/latest/rules/require-yield) - */ -export type RequireYieldRuleConfig = RuleConfig<[]>; - -/** - * Require generator functions to contain `yield`. - * - * @see [require-yield](https://eslint.org/docs/latest/rules/require-yield) - */ -export interface RequireYieldRule { - /** - * Require generator functions to contain `yield`. - * - * @see [require-yield](https://eslint.org/docs/latest/rules/require-yield) - */ - 'require-yield': RequireYieldRuleConfig; -} +export type RequireYieldRuleOptions = []; diff --git a/src/rules/eslint/rest-spread-spacing.d.ts b/src/rules/eslint/rest-spread-spacing.d.ts index 6f3d84d8..6af1ee09 100644 --- a/src/rules/eslint/rest-spread-spacing.d.ts +++ b/src/rules/eslint/rest-spread-spacing.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Option. - */ -export type RestSpreadSpacingOption = 'always' | 'never'; - -/** - * Options. - */ -export type RestSpreadSpacingOptions = [RestSpreadSpacingOption?]; - -/** - * Enforce spacing between rest and spread operators and their expressions. - * - * @see [rest-spread-spacing](https://eslint.org/docs/latest/rules/rest-spread-spacing) - */ -export type RestSpreadSpacingRuleConfig = RuleConfig; - -/** - * Enforce spacing between rest and spread operators and their expressions. - * - * @see [rest-spread-spacing](https://eslint.org/docs/latest/rules/rest-spread-spacing) - */ -export interface RestSpreadSpacingRule { - /** - * Enforce spacing between rest and spread operators and their expressions. - * - * @see [rest-spread-spacing](https://eslint.org/docs/latest/rules/rest-spread-spacing) - */ - 'rest-spread-spacing': RestSpreadSpacingRuleConfig; -} +export type RestSpreadSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/semi-spacing.d.ts b/src/rules/eslint/semi-spacing.d.ts index 9f7ce2c1..76889561 100644 --- a/src/rules/eslint/semi-spacing.d.ts +++ b/src/rules/eslint/semi-spacing.d.ts @@ -1,35 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface SemiSpacingOption { +export interface Schema0 { before?: boolean; after?: boolean; } -/** - * Options. - */ -export type SemiSpacingOptions = [SemiSpacingOption?]; - -/** - * Enforce consistent spacing before and after semicolons. - * - * @see [semi-spacing](https://eslint.org/docs/latest/rules/semi-spacing) - */ -export type SemiSpacingRuleConfig = RuleConfig; - -/** - * Enforce consistent spacing before and after semicolons. - * - * @see [semi-spacing](https://eslint.org/docs/latest/rules/semi-spacing) - */ -export interface SemiSpacingRule { - /** - * Enforce consistent spacing before and after semicolons. - * - * @see [semi-spacing](https://eslint.org/docs/latest/rules/semi-spacing) - */ - 'semi-spacing': SemiSpacingRuleConfig; -} +export type SemiSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/semi-style.d.ts b/src/rules/eslint/semi-style.d.ts index c934e244..41738a0a 100644 --- a/src/rules/eslint/semi-style.d.ts +++ b/src/rules/eslint/semi-style.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'last' | 'first'; -/** - * Option. - */ -export type SemiStyleOption = 'last' | 'first'; - -/** - * Options. - */ -export type SemiStyleOptions = [SemiStyleOption?]; - -/** - * Enforce location of semicolons. - * - * @see [semi-style](https://eslint.org/docs/latest/rules/semi-style) - */ -export type SemiStyleRuleConfig = RuleConfig; - -/** - * Enforce location of semicolons. - * - * @see [semi-style](https://eslint.org/docs/latest/rules/semi-style) - */ -export interface SemiStyleRule { - /** - * Enforce location of semicolons. - * - * @see [semi-style](https://eslint.org/docs/latest/rules/semi-style) - */ - 'semi-style': SemiStyleRuleConfig; -} +export type SemiStyleRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/semi.d.ts b/src/rules/eslint/semi.d.ts index de77d326..b8fb9838 100644 --- a/src/rules/eslint/semi.d.ts +++ b/src/rules/eslint/semi.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type SemiOption = +export type Schema0 = | [] | ['never'] | [ @@ -22,28 +17,4 @@ export type SemiOption = }, ]; -/** - * Options. - */ -export type SemiOptions = SemiOption; - -/** - * Require or disallow semicolons instead of ASI. - * - * @see [semi](https://eslint.org/docs/latest/rules/semi) - */ -export type SemiRuleConfig = RuleConfig; - -/** - * Require or disallow semicolons instead of ASI. - * - * @see [semi](https://eslint.org/docs/latest/rules/semi) - */ -export interface SemiRule { - /** - * Require or disallow semicolons instead of ASI. - * - * @see [semi](https://eslint.org/docs/latest/rules/semi) - */ - semi: SemiRuleConfig; -} +export type SemiRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/sort-imports.d.ts b/src/rules/eslint/sort-imports.d.ts index 77d76150..d26fa0c1 100644 --- a/src/rules/eslint/sort-imports.d.ts +++ b/src/rules/eslint/sort-imports.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface SortImportsOption { +export interface Schema0 { ignoreCase?: boolean; /** * @minItems 4 @@ -20,28 +15,4 @@ export interface SortImportsOption { allowSeparatedGroups?: boolean; } -/** - * Options. - */ -export type SortImportsOptions = [SortImportsOption?]; - -/** - * Enforce sorted import declarations within modules. - * - * @see [sort-imports](https://eslint.org/docs/latest/rules/sort-imports) - */ -export type SortImportsRuleConfig = RuleConfig; - -/** - * Enforce sorted import declarations within modules. - * - * @see [sort-imports](https://eslint.org/docs/latest/rules/sort-imports) - */ -export interface SortImportsRule { - /** - * Enforce sorted import declarations within modules. - * - * @see [sort-imports](https://eslint.org/docs/latest/rules/sort-imports) - */ - 'sort-imports': SortImportsRuleConfig; -} +export type SortImportsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/sort-keys.d.ts b/src/rules/eslint/sort-keys.d.ts index 220caaa3..83d9a4ba 100644 --- a/src/rules/eslint/sort-keys.d.ts +++ b/src/rules/eslint/sort-keys.d.ts @@ -1,42 +1,10 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'asc' | 'desc'; -/** - * Config. - */ -export interface SortKeysConfig { +export interface Schema1 { caseSensitive?: boolean; natural?: boolean; minKeys?: number; allowLineSeparatedGroups?: boolean; } -/** - * Option. - */ -export type SortKeysOption = 'asc' | 'desc'; - -/** - * Options. - */ -export type SortKeysOptions = [SortKeysOption?, SortKeysConfig?]; - -/** - * Require object keys to be sorted. - * - * @see [sort-keys](https://eslint.org/docs/latest/rules/sort-keys) - */ -export type SortKeysRuleConfig = RuleConfig; - -/** - * Require object keys to be sorted. - * - * @see [sort-keys](https://eslint.org/docs/latest/rules/sort-keys) - */ -export interface SortKeysRule { - /** - * Require object keys to be sorted. - * - * @see [sort-keys](https://eslint.org/docs/latest/rules/sort-keys) - */ - 'sort-keys': SortKeysRuleConfig; -} +export type SortKeysRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/sort-vars.d.ts b/src/rules/eslint/sort-vars.d.ts index 2835e95b..2f927f22 100644 --- a/src/rules/eslint/sort-vars.d.ts +++ b/src/rules/eslint/sort-vars.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface SortVarsOption { +export interface Schema0 { ignoreCase?: boolean; } -/** - * Options. - */ -export type SortVarsOptions = [SortVarsOption?]; - -/** - * Require variables within the same declaration block to be sorted. - * - * @see [sort-vars](https://eslint.org/docs/latest/rules/sort-vars) - */ -export type SortVarsRuleConfig = RuleConfig; - -/** - * Require variables within the same declaration block to be sorted. - * - * @see [sort-vars](https://eslint.org/docs/latest/rules/sort-vars) - */ -export interface SortVarsRule { - /** - * Require variables within the same declaration block to be sorted. - * - * @see [sort-vars](https://eslint.org/docs/latest/rules/sort-vars) - */ - 'sort-vars': SortVarsRuleConfig; -} +export type SortVarsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/space-before-blocks.d.ts b/src/rules/eslint/space-before-blocks.d.ts index d9e4e838..f6a18036 100644 --- a/src/rules/eslint/space-before-blocks.d.ts +++ b/src/rules/eslint/space-before-blocks.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type SpaceBeforeBlocksOption = +export type Schema0 = | ('always' | 'never') | { keywords?: 'always' | 'never' | 'off'; @@ -11,28 +6,4 @@ export type SpaceBeforeBlocksOption = classes?: 'always' | 'never' | 'off'; }; -/** - * Options. - */ -export type SpaceBeforeBlocksOptions = [SpaceBeforeBlocksOption?]; - -/** - * Enforce consistent spacing before blocks. - * - * @see [space-before-blocks](https://eslint.org/docs/latest/rules/space-before-blocks) - */ -export type SpaceBeforeBlocksRuleConfig = RuleConfig; - -/** - * Enforce consistent spacing before blocks. - * - * @see [space-before-blocks](https://eslint.org/docs/latest/rules/space-before-blocks) - */ -export interface SpaceBeforeBlocksRule { - /** - * Enforce consistent spacing before blocks. - * - * @see [space-before-blocks](https://eslint.org/docs/latest/rules/space-before-blocks) - */ - 'space-before-blocks': SpaceBeforeBlocksRuleConfig; -} +export type SpaceBeforeBlocksRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/space-before-function-paren.d.ts b/src/rules/eslint/space-before-function-paren.d.ts index 0e80d011..7332b1bd 100644 --- a/src/rules/eslint/space-before-function-paren.d.ts +++ b/src/rules/eslint/space-before-function-paren.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type SpaceBeforeFunctionParenOption = +export type Schema0 = | ('always' | 'never') | { anonymous?: 'always' | 'never' | 'ignore'; @@ -11,29 +6,4 @@ export type SpaceBeforeFunctionParenOption = asyncArrow?: 'always' | 'never' | 'ignore'; }; -/** - * Options. - */ -export type SpaceBeforeFunctionParenOptions = [SpaceBeforeFunctionParenOption?]; - -/** - * Enforce consistent spacing before `function` definition opening parenthesis. - * - * @see [space-before-function-paren](https://eslint.org/docs/latest/rules/space-before-function-paren) - */ -export type SpaceBeforeFunctionParenRuleConfig = - RuleConfig; - -/** - * Enforce consistent spacing before `function` definition opening parenthesis. - * - * @see [space-before-function-paren](https://eslint.org/docs/latest/rules/space-before-function-paren) - */ -export interface SpaceBeforeFunctionParenRule { - /** - * Enforce consistent spacing before `function` definition opening parenthesis. - * - * @see [space-before-function-paren](https://eslint.org/docs/latest/rules/space-before-function-paren) - */ - 'space-before-function-paren': SpaceBeforeFunctionParenRuleConfig; -} +export type SpaceBeforeFunctionParenRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/space-in-parens.d.ts b/src/rules/eslint/space-in-parens.d.ts index eba664aa..6a817f66 100644 --- a/src/rules/eslint/space-in-parens.d.ts +++ b/src/rules/eslint/space-in-parens.d.ts @@ -1,39 +1,7 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Config. - */ -export interface SpaceInParensConfig { +export interface Schema1 { exceptions?: ('{}' | '[]' | '()' | 'empty')[]; } -/** - * Option. - */ -export type SpaceInParensOption = 'always' | 'never'; - -/** - * Options. - */ -export type SpaceInParensOptions = [SpaceInParensOption?, SpaceInParensConfig?]; - -/** - * Enforce consistent spacing inside parentheses. - * - * @see [space-in-parens](https://eslint.org/docs/latest/rules/space-in-parens) - */ -export type SpaceInParensRuleConfig = RuleConfig; - -/** - * Enforce consistent spacing inside parentheses. - * - * @see [space-in-parens](https://eslint.org/docs/latest/rules/space-in-parens) - */ -export interface SpaceInParensRule { - /** - * Enforce consistent spacing inside parentheses. - * - * @see [space-in-parens](https://eslint.org/docs/latest/rules/space-in-parens) - */ - 'space-in-parens': SpaceInParensRuleConfig; -} +export type SpaceInParensRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/space-infix-ops.d.ts b/src/rules/eslint/space-infix-ops.d.ts index 2d1da3a4..59ab4f07 100644 --- a/src/rules/eslint/space-infix-ops.d.ts +++ b/src/rules/eslint/space-infix-ops.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface SpaceInfixOpsOption { +export interface Schema0 { int32Hint?: boolean; } -/** - * Options. - */ -export type SpaceInfixOpsOptions = [SpaceInfixOpsOption?]; - -/** - * Require spacing around infix operators. - * - * @see [space-infix-ops](https://eslint.org/docs/latest/rules/space-infix-ops) - */ -export type SpaceInfixOpsRuleConfig = RuleConfig; - -/** - * Require spacing around infix operators. - * - * @see [space-infix-ops](https://eslint.org/docs/latest/rules/space-infix-ops) - */ -export interface SpaceInfixOpsRule { - /** - * Require spacing around infix operators. - * - * @see [space-infix-ops](https://eslint.org/docs/latest/rules/space-infix-ops) - */ - 'space-infix-ops': SpaceInfixOpsRuleConfig; -} +export type SpaceInfixOpsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/space-unary-ops.d.ts b/src/rules/eslint/space-unary-ops.d.ts index 31f448b9..06717165 100644 --- a/src/rules/eslint/space-unary-ops.d.ts +++ b/src/rules/eslint/space-unary-ops.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface SpaceUnaryOpsOption { +export interface Schema0 { words?: boolean; nonwords?: boolean; overrides?: { @@ -11,28 +6,4 @@ export interface SpaceUnaryOpsOption { }; } -/** - * Options. - */ -export type SpaceUnaryOpsOptions = [SpaceUnaryOpsOption?]; - -/** - * Enforce consistent spacing before or after unary operators. - * - * @see [space-unary-ops](https://eslint.org/docs/latest/rules/space-unary-ops) - */ -export type SpaceUnaryOpsRuleConfig = RuleConfig; - -/** - * Enforce consistent spacing before or after unary operators. - * - * @see [space-unary-ops](https://eslint.org/docs/latest/rules/space-unary-ops) - */ -export interface SpaceUnaryOpsRule { - /** - * Enforce consistent spacing before or after unary operators. - * - * @see [space-unary-ops](https://eslint.org/docs/latest/rules/space-unary-ops) - */ - 'space-unary-ops': SpaceUnaryOpsRuleConfig; -} +export type SpaceUnaryOpsRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/spaced-comment.d.ts b/src/rules/eslint/spaced-comment.d.ts index fc80c6ff..8643a344 100644 --- a/src/rules/eslint/spaced-comment.d.ts +++ b/src/rules/eslint/spaced-comment.d.ts @@ -1,9 +1,6 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Config. - */ -export interface SpacedCommentConfig { +export interface Schema1 { exceptions?: string[]; markers?: string[]; line?: { @@ -17,33 +14,4 @@ export interface SpacedCommentConfig { }; } -/** - * Option. - */ -export type SpacedCommentOption = 'always' | 'never'; - -/** - * Options. - */ -export type SpacedCommentOptions = [SpacedCommentOption?, SpacedCommentConfig?]; - -/** - * Enforce consistent spacing after the `//` or `/*` in a comment. - * - * @see [spaced-comment](https://eslint.org/docs/latest/rules/spaced-comment) - */ -export type SpacedCommentRuleConfig = RuleConfig; - -/** - * Enforce consistent spacing after the `//` or `/*` in a comment. - * - * @see [spaced-comment](https://eslint.org/docs/latest/rules/spaced-comment) - */ -export interface SpacedCommentRule { - /** - * Enforce consistent spacing after the `//` or `/*` in a comment. - * - * @see [spaced-comment](https://eslint.org/docs/latest/rules/spaced-comment) - */ - 'spaced-comment': SpacedCommentRuleConfig; -} +export type SpacedCommentRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/strict.d.ts b/src/rules/eslint/strict.d.ts index a726f7ce..2cd2fa06 100644 --- a/src/rules/eslint/strict.d.ts +++ b/src/rules/eslint/strict.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'never' | 'global' | 'function' | 'safe'; -/** - * Option. - */ -export type StrictOption = 'never' | 'global' | 'function' | 'safe'; - -/** - * Options. - */ -export type StrictOptions = [StrictOption?]; - -/** - * Require or disallow strict mode directives. - * - * @see [strict](https://eslint.org/docs/latest/rules/strict) - */ -export type StrictRuleConfig = RuleConfig; - -/** - * Require or disallow strict mode directives. - * - * @see [strict](https://eslint.org/docs/latest/rules/strict) - */ -export interface StrictRule { - /** - * Require or disallow strict mode directives. - * - * @see [strict](https://eslint.org/docs/latest/rules/strict) - */ - strict: StrictRuleConfig; -} +export type StrictRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/switch-colon-spacing.d.ts b/src/rules/eslint/switch-colon-spacing.d.ts index 9d620f65..309bf6b2 100644 --- a/src/rules/eslint/switch-colon-spacing.d.ts +++ b/src/rules/eslint/switch-colon-spacing.d.ts @@ -1,36 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface SwitchColonSpacingOption { +export interface Schema0 { before?: boolean; after?: boolean; } -/** - * Options. - */ -export type SwitchColonSpacingOptions = [SwitchColonSpacingOption?]; - -/** - * Enforce spacing around colons of switch statements. - * - * @see [switch-colon-spacing](https://eslint.org/docs/latest/rules/switch-colon-spacing) - */ -export type SwitchColonSpacingRuleConfig = - RuleConfig; - -/** - * Enforce spacing around colons of switch statements. - * - * @see [switch-colon-spacing](https://eslint.org/docs/latest/rules/switch-colon-spacing) - */ -export interface SwitchColonSpacingRule { - /** - * Enforce spacing around colons of switch statements. - * - * @see [switch-colon-spacing](https://eslint.org/docs/latest/rules/switch-colon-spacing) - */ - 'switch-colon-spacing': SwitchColonSpacingRuleConfig; -} +export type SwitchColonSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/symbol-description.d.ts b/src/rules/eslint/symbol-description.d.ts index 317b1790..83d120e5 100644 --- a/src/rules/eslint/symbol-description.d.ts +++ b/src/rules/eslint/symbol-description.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require symbol descriptions. - * - * @see [symbol-description](https://eslint.org/docs/latest/rules/symbol-description) - */ -export type SymbolDescriptionRuleConfig = RuleConfig<[]>; - -/** - * Require symbol descriptions. - * - * @see [symbol-description](https://eslint.org/docs/latest/rules/symbol-description) - */ -export interface SymbolDescriptionRule { - /** - * Require symbol descriptions. - * - * @see [symbol-description](https://eslint.org/docs/latest/rules/symbol-description) - */ - 'symbol-description': SymbolDescriptionRuleConfig; -} +export type SymbolDescriptionRuleOptions = []; diff --git a/src/rules/eslint/template-curly-spacing.d.ts b/src/rules/eslint/template-curly-spacing.d.ts index 5607002d..bb042918 100644 --- a/src/rules/eslint/template-curly-spacing.d.ts +++ b/src/rules/eslint/template-curly-spacing.d.ts @@ -1,33 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Option. - */ -export type TemplateCurlySpacingOption = 'always' | 'never'; - -/** - * Options. - */ -export type TemplateCurlySpacingOptions = [TemplateCurlySpacingOption?]; - -/** - * Require or disallow spacing around embedded expressions of template strings. - * - * @see [template-curly-spacing](https://eslint.org/docs/latest/rules/template-curly-spacing) - */ -export type TemplateCurlySpacingRuleConfig = - RuleConfig; - -/** - * Require or disallow spacing around embedded expressions of template strings. - * - * @see [template-curly-spacing](https://eslint.org/docs/latest/rules/template-curly-spacing) - */ -export interface TemplateCurlySpacingRule { - /** - * Require or disallow spacing around embedded expressions of template strings. - * - * @see [template-curly-spacing](https://eslint.org/docs/latest/rules/template-curly-spacing) - */ - 'template-curly-spacing': TemplateCurlySpacingRuleConfig; -} +export type TemplateCurlySpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/template-tag-spacing.d.ts b/src/rules/eslint/template-tag-spacing.d.ts index bda785b9..c4cae4c5 100644 --- a/src/rules/eslint/template-tag-spacing.d.ts +++ b/src/rules/eslint/template-tag-spacing.d.ts @@ -1,33 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Option. - */ -export type TemplateTagSpacingOption = 'always' | 'never'; - -/** - * Options. - */ -export type TemplateTagSpacingOptions = [TemplateTagSpacingOption?]; - -/** - * Require or disallow spacing between template tags and their literals. - * - * @see [template-tag-spacing](https://eslint.org/docs/latest/rules/template-tag-spacing) - */ -export type TemplateTagSpacingRuleConfig = - RuleConfig; - -/** - * Require or disallow spacing between template tags and their literals. - * - * @see [template-tag-spacing](https://eslint.org/docs/latest/rules/template-tag-spacing) - */ -export interface TemplateTagSpacingRule { - /** - * Require or disallow spacing between template tags and their literals. - * - * @see [template-tag-spacing](https://eslint.org/docs/latest/rules/template-tag-spacing) - */ - 'template-tag-spacing': TemplateTagSpacingRuleConfig; -} +export type TemplateTagSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/unicode-bom.d.ts b/src/rules/eslint/unicode-bom.d.ts index cc48d08b..1138eae8 100644 --- a/src/rules/eslint/unicode-bom.d.ts +++ b/src/rules/eslint/unicode-bom.d.ts @@ -1,32 +1,3 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Option. - */ -export type UnicodeBomOption = 'always' | 'never'; - -/** - * Options. - */ -export type UnicodeBomOptions = [UnicodeBomOption?]; - -/** - * Require or disallow Unicode byte order mark (BOM). - * - * @see [unicode-bom](https://eslint.org/docs/latest/rules/unicode-bom) - */ -export type UnicodeBomRuleConfig = RuleConfig; - -/** - * Require or disallow Unicode byte order mark (BOM). - * - * @see [unicode-bom](https://eslint.org/docs/latest/rules/unicode-bom) - */ -export interface UnicodeBomRule { - /** - * Require or disallow Unicode byte order mark (BOM). - * - * @see [unicode-bom](https://eslint.org/docs/latest/rules/unicode-bom) - */ - 'unicode-bom': UnicodeBomRuleConfig; -} +export type UnicodeBomRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/use-isnan.d.ts b/src/rules/eslint/use-isnan.d.ts index 581be8c6..6e988998 100644 --- a/src/rules/eslint/use-isnan.d.ts +++ b/src/rules/eslint/use-isnan.d.ts @@ -1,35 +1,6 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface UseIsnanOption { +export interface Schema0 { enforceForSwitchCase?: boolean; enforceForIndexOf?: boolean; } -/** - * Options. - */ -export type UseIsnanOptions = [UseIsnanOption?]; - -/** - * Require calls to `isNaN()` when checking for `NaN`. - * - * @see [use-isnan](https://eslint.org/docs/latest/rules/use-isnan) - */ -export type UseIsnanRuleConfig = RuleConfig; - -/** - * Require calls to `isNaN()` when checking for `NaN`. - * - * @see [use-isnan](https://eslint.org/docs/latest/rules/use-isnan) - */ -export interface UseIsnanRule { - /** - * Require calls to `isNaN()` when checking for `NaN`. - * - * @see [use-isnan](https://eslint.org/docs/latest/rules/use-isnan) - */ - 'use-isnan': UseIsnanRuleConfig; -} +export type UseIsnanRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/valid-jsdoc.d.ts b/src/rules/eslint/valid-jsdoc.d.ts index 423629e1..944be7a8 100644 --- a/src/rules/eslint/valid-jsdoc.d.ts +++ b/src/rules/eslint/valid-jsdoc.d.ts @@ -1,9 +1,4 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ValidJsdocOption { +export interface Schema0 { prefer?: { [k: string]: string; }; @@ -18,34 +13,4 @@ export interface ValidJsdocOption { requireParamType?: boolean; } -/** - * Options. - */ -export type ValidJsdocOptions = [ValidJsdocOption?]; - -/** - * Enforce valid JSDoc comments. - * - * @deprecated - * - * @see [valid-jsdoc](https://eslint.org/docs/latest/rules/valid-jsdoc) - */ -export type ValidJsdocRuleConfig = RuleConfig; - -/** - * Enforce valid JSDoc comments. - * - * @deprecated - * - * @see [valid-jsdoc](https://eslint.org/docs/latest/rules/valid-jsdoc) - */ -export interface ValidJsdocRule { - /** - * Enforce valid JSDoc comments. - * - * @deprecated - * - * @see [valid-jsdoc](https://eslint.org/docs/latest/rules/valid-jsdoc) - */ - 'valid-jsdoc': ValidJsdocRuleConfig; -} +export type ValidJsdocRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/valid-typeof.d.ts b/src/rules/eslint/valid-typeof.d.ts index 6cfc9914..a4f27f48 100644 --- a/src/rules/eslint/valid-typeof.d.ts +++ b/src/rules/eslint/valid-typeof.d.ts @@ -1,34 +1,5 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ValidTypeofOption { +export interface Schema0 { requireStringLiterals?: boolean; } -/** - * Options. - */ -export type ValidTypeofOptions = [ValidTypeofOption?]; - -/** - * Enforce comparing `typeof` expressions against valid strings. - * - * @see [valid-typeof](https://eslint.org/docs/latest/rules/valid-typeof) - */ -export type ValidTypeofRuleConfig = RuleConfig; - -/** - * Enforce comparing `typeof` expressions against valid strings. - * - * @see [valid-typeof](https://eslint.org/docs/latest/rules/valid-typeof) - */ -export interface ValidTypeofRule { - /** - * Enforce comparing `typeof` expressions against valid strings. - * - * @see [valid-typeof](https://eslint.org/docs/latest/rules/valid-typeof) - */ - 'valid-typeof': ValidTypeofRuleConfig; -} +export type ValidTypeofRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/vars-on-top.d.ts b/src/rules/eslint/vars-on-top.d.ts index 6a536b19..3ab945cc 100644 --- a/src/rules/eslint/vars-on-top.d.ts +++ b/src/rules/eslint/vars-on-top.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require `var` declarations be placed at the top of their containing scope. - * - * @see [vars-on-top](https://eslint.org/docs/latest/rules/vars-on-top) - */ -export type VarsOnTopRuleConfig = RuleConfig<[]>; - -/** - * Require `var` declarations be placed at the top of their containing scope. - * - * @see [vars-on-top](https://eslint.org/docs/latest/rules/vars-on-top) - */ -export interface VarsOnTopRule { - /** - * Require `var` declarations be placed at the top of their containing scope. - * - * @see [vars-on-top](https://eslint.org/docs/latest/rules/vars-on-top) - */ - 'vars-on-top': VarsOnTopRuleConfig; -} +export type VarsOnTopRuleOptions = []; diff --git a/src/rules/eslint/wrap-iife.d.ts b/src/rules/eslint/wrap-iife.d.ts index 0fc0f2ac..1cb82972 100644 --- a/src/rules/eslint/wrap-iife.d.ts +++ b/src/rules/eslint/wrap-iife.d.ts @@ -1,39 +1,7 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'outside' | 'inside' | 'any'; -/** - * Config. - */ -export interface WrapIifeConfig { +export interface Schema1 { functionPrototypeMethods?: boolean; } -/** - * Option. - */ -export type WrapIifeOption = 'outside' | 'inside' | 'any'; - -/** - * Options. - */ -export type WrapIifeOptions = [WrapIifeOption?, WrapIifeConfig?]; - -/** - * Require parentheses around immediate `function` invocations. - * - * @see [wrap-iife](https://eslint.org/docs/latest/rules/wrap-iife) - */ -export type WrapIifeRuleConfig = RuleConfig; - -/** - * Require parentheses around immediate `function` invocations. - * - * @see [wrap-iife](https://eslint.org/docs/latest/rules/wrap-iife) - */ -export interface WrapIifeRule { - /** - * Require parentheses around immediate `function` invocations. - * - * @see [wrap-iife](https://eslint.org/docs/latest/rules/wrap-iife) - */ - 'wrap-iife': WrapIifeRuleConfig; -} +export type WrapIifeRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/eslint/wrap-regex.d.ts b/src/rules/eslint/wrap-regex.d.ts index fea1055c..5f4b10d0 100644 --- a/src/rules/eslint/wrap-regex.d.ts +++ b/src/rules/eslint/wrap-regex.d.ts @@ -1,22 +1 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require parenthesis around regex literals. - * - * @see [wrap-regex](https://eslint.org/docs/latest/rules/wrap-regex) - */ -export type WrapRegexRuleConfig = RuleConfig<[]>; - -/** - * Require parenthesis around regex literals. - * - * @see [wrap-regex](https://eslint.org/docs/latest/rules/wrap-regex) - */ -export interface WrapRegexRule { - /** - * Require parenthesis around regex literals. - * - * @see [wrap-regex](https://eslint.org/docs/latest/rules/wrap-regex) - */ - 'wrap-regex': WrapRegexRuleConfig; -} +export type WrapRegexRuleOptions = []; diff --git a/src/rules/eslint/yield-star-spacing.d.ts b/src/rules/eslint/yield-star-spacing.d.ts index 6140924d..a202a315 100644 --- a/src/rules/eslint/yield-star-spacing.d.ts +++ b/src/rules/eslint/yield-star-spacing.d.ts @@ -1,37 +1,8 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type YieldStarSpacingOption = +export type Schema0 = | ('before' | 'after' | 'both' | 'neither') | { before?: boolean; after?: boolean; }; -/** - * Options. - */ -export type YieldStarSpacingOptions = [YieldStarSpacingOption?]; - -/** - * Require or disallow spacing around the `*` in `yield*` expressions. - * - * @see [yield-star-spacing](https://eslint.org/docs/latest/rules/yield-star-spacing) - */ -export type YieldStarSpacingRuleConfig = RuleConfig; - -/** - * Require or disallow spacing around the `*` in `yield*` expressions. - * - * @see [yield-star-spacing](https://eslint.org/docs/latest/rules/yield-star-spacing) - */ -export interface YieldStarSpacingRule { - /** - * Require or disallow spacing around the `*` in `yield*` expressions. - * - * @see [yield-star-spacing](https://eslint.org/docs/latest/rules/yield-star-spacing) - */ - 'yield-star-spacing': YieldStarSpacingRuleConfig; -} +export type YieldStarSpacingRuleOptions = [Schema0?]; diff --git a/src/rules/eslint/yoda.d.ts b/src/rules/eslint/yoda.d.ts index 31f15be7..52db5263 100644 --- a/src/rules/eslint/yoda.d.ts +++ b/src/rules/eslint/yoda.d.ts @@ -1,40 +1,8 @@ -import type { RuleConfig } from '../rule-config'; +export type Schema0 = 'always' | 'never'; -/** - * Config. - */ -export interface YodaConfig { +export interface Schema1 { exceptRange?: boolean; onlyEquality?: boolean; } -/** - * Option. - */ -export type YodaOption = 'always' | 'never'; - -/** - * Options. - */ -export type YodaOptions = [YodaOption?, YodaConfig?]; - -/** - * Require or disallow "Yoda" conditions. - * - * @see [yoda](https://eslint.org/docs/latest/rules/yoda) - */ -export type YodaRuleConfig = RuleConfig; - -/** - * Require or disallow "Yoda" conditions. - * - * @see [yoda](https://eslint.org/docs/latest/rules/yoda) - */ -export interface YodaRule { - /** - * Require or disallow "Yoda" conditions. - * - * @see [yoda](https://eslint.org/docs/latest/rules/yoda) - */ - yoda: YodaRuleConfig; -} +export type YodaRuleOptions = [Schema0?, Schema1?]; diff --git a/src/rules/graphql-eslint/alphabetize.d.ts b/src/rules/graphql-eslint/alphabetize.d.ts deleted file mode 100644 index ec26984b..00000000 --- a/src/rules/graphql-eslint/alphabetize.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @minItems 1 - * @maxItems 1 - */ -export type AlphabetizeOption = [ - { - /** - * Fields of `type`, `interface`, and `input`. - * - * @minItems 1 - */ - fields?: [ - ( - | 'ObjectTypeDefinition' - | 'InterfaceTypeDefinition' - | 'InputObjectTypeDefinition' - ), - ...( - | 'ObjectTypeDefinition' - | 'InterfaceTypeDefinition' - | 'InputObjectTypeDefinition' - )[], - ]; - /** - * Values of `enum`. - * - * @minItems 1 - */ - values?: ['EnumTypeDefinition', ...'EnumTypeDefinition'[]]; - /** - * Selections of `fragment` and operations `query`, `mutation` and `subscription`. - * - * @minItems 1 - */ - selections?: [ - 'OperationDefinition' | 'FragmentDefinition', - ...('OperationDefinition' | 'FragmentDefinition')[], - ]; - /** - * Variables of operations `query`, `mutation` and `subscription`. - * - * @minItems 1 - */ - variables?: ['OperationDefinition', ...'OperationDefinition'[]]; - /** - * Arguments of fields and directives. - * - * @minItems 1 - */ - arguments?: [ - 'FieldDefinition' | 'Field' | 'DirectiveDefinition' | 'Directive', - ...('FieldDefinition' | 'Field' | 'DirectiveDefinition' | 'Directive')[], - ]; - /** - * Definitions – `type`, `interface`, `enum`, `scalar`, `input`, `union` and `directive`. - */ - definitions?: boolean; - /** - * Custom order group. Example: `['id', '*', 'createdAt', 'updatedAt']` where `*` says for everything else. - * - * @minItems 2 - */ - groups?: [string, string, ...string[]]; - }, -]; - -/** - * Options. - */ -export type AlphabetizeOptions = AlphabetizeOption; - -/** - * Enforce arrange in alphabetical order for type fields, enum values, input object fields, operation selections and more. - * - * @see [alphabetize](https://the-guild.dev/graphql/eslint/rules/alphabetize) - */ -export type AlphabetizeRuleConfig = RuleConfig; - -/** - * Enforce arrange in alphabetical order for type fields, enum values, input object fields, operation selections and more. - * - * @see [alphabetize](https://the-guild.dev/graphql/eslint/rules/alphabetize) - */ -export interface AlphabetizeRule { - /** - * Enforce arrange in alphabetical order for type fields, enum values, input object fields, operation selections and more. - * - * @see [alphabetize](https://the-guild.dev/graphql/eslint/rules/alphabetize) - */ - '@graphql-eslint/alphabetize': AlphabetizeRuleConfig; -} diff --git a/src/rules/graphql-eslint/description-style.d.ts b/src/rules/graphql-eslint/description-style.d.ts deleted file mode 100644 index 1cd29ec8..00000000 --- a/src/rules/graphql-eslint/description-style.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @maxItems 1 - */ -export type DescriptionStyleOption = - | [] - | [ - { - style?: 'block' | 'inline'; - }, - ]; - -/** - * Options. - */ -export type DescriptionStyleOptions = DescriptionStyleOption; - -/** - * Require all comments to follow the same style (either block or inline). - * - * @see [description-style](https://the-guild.dev/graphql/eslint/rules/description-style) - */ -export type DescriptionStyleRuleConfig = RuleConfig; - -/** - * Require all comments to follow the same style (either block or inline). - * - * @see [description-style](https://the-guild.dev/graphql/eslint/rules/description-style) - */ -export interface DescriptionStyleRule { - /** - * Require all comments to follow the same style (either block or inline). - * - * @see [description-style](https://the-guild.dev/graphql/eslint/rules/description-style) - */ - '@graphql-eslint/description-style': DescriptionStyleRuleConfig; -} diff --git a/src/rules/graphql-eslint/executable-definitions.d.ts b/src/rules/graphql-eslint/executable-definitions.d.ts deleted file mode 100644 index d66b2fce..00000000 --- a/src/rules/graphql-eslint/executable-definitions.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid for execution if all definitions are either operation or fragment definitions. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [executable-definitions](https://the-guild.dev/graphql/eslint/rules/executable-definitions) - */ -export type ExecutableDefinitionsRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid for execution if all definitions are either operation or fragment definitions. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [executable-definitions](https://the-guild.dev/graphql/eslint/rules/executable-definitions) - */ -export interface ExecutableDefinitionsRule { - /** - * A GraphQL document is only valid for execution if all definitions are either operation or fragment definitions. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [executable-definitions](https://the-guild.dev/graphql/eslint/rules/executable-definitions) - */ - '@graphql-eslint/executable-definitions': ExecutableDefinitionsRuleConfig; -} diff --git a/src/rules/graphql-eslint/fields-on-correct-type.d.ts b/src/rules/graphql-eslint/fields-on-correct-type.d.ts deleted file mode 100644 index bc22d1fc..00000000 --- a/src/rules/graphql-eslint/fields-on-correct-type.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid if all fields selected are defined by the parent type, or are an allowed meta field such as `__typename`. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [fields-on-correct-type](https://the-guild.dev/graphql/eslint/rules/fields-on-correct-type) - */ -export type FieldsOnCorrectTypeRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid if all fields selected are defined by the parent type, or are an allowed meta field such as `__typename`. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [fields-on-correct-type](https://the-guild.dev/graphql/eslint/rules/fields-on-correct-type) - */ -export interface FieldsOnCorrectTypeRule { - /** - * A GraphQL document is only valid if all fields selected are defined by the parent type, or are an allowed meta field such as `__typename`. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [fields-on-correct-type](https://the-guild.dev/graphql/eslint/rules/fields-on-correct-type) - */ - '@graphql-eslint/fields-on-correct-type': FieldsOnCorrectTypeRuleConfig; -} diff --git a/src/rules/graphql-eslint/fragments-on-composite-type.d.ts b/src/rules/graphql-eslint/fragments-on-composite-type.d.ts deleted file mode 100644 index c20be261..00000000 --- a/src/rules/graphql-eslint/fragments-on-composite-type.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Fragments use a type condition to determine if they apply, since fragments can only be spread into a composite type (object, interface, or union), the type condition must also be a composite type. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [fragments-on-composite-type](https://the-guild.dev/graphql/eslint/rules/fragments-on-composite-type) - */ -export type FragmentsOnCompositeTypeRuleConfig = RuleConfig<[]>; - -/** - * Fragments use a type condition to determine if they apply, since fragments can only be spread into a composite type (object, interface, or union), the type condition must also be a composite type. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [fragments-on-composite-type](https://the-guild.dev/graphql/eslint/rules/fragments-on-composite-type) - */ -export interface FragmentsOnCompositeTypeRule { - /** - * Fragments use a type condition to determine if they apply, since fragments can only be spread into a composite type (object, interface, or union), the type condition must also be a composite type. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [fragments-on-composite-type](https://the-guild.dev/graphql/eslint/rules/fragments-on-composite-type) - */ - '@graphql-eslint/fragments-on-composite-type': FragmentsOnCompositeTypeRuleConfig; -} diff --git a/src/rules/graphql-eslint/index.d.ts b/src/rules/graphql-eslint/index.d.ts deleted file mode 100644 index 90077c19..00000000 --- a/src/rules/graphql-eslint/index.d.ts +++ /dev/null @@ -1,134 +0,0 @@ -import type { AlphabetizeRule } from './alphabetize'; -import type { DescriptionStyleRule } from './description-style'; -import type { ExecutableDefinitionsRule } from './executable-definitions'; -import type { FieldsOnCorrectTypeRule } from './fields-on-correct-type'; -import type { FragmentsOnCompositeTypeRule } from './fragments-on-composite-type'; -import type { InputNameRule } from './input-name'; -import type { KnownArgumentNamesRule } from './known-argument-names'; -import type { KnownDirectivesRule } from './known-directives'; -import type { KnownFragmentNamesRule } from './known-fragment-names'; -import type { KnownTypeNamesRule } from './known-type-names'; -import type { LoneAnonymousOperationRule } from './lone-anonymous-operation'; -import type { LoneExecutableDefinitionRule } from './lone-executable-definition'; -import type { LoneSchemaDefinitionRule } from './lone-schema-definition'; -import type { MatchDocumentFilenameRule } from './match-document-filename'; -import type { NamingConventionRule } from './naming-convention'; -import type { NoAnonymousOperationsRule } from './no-anonymous-operations'; -import type { NoCaseInsensitiveEnumValuesDuplicatesRule } from './no-case-insensitive-enum-values-duplicates'; -import type { NoDeprecatedRule } from './no-deprecated'; -import type { NoDuplicateFieldsRule } from './no-duplicate-fields'; -import type { NoFragmentCyclesRule } from './no-fragment-cycles'; -import type { NoHashtagDescriptionRule } from './no-hashtag-description'; -import type { NoOnePlaceFragmentsRule } from './no-one-place-fragments'; -import type { NoRootTypeRule } from './no-root-type'; -import type { NoScalarResultTypeOnMutationRule } from './no-scalar-result-type-on-mutation'; -import type { NoTypenamePrefixRule } from './no-typename-prefix'; -import type { NoUndefinedVariablesRule } from './no-undefined-variables'; -import type { NoUnreachableTypesRule } from './no-unreachable-types'; -import type { NoUnusedFieldsRule } from './no-unused-fields'; -import type { NoUnusedFragmentsRule } from './no-unused-fragments'; -import type { NoUnusedVariablesRule } from './no-unused-variables'; -import type { OneFieldSubscriptionsRule } from './one-field-subscriptions'; -import type { OverlappingFieldsCanBeMergedRule } from './overlapping-fields-can-be-merged'; -import type { PossibleFragmentSpreadRule } from './possible-fragment-spread'; -import type { PossibleTypeExtensionRule } from './possible-type-extension'; -import type { ProvidedRequiredArgumentsRule } from './provided-required-arguments'; -import type { RelayArgumentsRule } from './relay-arguments'; -import type { RelayConnectionTypesRule } from './relay-connection-types'; -import type { RelayEdgeTypesRule } from './relay-edge-types'; -import type { RelayPageInfoRule } from './relay-page-info'; -import type { RequireDeprecationDateRule } from './require-deprecation-date'; -import type { RequireDeprecationReasonRule } from './require-deprecation-reason'; -import type { RequireDescriptionRule } from './require-description'; -import type { RequireFieldOfTypeQueryInMutationResultRule } from './require-field-of-type-query-in-mutation-result'; -import type { RequireIdWhenAvailableRule } from './require-id-when-available'; -import type { RequireImportFragmentRule } from './require-import-fragment'; -import type { RequireNullableFieldsWithOneofRule } from './require-nullable-fields-with-oneof'; -import type { RequireNullableResultInRootRule } from './require-nullable-result-in-root'; -import type { RequireTypePatternWithOneofRule } from './require-type-pattern-with-oneof'; -import type { ScalarLeafsRule } from './scalar-leafs'; -import type { SelectionSetDepthRule } from './selection-set-depth'; -import type { StrictIdInTypesRule } from './strict-id-in-types'; -import type { UniqueArgumentNamesRule } from './unique-argument-names'; -import type { UniqueDirectiveNamesRule } from './unique-directive-names'; -import type { UniqueDirectiveNamesPerLocationRule } from './unique-directive-names-per-location'; -import type { UniqueEnumValueNamesRule } from './unique-enum-value-names'; -import type { UniqueFieldDefinitionNamesRule } from './unique-field-definition-names'; -import type { UniqueFragmentNameRule } from './unique-fragment-name'; -import type { UniqueInputFieldNamesRule } from './unique-input-field-names'; -import type { UniqueOperationNameRule } from './unique-operation-name'; -import type { UniqueOperationTypesRule } from './unique-operation-types'; -import type { UniqueTypeNamesRule } from './unique-type-names'; -import type { UniqueVariableNamesRule } from './unique-variable-names'; -import type { ValueLiteralsOfCorrectTypeRule } from './value-literals-of-correct-type'; -import type { VariablesAreInputTypesRule } from './variables-are-input-types'; -import type { VariablesInAllowedPositionRule } from './variables-in-allowed-position'; - -/** - * All GraphQL rules. - */ -export type GraphQLRules = ExecutableDefinitionsRule & - FieldsOnCorrectTypeRule & - FragmentsOnCompositeTypeRule & - KnownArgumentNamesRule & - KnownDirectivesRule & - KnownFragmentNamesRule & - KnownTypeNamesRule & - LoneAnonymousOperationRule & - LoneSchemaDefinitionRule & - NoFragmentCyclesRule & - NoUndefinedVariablesRule & - NoUnusedFragmentsRule & - NoUnusedVariablesRule & - OverlappingFieldsCanBeMergedRule & - PossibleFragmentSpreadRule & - PossibleTypeExtensionRule & - ProvidedRequiredArgumentsRule & - ScalarLeafsRule & - OneFieldSubscriptionsRule & - UniqueArgumentNamesRule & - UniqueDirectiveNamesRule & - UniqueDirectiveNamesPerLocationRule & - UniqueEnumValueNamesRule & - UniqueFieldDefinitionNamesRule & - UniqueInputFieldNamesRule & - UniqueOperationTypesRule & - UniqueTypeNamesRule & - UniqueVariableNamesRule & - ValueLiteralsOfCorrectTypeRule & - VariablesAreInputTypesRule & - VariablesInAllowedPositionRule & - AlphabetizeRule & - DescriptionStyleRule & - InputNameRule & - LoneExecutableDefinitionRule & - MatchDocumentFilenameRule & - NamingConventionRule & - NoAnonymousOperationsRule & - NoCaseInsensitiveEnumValuesDuplicatesRule & - NoDeprecatedRule & - NoDuplicateFieldsRule & - NoHashtagDescriptionRule & - NoOnePlaceFragmentsRule & - NoRootTypeRule & - NoScalarResultTypeOnMutationRule & - NoTypenamePrefixRule & - NoUnreachableTypesRule & - NoUnusedFieldsRule & - RelayArgumentsRule & - RelayConnectionTypesRule & - RelayEdgeTypesRule & - RelayPageInfoRule & - RequireDeprecationDateRule & - RequireDeprecationReasonRule & - RequireDescriptionRule & - RequireFieldOfTypeQueryInMutationResultRule & - RequireIdWhenAvailableRule & - RequireImportFragmentRule & - RequireNullableFieldsWithOneofRule & - RequireNullableResultInRootRule & - RequireTypePatternWithOneofRule & - SelectionSetDepthRule & - StrictIdInTypesRule & - UniqueFragmentNameRule & - UniqueOperationNameRule; diff --git a/src/rules/graphql-eslint/input-name.d.ts b/src/rules/graphql-eslint/input-name.d.ts deleted file mode 100644 index 785d5fd1..00000000 --- a/src/rules/graphql-eslint/input-name.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @maxItems 1 - */ -export type InputNameOption = - | [] - | [ - { - /** - * Check that the input type name follows the convention \Input - */ - checkInputType?: boolean; - /** - * Allow for case discrepancies in the input type name - */ - caseSensitiveInputType?: boolean; - /** - * Apply the rule to Queries - */ - checkQueries?: boolean; - /** - * Apply the rule to Mutations - */ - checkMutations?: boolean; - }, - ]; - -/** - * Options. - */ -export type InputNameOptions = InputNameOption; - -/** - * Require mutation argument to be always called "input" and input type to be called Mutation name + "Input". -Using the same name for all input parameters will make your schemas easier to consume and more predictable. Using the same name as mutation for InputType will make it easier to find mutations that InputType belongs to. - * - * @see [input-name](https://the-guild.dev/graphql/eslint/rules/input-name) - */ -export type InputNameRuleConfig = RuleConfig; - -/** - * Require mutation argument to be always called "input" and input type to be called Mutation name + "Input". -Using the same name for all input parameters will make your schemas easier to consume and more predictable. Using the same name as mutation for InputType will make it easier to find mutations that InputType belongs to. - * - * @see [input-name](https://the-guild.dev/graphql/eslint/rules/input-name) - */ -export interface InputNameRule { - /** - * Require mutation argument to be always called "input" and input type to be called Mutation name + "Input". -Using the same name for all input parameters will make your schemas easier to consume and more predictable. Using the same name as mutation for InputType will make it easier to find mutations that InputType belongs to. - * - * @see [input-name](https://the-guild.dev/graphql/eslint/rules/input-name) - */ - '@graphql-eslint/input-name': InputNameRuleConfig; -} diff --git a/src/rules/graphql-eslint/known-argument-names.d.ts b/src/rules/graphql-eslint/known-argument-names.d.ts deleted file mode 100644 index 4fad5539..00000000 --- a/src/rules/graphql-eslint/known-argument-names.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL field is only valid if all supplied arguments are defined by that field. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-argument-names](https://the-guild.dev/graphql/eslint/rules/known-argument-names) - */ -export type KnownArgumentNamesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL field is only valid if all supplied arguments are defined by that field. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-argument-names](https://the-guild.dev/graphql/eslint/rules/known-argument-names) - */ -export interface KnownArgumentNamesRule { - /** - * A GraphQL field is only valid if all supplied arguments are defined by that field. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-argument-names](https://the-guild.dev/graphql/eslint/rules/known-argument-names) - */ - '@graphql-eslint/known-argument-names': KnownArgumentNamesRuleConfig; -} diff --git a/src/rules/graphql-eslint/known-directives.d.ts b/src/rules/graphql-eslint/known-directives.d.ts deleted file mode 100644 index 808b9034..00000000 --- a/src/rules/graphql-eslint/known-directives.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @maxItems 1 - */ -export type KnownDirectivesOption = - | [] - | [ - { - /** - * @minItems 1 - */ - ignoreClientDirectives: [string, ...string[]]; - }, - ]; - -/** - * Options. - */ -export type KnownDirectivesOptions = KnownDirectivesOption; - -/** - * A GraphQL document is only valid if all `@directive`s are known by the schema and legally positioned. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-directives](https://the-guild.dev/graphql/eslint/rules/known-directives) - */ -export type KnownDirectivesRuleConfig = RuleConfig; - -/** - * A GraphQL document is only valid if all `@directive`s are known by the schema and legally positioned. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-directives](https://the-guild.dev/graphql/eslint/rules/known-directives) - */ -export interface KnownDirectivesRule { - /** - * A GraphQL document is only valid if all `@directive`s are known by the schema and legally positioned. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-directives](https://the-guild.dev/graphql/eslint/rules/known-directives) - */ - '@graphql-eslint/known-directives': KnownDirectivesRuleConfig; -} diff --git a/src/rules/graphql-eslint/known-fragment-names.d.ts b/src/rules/graphql-eslint/known-fragment-names.d.ts deleted file mode 100644 index 5a1ab7c6..00000000 --- a/src/rules/graphql-eslint/known-fragment-names.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid if all `...Fragment` fragment spreads refer to fragments defined in the same document. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-fragment-names](https://the-guild.dev/graphql/eslint/rules/known-fragment-names) - */ -export type KnownFragmentNamesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid if all `...Fragment` fragment spreads refer to fragments defined in the same document. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-fragment-names](https://the-guild.dev/graphql/eslint/rules/known-fragment-names) - */ -export interface KnownFragmentNamesRule { - /** - * A GraphQL document is only valid if all `...Fragment` fragment spreads refer to fragments defined in the same document. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-fragment-names](https://the-guild.dev/graphql/eslint/rules/known-fragment-names) - */ - '@graphql-eslint/known-fragment-names': KnownFragmentNamesRuleConfig; -} diff --git a/src/rules/graphql-eslint/known-type-names.d.ts b/src/rules/graphql-eslint/known-type-names.d.ts deleted file mode 100644 index 213524a9..00000000 --- a/src/rules/graphql-eslint/known-type-names.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid if referenced types (specifically variable definitions and fragment conditions) are defined by the type schema. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-type-names](https://the-guild.dev/graphql/eslint/rules/known-type-names) - */ -export type KnownTypeNamesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid if referenced types (specifically variable definitions and fragment conditions) are defined by the type schema. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-type-names](https://the-guild.dev/graphql/eslint/rules/known-type-names) - */ -export interface KnownTypeNamesRule { - /** - * A GraphQL document is only valid if referenced types (specifically variable definitions and fragment conditions) are defined by the type schema. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [known-type-names](https://the-guild.dev/graphql/eslint/rules/known-type-names) - */ - '@graphql-eslint/known-type-names': KnownTypeNamesRuleConfig; -} diff --git a/src/rules/graphql-eslint/lone-anonymous-operation.d.ts b/src/rules/graphql-eslint/lone-anonymous-operation.d.ts deleted file mode 100644 index d38cf9fd..00000000 --- a/src/rules/graphql-eslint/lone-anonymous-operation.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document that contains an anonymous operation (the `query` short-hand) is only valid if it contains only that one operation definition. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [lone-anonymous-operation](https://the-guild.dev/graphql/eslint/rules/lone-anonymous-operation) - */ -export type LoneAnonymousOperationRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document that contains an anonymous operation (the `query` short-hand) is only valid if it contains only that one operation definition. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [lone-anonymous-operation](https://the-guild.dev/graphql/eslint/rules/lone-anonymous-operation) - */ -export interface LoneAnonymousOperationRule { - /** - * A GraphQL document that contains an anonymous operation (the `query` short-hand) is only valid if it contains only that one operation definition. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [lone-anonymous-operation](https://the-guild.dev/graphql/eslint/rules/lone-anonymous-operation) - */ - '@graphql-eslint/lone-anonymous-operation': LoneAnonymousOperationRuleConfig; -} diff --git a/src/rules/graphql-eslint/lone-executable-definition.d.ts b/src/rules/graphql-eslint/lone-executable-definition.d.ts deleted file mode 100644 index eace494d..00000000 --- a/src/rules/graphql-eslint/lone-executable-definition.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @maxItems 1 - */ -export type LoneExecutableDefinitionOption = - | [] - | [ - { - /** - * Allow certain definitions to be placed alongside others. - * - * @minItems 1 - * @maxItems 3 - */ - ignore?: - | ['fragment' | 'query' | 'mutation' | 'subscription'] - | [ - 'fragment' | 'query' | 'mutation' | 'subscription', - 'fragment' | 'query' | 'mutation' | 'subscription', - ] - | [ - 'fragment' | 'query' | 'mutation' | 'subscription', - 'fragment' | 'query' | 'mutation' | 'subscription', - 'fragment' | 'query' | 'mutation' | 'subscription', - ]; - }, - ]; - -/** - * Options. - */ -export type LoneExecutableDefinitionOptions = LoneExecutableDefinitionOption; - -/** - * Require queries, mutations, subscriptions or fragments to be located in separate files. - * - * @see [lone-executable-definition](https://the-guild.dev/graphql/eslint/rules/lone-executable-definition) - */ -export type LoneExecutableDefinitionRuleConfig = - RuleConfig; - -/** - * Require queries, mutations, subscriptions or fragments to be located in separate files. - * - * @see [lone-executable-definition](https://the-guild.dev/graphql/eslint/rules/lone-executable-definition) - */ -export interface LoneExecutableDefinitionRule { - /** - * Require queries, mutations, subscriptions or fragments to be located in separate files. - * - * @see [lone-executable-definition](https://the-guild.dev/graphql/eslint/rules/lone-executable-definition) - */ - '@graphql-eslint/lone-executable-definition': LoneExecutableDefinitionRuleConfig; -} diff --git a/src/rules/graphql-eslint/lone-schema-definition.d.ts b/src/rules/graphql-eslint/lone-schema-definition.d.ts deleted file mode 100644 index fc960739..00000000 --- a/src/rules/graphql-eslint/lone-schema-definition.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid if it contains only one schema definition. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [lone-schema-definition](https://the-guild.dev/graphql/eslint/rules/lone-schema-definition) - */ -export type LoneSchemaDefinitionRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid if it contains only one schema definition. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [lone-schema-definition](https://the-guild.dev/graphql/eslint/rules/lone-schema-definition) - */ -export interface LoneSchemaDefinitionRule { - /** - * A GraphQL document is only valid if it contains only one schema definition. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [lone-schema-definition](https://the-guild.dev/graphql/eslint/rules/lone-schema-definition) - */ - '@graphql-eslint/lone-schema-definition': LoneSchemaDefinitionRuleConfig; -} diff --git a/src/rules/graphql-eslint/match-document-filename.d.ts b/src/rules/graphql-eslint/match-document-filename.d.ts deleted file mode 100644 index b2539a92..00000000 --- a/src/rules/graphql-eslint/match-document-filename.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @minItems 1 - * @maxItems 1 - */ -export type MatchDocumentFilenameOption = [ - { - fileExtension?: '.gql' | '.graphql'; - query?: AsString | AsObject; - mutation?: AsString | AsObject; - subscription?: AsString | AsObject; - fragment?: AsString | AsObject; - }, -]; -/** - * One of: `camelCase`, `PascalCase`, `snake_case`, `UPPER_CASE`, `kebab-case`, `matchDocumentStyle` - */ -export type AsString = - | 'camelCase' - | 'PascalCase' - | 'snake_case' - | 'UPPER_CASE' - | 'kebab-case' - | 'matchDocumentStyle'; - -export interface AsObject { - style?: - | 'camelCase' - | 'PascalCase' - | 'snake_case' - | 'UPPER_CASE' - | 'kebab-case' - | 'matchDocumentStyle'; - suffix?: string; - prefix?: string; -} - -/** - * Options. - */ -export type MatchDocumentFilenameOptions = MatchDocumentFilenameOption; - -/** - * This rule allows you to enforce that the file name should match the operation name. - * - * @see [match-document-filename](https://the-guild.dev/graphql/eslint/rules/match-document-filename) - */ -export type MatchDocumentFilenameRuleConfig = - RuleConfig; - -/** - * This rule allows you to enforce that the file name should match the operation name. - * - * @see [match-document-filename](https://the-guild.dev/graphql/eslint/rules/match-document-filename) - */ -export interface MatchDocumentFilenameRule { - /** - * This rule allows you to enforce that the file name should match the operation name. - * - * @see [match-document-filename](https://the-guild.dev/graphql/eslint/rules/match-document-filename) - */ - '@graphql-eslint/match-document-filename': MatchDocumentFilenameRuleConfig; -} diff --git a/src/rules/graphql-eslint/naming-convention.d.ts b/src/rules/graphql-eslint/naming-convention.d.ts deleted file mode 100644 index 5e013736..00000000 --- a/src/rules/graphql-eslint/naming-convention.d.ts +++ /dev/null @@ -1,140 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @maxItems 1 - */ -export type NamingConventionOption = - | [] - | [ - { - /** - * Includes: - * - `ObjectTypeDefinition` - * - `InterfaceTypeDefinition` - * - `EnumTypeDefinition` - * - `ScalarTypeDefinition` - * - `InputObjectTypeDefinition` - * - `UnionTypeDefinition` - */ - types?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#Argument). - */ - Argument?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#DirectiveDefinition). - */ - DirectiveDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#EnumTypeDefinition). - */ - EnumTypeDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#EnumValueDefinition). - */ - EnumValueDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#FieldDefinition). - */ - FieldDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#FragmentDefinition). - */ - FragmentDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#InputObjectTypeDefinition). - */ - InputObjectTypeDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#InputValueDefinition). - */ - InputValueDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#InterfaceTypeDefinition). - */ - InterfaceTypeDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#ObjectTypeDefinition). - */ - ObjectTypeDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#OperationDefinition). - */ - OperationDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#ScalarTypeDefinition). - */ - ScalarTypeDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#UnionTypeDefinition). - */ - UnionTypeDefinition?: AsString | AsObject; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#VariableDefinition). - */ - VariableDefinition?: AsString | AsObject; - allowLeadingUnderscore?: boolean; - allowTrailingUnderscore?: boolean; - } & { - [k: string]: AsString | AsObject; - }, - ]; -/** - * One of: `camelCase`, `PascalCase`, `snake_case`, `UPPER_CASE` - */ -export type AsString = 'camelCase' | 'PascalCase' | 'snake_case' | 'UPPER_CASE'; - -export interface AsObject { - style?: 'camelCase' | 'PascalCase' | 'snake_case' | 'UPPER_CASE'; - prefix?: string; - suffix?: string; - /** - * @minItems 1 - */ - forbiddenPrefixes?: [string, ...string[]]; - /** - * @minItems 1 - */ - forbiddenSuffixes?: [string, ...string[]]; - /** - * @minItems 1 - */ - requiredPrefixes?: [string, ...string[]]; - /** - * @minItems 1 - */ - requiredSuffixes?: [string, ...string[]]; - /** - * Option to skip validation of some words, e.g. acronyms - */ - ignorePattern?: string; -} - -/** - * Options. - */ -export type NamingConventionOptions = NamingConventionOption; - -/** - * Require names to follow specified conventions. - * - * @see [naming-convention](https://the-guild.dev/graphql/eslint/rules/naming-convention) - */ -export type NamingConventionRuleConfig = RuleConfig; - -/** - * Require names to follow specified conventions. - * - * @see [naming-convention](https://the-guild.dev/graphql/eslint/rules/naming-convention) - */ -export interface NamingConventionRule { - /** - * Require names to follow specified conventions. - * - * @see [naming-convention](https://the-guild.dev/graphql/eslint/rules/naming-convention) - */ - '@graphql-eslint/naming-convention': NamingConventionRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-anonymous-operations.d.ts b/src/rules/graphql-eslint/no-anonymous-operations.d.ts deleted file mode 100644 index 510095df..00000000 --- a/src/rules/graphql-eslint/no-anonymous-operations.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require name for your GraphQL operations. This is useful since most GraphQL client libraries are using the operation name for caching purposes. - * - * @see [no-anonymous-operations](https://the-guild.dev/graphql/eslint/rules/no-anonymous-operations) - */ -export type NoAnonymousOperationsRuleConfig = RuleConfig<[]>; - -/** - * Require name for your GraphQL operations. This is useful since most GraphQL client libraries are using the operation name for caching purposes. - * - * @see [no-anonymous-operations](https://the-guild.dev/graphql/eslint/rules/no-anonymous-operations) - */ -export interface NoAnonymousOperationsRule { - /** - * Require name for your GraphQL operations. This is useful since most GraphQL client libraries are using the operation name for caching purposes. - * - * @see [no-anonymous-operations](https://the-guild.dev/graphql/eslint/rules/no-anonymous-operations) - */ - '@graphql-eslint/no-anonymous-operations': NoAnonymousOperationsRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-case-insensitive-enum-values-duplicates.d.ts b/src/rules/graphql-eslint/no-case-insensitive-enum-values-duplicates.d.ts deleted file mode 100644 index 68f990cd..00000000 --- a/src/rules/graphql-eslint/no-case-insensitive-enum-values-duplicates.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow case-insensitive enum values duplicates. - * - * @see [no-case-insensitive-enum-values-duplicates](https://the-guild.dev/graphql/eslint/rules/no-case-insensitive-enum-values-duplicates) - */ -export type NoCaseInsensitiveEnumValuesDuplicatesRuleConfig = RuleConfig<[]>; - -/** - * Disallow case-insensitive enum values duplicates. - * - * @see [no-case-insensitive-enum-values-duplicates](https://the-guild.dev/graphql/eslint/rules/no-case-insensitive-enum-values-duplicates) - */ -export interface NoCaseInsensitiveEnumValuesDuplicatesRule { - /** - * Disallow case-insensitive enum values duplicates. - * - * @see [no-case-insensitive-enum-values-duplicates](https://the-guild.dev/graphql/eslint/rules/no-case-insensitive-enum-values-duplicates) - */ - '@graphql-eslint/no-case-insensitive-enum-values-duplicates': NoCaseInsensitiveEnumValuesDuplicatesRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-deprecated.d.ts b/src/rules/graphql-eslint/no-deprecated.d.ts deleted file mode 100644 index 7da258ad..00000000 --- a/src/rules/graphql-eslint/no-deprecated.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforce that deprecated fields or enum values are not in use by operations. - * - * @see [no-deprecated](https://the-guild.dev/graphql/eslint/rules/no-deprecated) - */ -export type NoDeprecatedRuleConfig = RuleConfig<[]>; - -/** - * Enforce that deprecated fields or enum values are not in use by operations. - * - * @see [no-deprecated](https://the-guild.dev/graphql/eslint/rules/no-deprecated) - */ -export interface NoDeprecatedRule { - /** - * Enforce that deprecated fields or enum values are not in use by operations. - * - * @see [no-deprecated](https://the-guild.dev/graphql/eslint/rules/no-deprecated) - */ - '@graphql-eslint/no-deprecated': NoDeprecatedRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-duplicate-fields.d.ts b/src/rules/graphql-eslint/no-duplicate-fields.d.ts deleted file mode 100644 index 20caaad7..00000000 --- a/src/rules/graphql-eslint/no-duplicate-fields.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Checks for duplicate fields in selection set, variables in operation definition, or in arguments set of a field. - * - * @see [no-duplicate-fields](https://the-guild.dev/graphql/eslint/rules/no-duplicate-fields) - */ -export type NoDuplicateFieldsRuleConfig = RuleConfig<[]>; - -/** - * Checks for duplicate fields in selection set, variables in operation definition, or in arguments set of a field. - * - * @see [no-duplicate-fields](https://the-guild.dev/graphql/eslint/rules/no-duplicate-fields) - */ -export interface NoDuplicateFieldsRule { - /** - * Checks for duplicate fields in selection set, variables in operation definition, or in arguments set of a field. - * - * @see [no-duplicate-fields](https://the-guild.dev/graphql/eslint/rules/no-duplicate-fields) - */ - '@graphql-eslint/no-duplicate-fields': NoDuplicateFieldsRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-fragment-cycles.d.ts b/src/rules/graphql-eslint/no-fragment-cycles.d.ts deleted file mode 100644 index a701e250..00000000 --- a/src/rules/graphql-eslint/no-fragment-cycles.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL fragment is only valid when it does not have cycles in fragments usage. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-fragment-cycles](https://the-guild.dev/graphql/eslint/rules/no-fragment-cycles) - */ -export type NoFragmentCyclesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL fragment is only valid when it does not have cycles in fragments usage. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-fragment-cycles](https://the-guild.dev/graphql/eslint/rules/no-fragment-cycles) - */ -export interface NoFragmentCyclesRule { - /** - * A GraphQL fragment is only valid when it does not have cycles in fragments usage. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-fragment-cycles](https://the-guild.dev/graphql/eslint/rules/no-fragment-cycles) - */ - '@graphql-eslint/no-fragment-cycles': NoFragmentCyclesRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-hashtag-description.d.ts b/src/rules/graphql-eslint/no-hashtag-description.d.ts deleted file mode 100644 index 121e5bb5..00000000 --- a/src/rules/graphql-eslint/no-hashtag-description.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Requires to use `"""` or `"` for adding a GraphQL description instead of `#`. -Allows to use hashtag for comments, as long as it's not attached to an AST definition. - * - * @see [no-hashtag-description](https://the-guild.dev/graphql/eslint/rules/no-hashtag-description) - */ -export type NoHashtagDescriptionRuleConfig = RuleConfig<[]>; - -/** - * Requires to use `"""` or `"` for adding a GraphQL description instead of `#`. -Allows to use hashtag for comments, as long as it's not attached to an AST definition. - * - * @see [no-hashtag-description](https://the-guild.dev/graphql/eslint/rules/no-hashtag-description) - */ -export interface NoHashtagDescriptionRule { - /** - * Requires to use `"""` or `"` for adding a GraphQL description instead of `#`. -Allows to use hashtag for comments, as long as it's not attached to an AST definition. - * - * @see [no-hashtag-description](https://the-guild.dev/graphql/eslint/rules/no-hashtag-description) - */ - '@graphql-eslint/no-hashtag-description': NoHashtagDescriptionRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-one-place-fragments.d.ts b/src/rules/graphql-eslint/no-one-place-fragments.d.ts deleted file mode 100644 index e389d7d3..00000000 --- a/src/rules/graphql-eslint/no-one-place-fragments.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow fragments that are used only in one place. - * - * @see [no-one-place-fragments](https://the-guild.dev/graphql/eslint/rules/no-one-place-fragments) - */ -export type NoOnePlaceFragmentsRuleConfig = RuleConfig<[]>; - -/** - * Disallow fragments that are used only in one place. - * - * @see [no-one-place-fragments](https://the-guild.dev/graphql/eslint/rules/no-one-place-fragments) - */ -export interface NoOnePlaceFragmentsRule { - /** - * Disallow fragments that are used only in one place. - * - * @see [no-one-place-fragments](https://the-guild.dev/graphql/eslint/rules/no-one-place-fragments) - */ - '@graphql-eslint/no-one-place-fragments': NoOnePlaceFragmentsRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-root-type.d.ts b/src/rules/graphql-eslint/no-root-type.d.ts deleted file mode 100644 index 2f18126b..00000000 --- a/src/rules/graphql-eslint/no-root-type.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @minItems 1 - * @maxItems 1 - */ -export type NoRootTypeOption = [ - { - /** - * @minItems 1 - */ - disallow: ['mutation' | 'subscription', ...('mutation' | 'subscription')[]]; - }, -]; - -/** - * Options. - */ -export type NoRootTypeOptions = NoRootTypeOption; - -/** - * Disallow using root types `mutation` and/or `subscription`. - * - * @see [no-root-type](https://the-guild.dev/graphql/eslint/rules/no-root-type) - */ -export type NoRootTypeRuleConfig = RuleConfig; - -/** - * Disallow using root types `mutation` and/or `subscription`. - * - * @see [no-root-type](https://the-guild.dev/graphql/eslint/rules/no-root-type) - */ -export interface NoRootTypeRule { - /** - * Disallow using root types `mutation` and/or `subscription`. - * - * @see [no-root-type](https://the-guild.dev/graphql/eslint/rules/no-root-type) - */ - '@graphql-eslint/no-root-type': NoRootTypeRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-scalar-result-type-on-mutation.d.ts b/src/rules/graphql-eslint/no-scalar-result-type-on-mutation.d.ts deleted file mode 100644 index c04df609..00000000 --- a/src/rules/graphql-eslint/no-scalar-result-type-on-mutation.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Avoid scalar result type on mutation type to make sure to return a valid state. - * - * @see [no-scalar-result-type-on-mutation](https://the-guild.dev/graphql/eslint/rules/no-scalar-result-type-on-mutation) - */ -export type NoScalarResultTypeOnMutationRuleConfig = RuleConfig<[]>; - -/** - * Avoid scalar result type on mutation type to make sure to return a valid state. - * - * @see [no-scalar-result-type-on-mutation](https://the-guild.dev/graphql/eslint/rules/no-scalar-result-type-on-mutation) - */ -export interface NoScalarResultTypeOnMutationRule { - /** - * Avoid scalar result type on mutation type to make sure to return a valid state. - * - * @see [no-scalar-result-type-on-mutation](https://the-guild.dev/graphql/eslint/rules/no-scalar-result-type-on-mutation) - */ - '@graphql-eslint/no-scalar-result-type-on-mutation': NoScalarResultTypeOnMutationRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-typename-prefix.d.ts b/src/rules/graphql-eslint/no-typename-prefix.d.ts deleted file mode 100644 index 09a178c9..00000000 --- a/src/rules/graphql-eslint/no-typename-prefix.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforces users to avoid using the type name in a field name while defining your schema. - * - * @see [no-typename-prefix](https://the-guild.dev/graphql/eslint/rules/no-typename-prefix) - */ -export type NoTypenamePrefixRuleConfig = RuleConfig<[]>; - -/** - * Enforces users to avoid using the type name in a field name while defining your schema. - * - * @see [no-typename-prefix](https://the-guild.dev/graphql/eslint/rules/no-typename-prefix) - */ -export interface NoTypenamePrefixRule { - /** - * Enforces users to avoid using the type name in a field name while defining your schema. - * - * @see [no-typename-prefix](https://the-guild.dev/graphql/eslint/rules/no-typename-prefix) - */ - '@graphql-eslint/no-typename-prefix': NoTypenamePrefixRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-undefined-variables.d.ts b/src/rules/graphql-eslint/no-undefined-variables.d.ts deleted file mode 100644 index d44aa710..00000000 --- a/src/rules/graphql-eslint/no-undefined-variables.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL operation is only valid if all variables encountered, both directly and via fragment spreads, are defined by that operation. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-undefined-variables](https://the-guild.dev/graphql/eslint/rules/no-undefined-variables) - */ -export type NoUndefinedVariablesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL operation is only valid if all variables encountered, both directly and via fragment spreads, are defined by that operation. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-undefined-variables](https://the-guild.dev/graphql/eslint/rules/no-undefined-variables) - */ -export interface NoUndefinedVariablesRule { - /** - * A GraphQL operation is only valid if all variables encountered, both directly and via fragment spreads, are defined by that operation. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-undefined-variables](https://the-guild.dev/graphql/eslint/rules/no-undefined-variables) - */ - '@graphql-eslint/no-undefined-variables': NoUndefinedVariablesRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-unreachable-types.d.ts b/src/rules/graphql-eslint/no-unreachable-types.d.ts deleted file mode 100644 index ad80a377..00000000 --- a/src/rules/graphql-eslint/no-unreachable-types.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Requires all types to be reachable at some level by root level fields. - * - * @see [no-unreachable-types](https://the-guild.dev/graphql/eslint/rules/no-unreachable-types) - */ -export type NoUnreachableTypesRuleConfig = RuleConfig<[]>; - -/** - * Requires all types to be reachable at some level by root level fields. - * - * @see [no-unreachable-types](https://the-guild.dev/graphql/eslint/rules/no-unreachable-types) - */ -export interface NoUnreachableTypesRule { - /** - * Requires all types to be reachable at some level by root level fields. - * - * @see [no-unreachable-types](https://the-guild.dev/graphql/eslint/rules/no-unreachable-types) - */ - '@graphql-eslint/no-unreachable-types': NoUnreachableTypesRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-unused-fields.d.ts b/src/rules/graphql-eslint/no-unused-fields.d.ts deleted file mode 100644 index 11c3f894..00000000 --- a/src/rules/graphql-eslint/no-unused-fields.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Requires all fields to be used at some level by siblings operations. - * - * @see [no-unused-fields](https://the-guild.dev/graphql/eslint/rules/no-unused-fields) - */ -export type NoUnusedFieldsRuleConfig = RuleConfig<[]>; - -/** - * Requires all fields to be used at some level by siblings operations. - * - * @see [no-unused-fields](https://the-guild.dev/graphql/eslint/rules/no-unused-fields) - */ -export interface NoUnusedFieldsRule { - /** - * Requires all fields to be used at some level by siblings operations. - * - * @see [no-unused-fields](https://the-guild.dev/graphql/eslint/rules/no-unused-fields) - */ - '@graphql-eslint/no-unused-fields': NoUnusedFieldsRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-unused-fragments.d.ts b/src/rules/graphql-eslint/no-unused-fragments.d.ts deleted file mode 100644 index fa592331..00000000 --- a/src/rules/graphql-eslint/no-unused-fragments.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid if all fragment definitions are spread within operations, or spread within other fragments spread within operations. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-unused-fragments](https://the-guild.dev/graphql/eslint/rules/no-unused-fragments) - */ -export type NoUnusedFragmentsRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid if all fragment definitions are spread within operations, or spread within other fragments spread within operations. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-unused-fragments](https://the-guild.dev/graphql/eslint/rules/no-unused-fragments) - */ -export interface NoUnusedFragmentsRule { - /** - * A GraphQL document is only valid if all fragment definitions are spread within operations, or spread within other fragments spread within operations. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-unused-fragments](https://the-guild.dev/graphql/eslint/rules/no-unused-fragments) - */ - '@graphql-eslint/no-unused-fragments': NoUnusedFragmentsRuleConfig; -} diff --git a/src/rules/graphql-eslint/no-unused-variables.d.ts b/src/rules/graphql-eslint/no-unused-variables.d.ts deleted file mode 100644 index 62e1c3e7..00000000 --- a/src/rules/graphql-eslint/no-unused-variables.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL operation is only valid if all variables defined by an operation are used, either directly or within a spread fragment. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-unused-variables](https://the-guild.dev/graphql/eslint/rules/no-unused-variables) - */ -export type NoUnusedVariablesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL operation is only valid if all variables defined by an operation are used, either directly or within a spread fragment. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-unused-variables](https://the-guild.dev/graphql/eslint/rules/no-unused-variables) - */ -export interface NoUnusedVariablesRule { - /** - * A GraphQL operation is only valid if all variables defined by an operation are used, either directly or within a spread fragment. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [no-unused-variables](https://the-guild.dev/graphql/eslint/rules/no-unused-variables) - */ - '@graphql-eslint/no-unused-variables': NoUnusedVariablesRuleConfig; -} diff --git a/src/rules/graphql-eslint/one-field-subscriptions.d.ts b/src/rules/graphql-eslint/one-field-subscriptions.d.ts deleted file mode 100644 index 5b507269..00000000 --- a/src/rules/graphql-eslint/one-field-subscriptions.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL subscription is valid only if it contains a single root field. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [one-field-subscriptions](https://the-guild.dev/graphql/eslint/rules/one-field-subscriptions) - */ -export type OneFieldSubscriptionsRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL subscription is valid only if it contains a single root field. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [one-field-subscriptions](https://the-guild.dev/graphql/eslint/rules/one-field-subscriptions) - */ -export interface OneFieldSubscriptionsRule { - /** - * A GraphQL subscription is valid only if it contains a single root field. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [one-field-subscriptions](https://the-guild.dev/graphql/eslint/rules/one-field-subscriptions) - */ - '@graphql-eslint/one-field-subscriptions': OneFieldSubscriptionsRuleConfig; -} diff --git a/src/rules/graphql-eslint/overlapping-fields-can-be-merged.d.ts b/src/rules/graphql-eslint/overlapping-fields-can-be-merged.d.ts deleted file mode 100644 index 05abdadc..00000000 --- a/src/rules/graphql-eslint/overlapping-fields-can-be-merged.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A selection set is only valid if all fields (including spreading any fragments) either correspond to distinct response names or can be merged without ambiguity. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [overlapping-fields-can-be-merged](https://the-guild.dev/graphql/eslint/rules/overlapping-fields-can-be-merged) - */ -export type OverlappingFieldsCanBeMergedRuleConfig = RuleConfig<[]>; - -/** - * A selection set is only valid if all fields (including spreading any fragments) either correspond to distinct response names or can be merged without ambiguity. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [overlapping-fields-can-be-merged](https://the-guild.dev/graphql/eslint/rules/overlapping-fields-can-be-merged) - */ -export interface OverlappingFieldsCanBeMergedRule { - /** - * A selection set is only valid if all fields (including spreading any fragments) either correspond to distinct response names or can be merged without ambiguity. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [overlapping-fields-can-be-merged](https://the-guild.dev/graphql/eslint/rules/overlapping-fields-can-be-merged) - */ - '@graphql-eslint/overlapping-fields-can-be-merged': OverlappingFieldsCanBeMergedRuleConfig; -} diff --git a/src/rules/graphql-eslint/possible-fragment-spread.d.ts b/src/rules/graphql-eslint/possible-fragment-spread.d.ts deleted file mode 100644 index f04a86c0..00000000 --- a/src/rules/graphql-eslint/possible-fragment-spread.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A fragment spread is only valid if the type condition could ever possibly be true: if there is a non-empty intersection of the possible parent types, and possible types which pass the type condition. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [possible-fragment-spread](https://the-guild.dev/graphql/eslint/rules/possible-fragment-spread) - */ -export type PossibleFragmentSpreadRuleConfig = RuleConfig<[]>; - -/** - * A fragment spread is only valid if the type condition could ever possibly be true: if there is a non-empty intersection of the possible parent types, and possible types which pass the type condition. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [possible-fragment-spread](https://the-guild.dev/graphql/eslint/rules/possible-fragment-spread) - */ -export interface PossibleFragmentSpreadRule { - /** - * A fragment spread is only valid if the type condition could ever possibly be true: if there is a non-empty intersection of the possible parent types, and possible types which pass the type condition. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [possible-fragment-spread](https://the-guild.dev/graphql/eslint/rules/possible-fragment-spread) - */ - '@graphql-eslint/possible-fragment-spread': PossibleFragmentSpreadRuleConfig; -} diff --git a/src/rules/graphql-eslint/possible-type-extension.d.ts b/src/rules/graphql-eslint/possible-type-extension.d.ts deleted file mode 100644 index 371bbc7a..00000000 --- a/src/rules/graphql-eslint/possible-type-extension.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A type extension is only valid if the type is defined and has the same kind. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [possible-type-extension](https://the-guild.dev/graphql/eslint/rules/possible-type-extension) - */ -export type PossibleTypeExtensionRuleConfig = RuleConfig<[]>; - -/** - * A type extension is only valid if the type is defined and has the same kind. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [possible-type-extension](https://the-guild.dev/graphql/eslint/rules/possible-type-extension) - */ -export interface PossibleTypeExtensionRule { - /** - * A type extension is only valid if the type is defined and has the same kind. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [possible-type-extension](https://the-guild.dev/graphql/eslint/rules/possible-type-extension) - */ - '@graphql-eslint/possible-type-extension': PossibleTypeExtensionRuleConfig; -} diff --git a/src/rules/graphql-eslint/provided-required-arguments.d.ts b/src/rules/graphql-eslint/provided-required-arguments.d.ts deleted file mode 100644 index 94ccca8a..00000000 --- a/src/rules/graphql-eslint/provided-required-arguments.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A field or directive is only valid if all required (non-null without a default value) field arguments have been provided. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [provided-required-arguments](https://the-guild.dev/graphql/eslint/rules/provided-required-arguments) - */ -export type ProvidedRequiredArgumentsRuleConfig = RuleConfig<[]>; - -/** - * A field or directive is only valid if all required (non-null without a default value) field arguments have been provided. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [provided-required-arguments](https://the-guild.dev/graphql/eslint/rules/provided-required-arguments) - */ -export interface ProvidedRequiredArgumentsRule { - /** - * A field or directive is only valid if all required (non-null without a default value) field arguments have been provided. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [provided-required-arguments](https://the-guild.dev/graphql/eslint/rules/provided-required-arguments) - */ - '@graphql-eslint/provided-required-arguments': ProvidedRequiredArgumentsRuleConfig; -} diff --git a/src/rules/graphql-eslint/relay-arguments.d.ts b/src/rules/graphql-eslint/relay-arguments.d.ts deleted file mode 100644 index b68931d1..00000000 --- a/src/rules/graphql-eslint/relay-arguments.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @maxItems 1 - */ -export type RelayArgumentsOption = - | [] - | [ - { - /** - * Enforce including both forward and backward pagination arguments - */ - includeBoth?: boolean; - }, - ]; - -/** - * Options. - */ -export type RelayArgumentsOptions = RelayArgumentsOption; - -/** - * Set of rules to follow Relay specification for Arguments. - -- A field that returns a Connection type must include forward pagination arguments (`first` and `after`), backward pagination arguments (`last` and `before`), or both - -Forward pagination arguments - -- `first` takes a non-negative integer -- `after` takes the Cursor type - -Backward pagination arguments - -- `last` takes a non-negative integer -- `before` takes the Cursor type. - * - * @see [relay-arguments](https://the-guild.dev/graphql/eslint/rules/relay-arguments) - */ -export type RelayArgumentsRuleConfig = RuleConfig; - -/** - * Set of rules to follow Relay specification for Arguments. - -- A field that returns a Connection type must include forward pagination arguments (`first` and `after`), backward pagination arguments (`last` and `before`), or both - -Forward pagination arguments - -- `first` takes a non-negative integer -- `after` takes the Cursor type - -Backward pagination arguments - -- `last` takes a non-negative integer -- `before` takes the Cursor type. - * - * @see [relay-arguments](https://the-guild.dev/graphql/eslint/rules/relay-arguments) - */ -export interface RelayArgumentsRule { - /** - * Set of rules to follow Relay specification for Arguments. - -- A field that returns a Connection type must include forward pagination arguments (`first` and `after`), backward pagination arguments (`last` and `before`), or both - -Forward pagination arguments - -- `first` takes a non-negative integer -- `after` takes the Cursor type - -Backward pagination arguments - -- `last` takes a non-negative integer -- `before` takes the Cursor type. - * - * @see [relay-arguments](https://the-guild.dev/graphql/eslint/rules/relay-arguments) - */ - '@graphql-eslint/relay-arguments': RelayArgumentsRuleConfig; -} diff --git a/src/rules/graphql-eslint/relay-connection-types.d.ts b/src/rules/graphql-eslint/relay-connection-types.d.ts deleted file mode 100644 index f23b92bd..00000000 --- a/src/rules/graphql-eslint/relay-connection-types.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Set of rules to follow Relay specification for Connection types. - -- Any type whose name ends in "Connection" is considered by spec to be a `Connection type` -- Connection type must be an Object type -- Connection type must contain a field `edges` that return a list type that wraps an edge type -- Connection type must contain a field `pageInfo` that return a non-null `PageInfo` Object type. - * - * @see [relay-connection-types](https://the-guild.dev/graphql/eslint/rules/relay-connection-types) - */ -export type RelayConnectionTypesRuleConfig = RuleConfig<[]>; - -/** - * Set of rules to follow Relay specification for Connection types. - -- Any type whose name ends in "Connection" is considered by spec to be a `Connection type` -- Connection type must be an Object type -- Connection type must contain a field `edges` that return a list type that wraps an edge type -- Connection type must contain a field `pageInfo` that return a non-null `PageInfo` Object type. - * - * @see [relay-connection-types](https://the-guild.dev/graphql/eslint/rules/relay-connection-types) - */ -export interface RelayConnectionTypesRule { - /** - * Set of rules to follow Relay specification for Connection types. - -- Any type whose name ends in "Connection" is considered by spec to be a `Connection type` -- Connection type must be an Object type -- Connection type must contain a field `edges` that return a list type that wraps an edge type -- Connection type must contain a field `pageInfo` that return a non-null `PageInfo` Object type. - * - * @see [relay-connection-types](https://the-guild.dev/graphql/eslint/rules/relay-connection-types) - */ - '@graphql-eslint/relay-connection-types': RelayConnectionTypesRuleConfig; -} diff --git a/src/rules/graphql-eslint/relay-edge-types.d.ts b/src/rules/graphql-eslint/relay-edge-types.d.ts deleted file mode 100644 index a16d451e..00000000 --- a/src/rules/graphql-eslint/relay-edge-types.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @maxItems 1 - */ -export type RelayEdgeTypesOption = - | [] - | [ - { - /** - * Edge type name must end in "Edge". - */ - withEdgeSuffix?: boolean; - /** - * Edge type's field `node` must implement `Node` interface. - */ - shouldImplementNode?: boolean; - /** - * A list type should only wrap an edge type. - */ - listTypeCanWrapOnlyEdgeType?: boolean; - }, - ]; - -/** - * Options. - */ -export type RelayEdgeTypesOptions = RelayEdgeTypesOption; - -/** - * Set of rules to follow Relay specification for Edge types. - -- A type that is returned in list form by a connection type's `edges` field is considered by this spec to be an Edge type -- Edge type must be an Object type -- Edge type must contain a field `node` that return either Scalar, Enum, Object, Interface, Union, or a non-null wrapper around one of those types. Notably, this field cannot return a list -- Edge type must contain a field `cursor` that return either String, Scalar, or a non-null wrapper around one of those types -- Edge type name must end in "Edge" _(optional)_ -- Edge type's field `node` must implement `Node` interface _(optional)_ -- A list type should only wrap an edge type _(optional)_. - * - * @see [relay-edge-types](https://the-guild.dev/graphql/eslint/rules/relay-edge-types) - */ -export type RelayEdgeTypesRuleConfig = RuleConfig; - -/** - * Set of rules to follow Relay specification for Edge types. - -- A type that is returned in list form by a connection type's `edges` field is considered by this spec to be an Edge type -- Edge type must be an Object type -- Edge type must contain a field `node` that return either Scalar, Enum, Object, Interface, Union, or a non-null wrapper around one of those types. Notably, this field cannot return a list -- Edge type must contain a field `cursor` that return either String, Scalar, or a non-null wrapper around one of those types -- Edge type name must end in "Edge" _(optional)_ -- Edge type's field `node` must implement `Node` interface _(optional)_ -- A list type should only wrap an edge type _(optional)_. - * - * @see [relay-edge-types](https://the-guild.dev/graphql/eslint/rules/relay-edge-types) - */ -export interface RelayEdgeTypesRule { - /** - * Set of rules to follow Relay specification for Edge types. - -- A type that is returned in list form by a connection type's `edges` field is considered by this spec to be an Edge type -- Edge type must be an Object type -- Edge type must contain a field `node` that return either Scalar, Enum, Object, Interface, Union, or a non-null wrapper around one of those types. Notably, this field cannot return a list -- Edge type must contain a field `cursor` that return either String, Scalar, or a non-null wrapper around one of those types -- Edge type name must end in "Edge" _(optional)_ -- Edge type's field `node` must implement `Node` interface _(optional)_ -- A list type should only wrap an edge type _(optional)_. - * - * @see [relay-edge-types](https://the-guild.dev/graphql/eslint/rules/relay-edge-types) - */ - '@graphql-eslint/relay-edge-types': RelayEdgeTypesRuleConfig; -} diff --git a/src/rules/graphql-eslint/relay-page-info.d.ts b/src/rules/graphql-eslint/relay-page-info.d.ts deleted file mode 100644 index 8119f9b9..00000000 --- a/src/rules/graphql-eslint/relay-page-info.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Set of rules to follow Relay specification for `PageInfo` object. - -- `PageInfo` must be an Object type -- `PageInfo` must contain fields `hasPreviousPage` and `hasNextPage`, that return non-null Boolean -- `PageInfo` must contain fields `startCursor` and `endCursor`, that return either String or Scalar, which can be null if there are no results. - * - * @see [relay-page-info](https://the-guild.dev/graphql/eslint/rules/relay-page-info) - */ -export type RelayPageInfoRuleConfig = RuleConfig<[]>; - -/** - * Set of rules to follow Relay specification for `PageInfo` object. - -- `PageInfo` must be an Object type -- `PageInfo` must contain fields `hasPreviousPage` and `hasNextPage`, that return non-null Boolean -- `PageInfo` must contain fields `startCursor` and `endCursor`, that return either String or Scalar, which can be null if there are no results. - * - * @see [relay-page-info](https://the-guild.dev/graphql/eslint/rules/relay-page-info) - */ -export interface RelayPageInfoRule { - /** - * Set of rules to follow Relay specification for `PageInfo` object. - -- `PageInfo` must be an Object type -- `PageInfo` must contain fields `hasPreviousPage` and `hasNextPage`, that return non-null Boolean -- `PageInfo` must contain fields `startCursor` and `endCursor`, that return either String or Scalar, which can be null if there are no results. - * - * @see [relay-page-info](https://the-guild.dev/graphql/eslint/rules/relay-page-info) - */ - '@graphql-eslint/relay-page-info': RelayPageInfoRuleConfig; -} diff --git a/src/rules/graphql-eslint/require-deprecation-date.d.ts b/src/rules/graphql-eslint/require-deprecation-date.d.ts deleted file mode 100644 index 680a5494..00000000 --- a/src/rules/graphql-eslint/require-deprecation-date.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @maxItems 1 - */ -export type RequireDeprecationDateOption = - | [] - | [ - { - argumentName?: string; - }, - ]; - -/** - * Options. - */ -export type RequireDeprecationDateOptions = RequireDeprecationDateOption; - -/** - * Require deletion date on `@deprecated` directive. Suggest removing deprecated things after deprecated date. - * - * @see [require-deprecation-date](https://the-guild.dev/graphql/eslint/rules/require-deprecation-date) - */ -export type RequireDeprecationDateRuleConfig = - RuleConfig; - -/** - * Require deletion date on `@deprecated` directive. Suggest removing deprecated things after deprecated date. - * - * @see [require-deprecation-date](https://the-guild.dev/graphql/eslint/rules/require-deprecation-date) - */ -export interface RequireDeprecationDateRule { - /** - * Require deletion date on `@deprecated` directive. Suggest removing deprecated things after deprecated date. - * - * @see [require-deprecation-date](https://the-guild.dev/graphql/eslint/rules/require-deprecation-date) - */ - '@graphql-eslint/require-deprecation-date': RequireDeprecationDateRuleConfig; -} diff --git a/src/rules/graphql-eslint/require-deprecation-reason.d.ts b/src/rules/graphql-eslint/require-deprecation-reason.d.ts deleted file mode 100644 index 2b7754a5..00000000 --- a/src/rules/graphql-eslint/require-deprecation-reason.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require all deprecation directives to specify a reason. - * - * @see [require-deprecation-reason](https://the-guild.dev/graphql/eslint/rules/require-deprecation-reason) - */ -export type RequireDeprecationReasonRuleConfig = RuleConfig<[]>; - -/** - * Require all deprecation directives to specify a reason. - * - * @see [require-deprecation-reason](https://the-guild.dev/graphql/eslint/rules/require-deprecation-reason) - */ -export interface RequireDeprecationReasonRule { - /** - * Require all deprecation directives to specify a reason. - * - * @see [require-deprecation-reason](https://the-guild.dev/graphql/eslint/rules/require-deprecation-reason) - */ - '@graphql-eslint/require-deprecation-reason': RequireDeprecationReasonRuleConfig; -} diff --git a/src/rules/graphql-eslint/require-description.d.ts b/src/rules/graphql-eslint/require-description.d.ts deleted file mode 100644 index 484461a4..00000000 --- a/src/rules/graphql-eslint/require-description.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @minItems 1 - * @maxItems 1 - */ -export type RequireDescriptionOption = [ - { - /** - * Includes: - * - `ObjectTypeDefinition` - * - `InterfaceTypeDefinition` - * - `EnumTypeDefinition` - * - `ScalarTypeDefinition` - * - `InputObjectTypeDefinition` - * - `UnionTypeDefinition` - */ - types?: boolean; - /** - * Definitions within `Query`, `Mutation`, and `Subscription` root types. - */ - rootField?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#DirectiveDefinition). - */ - DirectiveDefinition?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#EnumTypeDefinition). - */ - EnumTypeDefinition?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#EnumValueDefinition). - */ - EnumValueDefinition?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#FieldDefinition). - */ - FieldDefinition?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#InputObjectTypeDefinition). - */ - InputObjectTypeDefinition?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#InputValueDefinition). - */ - InputValueDefinition?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#InterfaceTypeDefinition). - */ - InterfaceTypeDefinition?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#ObjectTypeDefinition). - */ - ObjectTypeDefinition?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#OperationDefinition). - * > You must use only comment syntax `#` and not description syntax `"""` or `"`. - */ - OperationDefinition?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#ScalarTypeDefinition). - */ - ScalarTypeDefinition?: boolean; - /** - * Read more about this kind on [spec.graphql.org](https://spec.graphql.org/October2021/#UnionTypeDefinition). - */ - UnionTypeDefinition?: boolean; - }, -]; - -/** - * Options. - */ -export type RequireDescriptionOptions = RequireDescriptionOption; - -/** - * Enforce descriptions in type definitions and operations. - * - * @see [require-description](https://the-guild.dev/graphql/eslint/rules/require-description) - */ -export type RequireDescriptionRuleConfig = - RuleConfig; - -/** - * Enforce descriptions in type definitions and operations. - * - * @see [require-description](https://the-guild.dev/graphql/eslint/rules/require-description) - */ -export interface RequireDescriptionRule { - /** - * Enforce descriptions in type definitions and operations. - * - * @see [require-description](https://the-guild.dev/graphql/eslint/rules/require-description) - */ - '@graphql-eslint/require-description': RequireDescriptionRuleConfig; -} diff --git a/src/rules/graphql-eslint/require-field-of-type-query-in-mutation-result.d.ts b/src/rules/graphql-eslint/require-field-of-type-query-in-mutation-result.d.ts deleted file mode 100644 index 0c29c173..00000000 --- a/src/rules/graphql-eslint/require-field-of-type-query-in-mutation-result.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Allow the client in one round-trip not only to call mutation but also to get a wagon of data to update their application. -> Currently, no errors are reported for result type `union`, `interface` and `scalar`. - * - * @see [require-field-of-type-query-in-mutation-result](https://the-guild.dev/graphql/eslint/rules/require-field-of-type-query-in-mutation-result) - */ -export type RequireFieldOfTypeQueryInMutationResultRuleConfig = RuleConfig<[]>; - -/** - * Allow the client in one round-trip not only to call mutation but also to get a wagon of data to update their application. -> Currently, no errors are reported for result type `union`, `interface` and `scalar`. - * - * @see [require-field-of-type-query-in-mutation-result](https://the-guild.dev/graphql/eslint/rules/require-field-of-type-query-in-mutation-result) - */ -export interface RequireFieldOfTypeQueryInMutationResultRule { - /** - * Allow the client in one round-trip not only to call mutation but also to get a wagon of data to update their application. -> Currently, no errors are reported for result type `union`, `interface` and `scalar`. - * - * @see [require-field-of-type-query-in-mutation-result](https://the-guild.dev/graphql/eslint/rules/require-field-of-type-query-in-mutation-result) - */ - '@graphql-eslint/require-field-of-type-query-in-mutation-result': RequireFieldOfTypeQueryInMutationResultRuleConfig; -} diff --git a/src/rules/graphql-eslint/require-id-when-available.d.ts b/src/rules/graphql-eslint/require-id-when-available.d.ts deleted file mode 100644 index ea7117ef..00000000 --- a/src/rules/graphql-eslint/require-id-when-available.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @maxItems 1 - */ -export type RequireIdWhenAvailableOption = - | [] - | [ - { - fieldName?: AsString | AsArray; - }, - ]; -export type AsString = string; -/** - * @minItems 1 - */ -export type AsArray = [string, ...string[]]; - -/** - * Options. - */ -export type RequireIdWhenAvailableOptions = RequireIdWhenAvailableOption; - -/** - * Enforce selecting specific fields when they are available on the GraphQL type. - * - * @see [require-id-when-available](https://the-guild.dev/graphql/eslint/rules/require-id-when-available) - */ -export type RequireIdWhenAvailableRuleConfig = - RuleConfig; - -/** - * Enforce selecting specific fields when they are available on the GraphQL type. - * - * @see [require-id-when-available](https://the-guild.dev/graphql/eslint/rules/require-id-when-available) - */ -export interface RequireIdWhenAvailableRule { - /** - * Enforce selecting specific fields when they are available on the GraphQL type. - * - * @see [require-id-when-available](https://the-guild.dev/graphql/eslint/rules/require-id-when-available) - */ - '@graphql-eslint/require-id-when-available': RequireIdWhenAvailableRuleConfig; -} diff --git a/src/rules/graphql-eslint/require-import-fragment.d.ts b/src/rules/graphql-eslint/require-import-fragment.d.ts deleted file mode 100644 index 679b2d37..00000000 --- a/src/rules/graphql-eslint/require-import-fragment.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require fragments to be imported via an import expression. - * - * @see [require-import-fragment](https://the-guild.dev/graphql/eslint/rules/require-import-fragment) - */ -export type RequireImportFragmentRuleConfig = RuleConfig<[]>; - -/** - * Require fragments to be imported via an import expression. - * - * @see [require-import-fragment](https://the-guild.dev/graphql/eslint/rules/require-import-fragment) - */ -export interface RequireImportFragmentRule { - /** - * Require fragments to be imported via an import expression. - * - * @see [require-import-fragment](https://the-guild.dev/graphql/eslint/rules/require-import-fragment) - */ - '@graphql-eslint/require-import-fragment': RequireImportFragmentRuleConfig; -} diff --git a/src/rules/graphql-eslint/require-nullable-fields-with-oneof.d.ts b/src/rules/graphql-eslint/require-nullable-fields-with-oneof.d.ts deleted file mode 100644 index 091acd85..00000000 --- a/src/rules/graphql-eslint/require-nullable-fields-with-oneof.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require `input` or `type` fields to be non-nullable with `@oneOf` directive. - * - * @see [require-nullable-fields-with-oneof](https://the-guild.dev/graphql/eslint/rules/require-nullable-fields-with-oneof) - */ -export type RequireNullableFieldsWithOneofRuleConfig = RuleConfig<[]>; - -/** - * Require `input` or `type` fields to be non-nullable with `@oneOf` directive. - * - * @see [require-nullable-fields-with-oneof](https://the-guild.dev/graphql/eslint/rules/require-nullable-fields-with-oneof) - */ -export interface RequireNullableFieldsWithOneofRule { - /** - * Require `input` or `type` fields to be non-nullable with `@oneOf` directive. - * - * @see [require-nullable-fields-with-oneof](https://the-guild.dev/graphql/eslint/rules/require-nullable-fields-with-oneof) - */ - '@graphql-eslint/require-nullable-fields-with-oneof': RequireNullableFieldsWithOneofRuleConfig; -} diff --git a/src/rules/graphql-eslint/require-nullable-result-in-root.d.ts b/src/rules/graphql-eslint/require-nullable-result-in-root.d.ts deleted file mode 100644 index 09350977..00000000 --- a/src/rules/graphql-eslint/require-nullable-result-in-root.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Require nullable fields in root types. - * - * @see [require-nullable-result-in-root](https://the-guild.dev/graphql/eslint/rules/require-nullable-result-in-root) - */ -export type RequireNullableResultInRootRuleConfig = RuleConfig<[]>; - -/** - * Require nullable fields in root types. - * - * @see [require-nullable-result-in-root](https://the-guild.dev/graphql/eslint/rules/require-nullable-result-in-root) - */ -export interface RequireNullableResultInRootRule { - /** - * Require nullable fields in root types. - * - * @see [require-nullable-result-in-root](https://the-guild.dev/graphql/eslint/rules/require-nullable-result-in-root) - */ - '@graphql-eslint/require-nullable-result-in-root': RequireNullableResultInRootRuleConfig; -} diff --git a/src/rules/graphql-eslint/require-type-pattern-with-oneof.d.ts b/src/rules/graphql-eslint/require-type-pattern-with-oneof.d.ts deleted file mode 100644 index 9a4ad58c..00000000 --- a/src/rules/graphql-eslint/require-type-pattern-with-oneof.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforce types with `@oneOf` directive have `error` and `ok` fields. - * - * @see [require-type-pattern-with-oneof](https://the-guild.dev/graphql/eslint/rules/require-type-pattern-with-oneof) - */ -export type RequireTypePatternWithOneofRuleConfig = RuleConfig<[]>; - -/** - * Enforce types with `@oneOf` directive have `error` and `ok` fields. - * - * @see [require-type-pattern-with-oneof](https://the-guild.dev/graphql/eslint/rules/require-type-pattern-with-oneof) - */ -export interface RequireTypePatternWithOneofRule { - /** - * Enforce types with `@oneOf` directive have `error` and `ok` fields. - * - * @see [require-type-pattern-with-oneof](https://the-guild.dev/graphql/eslint/rules/require-type-pattern-with-oneof) - */ - '@graphql-eslint/require-type-pattern-with-oneof': RequireTypePatternWithOneofRuleConfig; -} diff --git a/src/rules/graphql-eslint/scalar-leafs.d.ts b/src/rules/graphql-eslint/scalar-leafs.d.ts deleted file mode 100644 index b80f2f68..00000000 --- a/src/rules/graphql-eslint/scalar-leafs.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is valid only if all leaf fields (fields without sub selections) are of scalar or enum types. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [scalar-leafs](https://the-guild.dev/graphql/eslint/rules/scalar-leafs) - */ -export type ScalarLeafsRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is valid only if all leaf fields (fields without sub selections) are of scalar or enum types. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [scalar-leafs](https://the-guild.dev/graphql/eslint/rules/scalar-leafs) - */ -export interface ScalarLeafsRule { - /** - * A GraphQL document is valid only if all leaf fields (fields without sub selections) are of scalar or enum types. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [scalar-leafs](https://the-guild.dev/graphql/eslint/rules/scalar-leafs) - */ - '@graphql-eslint/scalar-leafs': ScalarLeafsRuleConfig; -} diff --git a/src/rules/graphql-eslint/selection-set-depth.d.ts b/src/rules/graphql-eslint/selection-set-depth.d.ts deleted file mode 100644 index 3530b9ea..00000000 --- a/src/rules/graphql-eslint/selection-set-depth.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @minItems 1 - * @maxItems 1 - */ -export type SelectionSetDepthOption = [ - { - maxDepth: number; - /** - * @minItems 1 - */ - ignore?: [string, ...string[]]; - }, -]; - -/** - * Options. - */ -export type SelectionSetDepthOptions = SelectionSetDepthOption; - -/** - * Limit the complexity of the GraphQL operations solely by their depth. Based on [graphql-depth-limit](https://npmjs.com/package/graphql-depth-limit). - * - * @see [selection-set-depth](https://the-guild.dev/graphql/eslint/rules/selection-set-depth) - */ -export type SelectionSetDepthRuleConfig = RuleConfig; - -/** - * Limit the complexity of the GraphQL operations solely by their depth. Based on [graphql-depth-limit](https://npmjs.com/package/graphql-depth-limit). - * - * @see [selection-set-depth](https://the-guild.dev/graphql/eslint/rules/selection-set-depth) - */ -export interface SelectionSetDepthRule { - /** - * Limit the complexity of the GraphQL operations solely by their depth. Based on [graphql-depth-limit](https://npmjs.com/package/graphql-depth-limit). - * - * @see [selection-set-depth](https://the-guild.dev/graphql/eslint/rules/selection-set-depth) - */ - '@graphql-eslint/selection-set-depth': SelectionSetDepthRuleConfig; -} diff --git a/src/rules/graphql-eslint/strict-id-in-types.d.ts b/src/rules/graphql-eslint/strict-id-in-types.d.ts deleted file mode 100644 index 5ea95d88..00000000 --- a/src/rules/graphql-eslint/strict-id-in-types.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @maxItems 1 - */ -export type StrictIdInTypesOption = - | [] - | [ - { - /** - * @minItems 1 - */ - acceptedIdNames?: [string, ...string[]]; - /** - * @minItems 1 - */ - acceptedIdTypes?: [string, ...string[]]; - exceptions?: { - /** - * This is used to exclude types with names that match one of the specified values. - * - * @minItems 1 - */ - types?: [string, ...string[]]; - /** - * This is used to exclude types with names with suffixes that match one of the specified values. - * - * @minItems 1 - */ - suffixes?: [string, ...string[]]; - }; - }, - ]; - -/** - * Options. - */ -export type StrictIdInTypesOptions = StrictIdInTypesOption; - -/** - * Requires output types to have one unique identifier unless they do not have a logical one. Exceptions can be used to ignore output types that do not have unique identifiers. - * - * @see [strict-id-in-types](https://the-guild.dev/graphql/eslint/rules/strict-id-in-types) - */ -export type StrictIdInTypesRuleConfig = RuleConfig; - -/** - * Requires output types to have one unique identifier unless they do not have a logical one. Exceptions can be used to ignore output types that do not have unique identifiers. - * - * @see [strict-id-in-types](https://the-guild.dev/graphql/eslint/rules/strict-id-in-types) - */ -export interface StrictIdInTypesRule { - /** - * Requires output types to have one unique identifier unless they do not have a logical one. Exceptions can be used to ignore output types that do not have unique identifiers. - * - * @see [strict-id-in-types](https://the-guild.dev/graphql/eslint/rules/strict-id-in-types) - */ - '@graphql-eslint/strict-id-in-types': StrictIdInTypesRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-argument-names.d.ts b/src/rules/graphql-eslint/unique-argument-names.d.ts deleted file mode 100644 index ff8cf001..00000000 --- a/src/rules/graphql-eslint/unique-argument-names.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL field or directive is only valid if all supplied arguments are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-argument-names](https://the-guild.dev/graphql/eslint/rules/unique-argument-names) - */ -export type UniqueArgumentNamesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL field or directive is only valid if all supplied arguments are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-argument-names](https://the-guild.dev/graphql/eslint/rules/unique-argument-names) - */ -export interface UniqueArgumentNamesRule { - /** - * A GraphQL field or directive is only valid if all supplied arguments are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-argument-names](https://the-guild.dev/graphql/eslint/rules/unique-argument-names) - */ - '@graphql-eslint/unique-argument-names': UniqueArgumentNamesRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-directive-names-per-location.d.ts b/src/rules/graphql-eslint/unique-directive-names-per-location.d.ts deleted file mode 100644 index fd2c474c..00000000 --- a/src/rules/graphql-eslint/unique-directive-names-per-location.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid if all non-repeatable directives at a given location are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-directive-names-per-location](https://the-guild.dev/graphql/eslint/rules/unique-directive-names-per-location) - */ -export type UniqueDirectiveNamesPerLocationRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid if all non-repeatable directives at a given location are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-directive-names-per-location](https://the-guild.dev/graphql/eslint/rules/unique-directive-names-per-location) - */ -export interface UniqueDirectiveNamesPerLocationRule { - /** - * A GraphQL document is only valid if all non-repeatable directives at a given location are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-directive-names-per-location](https://the-guild.dev/graphql/eslint/rules/unique-directive-names-per-location) - */ - '@graphql-eslint/unique-directive-names-per-location': UniqueDirectiveNamesPerLocationRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-directive-names.d.ts b/src/rules/graphql-eslint/unique-directive-names.d.ts deleted file mode 100644 index 8f1932ad..00000000 --- a/src/rules/graphql-eslint/unique-directive-names.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid if all defined directives have unique names. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-directive-names](https://the-guild.dev/graphql/eslint/rules/unique-directive-names) - */ -export type UniqueDirectiveNamesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid if all defined directives have unique names. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-directive-names](https://the-guild.dev/graphql/eslint/rules/unique-directive-names) - */ -export interface UniqueDirectiveNamesRule { - /** - * A GraphQL document is only valid if all defined directives have unique names. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-directive-names](https://the-guild.dev/graphql/eslint/rules/unique-directive-names) - */ - '@graphql-eslint/unique-directive-names': UniqueDirectiveNamesRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-enum-value-names.d.ts b/src/rules/graphql-eslint/unique-enum-value-names.d.ts deleted file mode 100644 index 031a221c..00000000 --- a/src/rules/graphql-eslint/unique-enum-value-names.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL enum type is only valid if all its values are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-enum-value-names](https://the-guild.dev/graphql/eslint/rules/unique-enum-value-names) - */ -export type UniqueEnumValueNamesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL enum type is only valid if all its values are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-enum-value-names](https://the-guild.dev/graphql/eslint/rules/unique-enum-value-names) - */ -export interface UniqueEnumValueNamesRule { - /** - * A GraphQL enum type is only valid if all its values are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-enum-value-names](https://the-guild.dev/graphql/eslint/rules/unique-enum-value-names) - */ - '@graphql-eslint/unique-enum-value-names': UniqueEnumValueNamesRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-field-definition-names.d.ts b/src/rules/graphql-eslint/unique-field-definition-names.d.ts deleted file mode 100644 index e281a026..00000000 --- a/src/rules/graphql-eslint/unique-field-definition-names.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL complex type is only valid if all its fields are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-field-definition-names](https://the-guild.dev/graphql/eslint/rules/unique-field-definition-names) - */ -export type UniqueFieldDefinitionNamesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL complex type is only valid if all its fields are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-field-definition-names](https://the-guild.dev/graphql/eslint/rules/unique-field-definition-names) - */ -export interface UniqueFieldDefinitionNamesRule { - /** - * A GraphQL complex type is only valid if all its fields are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-field-definition-names](https://the-guild.dev/graphql/eslint/rules/unique-field-definition-names) - */ - '@graphql-eslint/unique-field-definition-names': UniqueFieldDefinitionNamesRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-fragment-name.d.ts b/src/rules/graphql-eslint/unique-fragment-name.d.ts deleted file mode 100644 index bb66a321..00000000 --- a/src/rules/graphql-eslint/unique-fragment-name.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforce unique fragment names across your project. - * - * @see [unique-fragment-name](https://the-guild.dev/graphql/eslint/rules/unique-fragment-name) - */ -export type UniqueFragmentNameRuleConfig = RuleConfig<[]>; - -/** - * Enforce unique fragment names across your project. - * - * @see [unique-fragment-name](https://the-guild.dev/graphql/eslint/rules/unique-fragment-name) - */ -export interface UniqueFragmentNameRule { - /** - * Enforce unique fragment names across your project. - * - * @see [unique-fragment-name](https://the-guild.dev/graphql/eslint/rules/unique-fragment-name) - */ - '@graphql-eslint/unique-fragment-name': UniqueFragmentNameRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-input-field-names.d.ts b/src/rules/graphql-eslint/unique-input-field-names.d.ts deleted file mode 100644 index bb49392f..00000000 --- a/src/rules/graphql-eslint/unique-input-field-names.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL input object value is only valid if all supplied fields are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-input-field-names](https://the-guild.dev/graphql/eslint/rules/unique-input-field-names) - */ -export type UniqueInputFieldNamesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL input object value is only valid if all supplied fields are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-input-field-names](https://the-guild.dev/graphql/eslint/rules/unique-input-field-names) - */ -export interface UniqueInputFieldNamesRule { - /** - * A GraphQL input object value is only valid if all supplied fields are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-input-field-names](https://the-guild.dev/graphql/eslint/rules/unique-input-field-names) - */ - '@graphql-eslint/unique-input-field-names': UniqueInputFieldNamesRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-operation-name.d.ts b/src/rules/graphql-eslint/unique-operation-name.d.ts deleted file mode 100644 index d9b32609..00000000 --- a/src/rules/graphql-eslint/unique-operation-name.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Enforce unique operation names across your project. - * - * @see [unique-operation-name](https://the-guild.dev/graphql/eslint/rules/unique-operation-name) - */ -export type UniqueOperationNameRuleConfig = RuleConfig<[]>; - -/** - * Enforce unique operation names across your project. - * - * @see [unique-operation-name](https://the-guild.dev/graphql/eslint/rules/unique-operation-name) - */ -export interface UniqueOperationNameRule { - /** - * Enforce unique operation names across your project. - * - * @see [unique-operation-name](https://the-guild.dev/graphql/eslint/rules/unique-operation-name) - */ - '@graphql-eslint/unique-operation-name': UniqueOperationNameRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-operation-types.d.ts b/src/rules/graphql-eslint/unique-operation-types.d.ts deleted file mode 100644 index 529a4d08..00000000 --- a/src/rules/graphql-eslint/unique-operation-types.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid if it has only one type per operation. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-operation-types](https://the-guild.dev/graphql/eslint/rules/unique-operation-types) - */ -export type UniqueOperationTypesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid if it has only one type per operation. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-operation-types](https://the-guild.dev/graphql/eslint/rules/unique-operation-types) - */ -export interface UniqueOperationTypesRule { - /** - * A GraphQL document is only valid if it has only one type per operation. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-operation-types](https://the-guild.dev/graphql/eslint/rules/unique-operation-types) - */ - '@graphql-eslint/unique-operation-types': UniqueOperationTypesRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-type-names.d.ts b/src/rules/graphql-eslint/unique-type-names.d.ts deleted file mode 100644 index 215e8ee2..00000000 --- a/src/rules/graphql-eslint/unique-type-names.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid if all defined types have unique names. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-type-names](https://the-guild.dev/graphql/eslint/rules/unique-type-names) - */ -export type UniqueTypeNamesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid if all defined types have unique names. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-type-names](https://the-guild.dev/graphql/eslint/rules/unique-type-names) - */ -export interface UniqueTypeNamesRule { - /** - * A GraphQL document is only valid if all defined types have unique names. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-type-names](https://the-guild.dev/graphql/eslint/rules/unique-type-names) - */ - '@graphql-eslint/unique-type-names': UniqueTypeNamesRuleConfig; -} diff --git a/src/rules/graphql-eslint/unique-variable-names.d.ts b/src/rules/graphql-eslint/unique-variable-names.d.ts deleted file mode 100644 index 0a9a7cdb..00000000 --- a/src/rules/graphql-eslint/unique-variable-names.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL operation is only valid if all its variables are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-variable-names](https://the-guild.dev/graphql/eslint/rules/unique-variable-names) - */ -export type UniqueVariableNamesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL operation is only valid if all its variables are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-variable-names](https://the-guild.dev/graphql/eslint/rules/unique-variable-names) - */ -export interface UniqueVariableNamesRule { - /** - * A GraphQL operation is only valid if all its variables are uniquely named. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [unique-variable-names](https://the-guild.dev/graphql/eslint/rules/unique-variable-names) - */ - '@graphql-eslint/unique-variable-names': UniqueVariableNamesRuleConfig; -} diff --git a/src/rules/graphql-eslint/value-literals-of-correct-type.d.ts b/src/rules/graphql-eslint/value-literals-of-correct-type.d.ts deleted file mode 100644 index f9c30c00..00000000 --- a/src/rules/graphql-eslint/value-literals-of-correct-type.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL document is only valid if all value literals are of the type expected at their position. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [value-literals-of-correct-type](https://the-guild.dev/graphql/eslint/rules/value-literals-of-correct-type) - */ -export type ValueLiteralsOfCorrectTypeRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL document is only valid if all value literals are of the type expected at their position. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [value-literals-of-correct-type](https://the-guild.dev/graphql/eslint/rules/value-literals-of-correct-type) - */ -export interface ValueLiteralsOfCorrectTypeRule { - /** - * A GraphQL document is only valid if all value literals are of the type expected at their position. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [value-literals-of-correct-type](https://the-guild.dev/graphql/eslint/rules/value-literals-of-correct-type) - */ - '@graphql-eslint/value-literals-of-correct-type': ValueLiteralsOfCorrectTypeRuleConfig; -} diff --git a/src/rules/graphql-eslint/variables-are-input-types.d.ts b/src/rules/graphql-eslint/variables-are-input-types.d.ts deleted file mode 100644 index 391360b8..00000000 --- a/src/rules/graphql-eslint/variables-are-input-types.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * A GraphQL operation is only valid if all the variables it defines are of input types (scalar, enum, or input object). -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [variables-are-input-types](https://the-guild.dev/graphql/eslint/rules/variables-are-input-types) - */ -export type VariablesAreInputTypesRuleConfig = RuleConfig<[]>; - -/** - * A GraphQL operation is only valid if all the variables it defines are of input types (scalar, enum, or input object). -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [variables-are-input-types](https://the-guild.dev/graphql/eslint/rules/variables-are-input-types) - */ -export interface VariablesAreInputTypesRule { - /** - * A GraphQL operation is only valid if all the variables it defines are of input types (scalar, enum, or input object). -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [variables-are-input-types](https://the-guild.dev/graphql/eslint/rules/variables-are-input-types) - */ - '@graphql-eslint/variables-are-input-types': VariablesAreInputTypesRuleConfig; -} diff --git a/src/rules/graphql-eslint/variables-in-allowed-position.d.ts b/src/rules/graphql-eslint/variables-in-allowed-position.d.ts deleted file mode 100644 index e0e70bd6..00000000 --- a/src/rules/graphql-eslint/variables-in-allowed-position.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Variables passed to field arguments conform to type. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [variables-in-allowed-position](https://the-guild.dev/graphql/eslint/rules/variables-in-allowed-position) - */ -export type VariablesInAllowedPositionRuleConfig = RuleConfig<[]>; - -/** - * Variables passed to field arguments conform to type. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [variables-in-allowed-position](https://the-guild.dev/graphql/eslint/rules/variables-in-allowed-position) - */ -export interface VariablesInAllowedPositionRule { - /** - * Variables passed to field arguments conform to type. -> This rule is a wrapper around a `graphql-js` validation function. - * - * @see [variables-in-allowed-position](https://the-guild.dev/graphql/eslint/rules/variables-in-allowed-position) - */ - '@graphql-eslint/variables-in-allowed-position': VariablesInAllowedPositionRuleConfig; -} diff --git a/src/rules/import/consistent-type-specifier-style.d.ts b/src/rules/import/consistent-type-specifier-style.d.ts deleted file mode 100644 index 9cdb12c2..00000000 --- a/src/rules/import/consistent-type-specifier-style.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ConsistentTypeSpecifierStyleOption = - | 'prefer-inline' - | 'prefer-top-level'; - -/** - * Options. - */ -export type ConsistentTypeSpecifierStyleOptions = [ - ConsistentTypeSpecifierStyleOption?, -]; - -/** - * Enforce or ban the use of inline type-only markers for named imports. - * - * @see [consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/consistent-type-specifier-style.md) - */ -export type ConsistentTypeSpecifierStyleRuleConfig = - RuleConfig; - -/** - * Enforce or ban the use of inline type-only markers for named imports. - * - * @see [consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/consistent-type-specifier-style.md) - */ -export interface ConsistentTypeSpecifierStyleRule { - /** - * Enforce or ban the use of inline type-only markers for named imports. - * - * @see [consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/consistent-type-specifier-style.md) - */ - 'import/consistent-type-specifier-style': ConsistentTypeSpecifierStyleRuleConfig; -} diff --git a/src/rules/import/default.d.ts b/src/rules/import/default.d.ts deleted file mode 100644 index ab2f1c47..00000000 --- a/src/rules/import/default.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Ensure a default export is present, given a default import. - * - * @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/default.md) - */ -export type DefaultRuleConfig = RuleConfig<[]>; - -/** - * Ensure a default export is present, given a default import. - * - * @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/default.md) - */ -export interface DefaultRule { - /** - * Ensure a default export is present, given a default import. - * - * @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/default.md) - */ - 'import/default': DefaultRuleConfig; -} diff --git a/src/rules/import/dynamic-import-chunkname.d.ts b/src/rules/import/dynamic-import-chunkname.d.ts deleted file mode 100644 index 1b2d69c2..00000000 --- a/src/rules/import/dynamic-import-chunkname.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface DynamicImportChunknameOption { - importFunctions?: string[]; - webpackChunknameFormat?: string; - [k: string]: any; -} - -/** - * Options. - */ -export type DynamicImportChunknameOptions = [DynamicImportChunknameOption?]; - -/** - * Enforce a leading comment with the webpackChunkName for dynamic imports. - * - * @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/dynamic-import-chunkname.md) - */ -export type DynamicImportChunknameRuleConfig = - RuleConfig; - -/** - * Enforce a leading comment with the webpackChunkName for dynamic imports. - * - * @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/dynamic-import-chunkname.md) - */ -export interface DynamicImportChunknameRule { - /** - * Enforce a leading comment with the webpackChunkName for dynamic imports. - * - * @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/dynamic-import-chunkname.md) - */ - 'import/dynamic-import-chunkname': DynamicImportChunknameRuleConfig; -} diff --git a/src/rules/import/export.d.ts b/src/rules/import/export.d.ts deleted file mode 100644 index 34d642ec..00000000 --- a/src/rules/import/export.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid any invalid exports, i.e. re-export of the same name. - * - * @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/export.md) - */ -export type ExportRuleConfig = RuleConfig<[]>; - -/** - * Forbid any invalid exports, i.e. re-export of the same name. - * - * @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/export.md) - */ -export interface ExportRule { - /** - * Forbid any invalid exports, i.e. re-export of the same name. - * - * @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/export.md) - */ - 'import/export': ExportRuleConfig; -} diff --git a/src/rules/import/exports-last.d.ts b/src/rules/import/exports-last.d.ts deleted file mode 100644 index 4722d74f..00000000 --- a/src/rules/import/exports-last.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Ensure all exports appear after other statements. - * - * @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/exports-last.md) - */ -export type ExportsLastRuleConfig = RuleConfig<[]>; - -/** - * Ensure all exports appear after other statements. - * - * @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/exports-last.md) - */ -export interface ExportsLastRule { - /** - * Ensure all exports appear after other statements. - * - * @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/exports-last.md) - */ - 'import/exports-last': ExportsLastRuleConfig; -} diff --git a/src/rules/import/extensions.d.ts b/src/rules/import/extensions.d.ts deleted file mode 100644 index 4c3a4a14..00000000 --- a/src/rules/import/extensions.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ExtensionsOption = - | [] - | ['always' | 'ignorePackages' | 'never'] - | [] - | ['always' | 'ignorePackages' | 'never'] - | [ - 'always' | 'ignorePackages' | 'never', - { - pattern?: { - /** - */ - [k: string]: 'always' | 'ignorePackages' | 'never'; - }; - ignorePackages?: boolean; - [k: string]: any; - }, - ] - | [] - | [ - { - pattern?: { - /** - */ - [k: string]: 'always' | 'ignorePackages' | 'never'; - }; - ignorePackages?: boolean; - [k: string]: any; - }, - ] - | [] - | [ - { - /** - */ - [k: string]: 'always' | 'ignorePackages' | 'never'; - }, - ] - | [] - | ['always' | 'ignorePackages' | 'never'] - | [ - 'always' | 'ignorePackages' | 'never', - { - /** - */ - [k: string]: 'always' | 'ignorePackages' | 'never'; - }, - ]; - -/** - * Options. - */ -export type ExtensionsOptions = ExtensionsOption; - -/** - * Ensure consistent use of file extension within the import path. - * - * @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/extensions.md) - */ -export type ExtensionsRuleConfig = RuleConfig; - -/** - * Ensure consistent use of file extension within the import path. - * - * @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/extensions.md) - */ -export interface ExtensionsRule { - /** - * Ensure consistent use of file extension within the import path. - * - * @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/extensions.md) - */ - 'import/extensions': ExtensionsRuleConfig; -} diff --git a/src/rules/import/first.d.ts b/src/rules/import/first.d.ts deleted file mode 100644 index fcd1a2c8..00000000 --- a/src/rules/import/first.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type FirstOption = 'absolute-first' | 'disable-absolute-first'; - -/** - * Options. - */ -export type FirstOptions = [FirstOption?]; - -/** - * Ensure all imports appear before other statements. - * - * @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/first.md) - */ -export type FirstRuleConfig = RuleConfig; - -/** - * Ensure all imports appear before other statements. - * - * @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/first.md) - */ -export interface FirstRule { - /** - * Ensure all imports appear before other statements. - * - * @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/first.md) - */ - 'import/first': FirstRuleConfig; -} diff --git a/src/rules/import/group-exports.d.ts b/src/rules/import/group-exports.d.ts deleted file mode 100644 index 629b7add..00000000 --- a/src/rules/import/group-exports.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Prefer named exports to be grouped together in a single export declaration. - * - * @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/group-exports.md) - */ -export type GroupExportsRuleConfig = RuleConfig<[]>; - -/** - * Prefer named exports to be grouped together in a single export declaration. - * - * @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/group-exports.md) - */ -export interface GroupExportsRule { - /** - * Prefer named exports to be grouped together in a single export declaration. - * - * @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/group-exports.md) - */ - 'import/group-exports': GroupExportsRuleConfig; -} diff --git a/src/rules/import/imports-first.d.ts b/src/rules/import/imports-first.d.ts deleted file mode 100644 index 52153829..00000000 --- a/src/rules/import/imports-first.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ImportsFirstOption = 'absolute-first' | 'disable-absolute-first'; - -/** - * Options. - */ -export type ImportsFirstOptions = [ImportsFirstOption?]; - -/** - * Replaced by `import/first`. - * - * @deprecated - * - * @see [imports-first](https://github.com/import-js/eslint-plugin-import/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md) - */ -export type ImportsFirstRuleConfig = RuleConfig; - -/** - * Replaced by `import/first`. - * - * @deprecated - * - * @see [imports-first](https://github.com/import-js/eslint-plugin-import/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md) - */ -export interface ImportsFirstRule { - /** - * Replaced by `import/first`. - * - * @deprecated - * - * @see [imports-first](https://github.com/import-js/eslint-plugin-import/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md) - */ - 'import/imports-first': ImportsFirstRuleConfig; -} diff --git a/src/rules/import/index.d.ts b/src/rules/import/index.d.ts deleted file mode 100644 index 2b844e1d..00000000 --- a/src/rules/import/index.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import type { ConsistentTypeSpecifierStyleRule } from './consistent-type-specifier-style'; -import type { DefaultRule } from './default'; -import type { DynamicImportChunknameRule } from './dynamic-import-chunkname'; -import type { ExportRule } from './export'; -import type { ExportsLastRule } from './exports-last'; -import type { ExtensionsRule } from './extensions'; -import type { FirstRule } from './first'; -import type { GroupExportsRule } from './group-exports'; -import type { ImportsFirstRule } from './imports-first'; -import type { MaxDependenciesRule } from './max-dependencies'; -import type { NamedRule } from './named'; -import type { NamespaceRule } from './namespace'; -import type { NewlineAfterImportRule } from './newline-after-import'; -import type { NoAbsolutePathRule } from './no-absolute-path'; -import type { NoAmdRule } from './no-amd'; -import type { NoAnonymousDefaultExportRule } from './no-anonymous-default-export'; -import type { NoCommonjsRule } from './no-commonjs'; -import type { NoCycleRule } from './no-cycle'; -import type { NoDefaultExportRule } from './no-default-export'; -import type { NoDeprecatedRule } from './no-deprecated'; -import type { NoDuplicatesRule } from './no-duplicates'; -import type { NoDynamicRequireRule } from './no-dynamic-require'; -import type { NoEmptyNamedBlocksRule } from './no-empty-named-blocks'; -import type { NoExtraneousDependenciesRule } from './no-extraneous-dependencies'; -import type { NoImportModuleExportsRule } from './no-import-module-exports'; -import type { NoInternalModulesRule } from './no-internal-modules'; -import type { NoMutableExportsRule } from './no-mutable-exports'; -import type { NoNamedAsDefaultRule } from './no-named-as-default'; -import type { NoNamedAsDefaultMemberRule } from './no-named-as-default-member'; -import type { NoNamedDefaultRule } from './no-named-default'; -import type { NoNamedExportRule } from './no-named-export'; -import type { NoNamespaceRule } from './no-namespace'; -import type { NoNodejsModulesRule } from './no-nodejs-modules'; -import type { NoRelativePackagesRule } from './no-relative-packages'; -import type { NoRelativeParentImportsRule } from './no-relative-parent-imports'; -import type { NoRestrictedPathsRule } from './no-restricted-paths'; -import type { NoSelfImportRule } from './no-self-import'; -import type { NoUnassignedImportRule } from './no-unassigned-import'; -import type { NoUnresolvedRule } from './no-unresolved'; -import type { NoUnusedModulesRule } from './no-unused-modules'; -import type { NoUselessPathSegmentsRule } from './no-useless-path-segments'; -import type { NoWebpackLoaderSyntaxRule } from './no-webpack-loader-syntax'; -import type { OrderRule } from './order'; -import type { PreferDefaultExportRule } from './prefer-default-export'; -import type { UnambiguousRule } from './unambiguous'; - -/** - * All Import rules. - */ -export type ImportRules = NoUnresolvedRule & - NamedRule & - DefaultRule & - NamespaceRule & - NoNamespaceRule & - ExportRule & - NoMutableExportsRule & - ExtensionsRule & - NoRestrictedPathsRule & - NoInternalModulesRule & - GroupExportsRule & - NoRelativePackagesRule & - NoRelativeParentImportsRule & - ConsistentTypeSpecifierStyleRule & - NoSelfImportRule & - NoCycleRule & - NoNamedDefaultRule & - NoNamedAsDefaultRule & - NoNamedAsDefaultMemberRule & - NoAnonymousDefaultExportRule & - NoUnusedModulesRule & - NoCommonjsRule & - NoAmdRule & - NoDuplicatesRule & - FirstRule & - MaxDependenciesRule & - NoExtraneousDependenciesRule & - NoAbsolutePathRule & - NoNodejsModulesRule & - NoWebpackLoaderSyntaxRule & - OrderRule & - NewlineAfterImportRule & - PreferDefaultExportRule & - NoDefaultExportRule & - NoNamedExportRule & - NoDynamicRequireRule & - UnambiguousRule & - NoUnassignedImportRule & - NoUselessPathSegmentsRule & - DynamicImportChunknameRule & - NoImportModuleExportsRule & - NoEmptyNamedBlocksRule & - ExportsLastRule & - NoDeprecatedRule & - ImportsFirstRule; diff --git a/src/rules/import/max-dependencies.d.ts b/src/rules/import/max-dependencies.d.ts deleted file mode 100644 index 08b359e8..00000000 --- a/src/rules/import/max-dependencies.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface MaxDependenciesOption { - max?: number; - ignoreTypeImports?: boolean; -} - -/** - * Options. - */ -export type MaxDependenciesOptions = [MaxDependenciesOption?]; - -/** - * Enforce the maximum number of dependencies a module can have. - * - * @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/max-dependencies.md) - */ -export type MaxDependenciesRuleConfig = RuleConfig; - -/** - * Enforce the maximum number of dependencies a module can have. - * - * @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/max-dependencies.md) - */ -export interface MaxDependenciesRule { - /** - * Enforce the maximum number of dependencies a module can have. - * - * @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/max-dependencies.md) - */ - 'import/max-dependencies': MaxDependenciesRuleConfig; -} diff --git a/src/rules/import/named.d.ts b/src/rules/import/named.d.ts deleted file mode 100644 index 725b17e5..00000000 --- a/src/rules/import/named.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NamedOption { - commonjs?: boolean; -} - -/** - * Options. - */ -export type NamedOptions = [NamedOption?]; - -/** - * Ensure named imports correspond to a named export in the remote file. - * - * @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/named.md) - */ -export type NamedRuleConfig = RuleConfig; - -/** - * Ensure named imports correspond to a named export in the remote file. - * - * @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/named.md) - */ -export interface NamedRule { - /** - * Ensure named imports correspond to a named export in the remote file. - * - * @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/named.md) - */ - 'import/named': NamedRuleConfig; -} diff --git a/src/rules/import/namespace.d.ts b/src/rules/import/namespace.d.ts deleted file mode 100644 index f353f679..00000000 --- a/src/rules/import/namespace.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NamespaceOption { - /** - * If `false`, will report computed (and thus, un-lintable) references to namespace members. - */ - allowComputed?: boolean; -} - -/** - * Options. - */ -export type NamespaceOptions = [NamespaceOption?]; - -/** - * Ensure imported namespaces contain dereferenced properties as they are dereferenced. - * - * @see [namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/namespace.md) - */ -export type NamespaceRuleConfig = RuleConfig; - -/** - * Ensure imported namespaces contain dereferenced properties as they are dereferenced. - * - * @see [namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/namespace.md) - */ -export interface NamespaceRule { - /** - * Ensure imported namespaces contain dereferenced properties as they are dereferenced. - * - * @see [namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/namespace.md) - */ - 'import/namespace': NamespaceRuleConfig; -} diff --git a/src/rules/import/newline-after-import.d.ts b/src/rules/import/newline-after-import.d.ts deleted file mode 100644 index 7c51d151..00000000 --- a/src/rules/import/newline-after-import.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NewlineAfterImportOption { - count?: number; - considerComments?: boolean; -} - -/** - * Options. - */ -export type NewlineAfterImportOptions = [NewlineAfterImportOption?]; - -/** - * Enforce a newline after import statements. - * - * @see [newline-after-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/newline-after-import.md) - */ -export type NewlineAfterImportRuleConfig = - RuleConfig; - -/** - * Enforce a newline after import statements. - * - * @see [newline-after-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/newline-after-import.md) - */ -export interface NewlineAfterImportRule { - /** - * Enforce a newline after import statements. - * - * @see [newline-after-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/newline-after-import.md) - */ - 'import/newline-after-import': NewlineAfterImportRuleConfig; -} diff --git a/src/rules/import/no-absolute-path.d.ts b/src/rules/import/no-absolute-path.d.ts deleted file mode 100644 index 5be2a442..00000000 --- a/src/rules/import/no-absolute-path.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoAbsolutePathOption { - commonjs?: boolean; - amd?: boolean; - esmodule?: boolean; - /** - * @minItems 1 - */ - ignore?: [string, ...string[]]; -} - -/** - * Options. - */ -export type NoAbsolutePathOptions = [NoAbsolutePathOption?]; - -/** - * Forbid import of modules using absolute paths. - * - * @see [no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-absolute-path.md) - */ -export type NoAbsolutePathRuleConfig = RuleConfig; - -/** - * Forbid import of modules using absolute paths. - * - * @see [no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-absolute-path.md) - */ -export interface NoAbsolutePathRule { - /** - * Forbid import of modules using absolute paths. - * - * @see [no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-absolute-path.md) - */ - 'import/no-absolute-path': NoAbsolutePathRuleConfig; -} diff --git a/src/rules/import/no-amd.d.ts b/src/rules/import/no-amd.d.ts deleted file mode 100644 index 308917da..00000000 --- a/src/rules/import/no-amd.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid AMD `require` and `define` calls. - * - * @see [no-amd](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-amd.md) - */ -export type NoAmdRuleConfig = RuleConfig<[]>; - -/** - * Forbid AMD `require` and `define` calls. - * - * @see [no-amd](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-amd.md) - */ -export interface NoAmdRule { - /** - * Forbid AMD `require` and `define` calls. - * - * @see [no-amd](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-amd.md) - */ - 'import/no-amd': NoAmdRuleConfig; -} diff --git a/src/rules/import/no-anonymous-default-export.d.ts b/src/rules/import/no-anonymous-default-export.d.ts deleted file mode 100644 index 393f3267..00000000 --- a/src/rules/import/no-anonymous-default-export.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoAnonymousDefaultExportOption { - /** - * If `false`, will report default export of an array - */ - allowArray?: boolean; - /** - * If `false`, will report default export of an arrow function - */ - allowArrowFunction?: boolean; - /** - * If `false`, will report default export of a function call - */ - allowCallExpression?: boolean; - /** - * If `false`, will report default export of an anonymous class - */ - allowAnonymousClass?: boolean; - /** - * If `false`, will report default export of an anonymous function - */ - allowAnonymousFunction?: boolean; - /** - * If `false`, will report default export of a literal - */ - allowLiteral?: boolean; - /** - * If `false`, will report default export of an object expression - */ - allowObject?: boolean; - /** - * If `false`, will report default export of a class instantiation - */ - allowNew?: boolean; -} - -/** - * Options. - */ -export type NoAnonymousDefaultExportOptions = [NoAnonymousDefaultExportOption?]; - -/** - * Forbid anonymous values as default exports. - * - * @see [no-anonymous-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-anonymous-default-export.md) - */ -export type NoAnonymousDefaultExportRuleConfig = - RuleConfig; - -/** - * Forbid anonymous values as default exports. - * - * @see [no-anonymous-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-anonymous-default-export.md) - */ -export interface NoAnonymousDefaultExportRule { - /** - * Forbid anonymous values as default exports. - * - * @see [no-anonymous-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-anonymous-default-export.md) - */ - 'import/no-anonymous-default-export': NoAnonymousDefaultExportRuleConfig; -} diff --git a/src/rules/import/no-commonjs.d.ts b/src/rules/import/no-commonjs.d.ts deleted file mode 100644 index 00479ee7..00000000 --- a/src/rules/import/no-commonjs.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoCommonjsOption = - | [] - | ['allow-primitive-modules'] - | [] - | [ - { - allowPrimitiveModules?: boolean; - allowRequire?: boolean; - allowConditionalRequire?: boolean; - }, - ]; - -/** - * Options. - */ -export type NoCommonjsOptions = NoCommonjsOption; - -/** - * Forbid CommonJS `require` calls and `module.exports` or `exports.*`. - * - * @see [no-commonjs](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-commonjs.md) - */ -export type NoCommonjsRuleConfig = RuleConfig; - -/** - * Forbid CommonJS `require` calls and `module.exports` or `exports.*`. - * - * @see [no-commonjs](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-commonjs.md) - */ -export interface NoCommonjsRule { - /** - * Forbid CommonJS `require` calls and `module.exports` or `exports.*`. - * - * @see [no-commonjs](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-commonjs.md) - */ - 'import/no-commonjs': NoCommonjsRuleConfig; -} diff --git a/src/rules/import/no-cycle.d.ts b/src/rules/import/no-cycle.d.ts deleted file mode 100644 index ca686fee..00000000 --- a/src/rules/import/no-cycle.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoCycleOption { - commonjs?: boolean; - amd?: boolean; - esmodule?: boolean; - /** - * @minItems 1 - */ - ignore?: [string, ...string[]]; - maxDepth?: number | '∞'; - /** - * ignore external modules - */ - ignoreExternal?: boolean; - /** - * Allow cyclic dependency if there is at least one dynamic import in the chain - */ - allowUnsafeDynamicCyclicDependency?: boolean; -} - -/** - * Options. - */ -export type NoCycleOptions = [NoCycleOption?]; - -/** - * Forbid a module from importing a module with a dependency path back to itself. - * - * @see [no-cycle](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-cycle.md) - */ -export type NoCycleRuleConfig = RuleConfig; - -/** - * Forbid a module from importing a module with a dependency path back to itself. - * - * @see [no-cycle](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-cycle.md) - */ -export interface NoCycleRule { - /** - * Forbid a module from importing a module with a dependency path back to itself. - * - * @see [no-cycle](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-cycle.md) - */ - 'import/no-cycle': NoCycleRuleConfig; -} diff --git a/src/rules/import/no-default-export.d.ts b/src/rules/import/no-default-export.d.ts deleted file mode 100644 index 92d389b6..00000000 --- a/src/rules/import/no-default-export.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid default exports. - * - * @see [no-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-default-export.md) - */ -export type NoDefaultExportRuleConfig = RuleConfig<[]>; - -/** - * Forbid default exports. - * - * @see [no-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-default-export.md) - */ -export interface NoDefaultExportRule { - /** - * Forbid default exports. - * - * @see [no-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-default-export.md) - */ - 'import/no-default-export': NoDefaultExportRuleConfig; -} diff --git a/src/rules/import/no-deprecated.d.ts b/src/rules/import/no-deprecated.d.ts deleted file mode 100644 index 6b747117..00000000 --- a/src/rules/import/no-deprecated.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid imported names marked with `@deprecated` documentation tag. - * - * @see [no-deprecated](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-deprecated.md) - */ -export type NoDeprecatedRuleConfig = RuleConfig<[]>; - -/** - * Forbid imported names marked with `@deprecated` documentation tag. - * - * @see [no-deprecated](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-deprecated.md) - */ -export interface NoDeprecatedRule { - /** - * Forbid imported names marked with `@deprecated` documentation tag. - * - * @see [no-deprecated](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-deprecated.md) - */ - 'import/no-deprecated': NoDeprecatedRuleConfig; -} diff --git a/src/rules/import/no-duplicates.d.ts b/src/rules/import/no-duplicates.d.ts deleted file mode 100644 index fe8450e5..00000000 --- a/src/rules/import/no-duplicates.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoDuplicatesOption { - considerQueryString?: boolean; - 'prefer-inline'?: boolean; -} - -/** - * Options. - */ -export type NoDuplicatesOptions = [NoDuplicatesOption?]; - -/** - * Forbid repeated import of the same module in multiple places. - * - * @see [no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-duplicates.md) - */ -export type NoDuplicatesRuleConfig = RuleConfig; - -/** - * Forbid repeated import of the same module in multiple places. - * - * @see [no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-duplicates.md) - */ -export interface NoDuplicatesRule { - /** - * Forbid repeated import of the same module in multiple places. - * - * @see [no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-duplicates.md) - */ - 'import/no-duplicates': NoDuplicatesRuleConfig; -} diff --git a/src/rules/import/no-dynamic-require.d.ts b/src/rules/import/no-dynamic-require.d.ts deleted file mode 100644 index 661c556b..00000000 --- a/src/rules/import/no-dynamic-require.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoDynamicRequireOption { - esmodule?: boolean; -} - -/** - * Options. - */ -export type NoDynamicRequireOptions = [NoDynamicRequireOption?]; - -/** - * Forbid `require()` calls with expressions. - * - * @see [no-dynamic-require](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-dynamic-require.md) - */ -export type NoDynamicRequireRuleConfig = RuleConfig; - -/** - * Forbid `require()` calls with expressions. - * - * @see [no-dynamic-require](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-dynamic-require.md) - */ -export interface NoDynamicRequireRule { - /** - * Forbid `require()` calls with expressions. - * - * @see [no-dynamic-require](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-dynamic-require.md) - */ - 'import/no-dynamic-require': NoDynamicRequireRuleConfig; -} diff --git a/src/rules/import/no-empty-named-blocks.d.ts b/src/rules/import/no-empty-named-blocks.d.ts deleted file mode 100644 index bdda5575..00000000 --- a/src/rules/import/no-empty-named-blocks.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid empty named import blocks. - * - * @see [no-empty-named-blocks](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-empty-named-blocks.md) - */ -export type NoEmptyNamedBlocksRuleConfig = RuleConfig<[]>; - -/** - * Forbid empty named import blocks. - * - * @see [no-empty-named-blocks](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-empty-named-blocks.md) - */ -export interface NoEmptyNamedBlocksRule { - /** - * Forbid empty named import blocks. - * - * @see [no-empty-named-blocks](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-empty-named-blocks.md) - */ - 'import/no-empty-named-blocks': NoEmptyNamedBlocksRuleConfig; -} diff --git a/src/rules/import/no-extraneous-dependencies.d.ts b/src/rules/import/no-extraneous-dependencies.d.ts deleted file mode 100644 index 3d14f2cb..00000000 --- a/src/rules/import/no-extraneous-dependencies.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoExtraneousDependenciesOption { - devDependencies?: boolean | any[]; - optionalDependencies?: boolean | any[]; - peerDependencies?: boolean | any[]; - bundledDependencies?: boolean | any[]; - packageDir?: string | any[]; - includeInternal?: boolean; - includeTypes?: boolean; -} - -/** - * Options. - */ -export type NoExtraneousDependenciesOptions = [NoExtraneousDependenciesOption?]; - -/** - * Forbid the use of extraneous packages. - * - * @see [no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-extraneous-dependencies.md) - */ -export type NoExtraneousDependenciesRuleConfig = - RuleConfig; - -/** - * Forbid the use of extraneous packages. - * - * @see [no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-extraneous-dependencies.md) - */ -export interface NoExtraneousDependenciesRule { - /** - * Forbid the use of extraneous packages. - * - * @see [no-extraneous-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-extraneous-dependencies.md) - */ - 'import/no-extraneous-dependencies': NoExtraneousDependenciesRuleConfig; -} diff --git a/src/rules/import/no-import-module-exports.d.ts b/src/rules/import/no-import-module-exports.d.ts deleted file mode 100644 index bdabd5da..00000000 --- a/src/rules/import/no-import-module-exports.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoImportModuleExportsOption { - exceptions?: any[]; -} - -/** - * Options. - */ -export type NoImportModuleExportsOptions = [NoImportModuleExportsOption?]; - -/** - * Forbid import statements with CommonJS module.exports. - * - */ -export type NoImportModuleExportsRuleConfig = - RuleConfig; - -/** - * Forbid import statements with CommonJS module.exports. - * - */ -export interface NoImportModuleExportsRule { - /** - * Forbid import statements with CommonJS module.exports. - * - */ - 'import/no-import-module-exports': NoImportModuleExportsRuleConfig; -} diff --git a/src/rules/import/no-internal-modules.d.ts b/src/rules/import/no-internal-modules.d.ts deleted file mode 100644 index 4879f951..00000000 --- a/src/rules/import/no-internal-modules.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoInternalModulesOption = - | { - allow?: string[]; - } - | { - forbid?: string[]; - }; - -/** - * Options. - */ -export type NoInternalModulesOptions = [NoInternalModulesOption?]; - -/** - * Forbid importing the submodules of other modules. - * - * @see [no-internal-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-internal-modules.md) - */ -export type NoInternalModulesRuleConfig = RuleConfig; - -/** - * Forbid importing the submodules of other modules. - * - * @see [no-internal-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-internal-modules.md) - */ -export interface NoInternalModulesRule { - /** - * Forbid importing the submodules of other modules. - * - * @see [no-internal-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-internal-modules.md) - */ - 'import/no-internal-modules': NoInternalModulesRuleConfig; -} diff --git a/src/rules/import/no-mutable-exports.d.ts b/src/rules/import/no-mutable-exports.d.ts deleted file mode 100644 index d0b54b8b..00000000 --- a/src/rules/import/no-mutable-exports.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid the use of mutable exports with `var` or `let`. - * - * @see [no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-mutable-exports.md) - */ -export type NoMutableExportsRuleConfig = RuleConfig<[]>; - -/** - * Forbid the use of mutable exports with `var` or `let`. - * - * @see [no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-mutable-exports.md) - */ -export interface NoMutableExportsRule { - /** - * Forbid the use of mutable exports with `var` or `let`. - * - * @see [no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-mutable-exports.md) - */ - 'import/no-mutable-exports': NoMutableExportsRuleConfig; -} diff --git a/src/rules/import/no-named-as-default-member.d.ts b/src/rules/import/no-named-as-default-member.d.ts deleted file mode 100644 index 6856945f..00000000 --- a/src/rules/import/no-named-as-default-member.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid use of exported name as property of default export. - * - * @see [no-named-as-default-member](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default-member.md) - */ -export type NoNamedAsDefaultMemberRuleConfig = RuleConfig<[]>; - -/** - * Forbid use of exported name as property of default export. - * - * @see [no-named-as-default-member](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default-member.md) - */ -export interface NoNamedAsDefaultMemberRule { - /** - * Forbid use of exported name as property of default export. - * - * @see [no-named-as-default-member](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default-member.md) - */ - 'import/no-named-as-default-member': NoNamedAsDefaultMemberRuleConfig; -} diff --git a/src/rules/import/no-named-as-default.d.ts b/src/rules/import/no-named-as-default.d.ts deleted file mode 100644 index bed59971..00000000 --- a/src/rules/import/no-named-as-default.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid use of exported name as identifier of default export. - * - * @see [no-named-as-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default.md) - */ -export type NoNamedAsDefaultRuleConfig = RuleConfig<[]>; - -/** - * Forbid use of exported name as identifier of default export. - * - * @see [no-named-as-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default.md) - */ -export interface NoNamedAsDefaultRule { - /** - * Forbid use of exported name as identifier of default export. - * - * @see [no-named-as-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-as-default.md) - */ - 'import/no-named-as-default': NoNamedAsDefaultRuleConfig; -} diff --git a/src/rules/import/no-named-default.d.ts b/src/rules/import/no-named-default.d.ts deleted file mode 100644 index d0ef7426..00000000 --- a/src/rules/import/no-named-default.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid named default exports. - * - * @see [no-named-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-default.md) - */ -export type NoNamedDefaultRuleConfig = RuleConfig<[]>; - -/** - * Forbid named default exports. - * - * @see [no-named-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-default.md) - */ -export interface NoNamedDefaultRule { - /** - * Forbid named default exports. - * - * @see [no-named-default](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-default.md) - */ - 'import/no-named-default': NoNamedDefaultRuleConfig; -} diff --git a/src/rules/import/no-named-export.d.ts b/src/rules/import/no-named-export.d.ts deleted file mode 100644 index 6e592c2d..00000000 --- a/src/rules/import/no-named-export.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid named exports. - * - * @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-export.md) - */ -export type NoNamedExportRuleConfig = RuleConfig<[]>; - -/** - * Forbid named exports. - * - * @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-export.md) - */ -export interface NoNamedExportRule { - /** - * Forbid named exports. - * - * @see [no-named-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-named-export.md) - */ - 'import/no-named-export': NoNamedExportRuleConfig; -} diff --git a/src/rules/import/no-namespace.d.ts b/src/rules/import/no-namespace.d.ts deleted file mode 100644 index 492e625c..00000000 --- a/src/rules/import/no-namespace.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoNamespaceOption { - ignore?: string[]; - [k: string]: any; -} - -/** - * Options. - */ -export type NoNamespaceOptions = [NoNamespaceOption?]; - -/** - * Forbid namespace (a.k.a. "wildcard" `*`) imports. - * - * @see [no-namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-namespace.md) - */ -export type NoNamespaceRuleConfig = RuleConfig; - -/** - * Forbid namespace (a.k.a. "wildcard" `*`) imports. - * - * @see [no-namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-namespace.md) - */ -export interface NoNamespaceRule { - /** - * Forbid namespace (a.k.a. "wildcard" `*`) imports. - * - * @see [no-namespace](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-namespace.md) - */ - 'import/no-namespace': NoNamespaceRuleConfig; -} diff --git a/src/rules/import/no-nodejs-modules.d.ts b/src/rules/import/no-nodejs-modules.d.ts deleted file mode 100644 index e76b673a..00000000 --- a/src/rules/import/no-nodejs-modules.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoNodejsModulesOption { - allow?: string[]; -} - -/** - * Options. - */ -export type NoNodejsModulesOptions = [NoNodejsModulesOption?]; - -/** - * Forbid Node.js builtin modules. - * - * @see [no-nodejs-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-nodejs-modules.md) - */ -export type NoNodejsModulesRuleConfig = RuleConfig; - -/** - * Forbid Node.js builtin modules. - * - * @see [no-nodejs-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-nodejs-modules.md) - */ -export interface NoNodejsModulesRule { - /** - * Forbid Node.js builtin modules. - * - * @see [no-nodejs-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-nodejs-modules.md) - */ - 'import/no-nodejs-modules': NoNodejsModulesRuleConfig; -} diff --git a/src/rules/import/no-relative-packages.d.ts b/src/rules/import/no-relative-packages.d.ts deleted file mode 100644 index a2c5f9aa..00000000 --- a/src/rules/import/no-relative-packages.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoRelativePackagesOption { - commonjs?: boolean; - amd?: boolean; - esmodule?: boolean; - /** - * @minItems 1 - */ - ignore?: [string, ...string[]]; -} - -/** - * Options. - */ -export type NoRelativePackagesOptions = [NoRelativePackagesOption?]; - -/** - * Forbid importing packages through relative paths. - * - * @see [no-relative-packages](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-packages.md) - */ -export type NoRelativePackagesRuleConfig = - RuleConfig; - -/** - * Forbid importing packages through relative paths. - * - * @see [no-relative-packages](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-packages.md) - */ -export interface NoRelativePackagesRule { - /** - * Forbid importing packages through relative paths. - * - * @see [no-relative-packages](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-packages.md) - */ - 'import/no-relative-packages': NoRelativePackagesRuleConfig; -} diff --git a/src/rules/import/no-relative-parent-imports.d.ts b/src/rules/import/no-relative-parent-imports.d.ts deleted file mode 100644 index 3ae5d704..00000000 --- a/src/rules/import/no-relative-parent-imports.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoRelativeParentImportsOption { - commonjs?: boolean; - amd?: boolean; - esmodule?: boolean; - /** - * @minItems 1 - */ - ignore?: [string, ...string[]]; -} - -/** - * Options. - */ -export type NoRelativeParentImportsOptions = [NoRelativeParentImportsOption?]; - -/** - * Forbid importing modules from parent directories. - * - * @see [no-relative-parent-imports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-parent-imports.md) - */ -export type NoRelativeParentImportsRuleConfig = - RuleConfig; - -/** - * Forbid importing modules from parent directories. - * - * @see [no-relative-parent-imports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-parent-imports.md) - */ -export interface NoRelativeParentImportsRule { - /** - * Forbid importing modules from parent directories. - * - * @see [no-relative-parent-imports](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-relative-parent-imports.md) - */ - 'import/no-relative-parent-imports': NoRelativeParentImportsRuleConfig; -} diff --git a/src/rules/import/no-restricted-paths.d.ts b/src/rules/import/no-restricted-paths.d.ts deleted file mode 100644 index c54a9ddf..00000000 --- a/src/rules/import/no-restricted-paths.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoRestrictedPathsOption { - /** - * @minItems 1 - */ - zones?: [ - { - target?: string | string[]; - from?: string | string[]; - except?: string[]; - message?: string; - }, - ...{ - target?: string | string[]; - from?: string | string[]; - except?: string[]; - message?: string; - }[], - ]; - basePath?: string; -} - -/** - * Options. - */ -export type NoRestrictedPathsOptions = [NoRestrictedPathsOption?]; - -/** - * Enforce which files can be imported in a given folder. - * - * @see [no-restricted-paths](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-restricted-paths.md) - */ -export type NoRestrictedPathsRuleConfig = RuleConfig; - -/** - * Enforce which files can be imported in a given folder. - * - * @see [no-restricted-paths](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-restricted-paths.md) - */ -export interface NoRestrictedPathsRule { - /** - * Enforce which files can be imported in a given folder. - * - * @see [no-restricted-paths](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-restricted-paths.md) - */ - 'import/no-restricted-paths': NoRestrictedPathsRuleConfig; -} diff --git a/src/rules/import/no-self-import.d.ts b/src/rules/import/no-self-import.d.ts deleted file mode 100644 index 65e8e167..00000000 --- a/src/rules/import/no-self-import.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid a module from importing itself. - * - * @see [no-self-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-self-import.md) - */ -export type NoSelfImportRuleConfig = RuleConfig<[]>; - -/** - * Forbid a module from importing itself. - * - * @see [no-self-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-self-import.md) - */ -export interface NoSelfImportRule { - /** - * Forbid a module from importing itself. - * - * @see [no-self-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-self-import.md) - */ - 'import/no-self-import': NoSelfImportRuleConfig; -} diff --git a/src/rules/import/no-unassigned-import.d.ts b/src/rules/import/no-unassigned-import.d.ts deleted file mode 100644 index 8ca416c9..00000000 --- a/src/rules/import/no-unassigned-import.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUnassignedImportOption { - devDependencies?: boolean | any[]; - optionalDependencies?: boolean | any[]; - peerDependencies?: boolean | any[]; - allow?: string[]; -} - -/** - * Options. - */ -export type NoUnassignedImportOptions = [NoUnassignedImportOption?]; - -/** - * Forbid unassigned imports. - * - * @see [no-unassigned-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unassigned-import.md) - */ -export type NoUnassignedImportRuleConfig = - RuleConfig; - -/** - * Forbid unassigned imports. - * - * @see [no-unassigned-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unassigned-import.md) - */ -export interface NoUnassignedImportRule { - /** - * Forbid unassigned imports. - * - * @see [no-unassigned-import](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unassigned-import.md) - */ - 'import/no-unassigned-import': NoUnassignedImportRuleConfig; -} diff --git a/src/rules/import/no-unresolved.d.ts b/src/rules/import/no-unresolved.d.ts deleted file mode 100644 index b9637c13..00000000 --- a/src/rules/import/no-unresolved.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUnresolvedOption { - commonjs?: boolean; - amd?: boolean; - esmodule?: boolean; - /** - * @minItems 1 - */ - ignore?: [string, ...string[]]; - caseSensitive?: boolean; - caseSensitiveStrict?: boolean; -} - -/** - * Options. - */ -export type NoUnresolvedOptions = [NoUnresolvedOption?]; - -/** - * Ensure imports point to a file/module that can be resolved. - * - * @see [no-unresolved](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unresolved.md) - */ -export type NoUnresolvedRuleConfig = RuleConfig; - -/** - * Ensure imports point to a file/module that can be resolved. - * - * @see [no-unresolved](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unresolved.md) - */ -export interface NoUnresolvedRule { - /** - * Ensure imports point to a file/module that can be resolved. - * - * @see [no-unresolved](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unresolved.md) - */ - 'import/no-unresolved': NoUnresolvedRuleConfig; -} diff --git a/src/rules/import/no-unused-modules.d.ts b/src/rules/import/no-unused-modules.d.ts deleted file mode 100644 index c811b4e1..00000000 --- a/src/rules/import/no-unused-modules.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type NoUnusedModulesOption = ( - | { - unusedExports: true; - src?: { - [k: string]: any; - }; - [k: string]: any; - } - | { - missingExports: true; - [k: string]: any; - } -) & { - /** - * files/paths to be analyzed (only for unused exports) - */ - src?: string[]; - /** - * files/paths for which unused exports will not be reported (e.g module entry points) - */ - ignoreExports?: string[]; - /** - * report modules without any exports - */ - missingExports?: boolean; - /** - * report exports without any usage - */ - unusedExports?: boolean; - [k: string]: any; -}; - -/** - * Options. - */ -export type NoUnusedModulesOptions = [NoUnusedModulesOption?]; - -/** - * Forbid modules without exports, or exports without matching import in another module. - * - * @see [no-unused-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unused-modules.md) - */ -export type NoUnusedModulesRuleConfig = RuleConfig; - -/** - * Forbid modules without exports, or exports without matching import in another module. - * - * @see [no-unused-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unused-modules.md) - */ -export interface NoUnusedModulesRule { - /** - * Forbid modules without exports, or exports without matching import in another module. - * - * @see [no-unused-modules](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-unused-modules.md) - */ - 'import/no-unused-modules': NoUnusedModulesRuleConfig; -} diff --git a/src/rules/import/no-useless-path-segments.d.ts b/src/rules/import/no-useless-path-segments.d.ts deleted file mode 100644 index c8f070b8..00000000 --- a/src/rules/import/no-useless-path-segments.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUselessPathSegmentsOption { - commonjs?: boolean; - noUselessIndex?: boolean; -} - -/** - * Options. - */ -export type NoUselessPathSegmentsOptions = [NoUselessPathSegmentsOption?]; - -/** - * Forbid unnecessary path segments in import and require statements. - * - * @see [no-useless-path-segments](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-useless-path-segments.md) - */ -export type NoUselessPathSegmentsRuleConfig = - RuleConfig; - -/** - * Forbid unnecessary path segments in import and require statements. - * - * @see [no-useless-path-segments](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-useless-path-segments.md) - */ -export interface NoUselessPathSegmentsRule { - /** - * Forbid unnecessary path segments in import and require statements. - * - * @see [no-useless-path-segments](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-useless-path-segments.md) - */ - 'import/no-useless-path-segments': NoUselessPathSegmentsRuleConfig; -} diff --git a/src/rules/import/no-webpack-loader-syntax.d.ts b/src/rules/import/no-webpack-loader-syntax.d.ts deleted file mode 100644 index 8f12e709..00000000 --- a/src/rules/import/no-webpack-loader-syntax.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid webpack loader syntax in imports. - * - * @see [no-webpack-loader-syntax](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-webpack-loader-syntax.md) - */ -export type NoWebpackLoaderSyntaxRuleConfig = RuleConfig<[]>; - -/** - * Forbid webpack loader syntax in imports. - * - * @see [no-webpack-loader-syntax](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-webpack-loader-syntax.md) - */ -export interface NoWebpackLoaderSyntaxRule { - /** - * Forbid webpack loader syntax in imports. - * - * @see [no-webpack-loader-syntax](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/no-webpack-loader-syntax.md) - */ - 'import/no-webpack-loader-syntax': NoWebpackLoaderSyntaxRuleConfig; -} diff --git a/src/rules/import/order.d.ts b/src/rules/import/order.d.ts deleted file mode 100644 index dc4cbe78..00000000 --- a/src/rules/import/order.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface OrderOption { - groups?: any[]; - pathGroupsExcludedImportTypes?: any[]; - distinctGroup?: boolean; - pathGroups?: { - pattern: string; - patternOptions?: { - [k: string]: any; - }; - group: - | 'builtin' - | 'external' - | 'internal' - | 'unknown' - | 'parent' - | 'sibling' - | 'index' - | 'object' - | 'type'; - position?: 'after' | 'before'; - }[]; - 'newlines-between'?: - | 'ignore' - | 'always' - | 'always-and-inside-groups' - | 'never'; - alphabetize?: { - caseInsensitive?: boolean; - order?: 'ignore' | 'asc' | 'desc'; - orderImportKind?: 'ignore' | 'asc' | 'desc'; - }; - warnOnUnassignedImports?: boolean; -} - -/** - * Options. - */ -export type OrderOptions = [OrderOption?]; - -/** - * Enforce a convention in module import order. - * - * @see [order](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/order.md) - */ -export type OrderRuleConfig = RuleConfig; - -/** - * Enforce a convention in module import order. - * - * @see [order](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/order.md) - */ -export interface OrderRule { - /** - * Enforce a convention in module import order. - * - * @see [order](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/order.md) - */ - 'import/order': OrderRuleConfig; -} diff --git a/src/rules/import/prefer-default-export.d.ts b/src/rules/import/prefer-default-export.d.ts deleted file mode 100644 index 170fa379..00000000 --- a/src/rules/import/prefer-default-export.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface PreferDefaultExportOption { - target?: 'single' | 'any'; -} - -/** - * Options. - */ -export type PreferDefaultExportOptions = [PreferDefaultExportOption?]; - -/** - * Prefer a default export if module exports a single name or multiple names. - * - * @see [prefer-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/prefer-default-export.md) - */ -export type PreferDefaultExportRuleConfig = - RuleConfig; - -/** - * Prefer a default export if module exports a single name or multiple names. - * - * @see [prefer-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/prefer-default-export.md) - */ -export interface PreferDefaultExportRule { - /** - * Prefer a default export if module exports a single name or multiple names. - * - * @see [prefer-default-export](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/prefer-default-export.md) - */ - 'import/prefer-default-export': PreferDefaultExportRuleConfig; -} diff --git a/src/rules/import/unambiguous.d.ts b/src/rules/import/unambiguous.d.ts deleted file mode 100644 index 4e8a054e..00000000 --- a/src/rules/import/unambiguous.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Forbid potentially ambiguous parse goal (`script` vs. `module`). - * - * @see [unambiguous](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/unambiguous.md) - */ -export type UnambiguousRuleConfig = RuleConfig<[]>; - -/** - * Forbid potentially ambiguous parse goal (`script` vs. `module`). - * - * @see [unambiguous](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/unambiguous.md) - */ -export interface UnambiguousRule { - /** - * Forbid potentially ambiguous parse goal (`script` vs. `module`). - * - * @see [unambiguous](https://github.com/import-js/eslint-plugin-import/blob/v2.28.1/docs/rules/unambiguous.md) - */ - 'import/unambiguous': UnambiguousRuleConfig; -} diff --git a/src/rules/index.d.ts b/src/rules/index.d.ts index a1881437..826d56e0 100644 --- a/src/rules/index.d.ts +++ b/src/rules/index.d.ts @@ -1,27 +1,5 @@ -import type { DeprecationRules } from './deprecation'; import type { EslintRules } from './eslint'; -import type { EslintCommentsRules } from './eslint-comments'; -import type { GraphQLRules } from './graphql-eslint'; -import type { ImportRules } from './import'; -import type { JSDocRules } from './jsdoc'; -import type { JsoncRules } from './jsonc'; -import type { JsxA11yRules } from './jsx-a11y'; -import type { NRules } from './n'; -import type { NodeRules } from './node'; -import type { PromiseRules } from './promise'; -import type { ReactRules } from './react'; -import type { ReactHooksRules } from './react-hooks'; import type { RuleConfig } from './rule-config'; -import type { SonarJSRules } from './sonarjs'; -import type { SpellcheckRules } from './spellcheck'; -import type { TestingLibraryRules } from './testing-library'; -import type { TypeScriptRules } from './typescript-eslint'; -import type { UnicornRules } from './unicorn'; -import type { VitestRules } from './vitest'; -import type { VueRules } from './vue'; -import type { VueI18nRules } from './vue-i18n'; -import type { VuePugRules } from './vue-pug'; -import type { YmlRules } from './yml'; /** * This is a special exported interface for other packages to declare @@ -63,27 +41,5 @@ type CustomRules = { */ export interface Rules extends CustomRules, - DeprecationRules, EslintRules, - EslintCommentsRules, - GraphQLRules, - ImportRules, - JSDocRules, - JsoncRules, - JsxA11yRules, - NodeRules, - NRules, - PromiseRules, - ReactHooksRules, - ReactRules, - SonarJSRules, - SpellcheckRules, - TestingLibraryRules, - TypeScriptRules, - UnicornRules, - VitestRules, - VueRules, - VueI18nRules, - VuePugRules, - YmlRules, Record {} diff --git a/src/rules/jsdoc/check-access.d.ts b/src/rules/jsdoc/check-access.d.ts deleted file mode 100644 index 0bf67e68..00000000 --- a/src/rules/jsdoc/check-access.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Checks that `@access` tags have a valid value. - * - * @see [check-access](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-access.md#repos-sticky-header) - */ -export type CheckAccessRuleConfig = RuleConfig<[]>; - -/** - * Checks that `@access` tags have a valid value. - * - * @see [check-access](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-access.md#repos-sticky-header) - */ -export interface CheckAccessRule { - /** - * Checks that `@access` tags have a valid value. - * - * @see [check-access](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-access.md#repos-sticky-header) - */ - 'jsdoc/check-access': CheckAccessRuleConfig; -} diff --git a/src/rules/jsdoc/check-alignment.d.ts b/src/rules/jsdoc/check-alignment.d.ts deleted file mode 100644 index 3b45fefb..00000000 --- a/src/rules/jsdoc/check-alignment.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Reports invalid alignment of JSDoc block asterisks. - * - * @see [check-alignment](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-alignment.md#repos-sticky-header) - */ -export type CheckAlignmentRuleConfig = RuleConfig<[]>; - -/** - * Reports invalid alignment of JSDoc block asterisks. - * - * @see [check-alignment](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-alignment.md#repos-sticky-header) - */ -export interface CheckAlignmentRule { - /** - * Reports invalid alignment of JSDoc block asterisks. - * - * @see [check-alignment](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-alignment.md#repos-sticky-header) - */ - 'jsdoc/check-alignment': CheckAlignmentRuleConfig; -} diff --git a/src/rules/jsdoc/check-examples.d.ts b/src/rules/jsdoc/check-examples.d.ts deleted file mode 100644 index 31d1e9fd..00000000 --- a/src/rules/jsdoc/check-examples.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface CheckExamplesOption { - allowInlineConfig?: boolean; - baseConfig?: { - [k: string]: any; - }; - captionRequired?: boolean; - checkDefaults?: boolean; - checkEslintrc?: boolean; - checkParams?: boolean; - checkProperties?: boolean; - configFile?: string; - exampleCodeRegex?: string; - matchingFileName?: string; - matchingFileNameDefaults?: string; - matchingFileNameParams?: string; - matchingFileNameProperties?: string; - noDefaultExampleRules?: boolean; - paddedIndent?: number; - rejectExampleCodeRegex?: string; - reportUnusedDisableDirectives?: boolean; -} - -/** - * Options. - */ -export type CheckExamplesOptions = [CheckExamplesOption?]; - -/** - * Ensures that (JavaScript) examples within JSDoc adhere to ESLint rules. - * - * @see [check-examples](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-examples.md#repos-sticky-header) - */ -export type CheckExamplesRuleConfig = RuleConfig; - -/** - * Ensures that (JavaScript) examples within JSDoc adhere to ESLint rules. - * - * @see [check-examples](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-examples.md#repos-sticky-header) - */ -export interface CheckExamplesRule { - /** - * Ensures that (JavaScript) examples within JSDoc adhere to ESLint rules. - * - * @see [check-examples](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-examples.md#repos-sticky-header) - */ - 'jsdoc/check-examples': CheckExamplesRuleConfig; -} diff --git a/src/rules/jsdoc/check-indentation.d.ts b/src/rules/jsdoc/check-indentation.d.ts deleted file mode 100644 index 51aa7bce..00000000 --- a/src/rules/jsdoc/check-indentation.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface CheckIndentationOption { - excludeTags?: string[]; -} - -/** - * Options. - */ -export type CheckIndentationOptions = [CheckIndentationOption?]; - -/** - * Reports invalid padding inside JSDoc blocks. - * - * @see [check-indentation](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-indentation.md#repos-sticky-header) - */ -export type CheckIndentationRuleConfig = RuleConfig; - -/** - * Reports invalid padding inside JSDoc blocks. - * - * @see [check-indentation](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-indentation.md#repos-sticky-header) - */ -export interface CheckIndentationRule { - /** - * Reports invalid padding inside JSDoc blocks. - * - * @see [check-indentation](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-indentation.md#repos-sticky-header) - */ - 'jsdoc/check-indentation': CheckIndentationRuleConfig; -} diff --git a/src/rules/jsdoc/check-line-alignment.d.ts b/src/rules/jsdoc/check-line-alignment.d.ts deleted file mode 100644 index f0fbd0b2..00000000 --- a/src/rules/jsdoc/check-line-alignment.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface CheckLineAlignmentConfig { - customSpacings?: { - postDelimiter?: number; - postHyphen?: number; - postName?: number; - postTag?: number; - postType?: number; - }; - preserveMainDescriptionPostDelimiter?: boolean; - tags?: string[]; - wrapIndent?: string; -} - -/** - * Option. - */ -export type CheckLineAlignmentOption = 'always' | 'never' | 'any'; - -/** - * Options. - */ -export type CheckLineAlignmentOptions = [ - CheckLineAlignmentOption?, - CheckLineAlignmentConfig?, -]; - -/** - * Reports invalid alignment of JSDoc block lines. - * - * @see [check-line-alignment](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-line-alignment.md#repos-sticky-header) - */ -export type CheckLineAlignmentRuleConfig = - RuleConfig; - -/** - * Reports invalid alignment of JSDoc block lines. - * - * @see [check-line-alignment](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-line-alignment.md#repos-sticky-header) - */ -export interface CheckLineAlignmentRule { - /** - * Reports invalid alignment of JSDoc block lines. - * - * @see [check-line-alignment](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-line-alignment.md#repos-sticky-header) - */ - 'jsdoc/check-line-alignment': CheckLineAlignmentRuleConfig; -} diff --git a/src/rules/jsdoc/check-param-names.d.ts b/src/rules/jsdoc/check-param-names.d.ts deleted file mode 100644 index 8487c59c..00000000 --- a/src/rules/jsdoc/check-param-names.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface CheckParamNamesOption { - allowExtraTrailingParamDocs?: boolean; - checkDestructured?: boolean; - checkRestProperty?: boolean; - checkTypesPattern?: string; - disableExtraPropertyReporting?: boolean; - enableFixer?: boolean; - useDefaultObjectProperties?: boolean; -} - -/** - * Options. - */ -export type CheckParamNamesOptions = [CheckParamNamesOption?]; - -/** - * Ensures that parameter names in JSDoc match those in the function declaration. - * - * @see [check-param-names](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-param-names.md#repos-sticky-header) - */ -export type CheckParamNamesRuleConfig = RuleConfig; - -/** - * Ensures that parameter names in JSDoc match those in the function declaration. - * - * @see [check-param-names](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-param-names.md#repos-sticky-header) - */ -export interface CheckParamNamesRule { - /** - * Ensures that parameter names in JSDoc match those in the function declaration. - * - * @see [check-param-names](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-param-names.md#repos-sticky-header) - */ - 'jsdoc/check-param-names': CheckParamNamesRuleConfig; -} diff --git a/src/rules/jsdoc/check-property-names.d.ts b/src/rules/jsdoc/check-property-names.d.ts deleted file mode 100644 index 2a7c35d8..00000000 --- a/src/rules/jsdoc/check-property-names.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface CheckPropertyNamesOption { - enableFixer?: boolean; -} - -/** - * Options. - */ -export type CheckPropertyNamesOptions = [CheckPropertyNamesOption?]; - -/** - * Ensures that property names in JSDoc are not duplicated on the same block and that nested properties have defined roots. - * - * @see [check-property-names](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-property-names.md#repos-sticky-header) - */ -export type CheckPropertyNamesRuleConfig = - RuleConfig; - -/** - * Ensures that property names in JSDoc are not duplicated on the same block and that nested properties have defined roots. - * - * @see [check-property-names](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-property-names.md#repos-sticky-header) - */ -export interface CheckPropertyNamesRule { - /** - * Ensures that property names in JSDoc are not duplicated on the same block and that nested properties have defined roots. - * - * @see [check-property-names](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-property-names.md#repos-sticky-header) - */ - 'jsdoc/check-property-names': CheckPropertyNamesRuleConfig; -} diff --git a/src/rules/jsdoc/check-syntax.d.ts b/src/rules/jsdoc/check-syntax.d.ts deleted file mode 100644 index 2bef33e7..00000000 --- a/src/rules/jsdoc/check-syntax.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Reports against syntax not valid for the mode (e.g., Google Closure Compiler in non-Closure mode). - * - * @see [check-syntax](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-syntax.md#repos-sticky-header) - */ -export type CheckSyntaxRuleConfig = RuleConfig<[]>; - -/** - * Reports against syntax not valid for the mode (e.g., Google Closure Compiler in non-Closure mode). - * - * @see [check-syntax](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-syntax.md#repos-sticky-header) - */ -export interface CheckSyntaxRule { - /** - * Reports against syntax not valid for the mode (e.g., Google Closure Compiler in non-Closure mode). - * - * @see [check-syntax](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-syntax.md#repos-sticky-header) - */ - 'jsdoc/check-syntax': CheckSyntaxRuleConfig; -} diff --git a/src/rules/jsdoc/check-tag-names.d.ts b/src/rules/jsdoc/check-tag-names.d.ts deleted file mode 100644 index cbe9482a..00000000 --- a/src/rules/jsdoc/check-tag-names.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface CheckTagNamesOption { - definedTags?: string[]; - enableFixer?: boolean; - jsxTags?: boolean; - typed?: boolean; -} - -/** - * Options. - */ -export type CheckTagNamesOptions = [CheckTagNamesOption?]; - -/** - * Reports invalid block tag names. - * - * @see [check-tag-names](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header) - */ -export type CheckTagNamesRuleConfig = RuleConfig; - -/** - * Reports invalid block tag names. - * - * @see [check-tag-names](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header) - */ -export interface CheckTagNamesRule { - /** - * Reports invalid block tag names. - * - * @see [check-tag-names](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header) - */ - 'jsdoc/check-tag-names': CheckTagNamesRuleConfig; -} diff --git a/src/rules/jsdoc/check-types.d.ts b/src/rules/jsdoc/check-types.d.ts deleted file mode 100644 index 1ccab483..00000000 --- a/src/rules/jsdoc/check-types.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface CheckTypesOption { - exemptTagContexts?: { - tag?: string; - types?: boolean | string[]; - }[]; - noDefaults?: boolean; - unifyParentAndChildTypeChecks?: boolean; -} - -/** - * Options. - */ -export type CheckTypesOptions = [CheckTypesOption?]; - -/** - * Reports invalid types. - * - * @see [check-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header) - */ -export type CheckTypesRuleConfig = RuleConfig; - -/** - * Reports invalid types. - * - * @see [check-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header) - */ -export interface CheckTypesRule { - /** - * Reports invalid types. - * - * @see [check-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header) - */ - 'jsdoc/check-types': CheckTypesRuleConfig; -} diff --git a/src/rules/jsdoc/check-values.d.ts b/src/rules/jsdoc/check-values.d.ts deleted file mode 100644 index 70fa9d2c..00000000 --- a/src/rules/jsdoc/check-values.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface CheckValuesOption { - allowedAuthors?: string[]; - allowedLicenses?: string[] | boolean; - licensePattern?: string; - numericOnlyVariation?: boolean; -} - -/** - * Options. - */ -export type CheckValuesOptions = [CheckValuesOption?]; - -/** - * This rule checks the values for a handful of tags: `@version`, `@since`, `@license` and `@author`. - * - * @see [check-values](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header) - */ -export type CheckValuesRuleConfig = RuleConfig; - -/** - * This rule checks the values for a handful of tags: `@version`, `@since`, `@license` and `@author`. - * - * @see [check-values](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header) - */ -export interface CheckValuesRule { - /** - * This rule checks the values for a handful of tags: `@version`, `@since`, `@license` and `@author`. - * - * @see [check-values](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header) - */ - 'jsdoc/check-values': CheckValuesRuleConfig; -} diff --git a/src/rules/jsdoc/empty-tags.d.ts b/src/rules/jsdoc/empty-tags.d.ts deleted file mode 100644 index 3c5aff87..00000000 --- a/src/rules/jsdoc/empty-tags.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface EmptyTagsOption { - tags?: string[]; -} - -/** - * Options. - */ -export type EmptyTagsOptions = [EmptyTagsOption?]; - -/** - * Expects specific tags to be empty of any content. - * - * @see [empty-tags](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header) - */ -export type EmptyTagsRuleConfig = RuleConfig; - -/** - * Expects specific tags to be empty of any content. - * - * @see [empty-tags](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header) - */ -export interface EmptyTagsRule { - /** - * Expects specific tags to be empty of any content. - * - * @see [empty-tags](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header) - */ - 'jsdoc/empty-tags': EmptyTagsRuleConfig; -} diff --git a/src/rules/jsdoc/implements-on-classes.d.ts b/src/rules/jsdoc/implements-on-classes.d.ts deleted file mode 100644 index 97abfa9e..00000000 --- a/src/rules/jsdoc/implements-on-classes.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ImplementsOnClassesOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; -} - -/** - * Options. - */ -export type ImplementsOnClassesOptions = [ImplementsOnClassesOption?]; - -/** - * Reports an issue with any non-constructor function using `@implements`. - * - * @see [implements-on-classes](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header) - */ -export type ImplementsOnClassesRuleConfig = - RuleConfig; - -/** - * Reports an issue with any non-constructor function using `@implements`. - * - * @see [implements-on-classes](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header) - */ -export interface ImplementsOnClassesRule { - /** - * Reports an issue with any non-constructor function using `@implements`. - * - * @see [implements-on-classes](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header) - */ - 'jsdoc/implements-on-classes': ImplementsOnClassesRuleConfig; -} diff --git a/src/rules/jsdoc/imports-as-dependencies.d.ts b/src/rules/jsdoc/imports-as-dependencies.d.ts deleted file mode 100644 index 9612d696..00000000 --- a/src/rules/jsdoc/imports-as-dependencies.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Reports if JSDoc `import()` statements point to a package which is not listed in `dependencies` or `devDependencies`. - * - * @see [imports-as-dependencies](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/imports-as-dependencies.md#repos-sticky-header) - */ -export type ImportsAsDependenciesRuleConfig = RuleConfig<[]>; - -/** - * Reports if JSDoc `import()` statements point to a package which is not listed in `dependencies` or `devDependencies`. - * - * @see [imports-as-dependencies](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/imports-as-dependencies.md#repos-sticky-header) - */ -export interface ImportsAsDependenciesRule { - /** - * Reports if JSDoc `import()` statements point to a package which is not listed in `dependencies` or `devDependencies`. - * - * @see [imports-as-dependencies](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/imports-as-dependencies.md#repos-sticky-header) - */ - 'jsdoc/imports-as-dependencies': ImportsAsDependenciesRuleConfig; -} diff --git a/src/rules/jsdoc/index.d.ts b/src/rules/jsdoc/index.d.ts deleted file mode 100644 index f077971a..00000000 --- a/src/rules/jsdoc/index.d.ts +++ /dev/null @@ -1,110 +0,0 @@ -import type { CheckAccessRule } from './check-access'; -import type { CheckAlignmentRule } from './check-alignment'; -import type { CheckExamplesRule } from './check-examples'; -import type { CheckIndentationRule } from './check-indentation'; -import type { CheckLineAlignmentRule } from './check-line-alignment'; -import type { CheckParamNamesRule } from './check-param-names'; -import type { CheckPropertyNamesRule } from './check-property-names'; -import type { CheckSyntaxRule } from './check-syntax'; -import type { CheckTagNamesRule } from './check-tag-names'; -import type { CheckTypesRule } from './check-types'; -import type { CheckValuesRule } from './check-values'; -import type { EmptyTagsRule } from './empty-tags'; -import type { ImplementsOnClassesRule } from './implements-on-classes'; -import type { ImportsAsDependenciesRule } from './imports-as-dependencies'; -import type { InformativeDocsRule } from './informative-docs'; -import type { MatchDescriptionRule } from './match-description'; -import type { MatchNameRule } from './match-name'; -import type { MultilineBlocksRule } from './multiline-blocks'; -import type { NoBadBlocksRule } from './no-bad-blocks'; -import type { NoBlankBlockDescriptionsRule } from './no-blank-block-descriptions'; -import type { NoBlankBlocksRule } from './no-blank-blocks'; -import type { NoDefaultsRule } from './no-defaults'; -import type { NoMissingSyntaxRule } from './no-missing-syntax'; -import type { NoMultiAsterisksRule } from './no-multi-asterisks'; -import type { NoRestrictedSyntaxRule } from './no-restricted-syntax'; -import type { NoTypesRule } from './no-types'; -import type { NoUndefinedTypesRule } from './no-undefined-types'; -import type { RequireAsteriskPrefixRule } from './require-asterisk-prefix'; -import type { RequireDescriptionRule } from './require-description'; -import type { RequireDescriptionCompleteSentenceRule } from './require-description-complete-sentence'; -import type { RequireExampleRule } from './require-example'; -import type { RequireFileOverviewRule } from './require-file-overview'; -import type { RequireHyphenBeforeParamDescriptionRule } from './require-hyphen-before-param-description'; -import type { RequireJsdocRule } from './require-jsdoc'; -import type { RequireParamRule } from './require-param'; -import type { RequireParamDescriptionRule } from './require-param-description'; -import type { RequireParamNameRule } from './require-param-name'; -import type { RequireParamTypeRule } from './require-param-type'; -import type { RequirePropertyRule } from './require-property'; -import type { RequirePropertyDescriptionRule } from './require-property-description'; -import type { RequirePropertyNameRule } from './require-property-name'; -import type { RequirePropertyTypeRule } from './require-property-type'; -import type { RequireReturnsRule } from './require-returns'; -import type { RequireReturnsCheckRule } from './require-returns-check'; -import type { RequireReturnsDescriptionRule } from './require-returns-description'; -import type { RequireReturnsTypeRule } from './require-returns-type'; -import type { RequireThrowsRule } from './require-throws'; -import type { RequireYieldsRule } from './require-yields'; -import type { RequireYieldsCheckRule } from './require-yields-check'; -import type { SortTagsRule } from './sort-tags'; -import type { TagLinesRule } from './tag-lines'; -import type { TextEscapingRule } from './text-escaping'; -import type { ValidTypesRule } from './valid-types'; - -/** - * All JSDoc rules. - */ -export type JSDocRules = CheckAccessRule & - CheckAlignmentRule & - CheckExamplesRule & - CheckIndentationRule & - CheckLineAlignmentRule & - CheckParamNamesRule & - CheckPropertyNamesRule & - CheckSyntaxRule & - CheckTagNamesRule & - CheckTypesRule & - CheckValuesRule & - EmptyTagsRule & - ImplementsOnClassesRule & - ImportsAsDependenciesRule & - InformativeDocsRule & - MatchDescriptionRule & - MatchNameRule & - MultilineBlocksRule & - NoBadBlocksRule & - NoBlankBlockDescriptionsRule & - NoBlankBlocksRule & - NoDefaultsRule & - NoMissingSyntaxRule & - NoMultiAsterisksRule & - NoRestrictedSyntaxRule & - NoTypesRule & - NoUndefinedTypesRule & - RequireAsteriskPrefixRule & - RequireDescriptionRule & - RequireDescriptionCompleteSentenceRule & - RequireExampleRule & - RequireFileOverviewRule & - RequireHyphenBeforeParamDescriptionRule & - RequireJsdocRule & - RequireParamRule & - RequireParamDescriptionRule & - RequireParamNameRule & - RequireParamTypeRule & - RequirePropertyRule & - RequirePropertyDescriptionRule & - RequirePropertyNameRule & - RequirePropertyTypeRule & - RequireReturnsRule & - RequireReturnsCheckRule & - RequireReturnsDescriptionRule & - RequireReturnsTypeRule & - RequireThrowsRule & - RequireYieldsRule & - RequireYieldsCheckRule & - SortTagsRule & - TagLinesRule & - TextEscapingRule & - ValidTypesRule; diff --git a/src/rules/jsdoc/informative-docs.d.ts b/src/rules/jsdoc/informative-docs.d.ts deleted file mode 100644 index 3c5781d5..00000000 --- a/src/rules/jsdoc/informative-docs.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface InformativeDocsOption { - aliases?: { - /** - */ - [k: string]: string[]; - }; - excludedTags?: string[]; - uselessWords?: string[]; -} - -/** - * Options. - */ -export type InformativeDocsOptions = [InformativeDocsOption?]; - -/** - * This rule reports doc comments that only restate their attached name. - * - * @see [informative-docs](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md#repos-sticky-header) - */ -export type InformativeDocsRuleConfig = RuleConfig; - -/** - * This rule reports doc comments that only restate their attached name. - * - * @see [informative-docs](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md#repos-sticky-header) - */ -export interface InformativeDocsRule { - /** - * This rule reports doc comments that only restate their attached name. - * - * @see [informative-docs](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md#repos-sticky-header) - */ - 'jsdoc/informative-docs': InformativeDocsRuleConfig; -} diff --git a/src/rules/jsdoc/match-description.d.ts b/src/rules/jsdoc/match-description.d.ts deleted file mode 100644 index cf32b824..00000000 --- a/src/rules/jsdoc/match-description.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface MatchDescriptionOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; - mainDescription?: - | string - | boolean - | { - match?: string | boolean; - message?: string; - }; - matchDescription?: string; - message?: string; - nonemptyTags?: boolean; - tags?: { - /** - */ - [k: string]: - | string - | true - | { - match?: string | true; - message?: string; - }; - }; -} - -/** - * Options. - */ -export type MatchDescriptionOptions = [MatchDescriptionOption?]; - -/** - * Enforces a regular expression pattern on descriptions. - * - * @see [match-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-description.md#repos-sticky-header) - */ -export type MatchDescriptionRuleConfig = RuleConfig; - -/** - * Enforces a regular expression pattern on descriptions. - * - * @see [match-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-description.md#repos-sticky-header) - */ -export interface MatchDescriptionRule { - /** - * Enforces a regular expression pattern on descriptions. - * - * @see [match-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-description.md#repos-sticky-header) - */ - 'jsdoc/match-description': MatchDescriptionRuleConfig; -} diff --git a/src/rules/jsdoc/match-name.d.ts b/src/rules/jsdoc/match-name.d.ts deleted file mode 100644 index 3649e483..00000000 --- a/src/rules/jsdoc/match-name.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface MatchNameOption { - match: { - allowName?: string; - comment?: string; - context?: string; - disallowName?: string; - message?: string; - tags?: string[]; - [k: string]: any; - }[]; -} - -/** - * Options. - */ -export type MatchNameOptions = [MatchNameOption?]; - -/** - * Reports the name portion of a JSDoc tag if matching or not matching a given regular expression. - * - * @see [match-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-name.md#repos-sticky-header) - */ -export type MatchNameRuleConfig = RuleConfig; - -/** - * Reports the name portion of a JSDoc tag if matching or not matching a given regular expression. - * - * @see [match-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-name.md#repos-sticky-header) - */ -export interface MatchNameRule { - /** - * Reports the name portion of a JSDoc tag if matching or not matching a given regular expression. - * - * @see [match-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-name.md#repos-sticky-header) - */ - 'jsdoc/match-name': MatchNameRuleConfig; -} diff --git a/src/rules/jsdoc/multiline-blocks.d.ts b/src/rules/jsdoc/multiline-blocks.d.ts deleted file mode 100644 index c3601bbe..00000000 --- a/src/rules/jsdoc/multiline-blocks.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface MultilineBlocksOption { - allowMultipleTags?: boolean; - minimumLengthForMultiline?: number; - multilineTags?: '*' | string[]; - noFinalLineText?: boolean; - noMultilineBlocks?: boolean; - noSingleLineBlocks?: boolean; - noZeroLineText?: boolean; - singleLineTags?: string[]; -} - -/** - * Options. - */ -export type MultilineBlocksOptions = [MultilineBlocksOption?]; - -/** - * Controls how and whether jsdoc blocks can be expressed as single or multiple line blocks. - * - * @see [multiline-blocks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header) - */ -export type MultilineBlocksRuleConfig = RuleConfig; - -/** - * Controls how and whether jsdoc blocks can be expressed as single or multiple line blocks. - * - * @see [multiline-blocks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header) - */ -export interface MultilineBlocksRule { - /** - * Controls how and whether jsdoc blocks can be expressed as single or multiple line blocks. - * - * @see [multiline-blocks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header) - */ - 'jsdoc/multiline-blocks': MultilineBlocksRuleConfig; -} diff --git a/src/rules/jsdoc/no-bad-blocks.d.ts b/src/rules/jsdoc/no-bad-blocks.d.ts deleted file mode 100644 index 54c9a9fc..00000000 --- a/src/rules/jsdoc/no-bad-blocks.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoBadBlocksOption { - ignore?: string[]; - preventAllMultiAsteriskBlocks?: boolean; -} - -/** - * Options. - */ -export type NoBadBlocksOptions = [NoBadBlocksOption?]; - -/** - * This rule checks for multi-line-style comments which fail to meet the criteria of a jsdoc block. - * - * @see [no-bad-blocks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header) - */ -export type NoBadBlocksRuleConfig = RuleConfig; - -/** - * This rule checks for multi-line-style comments which fail to meet the criteria of a jsdoc block. - * - * @see [no-bad-blocks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header) - */ -export interface NoBadBlocksRule { - /** - * This rule checks for multi-line-style comments which fail to meet the criteria of a jsdoc block. - * - * @see [no-bad-blocks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header) - */ - 'jsdoc/no-bad-blocks': NoBadBlocksRuleConfig; -} diff --git a/src/rules/jsdoc/no-blank-block-descriptions.d.ts b/src/rules/jsdoc/no-blank-block-descriptions.d.ts deleted file mode 100644 index 4ba58ec4..00000000 --- a/src/rules/jsdoc/no-blank-block-descriptions.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Detects and removes extra lines of a blank block description. - * - * @see [no-blank-block-descriptions](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header) - */ -export type NoBlankBlockDescriptionsRuleConfig = RuleConfig<[]>; - -/** - * Detects and removes extra lines of a blank block description. - * - * @see [no-blank-block-descriptions](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header) - */ -export interface NoBlankBlockDescriptionsRule { - /** - * Detects and removes extra lines of a blank block description. - * - * @see [no-blank-block-descriptions](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header) - */ - 'jsdoc/no-blank-block-descriptions': NoBlankBlockDescriptionsRuleConfig; -} diff --git a/src/rules/jsdoc/no-blank-blocks.d.ts b/src/rules/jsdoc/no-blank-blocks.d.ts deleted file mode 100644 index 470c7840..00000000 --- a/src/rules/jsdoc/no-blank-blocks.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoBlankBlocksOption { - enableFixer?: boolean; -} - -/** - * Options. - */ -export type NoBlankBlocksOptions = [NoBlankBlocksOption?]; - -/** - * Removes empty blocks with nothing but possibly line breaks. - * - * @see [no-blank-blocks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-blocks.md#repos-sticky-header) - */ -export type NoBlankBlocksRuleConfig = RuleConfig; - -/** - * Removes empty blocks with nothing but possibly line breaks. - * - * @see [no-blank-blocks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-blocks.md#repos-sticky-header) - */ -export interface NoBlankBlocksRule { - /** - * Removes empty blocks with nothing but possibly line breaks. - * - * @see [no-blank-blocks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-blocks.md#repos-sticky-header) - */ - 'jsdoc/no-blank-blocks': NoBlankBlocksRuleConfig; -} diff --git a/src/rules/jsdoc/no-defaults.d.ts b/src/rules/jsdoc/no-defaults.d.ts deleted file mode 100644 index e4e5990c..00000000 --- a/src/rules/jsdoc/no-defaults.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoDefaultsOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; - noOptionalParamNames?: boolean; -} - -/** - * Options. - */ -export type NoDefaultsOptions = [NoDefaultsOption?]; - -/** - * This rule reports defaults being used on the relevant portion of `@param` or `@default`. - * - * @see [no-defaults](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-defaults.md#repos-sticky-header) - */ -export type NoDefaultsRuleConfig = RuleConfig; - -/** - * This rule reports defaults being used on the relevant portion of `@param` or `@default`. - * - * @see [no-defaults](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-defaults.md#repos-sticky-header) - */ -export interface NoDefaultsRule { - /** - * This rule reports defaults being used on the relevant portion of `@param` or `@default`. - * - * @see [no-defaults](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-defaults.md#repos-sticky-header) - */ - 'jsdoc/no-defaults': NoDefaultsRuleConfig; -} diff --git a/src/rules/jsdoc/no-missing-syntax.d.ts b/src/rules/jsdoc/no-missing-syntax.d.ts deleted file mode 100644 index f47d60cb..00000000 --- a/src/rules/jsdoc/no-missing-syntax.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoMissingSyntaxOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - message?: string; - minimum?: number; - } - )[]; -} - -/** - * Options. - */ -export type NoMissingSyntaxOptions = [NoMissingSyntaxOption?]; - -/** - * Reports when certain comment structures are always expected. - * - * @see [no-missing-syntax](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-missing-syntax.md#repos-sticky-header) - */ -export type NoMissingSyntaxRuleConfig = RuleConfig; - -/** - * Reports when certain comment structures are always expected. - * - * @see [no-missing-syntax](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-missing-syntax.md#repos-sticky-header) - */ -export interface NoMissingSyntaxRule { - /** - * Reports when certain comment structures are always expected. - * - * @see [no-missing-syntax](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-missing-syntax.md#repos-sticky-header) - */ - 'jsdoc/no-missing-syntax': NoMissingSyntaxRuleConfig; -} diff --git a/src/rules/jsdoc/no-multi-asterisks.d.ts b/src/rules/jsdoc/no-multi-asterisks.d.ts deleted file mode 100644 index b492dd58..00000000 --- a/src/rules/jsdoc/no-multi-asterisks.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoMultiAsterisksOption { - allowWhitespace?: boolean; - preventAtEnd?: boolean; - preventAtMiddleLines?: boolean; -} - -/** - * Options. - */ -export type NoMultiAsterisksOptions = [NoMultiAsterisksOption?]; - -/** - * - * @see [no-multi-asterisks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-multi-asterisks.md#repos-sticky-header) - */ -export type NoMultiAsterisksRuleConfig = RuleConfig; - -/** - * - * @see [no-multi-asterisks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-multi-asterisks.md#repos-sticky-header) - */ -export interface NoMultiAsterisksRule { - /** - * - * @see [no-multi-asterisks](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-multi-asterisks.md#repos-sticky-header) - */ - 'jsdoc/no-multi-asterisks': NoMultiAsterisksRuleConfig; -} diff --git a/src/rules/jsdoc/no-restricted-syntax.d.ts b/src/rules/jsdoc/no-restricted-syntax.d.ts deleted file mode 100644 index 0c77201b..00000000 --- a/src/rules/jsdoc/no-restricted-syntax.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoRestrictedSyntaxOption { - contexts: ( - | string - | { - comment?: string; - context?: string; - message?: string; - } - )[]; -} - -/** - * Options. - */ -export type NoRestrictedSyntaxOptions = [NoRestrictedSyntaxOption?]; - -/** - * Reports when certain comment structures are present. - * - * @see [no-restricted-syntax](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-restricted-syntax.md#repos-sticky-header) - */ -export type NoRestrictedSyntaxRuleConfig = - RuleConfig; - -/** - * Reports when certain comment structures are present. - * - * @see [no-restricted-syntax](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-restricted-syntax.md#repos-sticky-header) - */ -export interface NoRestrictedSyntaxRule { - /** - * Reports when certain comment structures are present. - * - * @see [no-restricted-syntax](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-restricted-syntax.md#repos-sticky-header) - */ - 'jsdoc/no-restricted-syntax': NoRestrictedSyntaxRuleConfig; -} diff --git a/src/rules/jsdoc/no-types.d.ts b/src/rules/jsdoc/no-types.d.ts deleted file mode 100644 index af17ce03..00000000 --- a/src/rules/jsdoc/no-types.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoTypesOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; -} - -/** - * Options. - */ -export type NoTypesOptions = [NoTypesOption?]; - -/** - * This rule reports types being used on `@param` or `@returns`. - * - * @see [no-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header) - */ -export type NoTypesRuleConfig = RuleConfig; - -/** - * This rule reports types being used on `@param` or `@returns`. - * - * @see [no-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header) - */ -export interface NoTypesRule { - /** - * This rule reports types being used on `@param` or `@returns`. - * - * @see [no-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header) - */ - 'jsdoc/no-types': NoTypesRuleConfig; -} diff --git a/src/rules/jsdoc/no-undefined-types.d.ts b/src/rules/jsdoc/no-undefined-types.d.ts deleted file mode 100644 index 01c7bf61..00000000 --- a/src/rules/jsdoc/no-undefined-types.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoUndefinedTypesOption { - definedTypes?: string[]; - disableReporting?: boolean; - markVariablesAsUsed?: boolean; -} - -/** - * Options. - */ -export type NoUndefinedTypesOptions = [NoUndefinedTypesOption?]; - -/** - * Checks that types in jsdoc comments are defined. - * - * @see [no-undefined-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header) - */ -export type NoUndefinedTypesRuleConfig = RuleConfig; - -/** - * Checks that types in jsdoc comments are defined. - * - * @see [no-undefined-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header) - */ -export interface NoUndefinedTypesRule { - /** - * Checks that types in jsdoc comments are defined. - * - * @see [no-undefined-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header) - */ - 'jsdoc/no-undefined-types': NoUndefinedTypesRuleConfig; -} diff --git a/src/rules/jsdoc/require-asterisk-prefix.d.ts b/src/rules/jsdoc/require-asterisk-prefix.d.ts deleted file mode 100644 index 439a9414..00000000 --- a/src/rules/jsdoc/require-asterisk-prefix.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface RequireAsteriskPrefixConfig { - tags?: { - always?: string[]; - any?: string[]; - never?: string[]; - [k: string]: any; - }; -} - -/** - * Option. - */ -export type RequireAsteriskPrefixOption = 'always' | 'never' | 'any'; - -/** - * Options. - */ -export type RequireAsteriskPrefixOptions = [ - RequireAsteriskPrefixOption?, - RequireAsteriskPrefixConfig?, -]; - -/** - * Requires that each JSDoc line starts with an `*`. - * - * @see [require-asterisk-prefix](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header) - */ -export type RequireAsteriskPrefixRuleConfig = - RuleConfig; - -/** - * Requires that each JSDoc line starts with an `*`. - * - * @see [require-asterisk-prefix](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header) - */ -export interface RequireAsteriskPrefixRule { - /** - * Requires that each JSDoc line starts with an `*`. - * - * @see [require-asterisk-prefix](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header) - */ - 'jsdoc/require-asterisk-prefix': RequireAsteriskPrefixRuleConfig; -} diff --git a/src/rules/jsdoc/require-description-complete-sentence.d.ts b/src/rules/jsdoc/require-description-complete-sentence.d.ts deleted file mode 100644 index c79bee6a..00000000 --- a/src/rules/jsdoc/require-description-complete-sentence.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireDescriptionCompleteSentenceOption { - abbreviations?: string[]; - newlineBeforeCapsAssumesBadSentenceEnd?: boolean; - tags?: string[]; -} - -/** - * Options. - */ -export type RequireDescriptionCompleteSentenceOptions = [ - RequireDescriptionCompleteSentenceOption?, -]; - -/** - * Requires that block description, explicit `@description`, and `@param`/`@returns` tag descriptions are written in complete sentences. - * - * @see [require-description-complete-sentence](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description-complete-sentence.md#repos-sticky-header) - */ -export type RequireDescriptionCompleteSentenceRuleConfig = - RuleConfig; - -/** - * Requires that block description, explicit `@description`, and `@param`/`@returns` tag descriptions are written in complete sentences. - * - * @see [require-description-complete-sentence](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description-complete-sentence.md#repos-sticky-header) - */ -export interface RequireDescriptionCompleteSentenceRule { - /** - * Requires that block description, explicit `@description`, and `@param`/`@returns` tag descriptions are written in complete sentences. - * - * @see [require-description-complete-sentence](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description-complete-sentence.md#repos-sticky-header) - */ - 'jsdoc/require-description-complete-sentence': RequireDescriptionCompleteSentenceRuleConfig; -} diff --git a/src/rules/jsdoc/require-description.d.ts b/src/rules/jsdoc/require-description.d.ts deleted file mode 100644 index c48ddf87..00000000 --- a/src/rules/jsdoc/require-description.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireDescriptionOption { - checkConstructors?: boolean; - checkGetters?: boolean; - checkSetters?: boolean; - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; - descriptionStyle?: 'body' | 'tag' | 'any'; - exemptedBy?: string[]; -} - -/** - * Options. - */ -export type RequireDescriptionOptions = [RequireDescriptionOption?]; - -/** - * Requires that all functions have a description. - * - * @see [require-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header) - */ -export type RequireDescriptionRuleConfig = - RuleConfig; - -/** - * Requires that all functions have a description. - * - * @see [require-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header) - */ -export interface RequireDescriptionRule { - /** - * Requires that all functions have a description. - * - * @see [require-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header) - */ - 'jsdoc/require-description': RequireDescriptionRuleConfig; -} diff --git a/src/rules/jsdoc/require-example.d.ts b/src/rules/jsdoc/require-example.d.ts deleted file mode 100644 index cf1ae959..00000000 --- a/src/rules/jsdoc/require-example.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireExampleOption { - checkConstructors?: boolean; - checkGetters?: boolean; - checkSetters?: boolean; - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; - enableFixer?: boolean; - exemptedBy?: string[]; - exemptNoArguments?: boolean; -} - -/** - * Options. - */ -export type RequireExampleOptions = [RequireExampleOption?]; - -/** - * Requires that all functions have examples. - * - * @see [require-example](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header) - */ -export type RequireExampleRuleConfig = RuleConfig; - -/** - * Requires that all functions have examples. - * - * @see [require-example](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header) - */ -export interface RequireExampleRule { - /** - * Requires that all functions have examples. - * - * @see [require-example](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header) - */ - 'jsdoc/require-example': RequireExampleRuleConfig; -} diff --git a/src/rules/jsdoc/require-file-overview.d.ts b/src/rules/jsdoc/require-file-overview.d.ts deleted file mode 100644 index 087af6b5..00000000 --- a/src/rules/jsdoc/require-file-overview.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireFileOverviewOption { - tags?: { - /** - */ - [k: string]: { - initialCommentsOnly?: boolean; - mustExist?: boolean; - preventDuplicates?: boolean; - }; - }; -} - -/** - * Options. - */ -export type RequireFileOverviewOptions = [RequireFileOverviewOption?]; - -/** - * Checks that all files have one `@file`, `@fileoverview`, or `@overview` tag at the beginning of the file. - * - * @see [require-file-overview](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-file-overview.md#repos-sticky-header) - */ -export type RequireFileOverviewRuleConfig = - RuleConfig; - -/** - * Checks that all files have one `@file`, `@fileoverview`, or `@overview` tag at the beginning of the file. - * - * @see [require-file-overview](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-file-overview.md#repos-sticky-header) - */ -export interface RequireFileOverviewRule { - /** - * Checks that all files have one `@file`, `@fileoverview`, or `@overview` tag at the beginning of the file. - * - * @see [require-file-overview](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-file-overview.md#repos-sticky-header) - */ - 'jsdoc/require-file-overview': RequireFileOverviewRuleConfig; -} diff --git a/src/rules/jsdoc/require-hyphen-before-param-description.d.ts b/src/rules/jsdoc/require-hyphen-before-param-description.d.ts deleted file mode 100644 index 7f5820f9..00000000 --- a/src/rules/jsdoc/require-hyphen-before-param-description.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface RequireHyphenBeforeParamDescriptionConfig { - tags?: - | { - /** - */ - [k: string]: 'always' | 'never'; - } - | 'any'; -} - -/** - * Option. - */ -export type RequireHyphenBeforeParamDescriptionOption = 'always' | 'never'; - -/** - * Options. - */ -export type RequireHyphenBeforeParamDescriptionOptions = [ - RequireHyphenBeforeParamDescriptionOption?, - RequireHyphenBeforeParamDescriptionConfig?, -]; - -/** - * Requires a hyphen before the `@param` description. - * - * @see [require-hyphen-before-param-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header) - */ -export type RequireHyphenBeforeParamDescriptionRuleConfig = - RuleConfig; - -/** - * Requires a hyphen before the `@param` description. - * - * @see [require-hyphen-before-param-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header) - */ -export interface RequireHyphenBeforeParamDescriptionRule { - /** - * Requires a hyphen before the `@param` description. - * - * @see [require-hyphen-before-param-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header) - */ - 'jsdoc/require-hyphen-before-param-description': RequireHyphenBeforeParamDescriptionRuleConfig; -} diff --git a/src/rules/jsdoc/require-jsdoc.d.ts b/src/rules/jsdoc/require-jsdoc.d.ts deleted file mode 100644 index 9b560106..00000000 --- a/src/rules/jsdoc/require-jsdoc.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireJsdocOption { - checkConstructors?: boolean; - checkGetters?: boolean | 'no-setter'; - checkSetters?: boolean | 'no-getter'; - contexts?: ( - | string - | { - context?: string; - inlineCommentBlock?: boolean; - minLineCount?: number; - } - )[]; - enableFixer?: boolean; - exemptEmptyConstructors?: boolean; - exemptEmptyFunctions?: boolean; - fixerMessage?: string; - minLineCount?: number; - publicOnly?: - | boolean - | { - ancestorsOnly?: boolean; - cjs?: boolean; - esm?: boolean; - window?: boolean; - }; - require?: { - ArrowFunctionExpression?: boolean; - ClassDeclaration?: boolean; - ClassExpression?: boolean; - FunctionDeclaration?: boolean; - FunctionExpression?: boolean; - MethodDefinition?: boolean; - }; -} - -/** - * Options. - */ -export type RequireJsdocOptions = [RequireJsdocOption?]; - -/** - * Require JSDoc comments. - * - * @see [require-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header) - */ -export type RequireJsdocRuleConfig = RuleConfig; - -/** - * Require JSDoc comments. - * - * @see [require-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header) - */ -export interface RequireJsdocRule { - /** - * Require JSDoc comments. - * - * @see [require-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header) - */ - 'jsdoc/require-jsdoc': RequireJsdocRuleConfig; -} diff --git a/src/rules/jsdoc/require-param-description.d.ts b/src/rules/jsdoc/require-param-description.d.ts deleted file mode 100644 index 89238e49..00000000 --- a/src/rules/jsdoc/require-param-description.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireParamDescriptionOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; - defaultDestructuredRootDescription?: string; - setDefaultDestructuredRootDescription?: boolean; -} - -/** - * Options. - */ -export type RequireParamDescriptionOptions = [RequireParamDescriptionOption?]; - -/** - * Requires that each `@param` tag has a `description` value. - * - * @see [require-param-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-description.md#repos-sticky-header) - */ -export type RequireParamDescriptionRuleConfig = - RuleConfig; - -/** - * Requires that each `@param` tag has a `description` value. - * - * @see [require-param-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-description.md#repos-sticky-header) - */ -export interface RequireParamDescriptionRule { - /** - * Requires that each `@param` tag has a `description` value. - * - * @see [require-param-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-description.md#repos-sticky-header) - */ - 'jsdoc/require-param-description': RequireParamDescriptionRuleConfig; -} diff --git a/src/rules/jsdoc/require-param-name.d.ts b/src/rules/jsdoc/require-param-name.d.ts deleted file mode 100644 index c0677b06..00000000 --- a/src/rules/jsdoc/require-param-name.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireParamNameOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; -} - -/** - * Options. - */ -export type RequireParamNameOptions = [RequireParamNameOption?]; - -/** - * Requires that all function parameters have names. - * - * @see [require-param-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header) - */ -export type RequireParamNameRuleConfig = RuleConfig; - -/** - * Requires that all function parameters have names. - * - * @see [require-param-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header) - */ -export interface RequireParamNameRule { - /** - * Requires that all function parameters have names. - * - * @see [require-param-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header) - */ - 'jsdoc/require-param-name': RequireParamNameRuleConfig; -} diff --git a/src/rules/jsdoc/require-param-type.d.ts b/src/rules/jsdoc/require-param-type.d.ts deleted file mode 100644 index 4019bcc5..00000000 --- a/src/rules/jsdoc/require-param-type.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireParamTypeOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; - defaultDestructuredRootType?: string; - setDefaultDestructuredRootType?: boolean; -} - -/** - * Options. - */ -export type RequireParamTypeOptions = [RequireParamTypeOption?]; - -/** - * Requires that each `@param` tag has a `type` value. - * - * @see [require-param-type](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header) - */ -export type RequireParamTypeRuleConfig = RuleConfig; - -/** - * Requires that each `@param` tag has a `type` value. - * - * @see [require-param-type](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header) - */ -export interface RequireParamTypeRule { - /** - * Requires that each `@param` tag has a `type` value. - * - * @see [require-param-type](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header) - */ - 'jsdoc/require-param-type': RequireParamTypeRuleConfig; -} diff --git a/src/rules/jsdoc/require-param.d.ts b/src/rules/jsdoc/require-param.d.ts deleted file mode 100644 index d6e7d9a5..00000000 --- a/src/rules/jsdoc/require-param.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireParamOption { - autoIncrementBase?: number; - checkConstructors?: boolean; - checkDestructured?: boolean; - checkDestructuredRoots?: boolean; - checkGetters?: boolean; - checkRestProperty?: boolean; - checkSetters?: boolean; - checkTypesPattern?: string; - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; - enableFixer?: boolean; - enableRestElementFixer?: boolean; - enableRootFixer?: boolean; - exemptedBy?: string[]; - unnamedRootBase?: string[]; - useDefaultObjectProperties?: boolean; -} - -/** - * Options. - */ -export type RequireParamOptions = [RequireParamOption?]; - -/** - * Requires that all function parameters are documented. - * - * @see [require-param](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header) - */ -export type RequireParamRuleConfig = RuleConfig; - -/** - * Requires that all function parameters are documented. - * - * @see [require-param](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header) - */ -export interface RequireParamRule { - /** - * Requires that all function parameters are documented. - * - * @see [require-param](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header) - */ - 'jsdoc/require-param': RequireParamRuleConfig; -} diff --git a/src/rules/jsdoc/require-property-description.d.ts b/src/rules/jsdoc/require-property-description.d.ts deleted file mode 100644 index 0eacf26c..00000000 --- a/src/rules/jsdoc/require-property-description.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Requires that each `@property` tag has a `description` value. - * - * @see [require-property-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-description.md#repos-sticky-header) - */ -export type RequirePropertyDescriptionRuleConfig = RuleConfig<[]>; - -/** - * Requires that each `@property` tag has a `description` value. - * - * @see [require-property-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-description.md#repos-sticky-header) - */ -export interface RequirePropertyDescriptionRule { - /** - * Requires that each `@property` tag has a `description` value. - * - * @see [require-property-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-description.md#repos-sticky-header) - */ - 'jsdoc/require-property-description': RequirePropertyDescriptionRuleConfig; -} diff --git a/src/rules/jsdoc/require-property-name.d.ts b/src/rules/jsdoc/require-property-name.d.ts deleted file mode 100644 index dca70ce6..00000000 --- a/src/rules/jsdoc/require-property-name.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Requires that all function `@property` tags have names. - * - * @see [require-property-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header) - */ -export type RequirePropertyNameRuleConfig = RuleConfig<[]>; - -/** - * Requires that all function `@property` tags have names. - * - * @see [require-property-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header) - */ -export interface RequirePropertyNameRule { - /** - * Requires that all function `@property` tags have names. - * - * @see [require-property-name](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header) - */ - 'jsdoc/require-property-name': RequirePropertyNameRuleConfig; -} diff --git a/src/rules/jsdoc/require-property-type.d.ts b/src/rules/jsdoc/require-property-type.d.ts deleted file mode 100644 index 715e46fc..00000000 --- a/src/rules/jsdoc/require-property-type.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Requires that each `@property` tag has a `type` value. - * - * @see [require-property-type](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header) - */ -export type RequirePropertyTypeRuleConfig = RuleConfig<[]>; - -/** - * Requires that each `@property` tag has a `type` value. - * - * @see [require-property-type](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header) - */ -export interface RequirePropertyTypeRule { - /** - * Requires that each `@property` tag has a `type` value. - * - * @see [require-property-type](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header) - */ - 'jsdoc/require-property-type': RequirePropertyTypeRuleConfig; -} diff --git a/src/rules/jsdoc/require-property.d.ts b/src/rules/jsdoc/require-property.d.ts deleted file mode 100644 index 1c3bb069..00000000 --- a/src/rules/jsdoc/require-property.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Requires that all `@typedef` and `@namespace` tags have `@property` when their type is a plain `object`, `Object`, or `PlainObject`. - * - * @see [require-property](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property.md#repos-sticky-header) - */ -export type RequirePropertyRuleConfig = RuleConfig<[]>; - -/** - * Requires that all `@typedef` and `@namespace` tags have `@property` when their type is a plain `object`, `Object`, or `PlainObject`. - * - * @see [require-property](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property.md#repos-sticky-header) - */ -export interface RequirePropertyRule { - /** - * Requires that all `@typedef` and `@namespace` tags have `@property` when their type is a plain `object`, `Object`, or `PlainObject`. - * - * @see [require-property](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property.md#repos-sticky-header) - */ - 'jsdoc/require-property': RequirePropertyRuleConfig; -} diff --git a/src/rules/jsdoc/require-returns-check.d.ts b/src/rules/jsdoc/require-returns-check.d.ts deleted file mode 100644 index 680e4893..00000000 --- a/src/rules/jsdoc/require-returns-check.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireReturnsCheckOption { - exemptAsync?: boolean; - exemptGenerators?: boolean; - reportMissingReturnForUndefinedTypes?: boolean; -} - -/** - * Options. - */ -export type RequireReturnsCheckOptions = [RequireReturnsCheckOption?]; - -/** - * Requires a return statement in function body if a `@returns` tag is specified in jsdoc comment. - * - * @see [require-returns-check](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header) - */ -export type RequireReturnsCheckRuleConfig = - RuleConfig; - -/** - * Requires a return statement in function body if a `@returns` tag is specified in jsdoc comment. - * - * @see [require-returns-check](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header) - */ -export interface RequireReturnsCheckRule { - /** - * Requires a return statement in function body if a `@returns` tag is specified in jsdoc comment. - * - * @see [require-returns-check](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header) - */ - 'jsdoc/require-returns-check': RequireReturnsCheckRuleConfig; -} diff --git a/src/rules/jsdoc/require-returns-description.d.ts b/src/rules/jsdoc/require-returns-description.d.ts deleted file mode 100644 index 91f173ae..00000000 --- a/src/rules/jsdoc/require-returns-description.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireReturnsDescriptionOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; -} - -/** - * Options. - */ -export type RequireReturnsDescriptionOptions = [ - RequireReturnsDescriptionOption?, -]; - -/** - * Requires that the `@returns` tag has a `description` value. - * - * @see [require-returns-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header) - */ -export type RequireReturnsDescriptionRuleConfig = - RuleConfig; - -/** - * Requires that the `@returns` tag has a `description` value. - * - * @see [require-returns-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header) - */ -export interface RequireReturnsDescriptionRule { - /** - * Requires that the `@returns` tag has a `description` value. - * - * @see [require-returns-description](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header) - */ - 'jsdoc/require-returns-description': RequireReturnsDescriptionRuleConfig; -} diff --git a/src/rules/jsdoc/require-returns-type.d.ts b/src/rules/jsdoc/require-returns-type.d.ts deleted file mode 100644 index bbbe146e..00000000 --- a/src/rules/jsdoc/require-returns-type.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireReturnsTypeOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; -} - -/** - * Options. - */ -export type RequireReturnsTypeOptions = [RequireReturnsTypeOption?]; - -/** - * Requires that `@returns` tag has `type` value. - * - * @see [require-returns-type](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header) - */ -export type RequireReturnsTypeRuleConfig = - RuleConfig; - -/** - * Requires that `@returns` tag has `type` value. - * - * @see [require-returns-type](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header) - */ -export interface RequireReturnsTypeRule { - /** - * Requires that `@returns` tag has `type` value. - * - * @see [require-returns-type](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header) - */ - 'jsdoc/require-returns-type': RequireReturnsTypeRuleConfig; -} diff --git a/src/rules/jsdoc/require-returns.d.ts b/src/rules/jsdoc/require-returns.d.ts deleted file mode 100644 index bcab24dc..00000000 --- a/src/rules/jsdoc/require-returns.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireReturnsOption { - checkConstructors?: boolean; - checkGetters?: boolean; - contexts?: ( - | string - | { - comment?: string; - context?: string; - forceRequireReturn?: boolean; - } - )[]; - enableFixer?: boolean; - exemptedBy?: string[]; - forceRequireReturn?: boolean; - forceReturnsWithAsync?: boolean; - publicOnly?: - | boolean - | { - ancestorsOnly?: boolean; - cjs?: boolean; - esm?: boolean; - window?: boolean; - }; -} - -/** - * Options. - */ -export type RequireReturnsOptions = [RequireReturnsOption?]; - -/** - * Requires that returns are documented. - * - * @see [require-returns](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header) - */ -export type RequireReturnsRuleConfig = RuleConfig; - -/** - * Requires that returns are documented. - * - * @see [require-returns](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header) - */ -export interface RequireReturnsRule { - /** - * Requires that returns are documented. - * - * @see [require-returns](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header) - */ - 'jsdoc/require-returns': RequireReturnsRuleConfig; -} diff --git a/src/rules/jsdoc/require-throws.d.ts b/src/rules/jsdoc/require-throws.d.ts deleted file mode 100644 index 21c8aaee..00000000 --- a/src/rules/jsdoc/require-throws.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireThrowsOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; - exemptedBy?: string[]; -} - -/** - * Options. - */ -export type RequireThrowsOptions = [RequireThrowsOption?]; - -/** - * Requires that throw statements are documented. - * - * @see [require-throws](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header) - */ -export type RequireThrowsRuleConfig = RuleConfig; - -/** - * Requires that throw statements are documented. - * - * @see [require-throws](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header) - */ -export interface RequireThrowsRule { - /** - * Requires that throw statements are documented. - * - * @see [require-throws](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header) - */ - 'jsdoc/require-throws': RequireThrowsRuleConfig; -} diff --git a/src/rules/jsdoc/require-yields-check.d.ts b/src/rules/jsdoc/require-yields-check.d.ts deleted file mode 100644 index 93aeeab1..00000000 --- a/src/rules/jsdoc/require-yields-check.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireYieldsCheckOption { - checkGeneratorsOnly?: boolean; - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; - exemptedBy?: string[]; - next?: boolean; -} - -/** - * Options. - */ -export type RequireYieldsCheckOptions = [RequireYieldsCheckOption?]; - -/** - * Requires a yield statement in function body if a `@yields` tag is specified in jsdoc comment. - * - * @see [require-yields-check](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header) - */ -export type RequireYieldsCheckRuleConfig = - RuleConfig; - -/** - * Requires a yield statement in function body if a `@yields` tag is specified in jsdoc comment. - * - * @see [require-yields-check](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header) - */ -export interface RequireYieldsCheckRule { - /** - * Requires a yield statement in function body if a `@yields` tag is specified in jsdoc comment. - * - * @see [require-yields-check](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header) - */ - 'jsdoc/require-yields-check': RequireYieldsCheckRuleConfig; -} diff --git a/src/rules/jsdoc/require-yields.d.ts b/src/rules/jsdoc/require-yields.d.ts deleted file mode 100644 index 41b3fc44..00000000 --- a/src/rules/jsdoc/require-yields.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface RequireYieldsOption { - contexts?: ( - | string - | { - comment?: string; - context?: string; - } - )[]; - exemptedBy?: string[]; - forceRequireNext?: boolean; - forceRequireYields?: boolean; - next?: boolean; - nextWithGeneratorTag?: boolean; - withGeneratorTag?: boolean; -} - -/** - * Options. - */ -export type RequireYieldsOptions = [RequireYieldsOption?]; - -/** - * Requires yields are documented. - * - * @see [require-yields](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header) - */ -export type RequireYieldsRuleConfig = RuleConfig; - -/** - * Requires yields are documented. - * - * @see [require-yields](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header) - */ -export interface RequireYieldsRule { - /** - * Requires yields are documented. - * - * @see [require-yields](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header) - */ - 'jsdoc/require-yields': RequireYieldsRuleConfig; -} diff --git a/src/rules/jsdoc/sort-tags.d.ts b/src/rules/jsdoc/sort-tags.d.ts deleted file mode 100644 index 7ff4b41a..00000000 --- a/src/rules/jsdoc/sort-tags.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface SortTagsOption { - alphabetizeExtras?: boolean; - linesBetween?: number; - reportIntraTagGroupSpacing?: boolean; - reportTagGroupSpacing?: boolean; - tagSequence?: { - tags?: string[]; - [k: string]: any; - }[]; -} - -/** - * Options. - */ -export type SortTagsOptions = [SortTagsOption?]; - -/** - * Sorts tags by a specified sequence according to tag name. - * - * @see [sort-tags](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header) - */ -export type SortTagsRuleConfig = RuleConfig; - -/** - * Sorts tags by a specified sequence according to tag name. - * - * @see [sort-tags](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header) - */ -export interface SortTagsRule { - /** - * Sorts tags by a specified sequence according to tag name. - * - * @see [sort-tags](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header) - */ - 'jsdoc/sort-tags': SortTagsRuleConfig; -} diff --git a/src/rules/jsdoc/tag-lines.d.ts b/src/rules/jsdoc/tag-lines.d.ts deleted file mode 100644 index aa85e922..00000000 --- a/src/rules/jsdoc/tag-lines.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface TagLinesConfig { - applyToEndTag?: boolean; - count?: number; - endLines?: number | null; - startLines?: number | null; - tags?: { - /** - */ - [k: string]: { - count?: number; - lines?: 'always' | 'never' | 'any'; - }; - }; -} - -/** - * Option. - */ -export type TagLinesOption = 'always' | 'any' | 'never'; - -/** - * Options. - */ -export type TagLinesOptions = [TagLinesOption?, TagLinesConfig?]; - -/** - * Enforces lines (or no lines) between tags. - * - * @see [tag-lines](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header) - */ -export type TagLinesRuleConfig = RuleConfig; - -/** - * Enforces lines (or no lines) between tags. - * - * @see [tag-lines](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header) - */ -export interface TagLinesRule { - /** - * Enforces lines (or no lines) between tags. - * - * @see [tag-lines](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header) - */ - 'jsdoc/tag-lines': TagLinesRuleConfig; -} diff --git a/src/rules/jsdoc/text-escaping.d.ts b/src/rules/jsdoc/text-escaping.d.ts deleted file mode 100644 index b26fedd8..00000000 --- a/src/rules/jsdoc/text-escaping.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface TextEscapingOption { - escapeHTML?: boolean; - escapeMarkdown?: boolean; -} - -/** - * Options. - */ -export type TextEscapingOptions = [TextEscapingOption?]; - -/** - * - * @see [text-escaping](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header) - */ -export type TextEscapingRuleConfig = RuleConfig; - -/** - * - * @see [text-escaping](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header) - */ -export interface TextEscapingRule { - /** - * - * @see [text-escaping](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header) - */ - 'jsdoc/text-escaping': TextEscapingRuleConfig; -} diff --git a/src/rules/jsdoc/valid-types.d.ts b/src/rules/jsdoc/valid-types.d.ts deleted file mode 100644 index e616d1e4..00000000 --- a/src/rules/jsdoc/valid-types.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ValidTypesOption { - allowEmptyNamepaths?: boolean; -} - -/** - * Options. - */ -export type ValidTypesOptions = [ValidTypesOption?]; - -/** - * Requires all types to be valid JSDoc or Closure compiler types without syntax errors. - * - * @see [valid-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header) - */ -export type ValidTypesRuleConfig = RuleConfig; - -/** - * Requires all types to be valid JSDoc or Closure compiler types without syntax errors. - * - * @see [valid-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header) - */ -export interface ValidTypesRule { - /** - * Requires all types to be valid JSDoc or Closure compiler types without syntax errors. - * - * @see [valid-types](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header) - */ - 'jsdoc/valid-types': ValidTypesRuleConfig; -} diff --git a/src/rules/jsonc/array-bracket-newline.d.ts b/src/rules/jsonc/array-bracket-newline.d.ts deleted file mode 100644 index dc13bdcd..00000000 --- a/src/rules/jsonc/array-bracket-newline.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ArrayBracketNewlineOption = - | ('always' | 'never' | 'consistent') - | { - multiline?: boolean; - minItems?: number | null; - }; - -/** - * Options. - */ -export type ArrayBracketNewlineOptions = [ArrayBracketNewlineOption?]; - -/** - * Enforce line breaks after opening and before closing array brackets. - * - * @see [array-bracket-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-bracket-newline.html) - */ -export type ArrayBracketNewlineRuleConfig = - RuleConfig; - -/** - * Enforce line breaks after opening and before closing array brackets. - * - * @see [array-bracket-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-bracket-newline.html) - */ -export interface ArrayBracketNewlineRule { - /** - * Enforce line breaks after opening and before closing array brackets. - * - * @see [array-bracket-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-bracket-newline.html) - */ - 'jsonc/array-bracket-newline': ArrayBracketNewlineRuleConfig; -} diff --git a/src/rules/jsonc/array-bracket-spacing.d.ts b/src/rules/jsonc/array-bracket-spacing.d.ts deleted file mode 100644 index 0efecf26..00000000 --- a/src/rules/jsonc/array-bracket-spacing.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface ArrayBracketSpacingConfig { - singleValue?: boolean; - objectsInArrays?: boolean; - arraysInArrays?: boolean; -} - -/** - * Option. - */ -export type ArrayBracketSpacingOption = 'always' | 'never'; - -/** - * Options. - */ -export type ArrayBracketSpacingOptions = [ - ArrayBracketSpacingOption?, - ArrayBracketSpacingConfig?, -]; - -/** - * Disallow or enforce spaces inside of brackets. - * - * @see [array-bracket-spacing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-bracket-spacing.html) - */ -export type ArrayBracketSpacingRuleConfig = - RuleConfig; - -/** - * Disallow or enforce spaces inside of brackets. - * - * @see [array-bracket-spacing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-bracket-spacing.html) - */ -export interface ArrayBracketSpacingRule { - /** - * Disallow or enforce spaces inside of brackets. - * - * @see [array-bracket-spacing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-bracket-spacing.html) - */ - 'jsonc/array-bracket-spacing': ArrayBracketSpacingRuleConfig; -} diff --git a/src/rules/jsonc/array-element-newline.d.ts b/src/rules/jsonc/array-element-newline.d.ts deleted file mode 100644 index adb68630..00000000 --- a/src/rules/jsonc/array-element-newline.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ArrayElementNewlineOption = - | [] - | [ - | BasicConfig - | { - ArrayExpression?: BasicConfig; - ArrayPattern?: BasicConfig; - }, - ]; -export type BasicConfig = - | ('always' | 'never' | 'consistent') - | { - multiline?: boolean; - minItems?: number | null; - }; - -/** - * Options. - */ -export type ArrayElementNewlineOptions = ArrayElementNewlineOption; - -/** - * Enforce line breaks between array elements. - * - * @see [array-element-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-element-newline.html) - */ -export type ArrayElementNewlineRuleConfig = - RuleConfig; - -/** - * Enforce line breaks between array elements. - * - * @see [array-element-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-element-newline.html) - */ -export interface ArrayElementNewlineRule { - /** - * Enforce line breaks between array elements. - * - * @see [array-element-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-element-newline.html) - */ - 'jsonc/array-element-newline': ArrayElementNewlineRuleConfig; -} diff --git a/src/rules/jsonc/auto.d.ts b/src/rules/jsonc/auto.d.ts deleted file mode 100644 index c94e4e55..00000000 --- a/src/rules/jsonc/auto.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Apply jsonc rules similar to your configured ESLint core rules. - * - * @see [auto](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/auto.html) - */ -export type AutoRuleConfig = RuleConfig<[]>; - -/** - * Apply jsonc rules similar to your configured ESLint core rules. - * - * @see [auto](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/auto.html) - */ -export interface AutoRule { - /** - * Apply jsonc rules similar to your configured ESLint core rules. - * - * @see [auto](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/auto.html) - */ - 'jsonc/auto': AutoRuleConfig; -} diff --git a/src/rules/jsonc/comma-dangle.d.ts b/src/rules/jsonc/comma-dangle.d.ts deleted file mode 100644 index 953ccee9..00000000 --- a/src/rules/jsonc/comma-dangle.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type CommaDangleOption = - | [] - | [ - | Value - | { - arrays?: ValueWithIgnore; - objects?: ValueWithIgnore; - imports?: ValueWithIgnore; - exports?: ValueWithIgnore; - functions?: ValueWithIgnore; - }, - ]; -export type Value = 'always-multiline' | 'always' | 'never' | 'only-multiline'; -export type ValueWithIgnore = - | 'always-multiline' - | 'always' - | 'ignore' - | 'never' - | 'only-multiline'; - -/** - * Options. - */ -export type CommaDangleOptions = CommaDangleOption; - -/** - * Require or disallow trailing commas. - * - * @see [comma-dangle](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/comma-dangle.html) - */ -export type CommaDangleRuleConfig = RuleConfig; - -/** - * Require or disallow trailing commas. - * - * @see [comma-dangle](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/comma-dangle.html) - */ -export interface CommaDangleRule { - /** - * Require or disallow trailing commas. - * - * @see [comma-dangle](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/comma-dangle.html) - */ - 'jsonc/comma-dangle': CommaDangleRuleConfig; -} diff --git a/src/rules/jsonc/comma-style.d.ts b/src/rules/jsonc/comma-style.d.ts deleted file mode 100644 index 211997fd..00000000 --- a/src/rules/jsonc/comma-style.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface CommaStyleConfig { - exceptions?: { - [k: string]: boolean; - }; -} - -/** - * Option. - */ -export type CommaStyleOption = 'first' | 'last'; - -/** - * Options. - */ -export type CommaStyleOptions = [CommaStyleOption?, CommaStyleConfig?]; - -/** - * Enforce consistent comma style. - * - * @see [comma-style](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/comma-style.html) - */ -export type CommaStyleRuleConfig = RuleConfig; - -/** - * Enforce consistent comma style. - * - * @see [comma-style](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/comma-style.html) - */ -export interface CommaStyleRule { - /** - * Enforce consistent comma style. - * - * @see [comma-style](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/comma-style.html) - */ - 'jsonc/comma-style': CommaStyleRuleConfig; -} diff --git a/src/rules/jsonc/indent.d.ts b/src/rules/jsonc/indent.d.ts deleted file mode 100644 index 1f15049a..00000000 --- a/src/rules/jsonc/indent.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface IndentConfig { - SwitchCase?: number; - VariableDeclarator?: - | (number | ('first' | 'off')) - | { - var?: number | ('first' | 'off'); - let?: number | ('first' | 'off'); - const?: number | ('first' | 'off'); - }; - outerIIFEBody?: number | 'off'; - MemberExpression?: number | 'off'; - FunctionDeclaration?: { - parameters?: number | ('first' | 'off'); - body?: number; - }; - FunctionExpression?: { - parameters?: number | ('first' | 'off'); - body?: number; - }; - StaticBlock?: { - body?: number; - }; - CallExpression?: { - arguments?: number | ('first' | 'off'); - }; - ArrayExpression?: number | ('first' | 'off'); - ObjectExpression?: number | ('first' | 'off'); - ImportDeclaration?: number | ('first' | 'off'); - flatTernaryExpressions?: boolean; - offsetTernaryExpressions?: boolean; - ignoredNodes?: string[]; - ignoreComments?: boolean; -} - -/** - * Option. - */ -export type IndentOption = 'tab' | number; - -/** - * Options. - */ -export type IndentOptions = [IndentOption?, IndentConfig?]; - -/** - * Enforce consistent indentation. - * - * @see [indent](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/indent.html) - */ -export type IndentRuleConfig = RuleConfig; - -/** - * Enforce consistent indentation. - * - * @see [indent](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/indent.html) - */ -export interface IndentRule { - /** - * Enforce consistent indentation. - * - * @see [indent](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/indent.html) - */ - 'jsonc/indent': IndentRuleConfig; -} diff --git a/src/rules/jsonc/index.d.ts b/src/rules/jsonc/index.d.ts deleted file mode 100644 index 6f86624a..00000000 --- a/src/rules/jsonc/index.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import type { ArrayBracketNewlineRule } from './array-bracket-newline'; -import type { ArrayBracketSpacingRule } from './array-bracket-spacing'; -import type { ArrayElementNewlineRule } from './array-element-newline'; -import type { AutoRule } from './auto'; -import type { CommaDangleRule } from './comma-dangle'; -import type { CommaStyleRule } from './comma-style'; -import type { IndentRule } from './indent'; -import type { KeyNameCasingRule } from './key-name-casing'; -import type { KeySpacingRule } from './key-spacing'; -import type { NoBigintLiteralsRule } from './no-bigint-literals'; -import type { NoBinaryExpressionRule } from './no-binary-expression'; -import type { NoBinaryNumericLiteralsRule } from './no-binary-numeric-literals'; -import type { NoCommentsRule } from './no-comments'; -import type { NoDupeKeysRule } from './no-dupe-keys'; -import type { NoEscapeSequenceInIdentifierRule } from './no-escape-sequence-in-identifier'; -import type { NoFloatingDecimalRule } from './no-floating-decimal'; -import type { NoHexadecimalNumericLiteralsRule } from './no-hexadecimal-numeric-literals'; -import type { NoInfinityRule } from './no-infinity'; -import type { NoIrregularWhitespaceRule } from './no-irregular-whitespace'; -import type { NoMultiStrRule } from './no-multi-str'; -import type { NoNanRule } from './no-nan'; -import type { NoNumberPropsRule } from './no-number-props'; -import type { NoNumericSeparatorsRule } from './no-numeric-separators'; -import type { NoOctalRule } from './no-octal'; -import type { NoOctalEscapeRule } from './no-octal-escape'; -import type { NoOctalNumericLiteralsRule } from './no-octal-numeric-literals'; -import type { NoParenthesizedRule } from './no-parenthesized'; -import type { NoPlusSignRule } from './no-plus-sign'; -import type { NoRegexpLiteralsRule } from './no-regexp-literals'; -import type { NoSparseArraysRule } from './no-sparse-arrays'; -import type { NoTemplateLiteralsRule } from './no-template-literals'; -import type { NoUndefinedValueRule } from './no-undefined-value'; -import type { NoUnicodeCodepointEscapesRule } from './no-unicode-codepoint-escapes'; -import type { NoUselessEscapeRule } from './no-useless-escape'; -import type { ObjectCurlyNewlineRule } from './object-curly-newline'; -import type { ObjectCurlySpacingRule } from './object-curly-spacing'; -import type { ObjectPropertyNewlineRule } from './object-property-newline'; -import type { QuotePropsRule } from './quote-props'; -import type { QuotesRule } from './quotes'; -import type { SortArrayValuesRule } from './sort-array-values'; -import type { SortKeysRule } from './sort-keys'; -import type { SpaceUnaryOpsRule } from './space-unary-ops'; -import type { ValidJsonNumberRule } from './valid-json-number'; -import type { VueCustomBlockNoParsingErrorRule } from './vue-custom-block/no-parsing-error'; - -/** - * All Jsonc rules. - */ -export type JsoncRules = ArrayBracketNewlineRule & - ArrayBracketSpacingRule & - ArrayElementNewlineRule & - AutoRule & - CommaDangleRule & - CommaStyleRule & - IndentRule & - KeyNameCasingRule & - KeySpacingRule & - NoBigintLiteralsRule & - NoBinaryExpressionRule & - NoBinaryNumericLiteralsRule & - NoCommentsRule & - NoDupeKeysRule & - NoEscapeSequenceInIdentifierRule & - NoFloatingDecimalRule & - NoHexadecimalNumericLiteralsRule & - NoInfinityRule & - NoIrregularWhitespaceRule & - NoMultiStrRule & - NoNanRule & - NoNumberPropsRule & - NoNumericSeparatorsRule & - NoOctalEscapeRule & - NoOctalNumericLiteralsRule & - NoOctalRule & - NoParenthesizedRule & - NoPlusSignRule & - NoRegexpLiteralsRule & - NoSparseArraysRule & - NoTemplateLiteralsRule & - NoUndefinedValueRule & - NoUnicodeCodepointEscapesRule & - NoUselessEscapeRule & - ObjectCurlyNewlineRule & - ObjectCurlySpacingRule & - ObjectPropertyNewlineRule & - QuotePropsRule & - QuotesRule & - SortArrayValuesRule & - SortKeysRule & - SpaceUnaryOpsRule & - ValidJsonNumberRule & - VueCustomBlockNoParsingErrorRule; diff --git a/src/rules/jsonc/key-name-casing.d.ts b/src/rules/jsonc/key-name-casing.d.ts deleted file mode 100644 index d58cf77c..00000000 --- a/src/rules/jsonc/key-name-casing.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface KeyNameCasingOption { - camelCase?: boolean; - PascalCase?: boolean; - SCREAMING_SNAKE_CASE?: boolean; - 'kebab-case'?: boolean; - snake_case?: boolean; - ignores?: string[]; -} - -/** - * Options. - */ -export type KeyNameCasingOptions = [KeyNameCasingOption?]; - -/** - * Enforce naming convention to property key names. - * - * @see [key-name-casing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/key-name-casing.html) - */ -export type KeyNameCasingRuleConfig = RuleConfig; - -/** - * Enforce naming convention to property key names. - * - * @see [key-name-casing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/key-name-casing.html) - */ -export interface KeyNameCasingRule { - /** - * Enforce naming convention to property key names. - * - * @see [key-name-casing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/key-name-casing.html) - */ - 'jsonc/key-name-casing': KeyNameCasingRuleConfig; -} diff --git a/src/rules/jsonc/key-spacing.d.ts b/src/rules/jsonc/key-spacing.d.ts deleted file mode 100644 index 2735a27b..00000000 --- a/src/rules/jsonc/key-spacing.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type KeySpacingOption = - | { - align?: - | ('colon' | 'value') - | { - mode?: 'strict' | 'minimum'; - on?: 'colon' | 'value'; - beforeColon?: boolean; - afterColon?: boolean; - }; - mode?: 'strict' | 'minimum'; - beforeColon?: boolean; - afterColon?: boolean; - } - | { - singleLine?: { - mode?: 'strict' | 'minimum'; - beforeColon?: boolean; - afterColon?: boolean; - }; - multiLine?: { - align?: - | ('colon' | 'value') - | { - mode?: 'strict' | 'minimum'; - on?: 'colon' | 'value'; - beforeColon?: boolean; - afterColon?: boolean; - }; - mode?: 'strict' | 'minimum'; - beforeColon?: boolean; - afterColon?: boolean; - }; - } - | { - singleLine?: { - mode?: 'strict' | 'minimum'; - beforeColon?: boolean; - afterColon?: boolean; - }; - multiLine?: { - mode?: 'strict' | 'minimum'; - beforeColon?: boolean; - afterColon?: boolean; - }; - align?: { - mode?: 'strict' | 'minimum'; - on?: 'colon' | 'value'; - beforeColon?: boolean; - afterColon?: boolean; - }; - }; - -/** - * Options. - */ -export type KeySpacingOptions = [KeySpacingOption?]; - -/** - * Enforce consistent spacing between keys and values in object literal properties. - * - * @see [key-spacing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/key-spacing.html) - */ -export type KeySpacingRuleConfig = RuleConfig; - -/** - * Enforce consistent spacing between keys and values in object literal properties. - * - * @see [key-spacing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/key-spacing.html) - */ -export interface KeySpacingRule { - /** - * Enforce consistent spacing between keys and values in object literal properties. - * - * @see [key-spacing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/key-spacing.html) - */ - 'jsonc/key-spacing': KeySpacingRuleConfig; -} diff --git a/src/rules/jsonc/no-bigint-literals.d.ts b/src/rules/jsonc/no-bigint-literals.d.ts deleted file mode 100644 index 184b27d7..00000000 --- a/src/rules/jsonc/no-bigint-literals.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow BigInt literals. - * - * @see [no-bigint-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-bigint-literals.html) - */ -export type NoBigintLiteralsRuleConfig = RuleConfig<[]>; - -/** - * Disallow BigInt literals. - * - * @see [no-bigint-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-bigint-literals.html) - */ -export interface NoBigintLiteralsRule { - /** - * Disallow BigInt literals. - * - * @see [no-bigint-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-bigint-literals.html) - */ - 'jsonc/no-bigint-literals': NoBigintLiteralsRuleConfig; -} diff --git a/src/rules/jsonc/no-binary-expression.d.ts b/src/rules/jsonc/no-binary-expression.d.ts deleted file mode 100644 index 10378ebf..00000000 --- a/src/rules/jsonc/no-binary-expression.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow binary expression. - * - * @see [no-binary-expression](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-binary-expression.html) - */ -export type NoBinaryExpressionRuleConfig = RuleConfig<[]>; - -/** - * Disallow binary expression. - * - * @see [no-binary-expression](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-binary-expression.html) - */ -export interface NoBinaryExpressionRule { - /** - * Disallow binary expression. - * - * @see [no-binary-expression](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-binary-expression.html) - */ - 'jsonc/no-binary-expression': NoBinaryExpressionRuleConfig; -} diff --git a/src/rules/jsonc/no-binary-numeric-literals.d.ts b/src/rules/jsonc/no-binary-numeric-literals.d.ts deleted file mode 100644 index f52fcec7..00000000 --- a/src/rules/jsonc/no-binary-numeric-literals.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow binary numeric literals. - * - * @see [no-binary-numeric-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-binary-numeric-literals.html) - */ -export type NoBinaryNumericLiteralsRuleConfig = RuleConfig<[]>; - -/** - * Disallow binary numeric literals. - * - * @see [no-binary-numeric-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-binary-numeric-literals.html) - */ -export interface NoBinaryNumericLiteralsRule { - /** - * Disallow binary numeric literals. - * - * @see [no-binary-numeric-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-binary-numeric-literals.html) - */ - 'jsonc/no-binary-numeric-literals': NoBinaryNumericLiteralsRuleConfig; -} diff --git a/src/rules/jsonc/no-comments.d.ts b/src/rules/jsonc/no-comments.d.ts deleted file mode 100644 index 1f11c2d3..00000000 --- a/src/rules/jsonc/no-comments.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow comments. - * - * @see [no-comments](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-comments.html) - */ -export type NoCommentsRuleConfig = RuleConfig<[]>; - -/** - * Disallow comments. - * - * @see [no-comments](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-comments.html) - */ -export interface NoCommentsRule { - /** - * Disallow comments. - * - * @see [no-comments](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-comments.html) - */ - 'jsonc/no-comments': NoCommentsRuleConfig; -} diff --git a/src/rules/jsonc/no-dupe-keys.d.ts b/src/rules/jsonc/no-dupe-keys.d.ts deleted file mode 100644 index 034e44b8..00000000 --- a/src/rules/jsonc/no-dupe-keys.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow duplicate keys in object literals. - * - * @see [no-dupe-keys](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-dupe-keys.html) - */ -export type NoDupeKeysRuleConfig = RuleConfig<[]>; - -/** - * Disallow duplicate keys in object literals. - * - * @see [no-dupe-keys](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-dupe-keys.html) - */ -export interface NoDupeKeysRule { - /** - * Disallow duplicate keys in object literals. - * - * @see [no-dupe-keys](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-dupe-keys.html) - */ - 'jsonc/no-dupe-keys': NoDupeKeysRuleConfig; -} diff --git a/src/rules/jsonc/no-escape-sequence-in-identifier.d.ts b/src/rules/jsonc/no-escape-sequence-in-identifier.d.ts deleted file mode 100644 index 5803982b..00000000 --- a/src/rules/jsonc/no-escape-sequence-in-identifier.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow escape sequences in identifiers. - * - * @see [no-escape-sequence-in-identifier](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-escape-sequence-in-identifier.html) - */ -export type NoEscapeSequenceInIdentifierRuleConfig = RuleConfig<[]>; - -/** - * Disallow escape sequences in identifiers. - * - * @see [no-escape-sequence-in-identifier](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-escape-sequence-in-identifier.html) - */ -export interface NoEscapeSequenceInIdentifierRule { - /** - * Disallow escape sequences in identifiers. - * - * @see [no-escape-sequence-in-identifier](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-escape-sequence-in-identifier.html) - */ - 'jsonc/no-escape-sequence-in-identifier': NoEscapeSequenceInIdentifierRuleConfig; -} diff --git a/src/rules/jsonc/no-floating-decimal.d.ts b/src/rules/jsonc/no-floating-decimal.d.ts deleted file mode 100644 index f0592fd5..00000000 --- a/src/rules/jsonc/no-floating-decimal.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow leading or trailing decimal points in numeric literals. - * - * @see [no-floating-decimal](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-floating-decimal.html) - */ -export type NoFloatingDecimalRuleConfig = RuleConfig<[]>; - -/** - * Disallow leading or trailing decimal points in numeric literals. - * - * @see [no-floating-decimal](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-floating-decimal.html) - */ -export interface NoFloatingDecimalRule { - /** - * Disallow leading or trailing decimal points in numeric literals. - * - * @see [no-floating-decimal](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-floating-decimal.html) - */ - 'jsonc/no-floating-decimal': NoFloatingDecimalRuleConfig; -} diff --git a/src/rules/jsonc/no-hexadecimal-numeric-literals.d.ts b/src/rules/jsonc/no-hexadecimal-numeric-literals.d.ts deleted file mode 100644 index bb018459..00000000 --- a/src/rules/jsonc/no-hexadecimal-numeric-literals.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow hexadecimal numeric literals. - * - * @see [no-hexadecimal-numeric-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-hexadecimal-numeric-literals.html) - */ -export type NoHexadecimalNumericLiteralsRuleConfig = RuleConfig<[]>; - -/** - * Disallow hexadecimal numeric literals. - * - * @see [no-hexadecimal-numeric-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-hexadecimal-numeric-literals.html) - */ -export interface NoHexadecimalNumericLiteralsRule { - /** - * Disallow hexadecimal numeric literals. - * - * @see [no-hexadecimal-numeric-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-hexadecimal-numeric-literals.html) - */ - 'jsonc/no-hexadecimal-numeric-literals': NoHexadecimalNumericLiteralsRuleConfig; -} diff --git a/src/rules/jsonc/no-infinity.d.ts b/src/rules/jsonc/no-infinity.d.ts deleted file mode 100644 index 892445e8..00000000 --- a/src/rules/jsonc/no-infinity.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow Infinity. - * - * @see [no-infinity](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-infinity.html) - */ -export type NoInfinityRuleConfig = RuleConfig<[]>; - -/** - * Disallow Infinity. - * - * @see [no-infinity](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-infinity.html) - */ -export interface NoInfinityRule { - /** - * Disallow Infinity. - * - * @see [no-infinity](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-infinity.html) - */ - 'jsonc/no-infinity': NoInfinityRuleConfig; -} diff --git a/src/rules/jsonc/no-irregular-whitespace.d.ts b/src/rules/jsonc/no-irregular-whitespace.d.ts deleted file mode 100644 index 3f52134c..00000000 --- a/src/rules/jsonc/no-irregular-whitespace.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface NoIrregularWhitespaceOption { - skipComments?: boolean; - skipStrings?: boolean; - skipTemplates?: boolean; - skipRegExps?: boolean; - skipJSXText?: boolean; -} - -/** - * Options. - */ -export type NoIrregularWhitespaceOptions = [NoIrregularWhitespaceOption?]; - -/** - * Disallow irregular whitespace. - * - * @see [no-irregular-whitespace](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-irregular-whitespace.html) - */ -export type NoIrregularWhitespaceRuleConfig = - RuleConfig; - -/** - * Disallow irregular whitespace. - * - * @see [no-irregular-whitespace](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-irregular-whitespace.html) - */ -export interface NoIrregularWhitespaceRule { - /** - * Disallow irregular whitespace. - * - * @see [no-irregular-whitespace](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-irregular-whitespace.html) - */ - 'jsonc/no-irregular-whitespace': NoIrregularWhitespaceRuleConfig; -} diff --git a/src/rules/jsonc/no-multi-str.d.ts b/src/rules/jsonc/no-multi-str.d.ts deleted file mode 100644 index ddf88085..00000000 --- a/src/rules/jsonc/no-multi-str.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow multiline strings. - * - * @see [no-multi-str](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-multi-str.html) - */ -export type NoMultiStrRuleConfig = RuleConfig<[]>; - -/** - * Disallow multiline strings. - * - * @see [no-multi-str](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-multi-str.html) - */ -export interface NoMultiStrRule { - /** - * Disallow multiline strings. - * - * @see [no-multi-str](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-multi-str.html) - */ - 'jsonc/no-multi-str': NoMultiStrRuleConfig; -} diff --git a/src/rules/jsonc/no-nan.d.ts b/src/rules/jsonc/no-nan.d.ts deleted file mode 100644 index d3011a5b..00000000 --- a/src/rules/jsonc/no-nan.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow NaN. - * - * @see [no-nan](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-nan.html) - */ -export type NoNanRuleConfig = RuleConfig<[]>; - -/** - * Disallow NaN. - * - * @see [no-nan](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-nan.html) - */ -export interface NoNanRule { - /** - * Disallow NaN. - * - * @see [no-nan](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-nan.html) - */ - 'jsonc/no-nan': NoNanRuleConfig; -} diff --git a/src/rules/jsonc/no-number-props.d.ts b/src/rules/jsonc/no-number-props.d.ts deleted file mode 100644 index 9c0b927d..00000000 --- a/src/rules/jsonc/no-number-props.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow number property keys. - * - * @see [no-number-props](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-number-props.html) - */ -export type NoNumberPropsRuleConfig = RuleConfig<[]>; - -/** - * Disallow number property keys. - * - * @see [no-number-props](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-number-props.html) - */ -export interface NoNumberPropsRule { - /** - * Disallow number property keys. - * - * @see [no-number-props](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-number-props.html) - */ - 'jsonc/no-number-props': NoNumberPropsRuleConfig; -} diff --git a/src/rules/jsonc/no-numeric-separators.d.ts b/src/rules/jsonc/no-numeric-separators.d.ts deleted file mode 100644 index fbbb8d1f..00000000 --- a/src/rules/jsonc/no-numeric-separators.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow numeric separators. - * - * @see [no-numeric-separators](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-numeric-separators.html) - */ -export type NoNumericSeparatorsRuleConfig = RuleConfig<[]>; - -/** - * Disallow numeric separators. - * - * @see [no-numeric-separators](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-numeric-separators.html) - */ -export interface NoNumericSeparatorsRule { - /** - * Disallow numeric separators. - * - * @see [no-numeric-separators](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-numeric-separators.html) - */ - 'jsonc/no-numeric-separators': NoNumericSeparatorsRuleConfig; -} diff --git a/src/rules/jsonc/no-octal-escape.d.ts b/src/rules/jsonc/no-octal-escape.d.ts deleted file mode 100644 index 6f953235..00000000 --- a/src/rules/jsonc/no-octal-escape.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow octal escape sequences in string literals. - * - * @see [no-octal-escape](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-octal-escape.html) - */ -export type NoOctalEscapeRuleConfig = RuleConfig<[]>; - -/** - * Disallow octal escape sequences in string literals. - * - * @see [no-octal-escape](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-octal-escape.html) - */ -export interface NoOctalEscapeRule { - /** - * Disallow octal escape sequences in string literals. - * - * @see [no-octal-escape](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-octal-escape.html) - */ - 'jsonc/no-octal-escape': NoOctalEscapeRuleConfig; -} diff --git a/src/rules/jsonc/no-octal-numeric-literals.d.ts b/src/rules/jsonc/no-octal-numeric-literals.d.ts deleted file mode 100644 index ea5bea88..00000000 --- a/src/rules/jsonc/no-octal-numeric-literals.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow octal numeric literals. - * - * @see [no-octal-numeric-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-octal-numeric-literals.html) - */ -export type NoOctalNumericLiteralsRuleConfig = RuleConfig<[]>; - -/** - * Disallow octal numeric literals. - * - * @see [no-octal-numeric-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-octal-numeric-literals.html) - */ -export interface NoOctalNumericLiteralsRule { - /** - * Disallow octal numeric literals. - * - * @see [no-octal-numeric-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-octal-numeric-literals.html) - */ - 'jsonc/no-octal-numeric-literals': NoOctalNumericLiteralsRuleConfig; -} diff --git a/src/rules/jsonc/no-octal.d.ts b/src/rules/jsonc/no-octal.d.ts deleted file mode 100644 index d003b97a..00000000 --- a/src/rules/jsonc/no-octal.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow legacy octal literals. - * - * @see [no-octal](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-octal.html) - */ -export type NoOctalRuleConfig = RuleConfig<[]>; - -/** - * Disallow legacy octal literals. - * - * @see [no-octal](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-octal.html) - */ -export interface NoOctalRule { - /** - * Disallow legacy octal literals. - * - * @see [no-octal](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-octal.html) - */ - 'jsonc/no-octal': NoOctalRuleConfig; -} diff --git a/src/rules/jsonc/no-parenthesized.d.ts b/src/rules/jsonc/no-parenthesized.d.ts deleted file mode 100644 index 7ce01334..00000000 --- a/src/rules/jsonc/no-parenthesized.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow parentheses around the expression. - * - * @see [no-parenthesized](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-parenthesized.html) - */ -export type NoParenthesizedRuleConfig = RuleConfig<[]>; - -/** - * Disallow parentheses around the expression. - * - * @see [no-parenthesized](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-parenthesized.html) - */ -export interface NoParenthesizedRule { - /** - * Disallow parentheses around the expression. - * - * @see [no-parenthesized](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-parenthesized.html) - */ - 'jsonc/no-parenthesized': NoParenthesizedRuleConfig; -} diff --git a/src/rules/jsonc/no-plus-sign.d.ts b/src/rules/jsonc/no-plus-sign.d.ts deleted file mode 100644 index 05ec2276..00000000 --- a/src/rules/jsonc/no-plus-sign.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow plus sign. - * - * @see [no-plus-sign](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-plus-sign.html) - */ -export type NoPlusSignRuleConfig = RuleConfig<[]>; - -/** - * Disallow plus sign. - * - * @see [no-plus-sign](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-plus-sign.html) - */ -export interface NoPlusSignRule { - /** - * Disallow plus sign. - * - * @see [no-plus-sign](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-plus-sign.html) - */ - 'jsonc/no-plus-sign': NoPlusSignRuleConfig; -} diff --git a/src/rules/jsonc/no-regexp-literals.d.ts b/src/rules/jsonc/no-regexp-literals.d.ts deleted file mode 100644 index 0de4a7dd..00000000 --- a/src/rules/jsonc/no-regexp-literals.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow RegExp literals. - * - * @see [no-regexp-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-regexp-literals.html) - */ -export type NoRegexpLiteralsRuleConfig = RuleConfig<[]>; - -/** - * Disallow RegExp literals. - * - * @see [no-regexp-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-regexp-literals.html) - */ -export interface NoRegexpLiteralsRule { - /** - * Disallow RegExp literals. - * - * @see [no-regexp-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-regexp-literals.html) - */ - 'jsonc/no-regexp-literals': NoRegexpLiteralsRuleConfig; -} diff --git a/src/rules/jsonc/no-sparse-arrays.d.ts b/src/rules/jsonc/no-sparse-arrays.d.ts deleted file mode 100644 index a33af0ee..00000000 --- a/src/rules/jsonc/no-sparse-arrays.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow sparse arrays. - * - * @see [no-sparse-arrays](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-sparse-arrays.html) - */ -export type NoSparseArraysRuleConfig = RuleConfig<[]>; - -/** - * Disallow sparse arrays. - * - * @see [no-sparse-arrays](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-sparse-arrays.html) - */ -export interface NoSparseArraysRule { - /** - * Disallow sparse arrays. - * - * @see [no-sparse-arrays](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-sparse-arrays.html) - */ - 'jsonc/no-sparse-arrays': NoSparseArraysRuleConfig; -} diff --git a/src/rules/jsonc/no-template-literals.d.ts b/src/rules/jsonc/no-template-literals.d.ts deleted file mode 100644 index 62f4b215..00000000 --- a/src/rules/jsonc/no-template-literals.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow template literals. - * - * @see [no-template-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-template-literals.html) - */ -export type NoTemplateLiteralsRuleConfig = RuleConfig<[]>; - -/** - * Disallow template literals. - * - * @see [no-template-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-template-literals.html) - */ -export interface NoTemplateLiteralsRule { - /** - * Disallow template literals. - * - * @see [no-template-literals](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-template-literals.html) - */ - 'jsonc/no-template-literals': NoTemplateLiteralsRuleConfig; -} diff --git a/src/rules/jsonc/no-undefined-value.d.ts b/src/rules/jsonc/no-undefined-value.d.ts deleted file mode 100644 index ac2f2d6d..00000000 --- a/src/rules/jsonc/no-undefined-value.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow `undefined`. - * - * @see [no-undefined-value](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-undefined-value.html) - */ -export type NoUndefinedValueRuleConfig = RuleConfig<[]>; - -/** - * Disallow `undefined`. - * - * @see [no-undefined-value](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-undefined-value.html) - */ -export interface NoUndefinedValueRule { - /** - * Disallow `undefined`. - * - * @see [no-undefined-value](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-undefined-value.html) - */ - 'jsonc/no-undefined-value': NoUndefinedValueRuleConfig; -} diff --git a/src/rules/jsonc/no-unicode-codepoint-escapes.d.ts b/src/rules/jsonc/no-unicode-codepoint-escapes.d.ts deleted file mode 100644 index 154361c0..00000000 --- a/src/rules/jsonc/no-unicode-codepoint-escapes.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow Unicode code point escape sequences. - * - * @see [no-unicode-codepoint-escapes](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-unicode-codepoint-escapes.html) - */ -export type NoUnicodeCodepointEscapesRuleConfig = RuleConfig<[]>; - -/** - * Disallow Unicode code point escape sequences. - * - * @see [no-unicode-codepoint-escapes](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-unicode-codepoint-escapes.html) - */ -export interface NoUnicodeCodepointEscapesRule { - /** - * Disallow Unicode code point escape sequences. - * - * @see [no-unicode-codepoint-escapes](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-unicode-codepoint-escapes.html) - */ - 'jsonc/no-unicode-codepoint-escapes': NoUnicodeCodepointEscapesRuleConfig; -} diff --git a/src/rules/jsonc/no-useless-escape.d.ts b/src/rules/jsonc/no-useless-escape.d.ts deleted file mode 100644 index 2d87ef78..00000000 --- a/src/rules/jsonc/no-useless-escape.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow unnecessary escape usage. - * - * @see [no-useless-escape](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-useless-escape.html) - */ -export type NoUselessEscapeRuleConfig = RuleConfig<[]>; - -/** - * Disallow unnecessary escape usage. - * - * @see [no-useless-escape](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-useless-escape.html) - */ -export interface NoUselessEscapeRule { - /** - * Disallow unnecessary escape usage. - * - * @see [no-useless-escape](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-useless-escape.html) - */ - 'jsonc/no-useless-escape': NoUselessEscapeRuleConfig; -} diff --git a/src/rules/jsonc/object-curly-newline.d.ts b/src/rules/jsonc/object-curly-newline.d.ts deleted file mode 100644 index d879e566..00000000 --- a/src/rules/jsonc/object-curly-newline.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type ObjectCurlyNewlineOption = - | ( - | ('always' | 'never') - | { - multiline?: boolean; - minProperties?: number; - consistent?: boolean; - } - ) - | { - ObjectExpression?: - | ('always' | 'never') - | { - multiline?: boolean; - minProperties?: number; - consistent?: boolean; - }; - ObjectPattern?: - | ('always' | 'never') - | { - multiline?: boolean; - minProperties?: number; - consistent?: boolean; - }; - ImportDeclaration?: - | ('always' | 'never') - | { - multiline?: boolean; - minProperties?: number; - consistent?: boolean; - }; - ExportDeclaration?: - | ('always' | 'never') - | { - multiline?: boolean; - minProperties?: number; - consistent?: boolean; - }; - }; - -/** - * Options. - */ -export type ObjectCurlyNewlineOptions = [ObjectCurlyNewlineOption?]; - -/** - * Enforce consistent line breaks inside braces. - * - * @see [object-curly-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-curly-newline.html) - */ -export type ObjectCurlyNewlineRuleConfig = - RuleConfig; - -/** - * Enforce consistent line breaks inside braces. - * - * @see [object-curly-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-curly-newline.html) - */ -export interface ObjectCurlyNewlineRule { - /** - * Enforce consistent line breaks inside braces. - * - * @see [object-curly-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-curly-newline.html) - */ - 'jsonc/object-curly-newline': ObjectCurlyNewlineRuleConfig; -} diff --git a/src/rules/jsonc/object-curly-spacing.d.ts b/src/rules/jsonc/object-curly-spacing.d.ts deleted file mode 100644 index 27f3b75a..00000000 --- a/src/rules/jsonc/object-curly-spacing.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export interface ObjectCurlySpacingConfig { - arraysInObjects?: boolean; - objectsInObjects?: boolean; -} - -/** - * Option. - */ -export type ObjectCurlySpacingOption = 'always' | 'never'; - -/** - * Options. - */ -export type ObjectCurlySpacingOptions = [ - ObjectCurlySpacingOption?, - ObjectCurlySpacingConfig?, -]; - -/** - * Enforce consistent spacing inside braces. - * - * @see [object-curly-spacing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-curly-spacing.html) - */ -export type ObjectCurlySpacingRuleConfig = - RuleConfig; - -/** - * Enforce consistent spacing inside braces. - * - * @see [object-curly-spacing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-curly-spacing.html) - */ -export interface ObjectCurlySpacingRule { - /** - * Enforce consistent spacing inside braces. - * - * @see [object-curly-spacing](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-curly-spacing.html) - */ - 'jsonc/object-curly-spacing': ObjectCurlySpacingRuleConfig; -} diff --git a/src/rules/jsonc/object-property-newline.d.ts b/src/rules/jsonc/object-property-newline.d.ts deleted file mode 100644 index 58221a78..00000000 --- a/src/rules/jsonc/object-property-newline.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ObjectPropertyNewlineOption { - allowAllPropertiesOnSameLine?: boolean; - allowMultiplePropertiesPerLine?: boolean; -} - -/** - * Options. - */ -export type ObjectPropertyNewlineOptions = [ObjectPropertyNewlineOption?]; - -/** - * Enforce placing object properties on separate lines. - * - * @see [object-property-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-property-newline.html) - */ -export type ObjectPropertyNewlineRuleConfig = - RuleConfig; - -/** - * Enforce placing object properties on separate lines. - * - * @see [object-property-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-property-newline.html) - */ -export interface ObjectPropertyNewlineRule { - /** - * Enforce placing object properties on separate lines. - * - * @see [object-property-newline](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-property-newline.html) - */ - 'jsonc/object-property-newline': ObjectPropertyNewlineRuleConfig; -} diff --git a/src/rules/jsonc/quote-props.d.ts b/src/rules/jsonc/quote-props.d.ts deleted file mode 100644 index 7bd34a20..00000000 --- a/src/rules/jsonc/quote-props.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type QuotePropsOption = - | [] - | ['always' | 'as-needed' | 'consistent' | 'consistent-as-needed'] - | [] - | ['always' | 'as-needed' | 'consistent' | 'consistent-as-needed'] - | [ - 'always' | 'as-needed' | 'consistent' | 'consistent-as-needed', - { - keywords?: boolean; - unnecessary?: boolean; - numbers?: boolean; - }, - ]; - -/** - * Options. - */ -export type QuotePropsOptions = QuotePropsOption; - -/** - * Require quotes around object literal property names. - * - * @see [quote-props](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/quote-props.html) - */ -export type QuotePropsRuleConfig = RuleConfig; - -/** - * Require quotes around object literal property names. - * - * @see [quote-props](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/quote-props.html) - */ -export interface QuotePropsRule { - /** - * Require quotes around object literal property names. - * - * @see [quote-props](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/quote-props.html) - */ - 'jsonc/quote-props': QuotePropsRuleConfig; -} diff --git a/src/rules/jsonc/quotes.d.ts b/src/rules/jsonc/quotes.d.ts deleted file mode 100644 index 73053448..00000000 --- a/src/rules/jsonc/quotes.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Config. - */ -export type QuotesConfig = - | 'avoid-escape' - | { - avoidEscape?: boolean; - allowTemplateLiterals?: boolean; - }; - -/** - * Option. - */ -export type QuotesOption = 'single' | 'double' | 'backtick'; - -/** - * Options. - */ -export type QuotesOptions = [QuotesOption?, QuotesConfig?]; - -/** - * Enforce use of double or single quotes. - * - * @see [quotes](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/quotes.html) - */ -export type QuotesRuleConfig = RuleConfig; - -/** - * Enforce use of double or single quotes. - * - * @see [quotes](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/quotes.html) - */ -export interface QuotesRule { - /** - * Enforce use of double or single quotes. - * - * @see [quotes](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/quotes.html) - */ - 'jsonc/quotes': QuotesRuleConfig; -} diff --git a/src/rules/jsonc/sort-array-values.d.ts b/src/rules/jsonc/sort-array-values.d.ts deleted file mode 100644 index 70369c75..00000000 --- a/src/rules/jsonc/sort-array-values.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -/** - * @minItems 1 - */ -export type SortArrayValuesOption = [ - { - pathPattern: string; - order: - | ( - | string - | { - valuePattern?: string; - order?: { - type?: 'asc' | 'desc'; - caseSensitive?: boolean; - natural?: boolean; - }; - } - )[] - | { - type?: 'asc' | 'desc'; - caseSensitive?: boolean; - natural?: boolean; - }; - minValues?: number; - }, - ...{ - pathPattern: string; - order: - | ( - | string - | { - valuePattern?: string; - order?: { - type?: 'asc' | 'desc'; - caseSensitive?: boolean; - natural?: boolean; - }; - } - )[] - | { - type?: 'asc' | 'desc'; - caseSensitive?: boolean; - natural?: boolean; - }; - minValues?: number; - }[], -]; - -/** - * Options. - */ -export type SortArrayValuesOptions = SortArrayValuesOption; - -/** - * Require array values to be sorted. - * - * @see [sort-array-values](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/sort-array-values.html) - */ -export type SortArrayValuesRuleConfig = RuleConfig; - -/** - * Require array values to be sorted. - * - * @see [sort-array-values](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/sort-array-values.html) - */ -export interface SortArrayValuesRule { - /** - * Require array values to be sorted. - * - * @see [sort-array-values](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/sort-array-values.html) - */ - 'jsonc/sort-array-values': SortArrayValuesRuleConfig; -} diff --git a/src/rules/jsonc/sort-keys.d.ts b/src/rules/jsonc/sort-keys.d.ts deleted file mode 100644 index 2a371834..00000000 --- a/src/rules/jsonc/sort-keys.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export type SortKeysOption = - | [ - { - pathPattern: string; - hasProperties?: string[]; - order: - | ( - | string - | { - keyPattern?: string; - order?: { - type?: 'asc' | 'desc'; - caseSensitive?: boolean; - natural?: boolean; - }; - } - )[] - | { - type?: 'asc' | 'desc'; - caseSensitive?: boolean; - natural?: boolean; - }; - minKeys?: number; - allowLineSeparatedGroups?: boolean; - }, - ...{ - pathPattern: string; - hasProperties?: string[]; - order: - | ( - | string - | { - keyPattern?: string; - order?: { - type?: 'asc' | 'desc'; - caseSensitive?: boolean; - natural?: boolean; - }; - } - )[] - | { - type?: 'asc' | 'desc'; - caseSensitive?: boolean; - natural?: boolean; - }; - minKeys?: number; - allowLineSeparatedGroups?: boolean; - }[], - ] - | [] - | ['asc' | 'desc'] - | [ - 'asc' | 'desc', - { - caseSensitive?: boolean; - natural?: boolean; - minKeys?: number; - allowLineSeparatedGroups?: boolean; - }, - ]; - -/** - * Options. - */ -export type SortKeysOptions = SortKeysOption; - -/** - * Require object keys to be sorted. - * - * @see [sort-keys](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/sort-keys.html) - */ -export type SortKeysRuleConfig = RuleConfig; - -/** - * Require object keys to be sorted. - * - * @see [sort-keys](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/sort-keys.html) - */ -export interface SortKeysRule { - /** - * Require object keys to be sorted. - * - * @see [sort-keys](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/sort-keys.html) - */ - 'jsonc/sort-keys': SortKeysRuleConfig; -} diff --git a/src/rules/jsonc/space-unary-ops.d.ts b/src/rules/jsonc/space-unary-ops.d.ts deleted file mode 100644 index 3cd77a18..00000000 --- a/src/rules/jsonc/space-unary-ops.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface SpaceUnaryOpsOption { - words?: boolean; - nonwords?: boolean; - overrides?: { - [k: string]: boolean; - }; -} - -/** - * Options. - */ -export type SpaceUnaryOpsOptions = [SpaceUnaryOpsOption?]; - -/** - * Disallow spaces after unary operators. - * - * @see [space-unary-ops](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/space-unary-ops.html) - */ -export type SpaceUnaryOpsRuleConfig = RuleConfig; - -/** - * Disallow spaces after unary operators. - * - * @see [space-unary-ops](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/space-unary-ops.html) - */ -export interface SpaceUnaryOpsRule { - /** - * Disallow spaces after unary operators. - * - * @see [space-unary-ops](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/space-unary-ops.html) - */ - 'jsonc/space-unary-ops': SpaceUnaryOpsRuleConfig; -} diff --git a/src/rules/jsonc/valid-json-number.d.ts b/src/rules/jsonc/valid-json-number.d.ts deleted file mode 100644 index b9146ed1..00000000 --- a/src/rules/jsonc/valid-json-number.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Disallow invalid number for JSON. - * - * @see [valid-json-number](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/valid-json-number.html) - */ -export type ValidJsonNumberRuleConfig = RuleConfig<[]>; - -/** - * Disallow invalid number for JSON. - * - * @see [valid-json-number](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/valid-json-number.html) - */ -export interface ValidJsonNumberRule { - /** - * Disallow invalid number for JSON. - * - * @see [valid-json-number](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/valid-json-number.html) - */ - 'jsonc/valid-json-number': ValidJsonNumberRuleConfig; -} diff --git a/src/rules/jsonc/vue-custom-block/no-parsing-error.d.ts b/src/rules/jsonc/vue-custom-block/no-parsing-error.d.ts deleted file mode 100644 index d2c061c7..00000000 --- a/src/rules/jsonc/vue-custom-block/no-parsing-error.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { RuleConfig } from '../../rule-config'; - -/** - * Disallow parsing errors in Vue custom blocks. - * - * @see [vue-custom-block/no-parsing-error](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/vue-custom-block/no-parsing-error.html) - */ -export type VueCustomBlockNoParsingErrorRuleConfig = RuleConfig<[]>; - -/** - * Disallow parsing errors in Vue custom blocks. - * - * @see [vue-custom-block/no-parsing-error](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/vue-custom-block/no-parsing-error.html) - */ -export interface VueCustomBlockNoParsingErrorRule { - /** - * Disallow parsing errors in Vue custom blocks. - * - * @see [vue-custom-block/no-parsing-error](https://ota-meshi.github.io/eslint-plugin-jsonc/rules/vue-custom-block/no-parsing-error.html) - */ - 'jsonc/vue-custom-block/no-parsing-error': VueCustomBlockNoParsingErrorRuleConfig; -} diff --git a/src/rules/jsx-a11y/accessible-emoji.d.ts b/src/rules/jsx-a11y/accessible-emoji.d.ts deleted file mode 100644 index cddd88ea..00000000 --- a/src/rules/jsx-a11y/accessible-emoji.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AccessibleEmojiOption { - [k: string]: any; -} - -/** - * Options. - */ -export type AccessibleEmojiOptions = [AccessibleEmojiOption?]; - -/** - * Enforce emojis are wrapped in `` and provide screenreader access. - * - * @deprecated - * - * @see [accessible-emoji](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md) - */ -export type AccessibleEmojiRuleConfig = RuleConfig; - -/** - * Enforce emojis are wrapped in `` and provide screenreader access. - * - * @deprecated - * - * @see [accessible-emoji](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md) - */ -export interface AccessibleEmojiRule { - /** - * Enforce emojis are wrapped in `` and provide screenreader access. - * - * @deprecated - * - * @see [accessible-emoji](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md) - */ - 'jsx-a11y/accessible-emoji': AccessibleEmojiRuleConfig; -} diff --git a/src/rules/jsx-a11y/alt-text.d.ts b/src/rules/jsx-a11y/alt-text.d.ts deleted file mode 100644 index a6f9a37d..00000000 --- a/src/rules/jsx-a11y/alt-text.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AltTextOption { - elements?: string[]; - img?: string[]; - object?: string[]; - area?: string[]; - 'input[type="image"]'?: string[]; - [k: string]: any; -} - -/** - * Options. - */ -export type AltTextOptions = [AltTextOption?]; - -/** - * Enforce all elements that require alternative text have meaningful information to relay back to end user. - * - * @see [alt-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md) - */ -export type AltTextRuleConfig = RuleConfig; - -/** - * Enforce all elements that require alternative text have meaningful information to relay back to end user. - * - * @see [alt-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md) - */ -export interface AltTextRule { - /** - * Enforce all elements that require alternative text have meaningful information to relay back to end user. - * - * @see [alt-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md) - */ - 'jsx-a11y/alt-text': AltTextRuleConfig; -} diff --git a/src/rules/jsx-a11y/anchor-ambiguous-text.d.ts b/src/rules/jsx-a11y/anchor-ambiguous-text.d.ts deleted file mode 100644 index 4e566870..00000000 --- a/src/rules/jsx-a11y/anchor-ambiguous-text.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AnchorAmbiguousTextOption { - words?: string[]; - [k: string]: any; -} - -/** - * Options. - */ -export type AnchorAmbiguousTextOptions = [AnchorAmbiguousTextOption?]; - -/** - * Enforce `` text to not exactly match "click here", "here", "link", or "a link". - * - * @see [anchor-ambiguous-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-ambiguous-text.md) - */ -export type AnchorAmbiguousTextRuleConfig = - RuleConfig; - -/** - * Enforce `` text to not exactly match "click here", "here", "link", or "a link". - * - * @see [anchor-ambiguous-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-ambiguous-text.md) - */ -export interface AnchorAmbiguousTextRule { - /** - * Enforce `` text to not exactly match "click here", "here", "link", or "a link". - * - * @see [anchor-ambiguous-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-ambiguous-text.md) - */ - 'jsx-a11y/anchor-ambiguous-text': AnchorAmbiguousTextRuleConfig; -} diff --git a/src/rules/jsx-a11y/anchor-has-content.d.ts b/src/rules/jsx-a11y/anchor-has-content.d.ts deleted file mode 100644 index 4dacd2cc..00000000 --- a/src/rules/jsx-a11y/anchor-has-content.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AnchorHasContentOption { - components?: string[]; - [k: string]: any; -} - -/** - * Options. - */ -export type AnchorHasContentOptions = [AnchorHasContentOption?]; - -/** - * Enforce all anchors to contain accessible content. - * - * @see [anchor-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-has-content.md) - */ -export type AnchorHasContentRuleConfig = RuleConfig; - -/** - * Enforce all anchors to contain accessible content. - * - * @see [anchor-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-has-content.md) - */ -export interface AnchorHasContentRule { - /** - * Enforce all anchors to contain accessible content. - * - * @see [anchor-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-has-content.md) - */ - 'jsx-a11y/anchor-has-content': AnchorHasContentRuleConfig; -} diff --git a/src/rules/jsx-a11y/anchor-is-valid.d.ts b/src/rules/jsx-a11y/anchor-is-valid.d.ts deleted file mode 100644 index e6713f30..00000000 --- a/src/rules/jsx-a11y/anchor-is-valid.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AnchorIsValidOption { - components?: string[]; - specialLink?: string[]; - /** - * @minItems 1 - */ - aspects?: [ - 'noHref' | 'invalidHref' | 'preferButton', - ...('noHref' | 'invalidHref' | 'preferButton')[], - ]; - [k: string]: any; -} - -/** - * Options. - */ -export type AnchorIsValidOptions = [AnchorIsValidOption?]; - -/** - * Enforce all anchors are valid, navigable elements. - * - * @see [anchor-is-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-is-valid.md) - */ -export type AnchorIsValidRuleConfig = RuleConfig; - -/** - * Enforce all anchors are valid, navigable elements. - * - * @see [anchor-is-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-is-valid.md) - */ -export interface AnchorIsValidRule { - /** - * Enforce all anchors are valid, navigable elements. - * - * @see [anchor-is-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-is-valid.md) - */ - 'jsx-a11y/anchor-is-valid': AnchorIsValidRuleConfig; -} diff --git a/src/rules/jsx-a11y/aria-activedescendant-has-tabindex.d.ts b/src/rules/jsx-a11y/aria-activedescendant-has-tabindex.d.ts deleted file mode 100644 index 8ab523ef..00000000 --- a/src/rules/jsx-a11y/aria-activedescendant-has-tabindex.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AriaActivedescendantHasTabindexOption { - [k: string]: any; -} - -/** - * Options. - */ -export type AriaActivedescendantHasTabindexOptions = [ - AriaActivedescendantHasTabindexOption?, -]; - -/** - * Enforce elements with aria-activedescendant are tabbable. - * - * @see [aria-activedescendant-has-tabindex](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-activedescendant-has-tabindex.md) - */ -export type AriaActivedescendantHasTabindexRuleConfig = - RuleConfig; - -/** - * Enforce elements with aria-activedescendant are tabbable. - * - * @see [aria-activedescendant-has-tabindex](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-activedescendant-has-tabindex.md) - */ -export interface AriaActivedescendantHasTabindexRule { - /** - * Enforce elements with aria-activedescendant are tabbable. - * - * @see [aria-activedescendant-has-tabindex](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-activedescendant-has-tabindex.md) - */ - 'jsx-a11y/aria-activedescendant-has-tabindex': AriaActivedescendantHasTabindexRuleConfig; -} diff --git a/src/rules/jsx-a11y/aria-props.d.ts b/src/rules/jsx-a11y/aria-props.d.ts deleted file mode 100644 index 1d6c979a..00000000 --- a/src/rules/jsx-a11y/aria-props.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AriaPropsOption { - [k: string]: any; -} - -/** - * Options. - */ -export type AriaPropsOptions = [AriaPropsOption?]; - -/** - * Enforce all `aria-*` props are valid. - * - * @see [aria-props](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-props.md) - */ -export type AriaPropsRuleConfig = RuleConfig; - -/** - * Enforce all `aria-*` props are valid. - * - * @see [aria-props](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-props.md) - */ -export interface AriaPropsRule { - /** - * Enforce all `aria-*` props are valid. - * - * @see [aria-props](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-props.md) - */ - 'jsx-a11y/aria-props': AriaPropsRuleConfig; -} diff --git a/src/rules/jsx-a11y/aria-proptypes.d.ts b/src/rules/jsx-a11y/aria-proptypes.d.ts deleted file mode 100644 index e67457c1..00000000 --- a/src/rules/jsx-a11y/aria-proptypes.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AriaProptypesOption { - [k: string]: any; -} - -/** - * Options. - */ -export type AriaProptypesOptions = [AriaProptypesOption?]; - -/** - * Enforce ARIA state and property values are valid. - * - * @see [aria-proptypes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-proptypes.md) - */ -export type AriaProptypesRuleConfig = RuleConfig; - -/** - * Enforce ARIA state and property values are valid. - * - * @see [aria-proptypes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-proptypes.md) - */ -export interface AriaProptypesRule { - /** - * Enforce ARIA state and property values are valid. - * - * @see [aria-proptypes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-proptypes.md) - */ - 'jsx-a11y/aria-proptypes': AriaProptypesRuleConfig; -} diff --git a/src/rules/jsx-a11y/aria-role.d.ts b/src/rules/jsx-a11y/aria-role.d.ts deleted file mode 100644 index 1fe5e764..00000000 --- a/src/rules/jsx-a11y/aria-role.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AriaRoleOption { - allowedInvalidRoles?: string[]; - ignoreNonDOM?: boolean; - [k: string]: any; -} - -/** - * Options. - */ -export type AriaRoleOptions = [AriaRoleOption?]; - -/** - * Enforce that elements with ARIA roles must use a valid, non-abstract ARIA role. - * - * @see [aria-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-role.md) - */ -export type AriaRoleRuleConfig = RuleConfig; - -/** - * Enforce that elements with ARIA roles must use a valid, non-abstract ARIA role. - * - * @see [aria-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-role.md) - */ -export interface AriaRoleRule { - /** - * Enforce that elements with ARIA roles must use a valid, non-abstract ARIA role. - * - * @see [aria-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-role.md) - */ - 'jsx-a11y/aria-role': AriaRoleRuleConfig; -} diff --git a/src/rules/jsx-a11y/aria-unsupported-elements.d.ts b/src/rules/jsx-a11y/aria-unsupported-elements.d.ts deleted file mode 100644 index ad78bd02..00000000 --- a/src/rules/jsx-a11y/aria-unsupported-elements.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AriaUnsupportedElementsOption { - [k: string]: any; -} - -/** - * Options. - */ -export type AriaUnsupportedElementsOptions = [AriaUnsupportedElementsOption?]; - -/** - * Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes. - * - * @see [aria-unsupported-elements](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-unsupported-elements.md) - */ -export type AriaUnsupportedElementsRuleConfig = - RuleConfig; - -/** - * Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes. - * - * @see [aria-unsupported-elements](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-unsupported-elements.md) - */ -export interface AriaUnsupportedElementsRule { - /** - * Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes. - * - * @see [aria-unsupported-elements](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-unsupported-elements.md) - */ - 'jsx-a11y/aria-unsupported-elements': AriaUnsupportedElementsRuleConfig; -} diff --git a/src/rules/jsx-a11y/autocomplete-valid.d.ts b/src/rules/jsx-a11y/autocomplete-valid.d.ts deleted file mode 100644 index 33cc99bb..00000000 --- a/src/rules/jsx-a11y/autocomplete-valid.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface AutocompleteValidOption { - inputComponents?: string[]; - [k: string]: any; -} - -/** - * Options. - */ -export type AutocompleteValidOptions = [AutocompleteValidOption?]; - -/** - * Enforce that autocomplete attributes are used correctly. - * - * @see [autocomplete-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/autocomplete-valid.md) - */ -export type AutocompleteValidRuleConfig = RuleConfig; - -/** - * Enforce that autocomplete attributes are used correctly. - * - * @see [autocomplete-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/autocomplete-valid.md) - */ -export interface AutocompleteValidRule { - /** - * Enforce that autocomplete attributes are used correctly. - * - * @see [autocomplete-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/autocomplete-valid.md) - */ - 'jsx-a11y/autocomplete-valid': AutocompleteValidRuleConfig; -} diff --git a/src/rules/jsx-a11y/click-events-have-key-events.d.ts b/src/rules/jsx-a11y/click-events-have-key-events.d.ts deleted file mode 100644 index 86c21a30..00000000 --- a/src/rules/jsx-a11y/click-events-have-key-events.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ClickEventsHaveKeyEventsOption { - [k: string]: any; -} - -/** - * Options. - */ -export type ClickEventsHaveKeyEventsOptions = [ClickEventsHaveKeyEventsOption?]; - -/** - * Enforce a clickable non-interactive element has at least one keyboard event listener. - * - * @see [click-events-have-key-events](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/click-events-have-key-events.md) - */ -export type ClickEventsHaveKeyEventsRuleConfig = - RuleConfig; - -/** - * Enforce a clickable non-interactive element has at least one keyboard event listener. - * - * @see [click-events-have-key-events](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/click-events-have-key-events.md) - */ -export interface ClickEventsHaveKeyEventsRule { - /** - * Enforce a clickable non-interactive element has at least one keyboard event listener. - * - * @see [click-events-have-key-events](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/click-events-have-key-events.md) - */ - 'jsx-a11y/click-events-have-key-events': ClickEventsHaveKeyEventsRuleConfig; -} diff --git a/src/rules/jsx-a11y/control-has-associated-label.d.ts b/src/rules/jsx-a11y/control-has-associated-label.d.ts deleted file mode 100644 index 847d102e..00000000 --- a/src/rules/jsx-a11y/control-has-associated-label.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ControlHasAssociatedLabelOption { - labelAttributes?: string[]; - controlComponents?: string[]; - ignoreElements?: string[]; - ignoreRoles?: string[]; - /** - * JSX tree depth limit to check for accessible label - */ - depth?: number; - [k: string]: any; -} - -/** - * Options. - */ -export type ControlHasAssociatedLabelOptions = [ - ControlHasAssociatedLabelOption?, -]; - -/** - * Enforce that a control (an interactive element) has a text label. - * - * @see [control-has-associated-label](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/control-has-associated-label.md) - */ -export type ControlHasAssociatedLabelRuleConfig = - RuleConfig; - -/** - * Enforce that a control (an interactive element) has a text label. - * - * @see [control-has-associated-label](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/control-has-associated-label.md) - */ -export interface ControlHasAssociatedLabelRule { - /** - * Enforce that a control (an interactive element) has a text label. - * - * @see [control-has-associated-label](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/control-has-associated-label.md) - */ - 'jsx-a11y/control-has-associated-label': ControlHasAssociatedLabelRuleConfig; -} diff --git a/src/rules/jsx-a11y/heading-has-content.d.ts b/src/rules/jsx-a11y/heading-has-content.d.ts deleted file mode 100644 index a6f82db9..00000000 --- a/src/rules/jsx-a11y/heading-has-content.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface HeadingHasContentOption { - components?: string[]; - [k: string]: any; -} - -/** - * Options. - */ -export type HeadingHasContentOptions = [HeadingHasContentOption?]; - -/** - * Enforce heading (`h1`, `h2`, etc) elements contain accessible content. - * - * @see [heading-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/heading-has-content.md) - */ -export type HeadingHasContentRuleConfig = RuleConfig; - -/** - * Enforce heading (`h1`, `h2`, etc) elements contain accessible content. - * - * @see [heading-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/heading-has-content.md) - */ -export interface HeadingHasContentRule { - /** - * Enforce heading (`h1`, `h2`, etc) elements contain accessible content. - * - * @see [heading-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/heading-has-content.md) - */ - 'jsx-a11y/heading-has-content': HeadingHasContentRuleConfig; -} diff --git a/src/rules/jsx-a11y/html-has-lang.d.ts b/src/rules/jsx-a11y/html-has-lang.d.ts deleted file mode 100644 index 9818912f..00000000 --- a/src/rules/jsx-a11y/html-has-lang.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface HtmlHasLangOption { - [k: string]: any; -} - -/** - * Options. - */ -export type HtmlHasLangOptions = [HtmlHasLangOption?]; - -/** - * Enforce `` element has `lang` prop. - * - * @see [html-has-lang](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/html-has-lang.md) - */ -export type HtmlHasLangRuleConfig = RuleConfig; - -/** - * Enforce `` element has `lang` prop. - * - * @see [html-has-lang](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/html-has-lang.md) - */ -export interface HtmlHasLangRule { - /** - * Enforce `` element has `lang` prop. - * - * @see [html-has-lang](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/html-has-lang.md) - */ - 'jsx-a11y/html-has-lang': HtmlHasLangRuleConfig; -} diff --git a/src/rules/jsx-a11y/iframe-has-title.d.ts b/src/rules/jsx-a11y/iframe-has-title.d.ts deleted file mode 100644 index 94349ce2..00000000 --- a/src/rules/jsx-a11y/iframe-has-title.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface IframeHasTitleOption { - [k: string]: any; -} - -/** - * Options. - */ -export type IframeHasTitleOptions = [IframeHasTitleOption?]; - -/** - * Enforce iframe elements have a title attribute. - * - * @see [iframe-has-title](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/iframe-has-title.md) - */ -export type IframeHasTitleRuleConfig = RuleConfig; - -/** - * Enforce iframe elements have a title attribute. - * - * @see [iframe-has-title](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/iframe-has-title.md) - */ -export interface IframeHasTitleRule { - /** - * Enforce iframe elements have a title attribute. - * - * @see [iframe-has-title](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/iframe-has-title.md) - */ - 'jsx-a11y/iframe-has-title': IframeHasTitleRuleConfig; -} diff --git a/src/rules/jsx-a11y/img-redundant-alt.d.ts b/src/rules/jsx-a11y/img-redundant-alt.d.ts deleted file mode 100644 index 33b23986..00000000 --- a/src/rules/jsx-a11y/img-redundant-alt.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface ImgRedundantAltOption { - components?: string[]; - words?: string[]; - [k: string]: any; -} - -/** - * Options. - */ -export type ImgRedundantAltOptions = [ImgRedundantAltOption?]; - -/** - * Enforce `` alt prop does not contain the word "image", "picture", or "photo". - * - * @see [img-redundant-alt](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/img-redundant-alt.md) - */ -export type ImgRedundantAltRuleConfig = RuleConfig; - -/** - * Enforce `` alt prop does not contain the word "image", "picture", or "photo". - * - * @see [img-redundant-alt](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/img-redundant-alt.md) - */ -export interface ImgRedundantAltRule { - /** - * Enforce `` alt prop does not contain the word "image", "picture", or "photo". - * - * @see [img-redundant-alt](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/img-redundant-alt.md) - */ - 'jsx-a11y/img-redundant-alt': ImgRedundantAltRuleConfig; -} diff --git a/src/rules/jsx-a11y/index.d.ts b/src/rules/jsx-a11y/index.d.ts deleted file mode 100644 index 5821becc..00000000 --- a/src/rules/jsx-a11y/index.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import type { AccessibleEmojiRule } from './accessible-emoji'; -import type { AltTextRule } from './alt-text'; -import type { AnchorAmbiguousTextRule } from './anchor-ambiguous-text'; -import type { AnchorHasContentRule } from './anchor-has-content'; -import type { AnchorIsValidRule } from './anchor-is-valid'; -import type { AriaActivedescendantHasTabindexRule } from './aria-activedescendant-has-tabindex'; -import type { AriaPropsRule } from './aria-props'; -import type { AriaProptypesRule } from './aria-proptypes'; -import type { AriaRoleRule } from './aria-role'; -import type { AriaUnsupportedElementsRule } from './aria-unsupported-elements'; -import type { AutocompleteValidRule } from './autocomplete-valid'; -import type { ClickEventsHaveKeyEventsRule } from './click-events-have-key-events'; -import type { ControlHasAssociatedLabelRule } from './control-has-associated-label'; -import type { HeadingHasContentRule } from './heading-has-content'; -import type { HtmlHasLangRule } from './html-has-lang'; -import type { IframeHasTitleRule } from './iframe-has-title'; -import type { ImgRedundantAltRule } from './img-redundant-alt'; -import type { InteractiveSupportsFocusRule } from './interactive-supports-focus'; -import type { LabelHasAssociatedControlRule } from './label-has-associated-control'; -import type { LabelHasForRule } from './label-has-for'; -import type { LangRule } from './lang'; -import type { MediaHasCaptionRule } from './media-has-caption'; -import type { MouseEventsHaveKeyEventsRule } from './mouse-events-have-key-events'; -import type { NoAccessKeyRule } from './no-access-key'; -import type { NoAriaHiddenOnFocusableRule } from './no-aria-hidden-on-focusable'; -import type { NoAutofocusRule } from './no-autofocus'; -import type { NoDistractingElementsRule } from './no-distracting-elements'; -import type { NoInteractiveElementToNoninteractiveRoleRule } from './no-interactive-element-to-noninteractive-role'; -import type { NoNoninteractiveElementInteractionsRule } from './no-noninteractive-element-interactions'; -import type { NoNoninteractiveElementToInteractiveRoleRule } from './no-noninteractive-element-to-interactive-role'; -import type { NoNoninteractiveTabindexRule } from './no-noninteractive-tabindex'; -import type { NoOnchangeRule } from './no-onchange'; -import type { NoRedundantRolesRule } from './no-redundant-roles'; -import type { NoStaticElementInteractionsRule } from './no-static-element-interactions'; -import type { PreferTagOverRoleRule } from './prefer-tag-over-role'; -import type { RoleHasRequiredAriaPropsRule } from './role-has-required-aria-props'; -import type { RoleSupportsAriaPropsRule } from './role-supports-aria-props'; -import type { ScopeRule } from './scope'; -import type { TabindexNoPositiveRule } from './tabindex-no-positive'; - -/** - * All JsxA11y rules. - */ -export type JsxA11yRules = AccessibleEmojiRule & - AltTextRule & - AnchorAmbiguousTextRule & - AnchorHasContentRule & - AnchorIsValidRule & - AriaActivedescendantHasTabindexRule & - AriaPropsRule & - AriaProptypesRule & - AriaRoleRule & - AriaUnsupportedElementsRule & - AutocompleteValidRule & - ClickEventsHaveKeyEventsRule & - ControlHasAssociatedLabelRule & - HeadingHasContentRule & - HtmlHasLangRule & - IframeHasTitleRule & - ImgRedundantAltRule & - InteractiveSupportsFocusRule & - LabelHasAssociatedControlRule & - LabelHasForRule & - LangRule & - MediaHasCaptionRule & - MouseEventsHaveKeyEventsRule & - NoAccessKeyRule & - NoAriaHiddenOnFocusableRule & - NoAutofocusRule & - NoDistractingElementsRule & - NoInteractiveElementToNoninteractiveRoleRule & - NoNoninteractiveElementInteractionsRule & - NoNoninteractiveElementToInteractiveRoleRule & - NoNoninteractiveTabindexRule & - NoOnchangeRule & - NoRedundantRolesRule & - NoStaticElementInteractionsRule & - PreferTagOverRoleRule & - RoleHasRequiredAriaPropsRule & - RoleSupportsAriaPropsRule & - ScopeRule & - TabindexNoPositiveRule; diff --git a/src/rules/jsx-a11y/interactive-supports-focus.d.ts b/src/rules/jsx-a11y/interactive-supports-focus.d.ts deleted file mode 100644 index ef2fadc2..00000000 --- a/src/rules/jsx-a11y/interactive-supports-focus.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface InteractiveSupportsFocusOption { - /** - * @minItems 0 - */ - tabbable?: ( - | 'button' - | 'checkbox' - | 'columnheader' - | 'combobox' - | 'grid' - | 'gridcell' - | 'link' - | 'listbox' - | 'menu' - | 'menubar' - | 'menuitem' - | 'menuitemcheckbox' - | 'menuitemradio' - | 'option' - | 'progressbar' - | 'radio' - | 'radiogroup' - | 'row' - | 'rowheader' - | 'scrollbar' - | 'searchbox' - | 'slider' - | 'spinbutton' - | 'switch' - | 'tab' - | 'tablist' - | 'textbox' - | 'tree' - | 'treegrid' - | 'treeitem' - | 'doc-backlink' - | 'doc-biblioref' - | 'doc-glossref' - | 'doc-noteref' - )[]; - [k: string]: any; -} - -/** - * Options. - */ -export type InteractiveSupportsFocusOptions = [InteractiveSupportsFocusOption?]; - -/** - * Enforce that elements with interactive handlers like `onClick` must be focusable. - * - * @see [interactive-supports-focus](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/interactive-supports-focus.md) - */ -export type InteractiveSupportsFocusRuleConfig = - RuleConfig; - -/** - * Enforce that elements with interactive handlers like `onClick` must be focusable. - * - * @see [interactive-supports-focus](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/interactive-supports-focus.md) - */ -export interface InteractiveSupportsFocusRule { - /** - * Enforce that elements with interactive handlers like `onClick` must be focusable. - * - * @see [interactive-supports-focus](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/interactive-supports-focus.md) - */ - 'jsx-a11y/interactive-supports-focus': InteractiveSupportsFocusRuleConfig; -} diff --git a/src/rules/jsx-a11y/label-has-associated-control.d.ts b/src/rules/jsx-a11y/label-has-associated-control.d.ts deleted file mode 100644 index 28f749d6..00000000 --- a/src/rules/jsx-a11y/label-has-associated-control.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface LabelHasAssociatedControlOption { - labelComponents?: string[]; - labelAttributes?: string[]; - controlComponents?: string[]; - /** - * Assert that the label has htmlFor, a nested label, both or either - */ - assert?: 'htmlFor' | 'nesting' | 'both' | 'either'; - /** - * JSX tree depth limit to check for accessible label - */ - depth?: number; - [k: string]: any; -} - -/** - * Options. - */ -export type LabelHasAssociatedControlOptions = [ - LabelHasAssociatedControlOption?, -]; - -/** - * Enforce that a `label` tag has a text label and an associated control. - * - * @see [label-has-associated-control](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-associated-control.md) - */ -export type LabelHasAssociatedControlRuleConfig = - RuleConfig; - -/** - * Enforce that a `label` tag has a text label and an associated control. - * - * @see [label-has-associated-control](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-associated-control.md) - */ -export interface LabelHasAssociatedControlRule { - /** - * Enforce that a `label` tag has a text label and an associated control. - * - * @see [label-has-associated-control](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-associated-control.md) - */ - 'jsx-a11y/label-has-associated-control': LabelHasAssociatedControlRuleConfig; -} diff --git a/src/rules/jsx-a11y/label-has-for.d.ts b/src/rules/jsx-a11y/label-has-for.d.ts deleted file mode 100644 index 8d011791..00000000 --- a/src/rules/jsx-a11y/label-has-for.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import type { RuleConfig } from '../rule-config'; - -/** - * Option. - */ -export interface LabelHasForOption { - components?: string[]; - required?: - | ('nesting' | 'id') - | { - /** - * @minItems 0 - */ - some: ('nesting' | 'id')[]; - [k: string]: any; - } - | { - /** - * @minItems 0 - */ - every: ('nesting' | 'id')[]; - [k: string]: any; - }; - allowChildren?: boolean; - [k: string]: any; -} - -/** - * Options. - */ -export type LabelHasForOptions = [LabelHasForOption?]; - -/** - * Enforce that `