├── .editorconfig ├── .eslint-doc-generatorrc.js ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── rule_proposal.yml ├── contributing.md ├── pull_request_template.md └── workflows │ ├── main.yml │ └── smoke-test.yml ├── .gitignore ├── .markdownlint.json ├── .markdownlintignore ├── .npmpackagejsonlintrc.json ├── .npmrc ├── codecov.yml ├── configs ├── all.js └── recommended.js ├── docs ├── deprecated-rules.md ├── new-rule.md └── rules │ ├── better-regex.md │ ├── catch-error-name.md │ ├── consistent-destructuring.md │ ├── consistent-function-scoping.md │ ├── custom-error-definition.md │ ├── empty-brace-spaces.md │ ├── error-message.md │ ├── escape-case.md │ ├── expiring-todo-comments.md │ ├── explicit-length-check.md │ ├── filename-case.md │ ├── import-style.md │ ├── new-for-builtins.md │ ├── no-abusive-eslint-disable.md │ ├── no-array-callback-reference.md │ ├── no-array-for-each.md │ ├── no-array-method-this-argument.md │ ├── no-array-push-push.md │ ├── no-array-reduce.md │ ├── no-await-expression-member.md │ ├── no-console-spaces.md │ ├── no-document-cookie.md │ ├── no-empty-file.md │ ├── no-for-loop.md │ ├── no-hex-escape.md │ ├── no-instanceof-array.md │ ├── no-invalid-remove-event-listener.md │ ├── no-keyword-prefix.md │ ├── no-lonely-if.md │ ├── no-negated-condition.md │ ├── no-nested-ternary.md │ ├── no-new-array.md │ ├── no-new-buffer.md │ ├── no-null.md │ ├── no-object-as-default-parameter.md │ ├── no-process-exit.md │ ├── no-static-only-class.md │ ├── no-thenable.md │ ├── no-this-assignment.md │ ├── no-typeof-undefined.md │ ├── no-unnecessary-await.md │ ├── no-unreadable-array-destructuring.md │ ├── no-unreadable-iife.md │ ├── no-unsafe-regex.md │ ├── no-unused-properties.md │ ├── no-useless-fallback-in-spread.md │ ├── no-useless-length-check.md │ ├── no-useless-promise-resolve-reject.md │ ├── no-useless-spread.md │ ├── no-useless-switch-case.md │ ├── no-useless-undefined.md │ ├── no-zero-fractions.md │ ├── number-literal-case.md │ ├── numeric-separators-style.md │ ├── prefer-add-event-listener.md │ ├── prefer-array-find.md │ ├── prefer-array-flat-map.md │ ├── prefer-array-flat.md │ ├── prefer-array-index-of.md │ ├── prefer-array-some.md │ ├── prefer-at.md │ ├── prefer-code-point.md │ ├── prefer-date-now.md │ ├── prefer-default-parameters.md │ ├── prefer-dom-node-append.md │ ├── prefer-dom-node-dataset.md │ ├── prefer-dom-node-remove.md │ ├── prefer-dom-node-text-content.md │ ├── prefer-event-target.md │ ├── prefer-export-from.md │ ├── prefer-includes.md │ ├── prefer-json-parse-buffer.md │ ├── prefer-keyboard-event-key.md │ ├── prefer-logical-operator-over-ternary.md │ ├── prefer-math-trunc.md │ ├── prefer-modern-dom-apis.md │ ├── prefer-modern-math-apis.md │ ├── prefer-module.md │ ├── prefer-native-coercion-functions.md │ ├── prefer-negative-index.md │ ├── prefer-node-protocol.md │ ├── prefer-number-properties.md │ ├── prefer-object-from-entries.md │ ├── prefer-optional-catch-binding.md │ ├── prefer-prototype-methods.md │ ├── prefer-query-selector.md │ ├── prefer-reflect-apply.md │ ├── prefer-regexp-test.md │ ├── prefer-set-has.md │ ├── prefer-set-size.md │ ├── prefer-spread.md │ ├── prefer-string-replace-all.md │ ├── prefer-string-slice.md │ ├── prefer-string-starts-ends-with.md │ ├── prefer-string-trim-start-end.md │ ├── prefer-switch.md │ ├── prefer-ternary.md │ ├── prefer-top-level-await.md │ ├── prefer-type-error.md │ ├── prevent-abbreviations.md │ ├── relative-url-style.md │ ├── require-array-join-separator.md │ ├── require-number-to-fixed-digits-argument.md │ ├── require-post-message-target-origin.md │ ├── string-content.md │ ├── switch-case-braces.md │ ├── template-indent.md │ ├── text-encoding-identifier-case.md │ └── throw-new-error.md ├── index.js ├── license ├── package.json ├── readme.md ├── rules ├── ast │ ├── index.js │ ├── is-arrow-function-body.js │ ├── is-empty-node.js │ ├── is-new-expression.js │ ├── is-static-require.js │ ├── is-undefined.js │ └── literal.js ├── better-regex.js ├── catch-error-name.js ├── consistent-destructuring.js ├── consistent-function-scoping.js ├── custom-error-definition.js ├── empty-brace-spaces.js ├── error-message.js ├── escape-case.js ├── expiring-todo-comments.js ├── explicit-length-check.js ├── filename-case.js ├── fix │ ├── add-parenthesizes-to-return-or-throw-expression.js │ ├── append-argument.js │ ├── extend-fix-range.js │ ├── fix-space-around-keywords.js │ ├── index.js │ ├── remove-argument.js │ ├── remove-member-expression-property.js │ ├── remove-method-call.js │ ├── remove-parentheses.js │ ├── remove-spaces-after.js │ ├── rename-variable.js │ ├── replace-argument.js │ ├── replace-node-or-token-and-spaces-before.js │ ├── replace-reference-identifier.js │ ├── replace-string-literal.js │ ├── replace-string-raw.js │ ├── replace-template-element.js │ ├── switch-call-expression-to-new-expression.js │ └── switch-new-expression-to-call-expression.js ├── import-style.js ├── new-for-builtins.js ├── no-abusive-eslint-disable.js ├── no-array-callback-reference.js ├── no-array-for-each.js ├── no-array-method-this-argument.js ├── no-array-push-push.js ├── no-array-reduce.js ├── no-await-expression-member.js ├── no-console-spaces.js ├── no-document-cookie.js ├── no-empty-file.js ├── no-for-loop.js ├── no-hex-escape.js ├── no-instanceof-array.js ├── no-invalid-remove-event-listener.js ├── no-keyword-prefix.js ├── no-lonely-if.js ├── no-negated-condition.js ├── no-nested-ternary.js ├── no-new-array.js ├── no-new-buffer.js ├── no-null.js ├── no-object-as-default-parameter.js ├── no-process-exit.js ├── no-static-only-class.js ├── no-thenable.js ├── no-this-assignment.js ├── no-typeof-undefined.js ├── no-unnecessary-await.js ├── no-unreadable-array-destructuring.js ├── no-unreadable-iife.js ├── no-unsafe-regex.js ├── no-unused-properties.js ├── no-useless-fallback-in-spread.js ├── no-useless-length-check.js ├── no-useless-promise-resolve-reject.js ├── no-useless-spread.js ├── no-useless-switch-case.js ├── no-useless-undefined.js ├── no-zero-fractions.js ├── number-literal-case.js ├── numeric-separators-style.js ├── prefer-add-event-listener.js ├── prefer-array-find.js ├── prefer-array-flat-map.js ├── prefer-array-flat.js ├── prefer-array-index-of.js ├── prefer-array-some.js ├── prefer-at.js ├── prefer-code-point.js ├── prefer-date-now.js ├── prefer-default-parameters.js ├── prefer-dom-node-append.js ├── prefer-dom-node-dataset.js ├── prefer-dom-node-remove.js ├── prefer-dom-node-text-content.js ├── prefer-event-target.js ├── prefer-export-from.js ├── prefer-includes.js ├── prefer-json-parse-buffer.js ├── prefer-keyboard-event-key.js ├── prefer-logical-operator-over-ternary.js ├── prefer-math-trunc.js ├── prefer-modern-dom-apis.js ├── prefer-modern-math-apis.js ├── prefer-module.js ├── prefer-native-coercion-functions.js ├── prefer-negative-index.js ├── prefer-node-protocol.js ├── prefer-number-properties.js ├── prefer-object-from-entries.js ├── prefer-optional-catch-binding.js ├── prefer-prototype-methods.js ├── prefer-query-selector.js ├── prefer-reflect-apply.js ├── prefer-regexp-test.js ├── prefer-set-has.js ├── prefer-set-size.js ├── prefer-spread.js ├── prefer-string-replace-all.js ├── prefer-string-slice.js ├── prefer-string-starts-ends-with.js ├── prefer-string-trim-start-end.js ├── prefer-switch.js ├── prefer-ternary.js ├── prefer-top-level-await.js ├── prefer-type-error.js ├── prevent-abbreviations.js ├── relative-url-style.js ├── require-array-join-separator.js ├── require-number-to-fixed-digits-argument.js ├── require-post-message-target-origin.js ├── selectors │ ├── call-or-new-expression-selector.js │ ├── empty-array-selector.js │ ├── empty-object-selector.js │ ├── index.js │ ├── matches-any.js │ ├── member-expression-selector.js │ ├── method-call-selector.js │ ├── negation.js │ ├── not-dom-node.js │ ├── not-function.js │ ├── not-left-hand-side.js │ ├── prototype-method-selector.js │ ├── reference-identifier-selector.js │ └── require-selector.js ├── shared │ ├── abbreviations.js │ ├── dom-events.js │ ├── event-keys.js │ ├── negative-index.js │ ├── simple-array-search-rule.js │ └── typed-array.js ├── string-content.js ├── switch-case-braces.js ├── template-indent.js ├── text-encoding-identifier-case.js ├── throw-new-error.js └── utils │ ├── assert-token.js │ ├── avoid-capture.js │ ├── boolean.js │ ├── builtins.js │ ├── cartesian-product-samples.js │ ├── create-deprecated-rules.js │ ├── escape-string.js │ ├── escape-template-element-raw.js │ ├── get-builtin-rule.js │ ├── get-call-expression-arguments-text.js │ ├── get-class-head-location.js │ ├── get-documentation-url.js │ ├── get-indent-string.js │ ├── get-references.js │ ├── get-scopes.js │ ├── get-switch-case-head-location.js │ ├── get-variable-identifiers.js │ ├── global-reference-tracker.js │ ├── has-same-range.js │ ├── is-function-self-used-inside.js │ ├── is-left-hand-side.js │ ├── is-logical-expression.js │ ├── is-method-named.js │ ├── is-new-expression-with-parentheses.js │ ├── is-node-matches.js │ ├── is-number.js │ ├── is-object-method.js │ ├── is-on-same-line.js │ ├── is-same-reference.js │ ├── is-shadowed.js │ ├── is-shorthand-export-local.js │ ├── is-shorthand-import-local.js │ ├── is-shorthand-property-assignment-pattern-left.js │ ├── is-shorthand-property-value.js │ ├── is-value-not-usable.js │ ├── needs-semicolon.js │ ├── numeric.js │ ├── parentheses.js │ ├── resolve-variable-name.js │ ├── rule.js │ ├── should-add-parentheses-to-conditional-expression-child.js │ ├── should-add-parentheses-to-expression-statement-expression.js │ ├── should-add-parentheses-to-logical-expression-child.js │ ├── should-add-parentheses-to-member-expression-object.js │ ├── should-add-parentheses-to-new-expression-callee.js │ ├── should-add-parentheses-to-spread-element-argument.js │ ├── singular.js │ └── to-location.js ├── scripts ├── create-rule.mjs ├── internal-rules │ ├── fix-snapshot-test.js │ ├── index.js │ ├── package.json │ ├── prefer-disallow-over-forbid.js │ └── prefer-negative-boolean-attribute.js ├── rename-rule.mjs └── template │ ├── documentation.md.jst │ ├── rule.js.jst │ └── test.mjs.jst └── test ├── better-regex.mjs ├── catch-error-name.mjs ├── consistent-destructuring.mjs ├── consistent-function-scoping.mjs ├── custom-error-definition.mjs ├── empty-brace-spaces.mjs ├── error-message.mjs ├── escape-case.mjs ├── expiring-todo-comments.mjs ├── explicit-length-check.mjs ├── filename-case.mjs ├── import-style.mjs ├── integration ├── fixtures-local │ ├── conflicts-no-array-for-each-and-prevent-abbreviations.js │ └── error-name-conflicts.js ├── projects.mjs ├── readme.md ├── run-eslint.mjs └── test.mjs ├── new-for-builtins.mjs ├── no-abusive-eslint-disable.mjs ├── no-array-callback-reference.mjs ├── no-array-for-each.mjs ├── no-array-method-this-argument.mjs ├── no-array-push-push.mjs ├── no-array-reduce.mjs ├── no-await-expression-member.mjs ├── no-console-spaces.mjs ├── no-document-cookie.mjs ├── no-empty-file.mjs ├── no-for-loop.mjs ├── no-hex-escape.mjs ├── no-instanceof-array.mjs ├── no-invalid-remove-event-listener.mjs ├── no-keyword-prefix.mjs ├── no-lonely-if.mjs ├── no-negated-condition.mjs ├── no-nested-ternary.mjs ├── no-new-array.mjs ├── no-new-buffer.mjs ├── no-null.mjs ├── no-object-as-default-parameter.mjs ├── no-process-exit.mjs ├── no-static-only-class.mjs ├── no-thenable.mjs ├── no-this-assignment.mjs ├── no-typeof-undefined.mjs ├── no-unnecessary-await.mjs ├── no-unreadable-array-destructuring.mjs ├── no-unreadable-iife.mjs ├── no-unsafe-regex.mjs ├── no-unused-properties.mjs ├── no-useless-fallback-in-spread.mjs ├── no-useless-length-check.mjs ├── no-useless-promise-resolve-reject.mjs ├── no-useless-spread.mjs ├── no-useless-switch-case.mjs ├── no-useless-undefined.mjs ├── no-zero-fractions.mjs ├── number-literal-case.mjs ├── numeric-separators-style.mjs ├── package.mjs ├── prefer-add-event-listener.mjs ├── prefer-array-find.mjs ├── prefer-array-flat-map.mjs ├── prefer-array-flat.mjs ├── prefer-array-index-of.mjs ├── prefer-array-some.mjs ├── prefer-at.mjs ├── prefer-code-point.mjs ├── prefer-date-now.mjs ├── prefer-default-parameters.mjs ├── prefer-dom-node-append.mjs ├── prefer-dom-node-dataset.mjs ├── prefer-dom-node-remove.mjs ├── prefer-dom-node-text-content.mjs ├── prefer-event-target.mjs ├── prefer-export-from.mjs ├── prefer-includes.mjs ├── prefer-json-parse-buffer.mjs ├── prefer-keyboard-event-key.mjs ├── prefer-logical-operator-over-ternary.mjs ├── prefer-math-trunc.mjs ├── prefer-modern-dom-apis.mjs ├── prefer-modern-math-apis.mjs ├── prefer-module.mjs ├── prefer-native-coercion-functions.mjs ├── prefer-negative-index.mjs ├── prefer-node-protocol.mjs ├── prefer-number-properties.mjs ├── prefer-object-from-entries.mjs ├── prefer-optional-catch-binding.mjs ├── prefer-prototype-methods.mjs ├── prefer-query-selector.mjs ├── prefer-reflect-apply.mjs ├── prefer-regexp-test.mjs ├── prefer-set-has.mjs ├── prefer-set-size.mjs ├── prefer-spread.mjs ├── prefer-string-replace-all.mjs ├── prefer-string-slice.mjs ├── prefer-string-starts-ends-with.mjs ├── prefer-string-trim-start-end.mjs ├── prefer-switch.mjs ├── prefer-ternary.mjs ├── prefer-top-level-await.mjs ├── prefer-type-error.mjs ├── prevent-abbreviations.mjs ├── relative-url-style.mjs ├── require-array-join-separator.mjs ├── require-number-to-fixed-digits-argument.mjs ├── require-post-message-target-origin.mjs ├── run-rules-on-codebase └── lint.mjs ├── shared └── simple-array-search-rule-tests.mjs ├── smoke └── eslint-remote-tester.config.js ├── snapshots ├── better-regex.mjs.md ├── better-regex.mjs.snap ├── consistent-function-scoping.mjs.md ├── consistent-function-scoping.mjs.snap ├── empty-brace-spaces.mjs.md ├── empty-brace-spaces.mjs.snap ├── error-message.mjs.md ├── error-message.mjs.snap ├── explicit-length-check.mjs.md ├── explicit-length-check.mjs.snap ├── filename-case.mjs.md ├── filename-case.mjs.snap ├── import-style.mjs.md ├── import-style.mjs.snap ├── new-for-builtins.mjs.md ├── new-for-builtins.mjs.snap ├── no-abusive-eslint-disable.mjs.md ├── no-abusive-eslint-disable.mjs.snap ├── no-array-for-each.mjs.md ├── no-array-for-each.mjs.snap ├── no-array-method-this-argument.mjs.md ├── no-array-method-this-argument.mjs.snap ├── no-array-push-push.mjs.md ├── no-array-push-push.mjs.snap ├── no-await-expression-member.mjs.md ├── no-await-expression-member.mjs.snap ├── no-console-spaces.mjs.md ├── no-console-spaces.mjs.snap ├── no-document-cookie.mjs.md ├── no-document-cookie.mjs.snap ├── no-empty-file.mjs.md ├── no-empty-file.mjs.snap ├── no-for-loop.mjs.md ├── no-for-loop.mjs.snap ├── no-hex-escape.mjs.md ├── no-hex-escape.mjs.snap ├── no-instanceof-array.mjs.md ├── no-instanceof-array.mjs.snap ├── no-invalid-remove-event-listener.mjs.md ├── no-invalid-remove-event-listener.mjs.snap ├── no-lonely-if.mjs.md ├── no-lonely-if.mjs.snap ├── no-negated-condition.mjs.md ├── no-negated-condition.mjs.snap ├── no-nested-ternary.mjs.md ├── no-nested-ternary.mjs.snap ├── no-new-array.mjs.md ├── no-new-array.mjs.snap ├── no-new-buffer.mjs.md ├── no-new-buffer.mjs.snap ├── no-object-as-default-parameter.mjs.md ├── no-object-as-default-parameter.mjs.snap ├── no-process-exit.mjs.md ├── no-process-exit.mjs.snap ├── no-static-only-class.mjs.md ├── no-static-only-class.mjs.snap ├── no-thenable.mjs.md ├── no-thenable.mjs.snap ├── no-this-assignment.mjs.md ├── no-this-assignment.mjs.snap ├── no-typeof-undefined.mjs.md ├── no-typeof-undefined.mjs.snap ├── no-unnecessary-await.mjs.md ├── no-unnecessary-await.mjs.snap ├── no-unreadable-array-destructuring.mjs.md ├── no-unreadable-array-destructuring.mjs.snap ├── no-unreadable-iife.mjs.md ├── no-unreadable-iife.mjs.snap ├── no-unsafe-regex.mjs.md ├── no-unsafe-regex.mjs.snap ├── no-unused-properties.mjs.md ├── no-unused-properties.mjs.snap ├── no-useless-fallback-in-spread.mjs.md ├── no-useless-fallback-in-spread.mjs.snap ├── no-useless-length-check.mjs.md ├── no-useless-length-check.mjs.snap ├── no-useless-spread.mjs.md ├── no-useless-spread.mjs.snap ├── no-useless-switch-case.mjs.md ├── no-useless-switch-case.mjs.snap ├── no-useless-undefined.mjs.md ├── no-useless-undefined.mjs.snap ├── no-zero-fractions.mjs.md ├── no-zero-fractions.mjs.snap ├── number-literal-case.mjs.md ├── number-literal-case.mjs.snap ├── numeric-separators-style.mjs.md ├── numeric-separators-style.mjs.snap ├── prefer-add-event-listener.mjs.md ├── prefer-add-event-listener.mjs.snap ├── prefer-array-flat-map.mjs.md ├── prefer-array-flat-map.mjs.snap ├── prefer-array-flat.mjs.md ├── prefer-array-flat.mjs.snap ├── prefer-array-index-of.mjs.md ├── prefer-array-index-of.mjs.snap ├── prefer-array-some.mjs.md ├── prefer-array-some.mjs.snap ├── prefer-at.mjs.md ├── prefer-at.mjs.snap ├── prefer-code-point.mjs.md ├── prefer-code-point.mjs.snap ├── prefer-date-now.mjs.md ├── prefer-date-now.mjs.snap ├── prefer-dom-node-dataset.mjs.md ├── prefer-dom-node-dataset.mjs.snap ├── prefer-dom-node-text-content.mjs.md ├── prefer-dom-node-text-content.mjs.snap ├── prefer-event-target.mjs.md ├── prefer-event-target.mjs.snap ├── prefer-export-from.mjs.md ├── prefer-export-from.mjs.snap ├── prefer-includes.mjs.md ├── prefer-includes.mjs.snap ├── prefer-json-parse-buffer.mjs.md ├── prefer-json-parse-buffer.mjs.snap ├── prefer-keyboard-event-key.mjs.md ├── prefer-keyboard-event-key.mjs.snap ├── prefer-logical-operator-over-ternary.mjs.md ├── prefer-logical-operator-over-ternary.mjs.snap ├── prefer-math-trunc.mjs.md ├── prefer-math-trunc.mjs.snap ├── prefer-modern-math-apis.mjs.md ├── prefer-modern-math-apis.mjs.snap ├── prefer-module.mjs.md ├── prefer-module.mjs.snap ├── prefer-native-coercion-functions.mjs.md ├── prefer-native-coercion-functions.mjs.snap ├── prefer-negative-index.mjs.md ├── prefer-negative-index.mjs.snap ├── prefer-node-protocol.mjs.md ├── prefer-node-protocol.mjs.snap ├── prefer-number-properties.mjs.md ├── prefer-number-properties.mjs.snap ├── prefer-object-from-entries.mjs.md ├── prefer-object-from-entries.mjs.snap ├── prefer-optional-catch-binding.mjs.md ├── prefer-optional-catch-binding.mjs.snap ├── prefer-prototype-methods.mjs.md ├── prefer-prototype-methods.mjs.snap ├── prefer-query-selector.mjs.md ├── prefer-query-selector.mjs.snap ├── prefer-regexp-test.mjs.md ├── prefer-regexp-test.mjs.snap ├── prefer-set-has.mjs.md ├── prefer-set-has.mjs.snap ├── prefer-set-size.mjs.md ├── prefer-set-size.mjs.snap ├── prefer-spread.mjs.md ├── prefer-spread.mjs.snap ├── prefer-string-replace-all.mjs.md ├── prefer-string-replace-all.mjs.snap ├── prefer-string-slice.mjs.md ├── prefer-string-slice.mjs.snap ├── prefer-string-starts-ends-with.mjs.md ├── prefer-string-starts-ends-with.mjs.snap ├── prefer-string-trim-start-end.mjs.md ├── prefer-string-trim-start-end.mjs.snap ├── prefer-switch.mjs.md ├── prefer-switch.mjs.snap ├── prefer-top-level-await.mjs.md ├── prefer-top-level-await.mjs.snap ├── prefer-type-error.mjs.md ├── prefer-type-error.mjs.snap ├── relative-url-style.mjs.md ├── relative-url-style.mjs.snap ├── require-array-join-separator.mjs.md ├── require-array-join-separator.mjs.snap ├── require-number-to-fixed-digits-argument.mjs.md ├── require-number-to-fixed-digits-argument.mjs.snap ├── require-post-message-target-origin.mjs.md ├── require-post-message-target-origin.mjs.snap ├── switch-case-braces.mjs.md ├── switch-case-braces.mjs.snap ├── template-indent.mjs.md ├── template-indent.mjs.snap ├── text-encoding-identifier-case.mjs.md └── text-encoding-identifier-case.mjs.snap ├── string-content.mjs ├── switch-case-braces.mjs ├── template-indent.mjs ├── text-encoding-identifier-case.mjs ├── throw-new-error.mjs ├── unit ├── assert-token.mjs ├── get-documentation-url.mjs └── snapshots │ ├── assert-token.mjs.md │ └── assert-token.mjs.snap └── utils ├── default-options.mjs ├── not-dom-node-types.mjs ├── not-function-types.mjs ├── parsers.mjs ├── snapshot-rule-tester.mjs └── test.mjs /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslint-doc-generatorrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.eslint-doc-generatorrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/rule_proposal.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.github/ISSUE_TEMPLATE/rule_proposal.yml -------------------------------------------------------------------------------- /.github/contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.github/contributing.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/smoke-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.github/workflows/smoke-test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.gitignore -------------------------------------------------------------------------------- /.markdownlint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.markdownlint.json -------------------------------------------------------------------------------- /.markdownlintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.markdownlintignore -------------------------------------------------------------------------------- /.npmpackagejsonlintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/.npmpackagejsonlintrc.json -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/codecov.yml -------------------------------------------------------------------------------- /configs/all.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/configs/all.js -------------------------------------------------------------------------------- /configs/recommended.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/configs/recommended.js -------------------------------------------------------------------------------- /docs/deprecated-rules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/deprecated-rules.md -------------------------------------------------------------------------------- /docs/new-rule.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/new-rule.md -------------------------------------------------------------------------------- /docs/rules/better-regex.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/better-regex.md -------------------------------------------------------------------------------- /docs/rules/catch-error-name.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/catch-error-name.md -------------------------------------------------------------------------------- /docs/rules/consistent-destructuring.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/consistent-destructuring.md -------------------------------------------------------------------------------- /docs/rules/consistent-function-scoping.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/consistent-function-scoping.md -------------------------------------------------------------------------------- /docs/rules/custom-error-definition.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/custom-error-definition.md -------------------------------------------------------------------------------- /docs/rules/empty-brace-spaces.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/empty-brace-spaces.md -------------------------------------------------------------------------------- /docs/rules/error-message.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/error-message.md -------------------------------------------------------------------------------- /docs/rules/escape-case.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/escape-case.md -------------------------------------------------------------------------------- /docs/rules/expiring-todo-comments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/expiring-todo-comments.md -------------------------------------------------------------------------------- /docs/rules/explicit-length-check.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/explicit-length-check.md -------------------------------------------------------------------------------- /docs/rules/filename-case.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/filename-case.md -------------------------------------------------------------------------------- /docs/rules/import-style.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/import-style.md -------------------------------------------------------------------------------- /docs/rules/new-for-builtins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/new-for-builtins.md -------------------------------------------------------------------------------- /docs/rules/no-abusive-eslint-disable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-abusive-eslint-disable.md -------------------------------------------------------------------------------- /docs/rules/no-array-callback-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-array-callback-reference.md -------------------------------------------------------------------------------- /docs/rules/no-array-for-each.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-array-for-each.md -------------------------------------------------------------------------------- /docs/rules/no-array-method-this-argument.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-array-method-this-argument.md -------------------------------------------------------------------------------- /docs/rules/no-array-push-push.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-array-push-push.md -------------------------------------------------------------------------------- /docs/rules/no-array-reduce.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-array-reduce.md -------------------------------------------------------------------------------- /docs/rules/no-await-expression-member.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-await-expression-member.md -------------------------------------------------------------------------------- /docs/rules/no-console-spaces.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-console-spaces.md -------------------------------------------------------------------------------- /docs/rules/no-document-cookie.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-document-cookie.md -------------------------------------------------------------------------------- /docs/rules/no-empty-file.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-empty-file.md -------------------------------------------------------------------------------- /docs/rules/no-for-loop.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-for-loop.md -------------------------------------------------------------------------------- /docs/rules/no-hex-escape.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-hex-escape.md -------------------------------------------------------------------------------- /docs/rules/no-instanceof-array.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-instanceof-array.md -------------------------------------------------------------------------------- /docs/rules/no-invalid-remove-event-listener.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-invalid-remove-event-listener.md -------------------------------------------------------------------------------- /docs/rules/no-keyword-prefix.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-keyword-prefix.md -------------------------------------------------------------------------------- /docs/rules/no-lonely-if.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-lonely-if.md -------------------------------------------------------------------------------- /docs/rules/no-negated-condition.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-negated-condition.md -------------------------------------------------------------------------------- /docs/rules/no-nested-ternary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-nested-ternary.md -------------------------------------------------------------------------------- /docs/rules/no-new-array.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-new-array.md -------------------------------------------------------------------------------- /docs/rules/no-new-buffer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-new-buffer.md -------------------------------------------------------------------------------- /docs/rules/no-null.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-null.md -------------------------------------------------------------------------------- /docs/rules/no-object-as-default-parameter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-object-as-default-parameter.md -------------------------------------------------------------------------------- /docs/rules/no-process-exit.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-process-exit.md -------------------------------------------------------------------------------- /docs/rules/no-static-only-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-static-only-class.md -------------------------------------------------------------------------------- /docs/rules/no-thenable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-thenable.md -------------------------------------------------------------------------------- /docs/rules/no-this-assignment.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-this-assignment.md -------------------------------------------------------------------------------- /docs/rules/no-typeof-undefined.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-typeof-undefined.md -------------------------------------------------------------------------------- /docs/rules/no-unnecessary-await.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-unnecessary-await.md -------------------------------------------------------------------------------- /docs/rules/no-unreadable-array-destructuring.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-unreadable-array-destructuring.md -------------------------------------------------------------------------------- /docs/rules/no-unreadable-iife.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-unreadable-iife.md -------------------------------------------------------------------------------- /docs/rules/no-unsafe-regex.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-unsafe-regex.md -------------------------------------------------------------------------------- /docs/rules/no-unused-properties.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-unused-properties.md -------------------------------------------------------------------------------- /docs/rules/no-useless-fallback-in-spread.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-useless-fallback-in-spread.md -------------------------------------------------------------------------------- /docs/rules/no-useless-length-check.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-useless-length-check.md -------------------------------------------------------------------------------- /docs/rules/no-useless-promise-resolve-reject.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-useless-promise-resolve-reject.md -------------------------------------------------------------------------------- /docs/rules/no-useless-spread.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-useless-spread.md -------------------------------------------------------------------------------- /docs/rules/no-useless-switch-case.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-useless-switch-case.md -------------------------------------------------------------------------------- /docs/rules/no-useless-undefined.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-useless-undefined.md -------------------------------------------------------------------------------- /docs/rules/no-zero-fractions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/no-zero-fractions.md -------------------------------------------------------------------------------- /docs/rules/number-literal-case.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/number-literal-case.md -------------------------------------------------------------------------------- /docs/rules/numeric-separators-style.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/numeric-separators-style.md -------------------------------------------------------------------------------- /docs/rules/prefer-add-event-listener.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-add-event-listener.md -------------------------------------------------------------------------------- /docs/rules/prefer-array-find.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-array-find.md -------------------------------------------------------------------------------- /docs/rules/prefer-array-flat-map.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-array-flat-map.md -------------------------------------------------------------------------------- /docs/rules/prefer-array-flat.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-array-flat.md -------------------------------------------------------------------------------- /docs/rules/prefer-array-index-of.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-array-index-of.md -------------------------------------------------------------------------------- /docs/rules/prefer-array-some.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-array-some.md -------------------------------------------------------------------------------- /docs/rules/prefer-at.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-at.md -------------------------------------------------------------------------------- /docs/rules/prefer-code-point.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-code-point.md -------------------------------------------------------------------------------- /docs/rules/prefer-date-now.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-date-now.md -------------------------------------------------------------------------------- /docs/rules/prefer-default-parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-default-parameters.md -------------------------------------------------------------------------------- /docs/rules/prefer-dom-node-append.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-dom-node-append.md -------------------------------------------------------------------------------- /docs/rules/prefer-dom-node-dataset.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-dom-node-dataset.md -------------------------------------------------------------------------------- /docs/rules/prefer-dom-node-remove.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-dom-node-remove.md -------------------------------------------------------------------------------- /docs/rules/prefer-dom-node-text-content.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-dom-node-text-content.md -------------------------------------------------------------------------------- /docs/rules/prefer-event-target.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-event-target.md -------------------------------------------------------------------------------- /docs/rules/prefer-export-from.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-export-from.md -------------------------------------------------------------------------------- /docs/rules/prefer-includes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-includes.md -------------------------------------------------------------------------------- /docs/rules/prefer-json-parse-buffer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-json-parse-buffer.md -------------------------------------------------------------------------------- /docs/rules/prefer-keyboard-event-key.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-keyboard-event-key.md -------------------------------------------------------------------------------- /docs/rules/prefer-logical-operator-over-ternary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-logical-operator-over-ternary.md -------------------------------------------------------------------------------- /docs/rules/prefer-math-trunc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-math-trunc.md -------------------------------------------------------------------------------- /docs/rules/prefer-modern-dom-apis.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-modern-dom-apis.md -------------------------------------------------------------------------------- /docs/rules/prefer-modern-math-apis.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-modern-math-apis.md -------------------------------------------------------------------------------- /docs/rules/prefer-module.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-module.md -------------------------------------------------------------------------------- /docs/rules/prefer-native-coercion-functions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-native-coercion-functions.md -------------------------------------------------------------------------------- /docs/rules/prefer-negative-index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-negative-index.md -------------------------------------------------------------------------------- /docs/rules/prefer-node-protocol.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-node-protocol.md -------------------------------------------------------------------------------- /docs/rules/prefer-number-properties.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-number-properties.md -------------------------------------------------------------------------------- /docs/rules/prefer-object-from-entries.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-object-from-entries.md -------------------------------------------------------------------------------- /docs/rules/prefer-optional-catch-binding.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-optional-catch-binding.md -------------------------------------------------------------------------------- /docs/rules/prefer-prototype-methods.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-prototype-methods.md -------------------------------------------------------------------------------- /docs/rules/prefer-query-selector.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-query-selector.md -------------------------------------------------------------------------------- /docs/rules/prefer-reflect-apply.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-reflect-apply.md -------------------------------------------------------------------------------- /docs/rules/prefer-regexp-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-regexp-test.md -------------------------------------------------------------------------------- /docs/rules/prefer-set-has.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-set-has.md -------------------------------------------------------------------------------- /docs/rules/prefer-set-size.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-set-size.md -------------------------------------------------------------------------------- /docs/rules/prefer-spread.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-spread.md -------------------------------------------------------------------------------- /docs/rules/prefer-string-replace-all.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-string-replace-all.md -------------------------------------------------------------------------------- /docs/rules/prefer-string-slice.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-string-slice.md -------------------------------------------------------------------------------- /docs/rules/prefer-string-starts-ends-with.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-string-starts-ends-with.md -------------------------------------------------------------------------------- /docs/rules/prefer-string-trim-start-end.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-string-trim-start-end.md -------------------------------------------------------------------------------- /docs/rules/prefer-switch.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-switch.md -------------------------------------------------------------------------------- /docs/rules/prefer-ternary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-ternary.md -------------------------------------------------------------------------------- /docs/rules/prefer-top-level-await.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-top-level-await.md -------------------------------------------------------------------------------- /docs/rules/prefer-type-error.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prefer-type-error.md -------------------------------------------------------------------------------- /docs/rules/prevent-abbreviations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/prevent-abbreviations.md -------------------------------------------------------------------------------- /docs/rules/relative-url-style.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/relative-url-style.md -------------------------------------------------------------------------------- /docs/rules/require-array-join-separator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/require-array-join-separator.md -------------------------------------------------------------------------------- /docs/rules/require-number-to-fixed-digits-argument.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/require-number-to-fixed-digits-argument.md -------------------------------------------------------------------------------- /docs/rules/require-post-message-target-origin.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/require-post-message-target-origin.md -------------------------------------------------------------------------------- /docs/rules/string-content.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/string-content.md -------------------------------------------------------------------------------- /docs/rules/switch-case-braces.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/switch-case-braces.md -------------------------------------------------------------------------------- /docs/rules/template-indent.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/template-indent.md -------------------------------------------------------------------------------- /docs/rules/text-encoding-identifier-case.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/text-encoding-identifier-case.md -------------------------------------------------------------------------------- /docs/rules/throw-new-error.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/docs/rules/throw-new-error.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/index.js -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/license -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/readme.md -------------------------------------------------------------------------------- /rules/ast/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/ast/index.js -------------------------------------------------------------------------------- /rules/ast/is-arrow-function-body.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/ast/is-arrow-function-body.js -------------------------------------------------------------------------------- /rules/ast/is-empty-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/ast/is-empty-node.js -------------------------------------------------------------------------------- /rules/ast/is-new-expression.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/ast/is-new-expression.js -------------------------------------------------------------------------------- /rules/ast/is-static-require.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/ast/is-static-require.js -------------------------------------------------------------------------------- /rules/ast/is-undefined.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/ast/is-undefined.js -------------------------------------------------------------------------------- /rules/ast/literal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/ast/literal.js -------------------------------------------------------------------------------- /rules/better-regex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/better-regex.js -------------------------------------------------------------------------------- /rules/catch-error-name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/catch-error-name.js -------------------------------------------------------------------------------- /rules/consistent-destructuring.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/consistent-destructuring.js -------------------------------------------------------------------------------- /rules/consistent-function-scoping.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/consistent-function-scoping.js -------------------------------------------------------------------------------- /rules/custom-error-definition.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/custom-error-definition.js -------------------------------------------------------------------------------- /rules/empty-brace-spaces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/empty-brace-spaces.js -------------------------------------------------------------------------------- /rules/error-message.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/error-message.js -------------------------------------------------------------------------------- /rules/escape-case.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/escape-case.js -------------------------------------------------------------------------------- /rules/expiring-todo-comments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/expiring-todo-comments.js -------------------------------------------------------------------------------- /rules/explicit-length-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/explicit-length-check.js -------------------------------------------------------------------------------- /rules/filename-case.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/filename-case.js -------------------------------------------------------------------------------- /rules/fix/add-parenthesizes-to-return-or-throw-expression.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/add-parenthesizes-to-return-or-throw-expression.js -------------------------------------------------------------------------------- /rules/fix/append-argument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/append-argument.js -------------------------------------------------------------------------------- /rules/fix/extend-fix-range.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/extend-fix-range.js -------------------------------------------------------------------------------- /rules/fix/fix-space-around-keywords.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/fix-space-around-keywords.js -------------------------------------------------------------------------------- /rules/fix/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/index.js -------------------------------------------------------------------------------- /rules/fix/remove-argument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/remove-argument.js -------------------------------------------------------------------------------- /rules/fix/remove-member-expression-property.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/remove-member-expression-property.js -------------------------------------------------------------------------------- /rules/fix/remove-method-call.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/remove-method-call.js -------------------------------------------------------------------------------- /rules/fix/remove-parentheses.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/remove-parentheses.js -------------------------------------------------------------------------------- /rules/fix/remove-spaces-after.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/remove-spaces-after.js -------------------------------------------------------------------------------- /rules/fix/rename-variable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/rename-variable.js -------------------------------------------------------------------------------- /rules/fix/replace-argument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/replace-argument.js -------------------------------------------------------------------------------- /rules/fix/replace-node-or-token-and-spaces-before.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/replace-node-or-token-and-spaces-before.js -------------------------------------------------------------------------------- /rules/fix/replace-reference-identifier.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/replace-reference-identifier.js -------------------------------------------------------------------------------- /rules/fix/replace-string-literal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/replace-string-literal.js -------------------------------------------------------------------------------- /rules/fix/replace-string-raw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/replace-string-raw.js -------------------------------------------------------------------------------- /rules/fix/replace-template-element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/replace-template-element.js -------------------------------------------------------------------------------- /rules/fix/switch-call-expression-to-new-expression.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/switch-call-expression-to-new-expression.js -------------------------------------------------------------------------------- /rules/fix/switch-new-expression-to-call-expression.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/fix/switch-new-expression-to-call-expression.js -------------------------------------------------------------------------------- /rules/import-style.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/import-style.js -------------------------------------------------------------------------------- /rules/new-for-builtins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/new-for-builtins.js -------------------------------------------------------------------------------- /rules/no-abusive-eslint-disable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-abusive-eslint-disable.js -------------------------------------------------------------------------------- /rules/no-array-callback-reference.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-array-callback-reference.js -------------------------------------------------------------------------------- /rules/no-array-for-each.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-array-for-each.js -------------------------------------------------------------------------------- /rules/no-array-method-this-argument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-array-method-this-argument.js -------------------------------------------------------------------------------- /rules/no-array-push-push.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-array-push-push.js -------------------------------------------------------------------------------- /rules/no-array-reduce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-array-reduce.js -------------------------------------------------------------------------------- /rules/no-await-expression-member.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-await-expression-member.js -------------------------------------------------------------------------------- /rules/no-console-spaces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-console-spaces.js -------------------------------------------------------------------------------- /rules/no-document-cookie.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-document-cookie.js -------------------------------------------------------------------------------- /rules/no-empty-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-empty-file.js -------------------------------------------------------------------------------- /rules/no-for-loop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-for-loop.js -------------------------------------------------------------------------------- /rules/no-hex-escape.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-hex-escape.js -------------------------------------------------------------------------------- /rules/no-instanceof-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-instanceof-array.js -------------------------------------------------------------------------------- /rules/no-invalid-remove-event-listener.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-invalid-remove-event-listener.js -------------------------------------------------------------------------------- /rules/no-keyword-prefix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-keyword-prefix.js -------------------------------------------------------------------------------- /rules/no-lonely-if.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-lonely-if.js -------------------------------------------------------------------------------- /rules/no-negated-condition.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-negated-condition.js -------------------------------------------------------------------------------- /rules/no-nested-ternary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-nested-ternary.js -------------------------------------------------------------------------------- /rules/no-new-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-new-array.js -------------------------------------------------------------------------------- /rules/no-new-buffer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-new-buffer.js -------------------------------------------------------------------------------- /rules/no-null.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-null.js -------------------------------------------------------------------------------- /rules/no-object-as-default-parameter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-object-as-default-parameter.js -------------------------------------------------------------------------------- /rules/no-process-exit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-process-exit.js -------------------------------------------------------------------------------- /rules/no-static-only-class.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-static-only-class.js -------------------------------------------------------------------------------- /rules/no-thenable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-thenable.js -------------------------------------------------------------------------------- /rules/no-this-assignment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-this-assignment.js -------------------------------------------------------------------------------- /rules/no-typeof-undefined.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-typeof-undefined.js -------------------------------------------------------------------------------- /rules/no-unnecessary-await.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-unnecessary-await.js -------------------------------------------------------------------------------- /rules/no-unreadable-array-destructuring.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-unreadable-array-destructuring.js -------------------------------------------------------------------------------- /rules/no-unreadable-iife.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-unreadable-iife.js -------------------------------------------------------------------------------- /rules/no-unsafe-regex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-unsafe-regex.js -------------------------------------------------------------------------------- /rules/no-unused-properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-unused-properties.js -------------------------------------------------------------------------------- /rules/no-useless-fallback-in-spread.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-useless-fallback-in-spread.js -------------------------------------------------------------------------------- /rules/no-useless-length-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-useless-length-check.js -------------------------------------------------------------------------------- /rules/no-useless-promise-resolve-reject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-useless-promise-resolve-reject.js -------------------------------------------------------------------------------- /rules/no-useless-spread.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-useless-spread.js -------------------------------------------------------------------------------- /rules/no-useless-switch-case.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-useless-switch-case.js -------------------------------------------------------------------------------- /rules/no-useless-undefined.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-useless-undefined.js -------------------------------------------------------------------------------- /rules/no-zero-fractions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/no-zero-fractions.js -------------------------------------------------------------------------------- /rules/number-literal-case.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/number-literal-case.js -------------------------------------------------------------------------------- /rules/numeric-separators-style.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/numeric-separators-style.js -------------------------------------------------------------------------------- /rules/prefer-add-event-listener.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-add-event-listener.js -------------------------------------------------------------------------------- /rules/prefer-array-find.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-array-find.js -------------------------------------------------------------------------------- /rules/prefer-array-flat-map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-array-flat-map.js -------------------------------------------------------------------------------- /rules/prefer-array-flat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-array-flat.js -------------------------------------------------------------------------------- /rules/prefer-array-index-of.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-array-index-of.js -------------------------------------------------------------------------------- /rules/prefer-array-some.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-array-some.js -------------------------------------------------------------------------------- /rules/prefer-at.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-at.js -------------------------------------------------------------------------------- /rules/prefer-code-point.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-code-point.js -------------------------------------------------------------------------------- /rules/prefer-date-now.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-date-now.js -------------------------------------------------------------------------------- /rules/prefer-default-parameters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-default-parameters.js -------------------------------------------------------------------------------- /rules/prefer-dom-node-append.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-dom-node-append.js -------------------------------------------------------------------------------- /rules/prefer-dom-node-dataset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-dom-node-dataset.js -------------------------------------------------------------------------------- /rules/prefer-dom-node-remove.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-dom-node-remove.js -------------------------------------------------------------------------------- /rules/prefer-dom-node-text-content.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-dom-node-text-content.js -------------------------------------------------------------------------------- /rules/prefer-event-target.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-event-target.js -------------------------------------------------------------------------------- /rules/prefer-export-from.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-export-from.js -------------------------------------------------------------------------------- /rules/prefer-includes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-includes.js -------------------------------------------------------------------------------- /rules/prefer-json-parse-buffer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-json-parse-buffer.js -------------------------------------------------------------------------------- /rules/prefer-keyboard-event-key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-keyboard-event-key.js -------------------------------------------------------------------------------- /rules/prefer-logical-operator-over-ternary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-logical-operator-over-ternary.js -------------------------------------------------------------------------------- /rules/prefer-math-trunc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-math-trunc.js -------------------------------------------------------------------------------- /rules/prefer-modern-dom-apis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-modern-dom-apis.js -------------------------------------------------------------------------------- /rules/prefer-modern-math-apis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-modern-math-apis.js -------------------------------------------------------------------------------- /rules/prefer-module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-module.js -------------------------------------------------------------------------------- /rules/prefer-native-coercion-functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-native-coercion-functions.js -------------------------------------------------------------------------------- /rules/prefer-negative-index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-negative-index.js -------------------------------------------------------------------------------- /rules/prefer-node-protocol.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-node-protocol.js -------------------------------------------------------------------------------- /rules/prefer-number-properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-number-properties.js -------------------------------------------------------------------------------- /rules/prefer-object-from-entries.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-object-from-entries.js -------------------------------------------------------------------------------- /rules/prefer-optional-catch-binding.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-optional-catch-binding.js -------------------------------------------------------------------------------- /rules/prefer-prototype-methods.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-prototype-methods.js -------------------------------------------------------------------------------- /rules/prefer-query-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-query-selector.js -------------------------------------------------------------------------------- /rules/prefer-reflect-apply.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-reflect-apply.js -------------------------------------------------------------------------------- /rules/prefer-regexp-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-regexp-test.js -------------------------------------------------------------------------------- /rules/prefer-set-has.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-set-has.js -------------------------------------------------------------------------------- /rules/prefer-set-size.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-set-size.js -------------------------------------------------------------------------------- /rules/prefer-spread.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-spread.js -------------------------------------------------------------------------------- /rules/prefer-string-replace-all.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-string-replace-all.js -------------------------------------------------------------------------------- /rules/prefer-string-slice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-string-slice.js -------------------------------------------------------------------------------- /rules/prefer-string-starts-ends-with.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-string-starts-ends-with.js -------------------------------------------------------------------------------- /rules/prefer-string-trim-start-end.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-string-trim-start-end.js -------------------------------------------------------------------------------- /rules/prefer-switch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-switch.js -------------------------------------------------------------------------------- /rules/prefer-ternary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-ternary.js -------------------------------------------------------------------------------- /rules/prefer-top-level-await.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-top-level-await.js -------------------------------------------------------------------------------- /rules/prefer-type-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prefer-type-error.js -------------------------------------------------------------------------------- /rules/prevent-abbreviations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/prevent-abbreviations.js -------------------------------------------------------------------------------- /rules/relative-url-style.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/relative-url-style.js -------------------------------------------------------------------------------- /rules/require-array-join-separator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/require-array-join-separator.js -------------------------------------------------------------------------------- /rules/require-number-to-fixed-digits-argument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/require-number-to-fixed-digits-argument.js -------------------------------------------------------------------------------- /rules/require-post-message-target-origin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/require-post-message-target-origin.js -------------------------------------------------------------------------------- /rules/selectors/call-or-new-expression-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/call-or-new-expression-selector.js -------------------------------------------------------------------------------- /rules/selectors/empty-array-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/empty-array-selector.js -------------------------------------------------------------------------------- /rules/selectors/empty-object-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/empty-object-selector.js -------------------------------------------------------------------------------- /rules/selectors/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/index.js -------------------------------------------------------------------------------- /rules/selectors/matches-any.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/matches-any.js -------------------------------------------------------------------------------- /rules/selectors/member-expression-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/member-expression-selector.js -------------------------------------------------------------------------------- /rules/selectors/method-call-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/method-call-selector.js -------------------------------------------------------------------------------- /rules/selectors/negation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/negation.js -------------------------------------------------------------------------------- /rules/selectors/not-dom-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/not-dom-node.js -------------------------------------------------------------------------------- /rules/selectors/not-function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/not-function.js -------------------------------------------------------------------------------- /rules/selectors/not-left-hand-side.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/not-left-hand-side.js -------------------------------------------------------------------------------- /rules/selectors/prototype-method-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/prototype-method-selector.js -------------------------------------------------------------------------------- /rules/selectors/reference-identifier-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/reference-identifier-selector.js -------------------------------------------------------------------------------- /rules/selectors/require-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/selectors/require-selector.js -------------------------------------------------------------------------------- /rules/shared/abbreviations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/shared/abbreviations.js -------------------------------------------------------------------------------- /rules/shared/dom-events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/shared/dom-events.js -------------------------------------------------------------------------------- /rules/shared/event-keys.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/shared/event-keys.js -------------------------------------------------------------------------------- /rules/shared/negative-index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/shared/negative-index.js -------------------------------------------------------------------------------- /rules/shared/simple-array-search-rule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/shared/simple-array-search-rule.js -------------------------------------------------------------------------------- /rules/shared/typed-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/shared/typed-array.js -------------------------------------------------------------------------------- /rules/string-content.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/string-content.js -------------------------------------------------------------------------------- /rules/switch-case-braces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/switch-case-braces.js -------------------------------------------------------------------------------- /rules/template-indent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/template-indent.js -------------------------------------------------------------------------------- /rules/text-encoding-identifier-case.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/text-encoding-identifier-case.js -------------------------------------------------------------------------------- /rules/throw-new-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/throw-new-error.js -------------------------------------------------------------------------------- /rules/utils/assert-token.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/assert-token.js -------------------------------------------------------------------------------- /rules/utils/avoid-capture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/avoid-capture.js -------------------------------------------------------------------------------- /rules/utils/boolean.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/boolean.js -------------------------------------------------------------------------------- /rules/utils/builtins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/builtins.js -------------------------------------------------------------------------------- /rules/utils/cartesian-product-samples.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/cartesian-product-samples.js -------------------------------------------------------------------------------- /rules/utils/create-deprecated-rules.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/create-deprecated-rules.js -------------------------------------------------------------------------------- /rules/utils/escape-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/escape-string.js -------------------------------------------------------------------------------- /rules/utils/escape-template-element-raw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/escape-template-element-raw.js -------------------------------------------------------------------------------- /rules/utils/get-builtin-rule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/get-builtin-rule.js -------------------------------------------------------------------------------- /rules/utils/get-call-expression-arguments-text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/get-call-expression-arguments-text.js -------------------------------------------------------------------------------- /rules/utils/get-class-head-location.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/get-class-head-location.js -------------------------------------------------------------------------------- /rules/utils/get-documentation-url.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/get-documentation-url.js -------------------------------------------------------------------------------- /rules/utils/get-indent-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/get-indent-string.js -------------------------------------------------------------------------------- /rules/utils/get-references.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/get-references.js -------------------------------------------------------------------------------- /rules/utils/get-scopes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/get-scopes.js -------------------------------------------------------------------------------- /rules/utils/get-switch-case-head-location.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/get-switch-case-head-location.js -------------------------------------------------------------------------------- /rules/utils/get-variable-identifiers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/get-variable-identifiers.js -------------------------------------------------------------------------------- /rules/utils/global-reference-tracker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/global-reference-tracker.js -------------------------------------------------------------------------------- /rules/utils/has-same-range.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/has-same-range.js -------------------------------------------------------------------------------- /rules/utils/is-function-self-used-inside.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-function-self-used-inside.js -------------------------------------------------------------------------------- /rules/utils/is-left-hand-side.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-left-hand-side.js -------------------------------------------------------------------------------- /rules/utils/is-logical-expression.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-logical-expression.js -------------------------------------------------------------------------------- /rules/utils/is-method-named.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-method-named.js -------------------------------------------------------------------------------- /rules/utils/is-new-expression-with-parentheses.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-new-expression-with-parentheses.js -------------------------------------------------------------------------------- /rules/utils/is-node-matches.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-node-matches.js -------------------------------------------------------------------------------- /rules/utils/is-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-number.js -------------------------------------------------------------------------------- /rules/utils/is-object-method.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-object-method.js -------------------------------------------------------------------------------- /rules/utils/is-on-same-line.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-on-same-line.js -------------------------------------------------------------------------------- /rules/utils/is-same-reference.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-same-reference.js -------------------------------------------------------------------------------- /rules/utils/is-shadowed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-shadowed.js -------------------------------------------------------------------------------- /rules/utils/is-shorthand-export-local.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-shorthand-export-local.js -------------------------------------------------------------------------------- /rules/utils/is-shorthand-import-local.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-shorthand-import-local.js -------------------------------------------------------------------------------- /rules/utils/is-shorthand-property-assignment-pattern-left.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-shorthand-property-assignment-pattern-left.js -------------------------------------------------------------------------------- /rules/utils/is-shorthand-property-value.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-shorthand-property-value.js -------------------------------------------------------------------------------- /rules/utils/is-value-not-usable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/is-value-not-usable.js -------------------------------------------------------------------------------- /rules/utils/needs-semicolon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/needs-semicolon.js -------------------------------------------------------------------------------- /rules/utils/numeric.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/numeric.js -------------------------------------------------------------------------------- /rules/utils/parentheses.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/parentheses.js -------------------------------------------------------------------------------- /rules/utils/resolve-variable-name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/resolve-variable-name.js -------------------------------------------------------------------------------- /rules/utils/rule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/rule.js -------------------------------------------------------------------------------- /rules/utils/should-add-parentheses-to-conditional-expression-child.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/should-add-parentheses-to-conditional-expression-child.js -------------------------------------------------------------------------------- /rules/utils/should-add-parentheses-to-expression-statement-expression.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/should-add-parentheses-to-expression-statement-expression.js -------------------------------------------------------------------------------- /rules/utils/should-add-parentheses-to-logical-expression-child.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/should-add-parentheses-to-logical-expression-child.js -------------------------------------------------------------------------------- /rules/utils/should-add-parentheses-to-member-expression-object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/should-add-parentheses-to-member-expression-object.js -------------------------------------------------------------------------------- /rules/utils/should-add-parentheses-to-new-expression-callee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/should-add-parentheses-to-new-expression-callee.js -------------------------------------------------------------------------------- /rules/utils/should-add-parentheses-to-spread-element-argument.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/should-add-parentheses-to-spread-element-argument.js -------------------------------------------------------------------------------- /rules/utils/singular.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/singular.js -------------------------------------------------------------------------------- /rules/utils/to-location.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/rules/utils/to-location.js -------------------------------------------------------------------------------- /scripts/create-rule.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/scripts/create-rule.mjs -------------------------------------------------------------------------------- /scripts/internal-rules/fix-snapshot-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/scripts/internal-rules/fix-snapshot-test.js -------------------------------------------------------------------------------- /scripts/internal-rules/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/scripts/internal-rules/index.js -------------------------------------------------------------------------------- /scripts/internal-rules/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/scripts/internal-rules/package.json -------------------------------------------------------------------------------- /scripts/internal-rules/prefer-disallow-over-forbid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/scripts/internal-rules/prefer-disallow-over-forbid.js -------------------------------------------------------------------------------- /scripts/internal-rules/prefer-negative-boolean-attribute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/scripts/internal-rules/prefer-negative-boolean-attribute.js -------------------------------------------------------------------------------- /scripts/rename-rule.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/scripts/rename-rule.mjs -------------------------------------------------------------------------------- /scripts/template/documentation.md.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/scripts/template/documentation.md.jst -------------------------------------------------------------------------------- /scripts/template/rule.js.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/scripts/template/rule.js.jst -------------------------------------------------------------------------------- /scripts/template/test.mjs.jst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/scripts/template/test.mjs.jst -------------------------------------------------------------------------------- /test/better-regex.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/better-regex.mjs -------------------------------------------------------------------------------- /test/catch-error-name.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/catch-error-name.mjs -------------------------------------------------------------------------------- /test/consistent-destructuring.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/consistent-destructuring.mjs -------------------------------------------------------------------------------- /test/consistent-function-scoping.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/consistent-function-scoping.mjs -------------------------------------------------------------------------------- /test/custom-error-definition.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/custom-error-definition.mjs -------------------------------------------------------------------------------- /test/empty-brace-spaces.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/empty-brace-spaces.mjs -------------------------------------------------------------------------------- /test/error-message.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/error-message.mjs -------------------------------------------------------------------------------- /test/escape-case.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/escape-case.mjs -------------------------------------------------------------------------------- /test/expiring-todo-comments.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/expiring-todo-comments.mjs -------------------------------------------------------------------------------- /test/explicit-length-check.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/explicit-length-check.mjs -------------------------------------------------------------------------------- /test/filename-case.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/filename-case.mjs -------------------------------------------------------------------------------- /test/import-style.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/import-style.mjs -------------------------------------------------------------------------------- /test/integration/fixtures-local/conflicts-no-array-for-each-and-prevent-abbreviations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/integration/fixtures-local/conflicts-no-array-for-each-and-prevent-abbreviations.js -------------------------------------------------------------------------------- /test/integration/fixtures-local/error-name-conflicts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/integration/fixtures-local/error-name-conflicts.js -------------------------------------------------------------------------------- /test/integration/projects.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/integration/projects.mjs -------------------------------------------------------------------------------- /test/integration/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/integration/readme.md -------------------------------------------------------------------------------- /test/integration/run-eslint.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/integration/run-eslint.mjs -------------------------------------------------------------------------------- /test/integration/test.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/integration/test.mjs -------------------------------------------------------------------------------- /test/new-for-builtins.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/new-for-builtins.mjs -------------------------------------------------------------------------------- /test/no-abusive-eslint-disable.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-abusive-eslint-disable.mjs -------------------------------------------------------------------------------- /test/no-array-callback-reference.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-array-callback-reference.mjs -------------------------------------------------------------------------------- /test/no-array-for-each.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-array-for-each.mjs -------------------------------------------------------------------------------- /test/no-array-method-this-argument.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-array-method-this-argument.mjs -------------------------------------------------------------------------------- /test/no-array-push-push.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-array-push-push.mjs -------------------------------------------------------------------------------- /test/no-array-reduce.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-array-reduce.mjs -------------------------------------------------------------------------------- /test/no-await-expression-member.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-await-expression-member.mjs -------------------------------------------------------------------------------- /test/no-console-spaces.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-console-spaces.mjs -------------------------------------------------------------------------------- /test/no-document-cookie.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-document-cookie.mjs -------------------------------------------------------------------------------- /test/no-empty-file.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-empty-file.mjs -------------------------------------------------------------------------------- /test/no-for-loop.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-for-loop.mjs -------------------------------------------------------------------------------- /test/no-hex-escape.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-hex-escape.mjs -------------------------------------------------------------------------------- /test/no-instanceof-array.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-instanceof-array.mjs -------------------------------------------------------------------------------- /test/no-invalid-remove-event-listener.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-invalid-remove-event-listener.mjs -------------------------------------------------------------------------------- /test/no-keyword-prefix.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-keyword-prefix.mjs -------------------------------------------------------------------------------- /test/no-lonely-if.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-lonely-if.mjs -------------------------------------------------------------------------------- /test/no-negated-condition.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-negated-condition.mjs -------------------------------------------------------------------------------- /test/no-nested-ternary.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-nested-ternary.mjs -------------------------------------------------------------------------------- /test/no-new-array.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-new-array.mjs -------------------------------------------------------------------------------- /test/no-new-buffer.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-new-buffer.mjs -------------------------------------------------------------------------------- /test/no-null.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-null.mjs -------------------------------------------------------------------------------- /test/no-object-as-default-parameter.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-object-as-default-parameter.mjs -------------------------------------------------------------------------------- /test/no-process-exit.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-process-exit.mjs -------------------------------------------------------------------------------- /test/no-static-only-class.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-static-only-class.mjs -------------------------------------------------------------------------------- /test/no-thenable.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-thenable.mjs -------------------------------------------------------------------------------- /test/no-this-assignment.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-this-assignment.mjs -------------------------------------------------------------------------------- /test/no-typeof-undefined.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-typeof-undefined.mjs -------------------------------------------------------------------------------- /test/no-unnecessary-await.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-unnecessary-await.mjs -------------------------------------------------------------------------------- /test/no-unreadable-array-destructuring.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-unreadable-array-destructuring.mjs -------------------------------------------------------------------------------- /test/no-unreadable-iife.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-unreadable-iife.mjs -------------------------------------------------------------------------------- /test/no-unsafe-regex.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-unsafe-regex.mjs -------------------------------------------------------------------------------- /test/no-unused-properties.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-unused-properties.mjs -------------------------------------------------------------------------------- /test/no-useless-fallback-in-spread.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-useless-fallback-in-spread.mjs -------------------------------------------------------------------------------- /test/no-useless-length-check.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-useless-length-check.mjs -------------------------------------------------------------------------------- /test/no-useless-promise-resolve-reject.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-useless-promise-resolve-reject.mjs -------------------------------------------------------------------------------- /test/no-useless-spread.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-useless-spread.mjs -------------------------------------------------------------------------------- /test/no-useless-switch-case.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-useless-switch-case.mjs -------------------------------------------------------------------------------- /test/no-useless-undefined.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-useless-undefined.mjs -------------------------------------------------------------------------------- /test/no-zero-fractions.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/no-zero-fractions.mjs -------------------------------------------------------------------------------- /test/number-literal-case.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/number-literal-case.mjs -------------------------------------------------------------------------------- /test/numeric-separators-style.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/numeric-separators-style.mjs -------------------------------------------------------------------------------- /test/package.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/package.mjs -------------------------------------------------------------------------------- /test/prefer-add-event-listener.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-add-event-listener.mjs -------------------------------------------------------------------------------- /test/prefer-array-find.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-array-find.mjs -------------------------------------------------------------------------------- /test/prefer-array-flat-map.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-array-flat-map.mjs -------------------------------------------------------------------------------- /test/prefer-array-flat.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-array-flat.mjs -------------------------------------------------------------------------------- /test/prefer-array-index-of.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-array-index-of.mjs -------------------------------------------------------------------------------- /test/prefer-array-some.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-array-some.mjs -------------------------------------------------------------------------------- /test/prefer-at.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-at.mjs -------------------------------------------------------------------------------- /test/prefer-code-point.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-code-point.mjs -------------------------------------------------------------------------------- /test/prefer-date-now.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-date-now.mjs -------------------------------------------------------------------------------- /test/prefer-default-parameters.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-default-parameters.mjs -------------------------------------------------------------------------------- /test/prefer-dom-node-append.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-dom-node-append.mjs -------------------------------------------------------------------------------- /test/prefer-dom-node-dataset.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-dom-node-dataset.mjs -------------------------------------------------------------------------------- /test/prefer-dom-node-remove.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-dom-node-remove.mjs -------------------------------------------------------------------------------- /test/prefer-dom-node-text-content.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-dom-node-text-content.mjs -------------------------------------------------------------------------------- /test/prefer-event-target.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-event-target.mjs -------------------------------------------------------------------------------- /test/prefer-export-from.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-export-from.mjs -------------------------------------------------------------------------------- /test/prefer-includes.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-includes.mjs -------------------------------------------------------------------------------- /test/prefer-json-parse-buffer.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-json-parse-buffer.mjs -------------------------------------------------------------------------------- /test/prefer-keyboard-event-key.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-keyboard-event-key.mjs -------------------------------------------------------------------------------- /test/prefer-logical-operator-over-ternary.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-logical-operator-over-ternary.mjs -------------------------------------------------------------------------------- /test/prefer-math-trunc.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-math-trunc.mjs -------------------------------------------------------------------------------- /test/prefer-modern-dom-apis.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-modern-dom-apis.mjs -------------------------------------------------------------------------------- /test/prefer-modern-math-apis.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-modern-math-apis.mjs -------------------------------------------------------------------------------- /test/prefer-module.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-module.mjs -------------------------------------------------------------------------------- /test/prefer-native-coercion-functions.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-native-coercion-functions.mjs -------------------------------------------------------------------------------- /test/prefer-negative-index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-negative-index.mjs -------------------------------------------------------------------------------- /test/prefer-node-protocol.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-node-protocol.mjs -------------------------------------------------------------------------------- /test/prefer-number-properties.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-number-properties.mjs -------------------------------------------------------------------------------- /test/prefer-object-from-entries.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-object-from-entries.mjs -------------------------------------------------------------------------------- /test/prefer-optional-catch-binding.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-optional-catch-binding.mjs -------------------------------------------------------------------------------- /test/prefer-prototype-methods.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-prototype-methods.mjs -------------------------------------------------------------------------------- /test/prefer-query-selector.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-query-selector.mjs -------------------------------------------------------------------------------- /test/prefer-reflect-apply.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-reflect-apply.mjs -------------------------------------------------------------------------------- /test/prefer-regexp-test.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-regexp-test.mjs -------------------------------------------------------------------------------- /test/prefer-set-has.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-set-has.mjs -------------------------------------------------------------------------------- /test/prefer-set-size.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-set-size.mjs -------------------------------------------------------------------------------- /test/prefer-spread.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-spread.mjs -------------------------------------------------------------------------------- /test/prefer-string-replace-all.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-string-replace-all.mjs -------------------------------------------------------------------------------- /test/prefer-string-slice.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-string-slice.mjs -------------------------------------------------------------------------------- /test/prefer-string-starts-ends-with.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-string-starts-ends-with.mjs -------------------------------------------------------------------------------- /test/prefer-string-trim-start-end.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-string-trim-start-end.mjs -------------------------------------------------------------------------------- /test/prefer-switch.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-switch.mjs -------------------------------------------------------------------------------- /test/prefer-ternary.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-ternary.mjs -------------------------------------------------------------------------------- /test/prefer-top-level-await.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-top-level-await.mjs -------------------------------------------------------------------------------- /test/prefer-type-error.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prefer-type-error.mjs -------------------------------------------------------------------------------- /test/prevent-abbreviations.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/prevent-abbreviations.mjs -------------------------------------------------------------------------------- /test/relative-url-style.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/relative-url-style.mjs -------------------------------------------------------------------------------- /test/require-array-join-separator.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/require-array-join-separator.mjs -------------------------------------------------------------------------------- /test/require-number-to-fixed-digits-argument.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/require-number-to-fixed-digits-argument.mjs -------------------------------------------------------------------------------- /test/require-post-message-target-origin.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/require-post-message-target-origin.mjs -------------------------------------------------------------------------------- /test/run-rules-on-codebase/lint.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/run-rules-on-codebase/lint.mjs -------------------------------------------------------------------------------- /test/shared/simple-array-search-rule-tests.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/shared/simple-array-search-rule-tests.mjs -------------------------------------------------------------------------------- /test/smoke/eslint-remote-tester.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/smoke/eslint-remote-tester.config.js -------------------------------------------------------------------------------- /test/snapshots/better-regex.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/better-regex.mjs.md -------------------------------------------------------------------------------- /test/snapshots/better-regex.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/better-regex.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/consistent-function-scoping.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/consistent-function-scoping.mjs.md -------------------------------------------------------------------------------- /test/snapshots/consistent-function-scoping.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/consistent-function-scoping.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/empty-brace-spaces.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/empty-brace-spaces.mjs.md -------------------------------------------------------------------------------- /test/snapshots/empty-brace-spaces.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/empty-brace-spaces.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/error-message.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/error-message.mjs.md -------------------------------------------------------------------------------- /test/snapshots/error-message.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/error-message.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/explicit-length-check.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/explicit-length-check.mjs.md -------------------------------------------------------------------------------- /test/snapshots/explicit-length-check.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/explicit-length-check.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/filename-case.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/filename-case.mjs.md -------------------------------------------------------------------------------- /test/snapshots/filename-case.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/filename-case.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/import-style.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/import-style.mjs.md -------------------------------------------------------------------------------- /test/snapshots/import-style.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/import-style.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/new-for-builtins.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/new-for-builtins.mjs.md -------------------------------------------------------------------------------- /test/snapshots/new-for-builtins.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/new-for-builtins.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-abusive-eslint-disable.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-abusive-eslint-disable.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-abusive-eslint-disable.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-abusive-eslint-disable.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-array-for-each.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-array-for-each.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-array-for-each.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-array-for-each.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-array-method-this-argument.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-array-method-this-argument.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-array-method-this-argument.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-array-method-this-argument.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-array-push-push.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-array-push-push.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-array-push-push.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-array-push-push.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-await-expression-member.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-await-expression-member.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-await-expression-member.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-await-expression-member.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-console-spaces.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-console-spaces.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-console-spaces.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-console-spaces.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-document-cookie.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-document-cookie.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-document-cookie.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-document-cookie.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-empty-file.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-empty-file.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-empty-file.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-empty-file.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-for-loop.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-for-loop.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-for-loop.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-for-loop.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-hex-escape.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-hex-escape.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-hex-escape.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-hex-escape.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-instanceof-array.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-instanceof-array.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-instanceof-array.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-instanceof-array.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-invalid-remove-event-listener.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-invalid-remove-event-listener.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-invalid-remove-event-listener.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-invalid-remove-event-listener.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-lonely-if.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-lonely-if.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-lonely-if.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-lonely-if.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-negated-condition.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-negated-condition.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-negated-condition.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-negated-condition.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-nested-ternary.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-nested-ternary.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-nested-ternary.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-nested-ternary.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-new-array.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-new-array.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-new-array.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-new-array.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-new-buffer.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-new-buffer.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-new-buffer.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-new-buffer.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-object-as-default-parameter.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-object-as-default-parameter.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-object-as-default-parameter.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-object-as-default-parameter.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-process-exit.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-process-exit.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-process-exit.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-process-exit.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-static-only-class.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-static-only-class.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-static-only-class.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-static-only-class.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-thenable.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-thenable.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-thenable.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-thenable.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-this-assignment.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-this-assignment.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-this-assignment.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-this-assignment.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-typeof-undefined.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-typeof-undefined.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-typeof-undefined.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-typeof-undefined.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-unnecessary-await.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-unnecessary-await.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-unnecessary-await.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-unnecessary-await.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-unreadable-array-destructuring.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-unreadable-array-destructuring.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-unreadable-array-destructuring.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-unreadable-array-destructuring.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-unreadable-iife.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-unreadable-iife.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-unreadable-iife.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-unreadable-iife.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-unsafe-regex.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-unsafe-regex.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-unsafe-regex.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-unsafe-regex.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-unused-properties.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-unused-properties.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-unused-properties.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-unused-properties.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-useless-fallback-in-spread.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-useless-fallback-in-spread.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-useless-fallback-in-spread.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-useless-fallback-in-spread.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-useless-length-check.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-useless-length-check.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-useless-length-check.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-useless-length-check.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-useless-spread.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-useless-spread.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-useless-spread.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-useless-spread.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-useless-switch-case.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-useless-switch-case.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-useless-switch-case.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-useless-switch-case.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-useless-undefined.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-useless-undefined.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-useless-undefined.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-useless-undefined.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/no-zero-fractions.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-zero-fractions.mjs.md -------------------------------------------------------------------------------- /test/snapshots/no-zero-fractions.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/no-zero-fractions.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/number-literal-case.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/number-literal-case.mjs.md -------------------------------------------------------------------------------- /test/snapshots/number-literal-case.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/number-literal-case.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/numeric-separators-style.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/numeric-separators-style.mjs.md -------------------------------------------------------------------------------- /test/snapshots/numeric-separators-style.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/numeric-separators-style.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-add-event-listener.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-add-event-listener.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-add-event-listener.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-add-event-listener.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-array-flat-map.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-array-flat-map.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-array-flat-map.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-array-flat-map.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-array-flat.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-array-flat.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-array-flat.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-array-flat.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-array-index-of.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-array-index-of.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-array-index-of.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-array-index-of.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-array-some.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-array-some.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-array-some.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-array-some.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-at.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-at.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-at.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-at.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-code-point.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-code-point.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-code-point.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-code-point.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-date-now.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-date-now.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-date-now.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-date-now.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-dom-node-dataset.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-dom-node-dataset.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-dom-node-dataset.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-dom-node-dataset.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-dom-node-text-content.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-dom-node-text-content.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-dom-node-text-content.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-dom-node-text-content.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-event-target.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-event-target.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-event-target.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-event-target.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-export-from.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-export-from.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-export-from.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-export-from.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-includes.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-includes.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-includes.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-includes.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-json-parse-buffer.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-json-parse-buffer.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-json-parse-buffer.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-json-parse-buffer.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-keyboard-event-key.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-keyboard-event-key.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-keyboard-event-key.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-keyboard-event-key.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-logical-operator-over-ternary.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-logical-operator-over-ternary.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-logical-operator-over-ternary.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-logical-operator-over-ternary.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-math-trunc.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-math-trunc.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-math-trunc.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-math-trunc.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-modern-math-apis.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-modern-math-apis.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-modern-math-apis.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-modern-math-apis.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-module.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-module.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-module.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-module.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-native-coercion-functions.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-native-coercion-functions.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-native-coercion-functions.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-native-coercion-functions.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-negative-index.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-negative-index.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-negative-index.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-negative-index.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-node-protocol.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-node-protocol.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-node-protocol.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-node-protocol.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-number-properties.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-number-properties.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-number-properties.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-number-properties.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-object-from-entries.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-object-from-entries.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-object-from-entries.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-object-from-entries.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-optional-catch-binding.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-optional-catch-binding.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-optional-catch-binding.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-optional-catch-binding.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-prototype-methods.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-prototype-methods.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-prototype-methods.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-prototype-methods.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-query-selector.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-query-selector.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-query-selector.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-query-selector.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-regexp-test.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-regexp-test.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-regexp-test.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-regexp-test.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-set-has.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-set-has.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-set-has.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-set-has.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-set-size.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-set-size.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-set-size.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-set-size.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-spread.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-spread.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-spread.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-spread.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-string-replace-all.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-string-replace-all.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-string-replace-all.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-string-replace-all.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-string-slice.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-string-slice.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-string-slice.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-string-slice.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-string-starts-ends-with.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-string-starts-ends-with.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-string-starts-ends-with.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-string-starts-ends-with.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-string-trim-start-end.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-string-trim-start-end.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-string-trim-start-end.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-string-trim-start-end.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-switch.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-switch.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-switch.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-switch.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-top-level-await.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-top-level-await.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-top-level-await.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-top-level-await.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/prefer-type-error.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-type-error.mjs.md -------------------------------------------------------------------------------- /test/snapshots/prefer-type-error.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/prefer-type-error.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/relative-url-style.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/relative-url-style.mjs.md -------------------------------------------------------------------------------- /test/snapshots/relative-url-style.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/relative-url-style.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/require-array-join-separator.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/require-array-join-separator.mjs.md -------------------------------------------------------------------------------- /test/snapshots/require-array-join-separator.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/require-array-join-separator.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/require-number-to-fixed-digits-argument.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/require-number-to-fixed-digits-argument.mjs.md -------------------------------------------------------------------------------- /test/snapshots/require-number-to-fixed-digits-argument.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/require-number-to-fixed-digits-argument.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/require-post-message-target-origin.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/require-post-message-target-origin.mjs.md -------------------------------------------------------------------------------- /test/snapshots/require-post-message-target-origin.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/require-post-message-target-origin.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/switch-case-braces.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/switch-case-braces.mjs.md -------------------------------------------------------------------------------- /test/snapshots/switch-case-braces.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/switch-case-braces.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/template-indent.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/template-indent.mjs.md -------------------------------------------------------------------------------- /test/snapshots/template-indent.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/template-indent.mjs.snap -------------------------------------------------------------------------------- /test/snapshots/text-encoding-identifier-case.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/text-encoding-identifier-case.mjs.md -------------------------------------------------------------------------------- /test/snapshots/text-encoding-identifier-case.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/snapshots/text-encoding-identifier-case.mjs.snap -------------------------------------------------------------------------------- /test/string-content.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/string-content.mjs -------------------------------------------------------------------------------- /test/switch-case-braces.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/switch-case-braces.mjs -------------------------------------------------------------------------------- /test/template-indent.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/template-indent.mjs -------------------------------------------------------------------------------- /test/text-encoding-identifier-case.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/text-encoding-identifier-case.mjs -------------------------------------------------------------------------------- /test/throw-new-error.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/throw-new-error.mjs -------------------------------------------------------------------------------- /test/unit/assert-token.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/unit/assert-token.mjs -------------------------------------------------------------------------------- /test/unit/get-documentation-url.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/unit/get-documentation-url.mjs -------------------------------------------------------------------------------- /test/unit/snapshots/assert-token.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/unit/snapshots/assert-token.mjs.md -------------------------------------------------------------------------------- /test/unit/snapshots/assert-token.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/unit/snapshots/assert-token.mjs.snap -------------------------------------------------------------------------------- /test/utils/default-options.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/utils/default-options.mjs -------------------------------------------------------------------------------- /test/utils/not-dom-node-types.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/utils/not-dom-node-types.mjs -------------------------------------------------------------------------------- /test/utils/not-function-types.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/utils/not-function-types.mjs -------------------------------------------------------------------------------- /test/utils/parsers.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/utils/parsers.mjs -------------------------------------------------------------------------------- /test/utils/snapshot-rule-tester.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/utils/snapshot-rule-tester.mjs -------------------------------------------------------------------------------- /test/utils/test.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/super-dt-dev/eslint-plugin-unicorn/HEAD/test/utils/test.mjs --------------------------------------------------------------------------------