@critiq/rules 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +468 -0
- package/README.md +13 -233
- package/catalog-metadata.json +47 -0
- package/catalog.yaml +2962 -309
- package/package.json +1 -1
- package/rules/go/go.bug-risk.compound-assignment-misuse.rule.yaml +53 -0
- package/rules/go/go.bug-risk.deprecated-redis-methods.rule.yaml +57 -0
- package/rules/go/go.bug-risk.etcd-getlogger-misuse.rule.yaml +59 -0
- package/rules/go/go.bug-risk.etcd-invalid-compare-operator.rule.yaml +53 -0
- package/rules/go/go.bug-risk.gin-loadhtmlglob-ill-formed.rule.yaml +53 -0
- package/rules/go/go.bug-risk.gorm-dry-run-enabled.rule.yaml +58 -0
- package/rules/go/go.bug-risk.gorm-skip-default-transaction.rule.yaml +57 -0
- package/rules/go/go.bug-risk.gorm-updates-zero-values.rule.yaml +55 -0
- package/rules/go/go.bug-risk.gorm-where-zero-values.rule.yaml +53 -0
- package/rules/go/go.bug-risk.poorly-formed-nilness-guards.rule.yaml +57 -0
- package/rules/go/go.bug-risk.redis-incorrect-arg-count.rule.yaml +54 -0
- package/rules/go/go.bug-risk.redis-unimplemented-method.rule.yaml +53 -0
- package/rules/go/go.bug-risk.reflect-makefunc-usage.rule.yaml +55 -0
- package/rules/go/go.correctness.bare-return.rule.yaml +52 -0
- package/rules/go/go.correctness.boolean-literal-in-expression.rule.yaml +52 -0
- package/rules/go/go.correctness.boolean-simplification.rule.yaml +49 -0
- package/rules/go/go.correctness.deferred-func-literal.rule.yaml +52 -0
- package/rules/go/go.correctness.duplicate-branch-body.rule.yaml +49 -0
- package/rules/go/go.correctness.duplicate-function-arguments.rule.yaml +49 -0
- package/rules/go/go.correctness.duplicate-if-else-condition.rule.yaml +54 -0
- package/rules/go/go.correctness.duplicate-switch-cases.rule.yaml +48 -0
- package/rules/go/go.correctness.flag-pointer-immediate-deref.rule.yaml +49 -0
- package/rules/go/go.correctness.hidden-goroutine.rule.yaml +55 -0
- package/rules/go/go.correctness.http-nobody-nil.rule.yaml +52 -0
- package/rules/go/go.correctness.identical-binary-operands.rule.yaml +48 -0
- package/rules/go/go.correctness.impossible-interface-nil-check.rule.yaml +56 -0
- package/rules/go/go.correctness.incomplete-nil-check.rule.yaml +49 -0
- package/rules/go/go.correctness.integer-truncation.rule.yaml +51 -0
- package/rules/go/go.correctness.interface-any-preferred.rule.yaml +50 -0
- package/rules/go/go.correctness.nil-error-returned.rule.yaml +49 -0
- package/rules/go/go.correctness.off-by-one-index.rule.yaml +48 -0
- package/rules/go/go.correctness.redundant-type-declaration.rule.yaml +51 -0
- package/rules/go/go.correctness.signedness-casting.rule.yaml +56 -0
- package/rules/go/go.correctness.string-concat-simplify.rule.yaml +52 -0
- package/rules/go/go.correctness.suspicious-regex-pattern.rule.yaml +49 -0
- package/rules/go/go.correctness.terminal-call-with-defer.rule.yaml +50 -0
- package/rules/go/go.correctness.unexported-capital-name.rule.yaml +52 -0
- package/rules/go/go.correctness.unnecessary-dereference.rule.yaml +53 -0
- package/rules/go/go.correctness.unnecessary-else-return.rule.yaml +52 -0
- package/rules/go/go.correctness.unreachable-switch-case.rule.yaml +50 -0
- package/rules/go/go.doc.malformed-deprecated-comment.rule.yaml +59 -0
- package/rules/go/go.performance.avoid-large-loop-copy.rule.yaml +38 -0
- package/rules/go/go.performance.avoid-large-param-copy.rule.yaml +38 -0
- package/rules/go/go.performance.avoid-large-range-copy.rule.yaml +37 -0
- package/rules/go/go.performance.avoid-string-index-alloc.rule.yaml +38 -0
- package/rules/go/go.performance.combine-append-calls.rule.yaml +38 -0
- package/rules/go/go.performance.fmt-fprint.rule.yaml +44 -0
- package/rules/go/go.performance.iowriter-write-string.rule.yaml +45 -0
- package/rules/go/go.performance.non-idiomatic-slice-zeroing.rule.yaml +44 -0
- package/rules/go/go.performance.reorder-operands.rule.yaml +44 -0
- package/rules/go/go.performance.utf8-decode-rune.rule.yaml +44 -0
- package/rules/go/go.security.decompression-bomb.rule.yaml +55 -0
- package/rules/go/go.security.http-dir-path-traversal.rule.yaml +55 -0
- package/rules/go/go.security.incomplete-hostname-regex.rule.yaml +64 -0
- package/rules/go/go.security.insecure-ssl-protocol.rule.yaml +2 -0
- package/rules/go/go.security.jwt-without-verification.rule.yaml +2 -0
- package/rules/go/go.security.net-http-missing-timeouts.rule.yaml +3 -0
- package/rules/go/go.security.pprof-exposed.rule.yaml +2 -0
- package/rules/go/go.security.squirrel-unsafe-quoting.rule.yaml +64 -0
- package/rules/go/go.security.tainted-value-sink.rule.yaml +59 -0
- package/rules/go/go.security.tls-missing-min-version.rule.yaml +2 -0
- package/rules/go/go.security.unsafe-defer-close.rule.yaml +55 -0
- package/rules/go/go.security.weak-crypto-import.rule.yaml +3 -0
- package/rules/go/go.security.weak-file-permission.rule.yaml +56 -0
- package/rules/java/java.correctness.annotation-check-always-false.rule.yaml +42 -0
- package/rules/java/java.correctness.array-compared-to-non-array.rule.yaml +45 -0
- package/rules/java/java.correctness.array-index-bounds.rule.yaml +42 -0
- package/rules/java/java.correctness.assert-self-comparison.rule.yaml +46 -0
- package/rules/java/java.correctness.assertion-in-production.rule.yaml +49 -0
- package/rules/java/java.correctness.bad-short-circuit-null-check.rule.yaml +45 -0
- package/rules/java/java.correctness.bitwise-or-never-equal.rule.yaml +42 -0
- package/rules/java/java.correctness.boxed-boolean-conditional.rule.yaml +42 -0
- package/rules/java/java.correctness.cacheloader-null-return.rule.yaml +42 -0
- package/rules/java/java.correctness.case-insensitive-regex-lacks-unicode.rule.yaml +46 -0
- package/rules/java/java.correctness.catch-null-pointer.rule.yaml +5 -1
- package/rules/java/java.correctness.class-isinstance-on-class.rule.yaml +42 -0
- package/rules/java/java.correctness.class-name-collision.rule.yaml +45 -0
- package/rules/java/java.correctness.clone-without-super.rule.yaml +45 -0
- package/rules/java/java.correctness.closeable-provides-injection.rule.yaml +43 -0
- package/rules/java/java.correctness.collection-adds-self.rule.yaml +42 -0
- package/rules/java/java.correctness.collection-contains-self.rule.yaml +42 -0
- package/rules/java/java.correctness.collection-remove-type-mismatch.rule.yaml +42 -0
- package/rules/java/java.correctness.comparator-downcast-sign-flip.rule.yaml +42 -0
- package/rules/java/java.correctness.compareto-min-value.rule.yaml +44 -0
- package/rules/java/java.correctness.constructor-starts-thread.rule.yaml +45 -0
- package/rules/java/java.correctness.default-package-spring-scan.rule.yaml +46 -0
- package/rules/java/java.correctness.deprecated-thread-methods.rule.yaml +42 -0
- package/rules/java/java.correctness.double-assignment.rule.yaml +42 -0
- package/rules/java/java.correctness.double-checked-locking.rule.yaml +42 -0
- package/rules/java/java.correctness.duplicate-binary-argument.rule.yaml +45 -0
- package/rules/java/java.correctness.duration-with-nanos-misuse.rule.yaml +42 -0
- package/rules/java/java.correctness.enum-equals-method.rule.yaml +45 -0
- package/rules/java/java.correctness.enum-get-class.rule.yaml +42 -0
- package/rules/java/java.correctness.equals-inherits-parent.rule.yaml +45 -0
- package/rules/java/java.correctness.equals-null-check.rule.yaml +45 -0
- package/rules/java/java.correctness.equals-null.rule.yaml +45 -0
- package/rules/java/java.correctness.equals-on-array.rule.yaml +4 -0
- package/rules/java/java.correctness.explicit-finalizer-invocation.rule.yaml +45 -0
- package/rules/java/java.correctness.for-loop-mismatched-increment.rule.yaml +45 -0
- package/rules/java/java.correctness.getter-setter-sync-mismatch.rule.yaml +42 -0
- package/rules/java/java.correctness.hashcode-on-array.rule.yaml +42 -0
- package/rules/java/java.correctness.hashtable-contains-value.rule.yaml +42 -0
- package/rules/java/java.correctness.hasnext-invokes-next.rule.yaml +45 -0
- package/rules/java/java.correctness.ignored-inputstream-read.rule.yaml +45 -0
- package/rules/java/java.correctness.ignored-inputstream-skip.rule.yaml +45 -0
- package/rules/java/java.correctness.illegal-monitor-state-caught.rule.yaml +45 -0
- package/rules/java/java.correctness.impossible-toarray-downcast.rule.yaml +45 -0
- package/rules/java/java.correctness.incorrect-main-signature.rule.yaml +42 -0
- package/rules/java/java.correctness.indexof-reversed-arguments.rule.yaml +42 -0
- package/rules/java/java.correctness.instant-unsupported-temporal-unit.rule.yaml +42 -0
- package/rules/java/java.correctness.invalid-regex-literal.rule.yaml +45 -0
- package/rules/java/java.correctness.invalid-serial-version-uid.rule.yaml +42 -0
- package/rules/java/java.correctness.invalid-time-constants.rule.yaml +42 -0
- package/rules/java/java.correctness.invalidated-iterator.rule.yaml +42 -0
- package/rules/java/java.correctness.iterable-iterator-returns-this.rule.yaml +44 -0
- package/rules/java/java.correctness.iterable-path-type.rule.yaml +42 -0
- package/rules/java/java.correctness.jump-in-finally.rule.yaml +44 -0
- package/rules/java/java.correctness.loop-condition-never-true.rule.yaml +42 -0
- package/rules/java/java.correctness.lost-increment-in-assignment.rule.yaml +45 -0
- package/rules/java/java.correctness.math-max-min-swapped.rule.yaml +45 -0
- package/rules/java/java.correctness.missing-enum-switch-elements.rule.yaml +43 -0
- package/rules/java/java.correctness.modulus-multiplication-precedence.rule.yaml +42 -0
- package/rules/java/java.correctness.mutable-data-exposed.rule.yaml +42 -0
- package/rules/java/java.correctness.mutable-enum-fields.rule.yaml +44 -0
- package/rules/java/java.correctness.nan-comparison.rule.yaml +42 -0
- package/rules/java/java.correctness.ncopies-argument-order.rule.yaml +42 -0
- package/rules/java/java.correctness.noallocation-method-creates-object.rule.yaml +45 -0
- package/rules/java/java.correctness.non-final-immutable-fields.rule.yaml +45 -0
- package/rules/java/java.correctness.non-null-method-returns-null.rule.yaml +43 -0
- package/rules/java/java.correctness.non-terminating-loop.rule.yaml +42 -0
- package/rules/java/java.correctness.oddness-check-fails-negative.rule.yaml +45 -0
- package/rules/java/java.correctness.optional-get-without-present-check.rule.yaml +44 -0
- package/rules/java/java.correctness.optional-null.rule.yaml +42 -0
- package/rules/java/java.correctness.overloaded-equals.rule.yaml +45 -0
- package/rules/java/java.correctness.parameter-reassignment.rule.yaml +46 -0
- package/rules/java/java.correctness.possible-null-access-exception.rule.yaml +42 -0
- package/rules/java/java.correctness.possible-null-access.rule.yaml +42 -0
- package/rules/java/java.correctness.prepared-statement-in-loop.rule.yaml +52 -0
- package/rules/java/java.correctness.prepared-statement-index-zero.rule.yaml +44 -0
- package/rules/java/java.correctness.random-coerced-to-zero.rule.yaml +44 -0
- package/rules/java/java.correctness.read-resolve-return-type.rule.yaml +42 -0
- package/rules/java/java.correctness.readline-without-null-check.rule.yaml +45 -0
- package/rules/java/java.correctness.result-set-index-zero.rule.yaml +44 -0
- package/rules/java/java.correctness.runfinalizers-on-exit.rule.yaml +45 -0
- package/rules/java/java.correctness.runnable-run-direct.rule.yaml +45 -0
- package/rules/java/java.correctness.self-assignment.rule.yaml +45 -0
- package/rules/java/java.correctness.serializable-superclass.rule.yaml +42 -0
- package/rules/java/java.correctness.serialization-method-signature.rule.yaml +42 -0
- package/rules/java/java.correctness.servlet-mutable-fields.rule.yaml +45 -0
- package/rules/java/java.correctness.shift-out-of-range.rule.yaml +44 -0
- package/rules/java/java.correctness.static-date-field.rule.yaml +42 -0
- package/rules/java/java.correctness.stream-reuse.rule.yaml +42 -0
- package/rules/java/java.correctness.string-format-arg-mismatch.rule.yaml +45 -0
- package/rules/java/java.correctness.stringbuilder-char-ctor.rule.yaml +42 -0
- package/rules/java/java.correctness.switch-statement-labels.rule.yaml +44 -0
- package/rules/java/java.correctness.sync-boxed-primitive.rule.yaml +45 -0
- package/rules/java/java.correctness.sync-on-get-class.rule.yaml +42 -0
- package/rules/java/java.correctness.sync-on-lock-primitive.rule.yaml +45 -0
- package/rules/java/java.correctness.sync-on-mutable-ref.rule.yaml +42 -0
- package/rules/java/java.correctness.sync-on-nullable-field.rule.yaml +42 -0
- package/rules/java/java.correctness.sync-on-public-field.rule.yaml +42 -0
- package/rules/java/java.correctness.sync-on-string-literal.rule.yaml +2 -0
- package/rules/java/java.correctness.system-exit.rule.yaml +43 -0
- package/rules/java/java.correctness.thread-sleep-with-lock.rule.yaml +45 -0
- package/rules/java/java.correctness.thread-static-misuse.rule.yaml +42 -0
- package/rules/java/java.correctness.threadgroup-deprecated-methods.rule.yaml +43 -0
- package/rules/java/java.correctness.throw-null.rule.yaml +42 -0
- package/rules/java/java.correctness.timezone-invalid-id.rule.yaml +42 -0
- package/rules/java/java.correctness.two-lock-wait.rule.yaml +45 -0
- package/rules/java/java.correctness.unconditional-recursion.rule.yaml +42 -0
- package/rules/java/java.correctness.unescaped-whitespace.rule.yaml +42 -0
- package/rules/java/java.correctness.unimplementable-interface.rule.yaml +42 -0
- package/rules/java/java.correctness.unsafe-collection-downcast.rule.yaml +42 -0
- package/rules/java/java.correctness.unsafe-getresource.rule.yaml +45 -0
- package/rules/java/java.correctness.unsupported-jdk-api.rule.yaml +46 -0
- package/rules/java/java.correctness.unsupported-method-call.rule.yaml +42 -0
- package/rules/java/java.correctness.unsync-static-lazy-init.rule.yaml +42 -0
- package/rules/java/java.correctness.unsynchronized-wait-notify.rule.yaml +45 -0
- package/rules/java/java.correctness.unterminated-assertion-chain.rule.yaml +39 -0
- package/rules/java/java.correctness.volatile-array-elements.rule.yaml +45 -0
- package/rules/java/java.correctness.volatile-increment-non-atomic.rule.yaml +45 -0
- package/rules/java/java.correctness.wait-notify-on-thread.rule.yaml +45 -0
- package/rules/java/java.correctness.wait-on-condition.rule.yaml +45 -0
- package/rules/java/java.correctness.week-year-in-date-pattern.rule.yaml +44 -0
- package/rules/java/java.correctness.zoneid-invalid-timezone.rule.yaml +42 -0
- package/rules/java/java.doc.empty-javadoc-tag.rule.yaml +41 -0
- package/rules/java/java.doc.malformed-javadoc-comment.rule.yaml +41 -0
- package/rules/java/java.doc.parameter-tag-no-description.rule.yaml +41 -0
- package/rules/java/java.doc.unmatched-parameter-tag.rule.yaml +41 -0
- package/rules/java/java.performance.boxed-boolean-constructor.rule.yaml +43 -0
- package/rules/java/java.performance.boxed-double-constructor.rule.yaml +43 -0
- package/rules/java/java.performance.boxed-integer-constructor.rule.yaml +43 -0
- package/rules/java/java.performance.empty-string-constructor.rule.yaml +44 -0
- package/rules/java/java.performance.expensive-method-on-ui-thread.rule.yaml +50 -0
- package/rules/java/java.performance.explicit-gc.rule.yaml +43 -0
- package/rules/java/java.performance.inefficient-string-constructor.rule.yaml +44 -0
- package/rules/java/java.performance.keyset-instead-of-entryset.rule.yaml +49 -0
- package/rules/java/java.performance.non-zero-to-array.rule.yaml +49 -0
- package/rules/java/java.performance.pattern-compile-in-loop.rule.yaml +49 -0
- package/rules/java/java.performance.removeall-to-clear.rule.yaml +49 -0
- package/rules/java/java.performance.replaceall-instead-of-replace.rule.yaml +49 -0
- package/rules/java/java.performance.single-char-string-indexof.rule.yaml +49 -0
- package/rules/java/java.performance.string-concat-in-loop.rule.yaml +49 -0
- package/rules/java/java.performance.string-to-string.rule.yaml +43 -0
- package/rules/java/java.performance.thread-as-runnable.rule.yaml +44 -0
- package/rules/java/java.performance.url-in-collection.rule.yaml +44 -0
- package/rules/java/java.quality.c-style-array-declaration.rule.yaml +41 -0
- package/rules/java/java.quality.multiple-variables-same-line.rule.yaml +41 -0
- package/rules/java/java.quality.type-name-uppercase.rule.yaml +41 -0
- package/rules/java/java.testing.setup-teardown-annotation.rule.yaml +36 -0
- package/rules/java/java.testing.setup-without-super.rule.yaml +43 -0
- package/rules/java/java.testing.teardown-without-super.rule.yaml +43 -0
- package/rules/java/java.testing.wrong-assertion-argument-order.rule.yaml +43 -0
- package/rules/php/php.correctness.abstract-method-outside-abstract-class.rule.yaml +3 -0
- package/rules/php/php.correctness.abstract-method-with-body.rule.yaml +38 -0
- package/rules/php/php.correctness.assign-to-non-lvalue.rule.yaml +38 -0
- package/rules/php/php.correctness.attribute-on-class-constant.rule.yaml +38 -0
- package/rules/php/php.correctness.attribute-on-closure.rule.yaml +38 -0
- package/rules/php/php.correctness.attribute-on-function.rule.yaml +38 -0
- package/rules/php/php.correctness.attribute-on-property.rule.yaml +40 -0
- package/rules/php/php.correctness.break-continue-outside-loop.rule.yaml +2 -0
- package/rules/php/php.correctness.case-insensitive-define.rule.yaml +2 -0
- package/rules/php/php.correctness.class-implements-non-interface.rule.yaml +38 -0
- package/rules/php/php.correctness.default-parameter-not-last.rule.yaml +2 -0
- package/rules/php/php.correctness.deprecated-filter-constant.rule.yaml +2 -0
- package/rules/php/php.correctness.deprecated-libxml-entity-loader.rule.yaml +2 -0
- package/rules/php/php.correctness.deprecated-unset-cast.rule.yaml +2 -0
- package/rules/php/php.correctness.duplicate-array-key.rule.yaml +2 -0
- package/rules/php/php.correctness.duplicate-declaration.rule.yaml +2 -0
- package/rules/php/php.correctness.duplicate-union-type.rule.yaml +38 -0
- package/rules/php/php.correctness.echo-invalid-value.rule.yaml +38 -0
- package/rules/php/php.correctness.empty-array-literal-slot.rule.yaml +2 -0
- package/rules/php/php.correctness.empty-bracket-array-access.rule.yaml +2 -0
- package/rules/php/php.correctness.empty-code-block.rule.yaml +2 -0
- package/rules/php/php.correctness.empty-function-body.rule.yaml +2 -0
- package/rules/php/php.correctness.error-suppression-operator.rule.yaml +2 -0
- package/rules/php/php.correctness.function-comparison.rule.yaml +2 -0
- package/rules/php/php.correctness.inaccessible-property.rule.yaml +49 -0
- package/rules/php/php.correctness.incomplete-arrow-function.rule.yaml +38 -0
- package/rules/php/php.correctness.inconsistent-printf-params.rule.yaml +50 -0
- package/rules/php/php.correctness.instanceof-invalid-type.rule.yaml +40 -0
- package/rules/php/php.correctness.instantiate-abstract-class.rule.yaml +38 -0
- package/rules/php/php.correctness.interface-extends-non-interface.rule.yaml +38 -0
- package/rules/php/php.correctness.interface-implements-keyword.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-arrow-function-typehint.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-attribute-class.rule.yaml +49 -0
- package/rules/php/php.correctness.invalid-closure-return-typehint.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-constructor-promotion.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-cookie-options.rule.yaml +2 -0
- package/rules/php/php.correctness.invalid-dynamic-constant-fetch.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-extends-target.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-increment-operand.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-isset-argument.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-return-typehint.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-static-method.rule.yaml +40 -0
- package/rules/php/php.correctness.invalid-string-interpolation-type.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-type-cast.rule.yaml +38 -0
- package/rules/php/php.correctness.invalid-use-keyword.rule.yaml +48 -0
- package/rules/php/php.correctness.missing-member-visibility.rule.yaml +2 -0
- package/rules/php/php.correctness.missing-return-statement.rule.yaml +38 -0
- package/rules/php/php.correctness.named-arg-before-positional.rule.yaml +38 -0
- package/rules/php/php.correctness.nested-function-declaration.rule.yaml +2 -0
- package/rules/php/php.correctness.nested-switch.rule.yaml +2 -0
- package/rules/php/php.correctness.nullable-mixed-type.rule.yaml +38 -0
- package/rules/php/php.correctness.nullsafe-returned-by-reference.rule.yaml +3 -0
- package/rules/php/php.correctness.print-invalid-value.rule.yaml +38 -0
- package/rules/php/php.correctness.psr-class-constant-naming.rule.yaml +38 -0
- package/rules/php/php.correctness.psr-method-camel-case.rule.yaml +38 -0
- package/rules/php/php.correctness.redundant-final-method.rule.yaml +38 -0
- package/rules/php/php.correctness.redundant-string-cast-concat.rule.yaml +2 -0
- package/rules/php/php.correctness.self-assignment.rule.yaml +2 -0
- package/rules/php/php.correctness.switch-multiple-default.rule.yaml +2 -0
- package/rules/php/php.correctness.throw-as-expression.rule.yaml +38 -0
- package/rules/php/php.correctness.throw-non-exception.rule.yaml +38 -0
- package/rules/php/php.correctness.trait-as-attribute.rule.yaml +38 -0
- package/rules/php/php.correctness.trait-class-constant.rule.yaml +38 -0
- package/rules/php/php.correctness.undefined-constant-reference.rule.yaml +38 -0
- package/rules/php/php.correctness.undefined-function.rule.yaml +40 -0
- package/rules/php/php.correctness.undefined-method.rule.yaml +40 -0
- package/rules/php/php.correctness.undefined-property.rule.yaml +51 -0
- package/rules/php/php.correctness.undefined-static-property.rule.yaml +41 -0
- package/rules/php/php.correctness.undefined-variable.rule.yaml +48 -0
- package/rules/php/php.correctness.uninitialized-typed-property.rule.yaml +38 -0
- package/rules/php/php.correctness.unknown-magic-method.rule.yaml +2 -0
- package/rules/php/php.correctness.unreachable-after-return.rule.yaml +2 -0
- package/rules/php/php.correctness.unused-closure-use-variable.rule.yaml +38 -0
- package/rules/php/php.correctness.unused-constructor-parameter.rule.yaml +38 -0
- package/rules/php/php.correctness.unused-import.rule.yaml +38 -0
- package/rules/php/php.correctness.useless-post-increment.rule.yaml +2 -0
- package/rules/php/php.correctness.useless-unset.rule.yaml +2 -0
- package/rules/php/php.correctness.void-match-arm.rule.yaml +38 -0
- package/rules/php/php.performance.expensive-loop-condition.rule.yaml +2 -0
- package/rules/php/php.security.debug-function-exposure.rule.yaml +2 -0
- package/rules/php/php.security.insecure-session-id-generation.rule.yaml +2 -0
- package/rules/php/php.security.insecure-session-or-cookie-config.rule.yaml +3 -0
- package/rules/php/php.security.no-dynamic-eval.rule.yaml +2 -0
- package/rules/php/php.security.unsafe-include-with-user-input.rule.yaml +2 -0
- package/rules/php/php.security.unsafe-new-static.rule.yaml +2 -0
- package/rules/php/php.security.weak-cipher.rule.yaml +2 -0
- package/rules/php/php.security.xml-external-entity.rule.yaml +2 -0
- package/rules/python/py.correctness.assert-outside-test.rule.yaml +49 -0
- package/rules/python/py.correctness.global-statement.rule.yaml +51 -0
- package/rules/python/py.correctness.redefined-builtin.rule.yaml +51 -0
- package/rules/python/py.correctness.super-with-arguments.rule.yaml +51 -0
- package/rules/python/py.correctness.unnecessary-comprehension.rule.yaml +51 -0
- package/rules/python/py.correctness.useless-return.rule.yaml +51 -0
- package/rules/python/py.security.command-execution-with-request-input.rule.yaml +56 -0
- package/rules/python/py.security.ftp-usage.rule.yaml +51 -0
- package/rules/python/py.security.hardcoded-credentials.rule.yaml +51 -0
- package/rules/python/py.security.hardcoded-temp-directory.rule.yaml +51 -0
- package/rules/python/py.security.insecure-cipher-mode.rule.yaml +51 -0
- package/rules/python/py.security.insecure-cipher.rule.yaml +51 -0
- package/rules/python/py.security.insecure-crypto-import.rule.yaml +51 -0
- package/rules/python/py.security.insecure-http-transport.rule.yaml +56 -0
- package/rules/python/py.security.insecure-ssl-version.rule.yaml +53 -0
- package/rules/python/py.security.insecure-urllib-method.rule.yaml +51 -0
- package/rules/python/py.security.insecure-xml-parser.rule.yaml +53 -0
- package/rules/python/py.security.mako-insecure-templates.rule.yaml +53 -0
- package/rules/python/py.security.path-traversal-user-input.rule.yaml +51 -0
- package/rules/python/py.security.request-path-file-read.rule.yaml +56 -0
- package/rules/python/py.security.sensitive-logging.rule.yaml +51 -0
- package/rules/python/py.security.sql-interpolation.rule.yaml +56 -0
- package/rules/python/py.security.ssh-host-key-validation.rule.yaml +53 -0
- package/rules/python/py.security.telnet-usage.rule.yaml +51 -0
- package/rules/python/py.security.tls-verification-disabled.rule.yaml +56 -0
- package/rules/python/py.security.unsafe-deserialization.rule.yaml +56 -0
- package/rules/python/py.security.weak-crypto-key.rule.yaml +51 -0
- package/rules/python/py.security.weak-hash-algorithm.rule.yaml +57 -0
- package/rules/python/py.security.wildcard-subprocess-injection.rule.yaml +53 -0
- package/rules/python/py.security.xmlrpc-import.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.action-mailer-base-subclass.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.active-job-base-subclass.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.active-record-alias.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.active-record-base-subclass.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.active-record-method-override.rule.yaml +55 -0
- package/rules/ruby/ruby.bug-risk.active-support-alias.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.all-each-to-find-each.rule.yaml +55 -0
- package/rules/ruby/ruby.bug-risk.allow-blank-with-delegate.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.alter-queries-combine.rule.yaml +54 -0
- package/rules/ruby/ruby.bug-risk.ambiguous-block-association.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.ambiguous-operator-argument.rule.yaml +48 -0
- package/rules/ruby/ruby.bug-risk.ambiguous-regexp-literal.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.argument-overwritten-before-use.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.assert-not-usage.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.bad-date-usage.rule.yaml +55 -0
- package/rules/ruby/ruby.bug-risk.bad-magic-comment-order.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.bad-operand-order.rule.yaml +46 -0
- package/rules/ruby/ruby.bug-risk.bad-rescue-ordering.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.branches-without-body.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.callback-order.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.callback-override.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.circular-argument-reference.rule.yaml +44 -0
- package/rules/ruby/ruby.bug-risk.class-name-should-be-string.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.console-output-instead-of-logger.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.constant-in-block.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.controller-base-subclass.rule.yaml +54 -0
- package/rules/ruby/ruby.bug-risk.dependent-option-cascade.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.deprecated-belongs-to-required.rule.yaml +54 -0
- package/rules/ruby/ruby.bug-risk.deprecated-big-decimal-new.rule.yaml +44 -0
- package/rules/ruby/ruby.bug-risk.deprecated-class-methods.rule.yaml +45 -0
- package/rules/ruby/ruby.bug-risk.deprecated-filter-methods.rule.yaml +54 -0
- package/rules/ruby/ruby.bug-risk.deprecated-find-by-dynamic.rule.yaml +55 -0
- package/rules/ruby/ruby.bug-risk.deprecated-http-status-symbols.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.deprecated-openssl-api.rule.yaml +42 -0
- package/rules/ruby/ruby.bug-risk.deprecated-uri-regexp.rule.yaml +42 -0
- package/rules/ruby/ruby.bug-risk.disjunctive-assignment-in-constructor.rule.yaml +46 -0
- package/rules/ruby/ruby.bug-risk.duplicate-case-conditions.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.duplicate-constant-assignment.rule.yaml +47 -0
- package/rules/ruby/ruby.bug-risk.duplicate-elsif-block.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.duplicate-method-definitions.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.each-with-object-immutable-arg.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.else-followed-by-expression.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.else-without-rescue.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.empty-ensure-block.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.empty-expression.rule.yaml +48 -0
- package/rules/ruby/ruby.bug-risk.empty-interpolation.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.end-in-method.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.enum-array-syntax.rule.yaml +54 -0
- package/rules/ruby/ruby.bug-risk.enum-duplicate-values.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.equal-instead-of-equal.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.error-inherits-exception.rule.yaml +42 -0
- package/rules/ruby/ruby.bug-risk.exit-in-app-code.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.flip-flop-operator.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.git-in-gemspec.rule.yaml +48 -0
- package/rules/ruby/ruby.bug-risk.grouped-parentheses-in-call.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.has-and-belongs-to-many.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.helper-instance-variables.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.heredoc-method-order.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.http-methods-without-params.rule.yaml +54 -0
- package/rules/ruby/ruby.bug-risk.identical-binary-operands.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.ignored-column-accessed.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.inconsistent-request-referrer.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.inconsistent-safe-navigation-try.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.inconsistent-safe-navigation.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.incorrect-pluralization.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.ineffective-access-modifier.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.interpolation-in-single-quote.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.invalid-integer-times.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.invalid-percent-string-literal.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.invalid-percent-symbol-array.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.invalid-rails-env-predicate.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.invalid-rescue-type.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.io-select-single-arg.rule.yaml +48 -0
- package/rules/ruby/ruby.bug-risk.irreversible-migration.rule.yaml +57 -0
- package/rules/ruby/ruby.bug-risk.missing-inverse-of.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.mixed-regex-captures.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.multiple-rescues-for-same-exception.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.non-local-exit-from-iterator.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.non-null-column-without-default.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.non-preferred-assert-falseness.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.old-style-validation-macro.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.outer-variable-shadowed.rule.yaml +47 -0
- package/rules/ruby/ruby.bug-risk.plain-method-instead-of-proc.rule.yaml +48 -0
- package/rules/ruby/ruby.bug-risk.predicate-method-without-parentheses.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.rails-env-equality.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.rails-root-join.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.rake-task-missing-environment.rule.yaml +46 -0
- package/rules/ruby/ruby.bug-risk.redundant-allow-nil.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.redundant-foreign-key.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.redundant-with-options-receiver.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.regex-literal-in-condition.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.relative-date-as-constant.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.renamed-column-accessed.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.rescue-exception.rule.yaml +42 -0
- package/rules/ruby/ruby.bug-risk.return-in-ensure.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.routes-match-single-verb.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.safe-navigation-with-blank.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.safe-navigation-with-empty.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.self-assignment.rule.yaml +52 -0
- package/rules/ruby/ruby.bug-risk.skip-filter-conditional.rule.yaml +55 -0
- package/rules/ruby/ruby.bug-risk.suppressed-exceptions.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.symbol-boolean-name.rule.yaml +44 -0
- package/rules/ruby/ruby.bug-risk.table-without-timestamps.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.time-without-zone.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.to-json-without-argument.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.trailing-comma-attribute.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.undefined-action-filter.rule.yaml +53 -0
- package/rules/ruby/ruby.bug-risk.unintended-string-concatenation.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.unnecessary-require.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.unnecessary-splat.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.unqualified-constant.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.unreachable-code.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.unreachable-loop.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.unsafe-number-conversion.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.unsafe-safe-navigation-chain.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.unused-method-arguments.rule.yaml +51 -0
- package/rules/ruby/ruby.bug-risk.use-blank-simplify.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.use-delegate.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.use-presence-over-explicit-check.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.use-present-to-simplify-conditional.rule.yaml +48 -0
- package/rules/ruby/ruby.bug-risk.use-square-brackets-for-attributes.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.useless-access-modifier.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.useless-comparison.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.useless-setter-call.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.when-branch-without-body.rule.yaml +49 -0
- package/rules/ruby/ruby.bug-risk.where-first-over-find-by.rule.yaml +54 -0
- package/rules/ruby/ruby.bug-risk.with-index-value-unused.rule.yaml +50 -0
- package/rules/ruby/ruby.bug-risk.with-object-value-unused.rule.yaml +50 -0
- package/rules/ruby/ruby.performance.efficient-hash-search.rule.yaml +42 -0
- package/rules/ruby/ruby.performance.enumerable-index-by.rule.yaml +51 -0
- package/rules/ruby/ruby.performance.enumerable-index-with.rule.yaml +52 -0
- package/rules/ruby/ruby.performance.merge-single-key.rule.yaml +42 -0
- package/rules/ruby/ruby.performance.no-static-size-computation.rule.yaml +43 -0
- package/rules/ruby/ruby.performance.prefer-delete-prefix.rule.yaml +53 -0
- package/rules/ruby/ruby.performance.prefer-delete-suffix.rule.yaml +53 -0
- package/rules/ruby/ruby.performance.prefer-flat-map.rule.yaml +41 -0
- package/rules/ruby/ruby.performance.prefer-struct-over-openstruct.rule.yaml +42 -0
- package/rules/ruby/ruby.performance.range-cover-over-include.rule.yaml +43 -0
- package/rules/ruby/ruby.performance.regex-match-over-match.rule.yaml +42 -0
- package/rules/ruby/ruby.performance.yield-over-block-call.rule.yaml +41 -0
- package/rules/ruby/ruby.security.io-shell-command.rule.yaml +50 -0
- package/rules/ruby/ruby.security.rails-http-digest-auth.rule.yaml +51 -0
- package/rules/ruby/ruby.security.rails-render-inline.rule.yaml +55 -0
- package/rules/ruby/ruby.security.rails-skip-validation.rule.yaml +51 -0
- package/rules/rust/rust.correctness.empty-range-expression.rule.yaml +49 -0
- package/rules/rust/rust.correctness.erasing-operation.rule.yaml +49 -0
- package/rules/rust/rust.correctness.forget-drop-on-copy-type.rule.yaml +50 -0
- package/rules/rust/rust.correctness.forget-drop-on-non-drop-type.rule.yaml +50 -0
- package/rules/rust/rust.correctness.forget-drop-on-reference.rule.yaml +49 -0
- package/rules/rust/rust.correctness.hash-unit-value.rule.yaml +49 -0
- package/rules/rust/rust.correctness.identical-binary-operands.rule.yaml +49 -0
- package/rules/rust/rust.correctness.ignored-future-value.rule.yaml +53 -0
- package/rules/rust/rust.correctness.invalid-regex-literal.rule.yaml +49 -0
- package/rules/rust/rust.correctness.iter-next-in-for-loop.rule.yaml +49 -0
- package/rules/rust/rust.correctness.mistyped-suffix.rule.yaml +50 -0
- package/rules/rust/rust.correctness.nan-comparison.rule.yaml +49 -0
- package/rules/rust/rust.correctness.non-binding-let-on-lock.rule.yaml +50 -0
- package/rules/rust/rust.correctness.non-octal-permissions.rule.yaml +60 -0
- package/rules/rust/rust.correctness.print-in-display-impl.rule.yaml +48 -0
- package/rules/rust/rust.correctness.self-not-self-type.rule.yaml +49 -0
- package/rules/rust/rust.correctness.step-by-zero.rule.yaml +48 -0
- package/rules/rust/rust.correctness.syntax-error.rule.yaml +49 -0
- package/rules/rust/rust.correctness.transmute-float-char-to-ref-or-ptr.rule.yaml +48 -0
- package/rules/rust/rust.correctness.transmute-int-lit-to-raw-ptr.rule.yaml +48 -0
- package/rules/rust/rust.correctness.transmute-int-to-fn-ptr.rule.yaml +48 -0
- package/rules/rust/rust.correctness.transmute-integer-to-bool.rule.yaml +49 -0
- package/rules/rust/rust.correctness.transmute-integer-to-char.rule.yaml +48 -0
- package/rules/rust/rust.correctness.transmute-integer-to-nonzero.rule.yaml +48 -0
- package/rules/rust/rust.correctness.transmute-number-to-slice-or-array.rule.yaml +48 -0
- package/rules/rust/rust.correctness.transmute-ptr-to-ptr.rule.yaml +49 -0
- package/rules/rust/rust.correctness.transmute-ptr-to-ref.rule.yaml +49 -0
- package/rules/rust/rust.correctness.transmute-ref-to-ptr.rule.yaml +49 -0
- package/rules/rust/rust.correctness.transmute-t-to-ptr-ref.rule.yaml +49 -0
- package/rules/rust/rust.correctness.transmute-tuple-to-slice-or-array.rule.yaml +48 -0
- package/rules/rust/rust.correctness.unhandled-io-result.rule.yaml +49 -0
- package/rules/rust/rust.correctness.unit-argument.rule.yaml +50 -0
- package/rules/rust/rust.correctness.unit-comparison.rule.yaml +49 -0
- package/rules/rust/rust.performance.single-char-string-literal-pattern.rule.yaml +51 -0
- package/rules/rust/rust.quality.approximate-floating-constant.rule.yaml +51 -0
- package/rules/rust/rust.quality.builtin-type-shadow.rule.yaml +49 -0
- package/rules/rust/rust.quality.clone-on-double-reference.rule.yaml +50 -0
- package/rules/rust/rust.quality.crate-in-macro-definition.rule.yaml +50 -0
- package/rules/rust/rust.quality.deprecated-function-use.rule.yaml +52 -0
- package/rules/rust/rust.quality.env-string-literal.rule.yaml +50 -0
- package/rules/rust/rust.quality.explicit-self-assignment.rule.yaml +49 -0
- package/rules/rust/rust.quality.fn-ptr-null-comparison.rule.yaml +49 -0
- package/rules/rust/rust.quality.fn-ptr-to-non-pointer-cast.rule.yaml +50 -0
- package/rules/rust/rust.quality.inaccurate-duration-calculation.rule.yaml +50 -0
- package/rules/rust/rust.quality.isize-usize-overflow.rule.yaml +50 -0
- package/rules/rust/rust.quality.iter-count-instead-of-len.rule.yaml +49 -0
- package/rules/rust/rust.quality.iter-nth-instead-of-get.rule.yaml +50 -0
- package/rules/rust/rust.quality.map-followed-by-count.rule.yaml +50 -0
- package/rules/rust/rust.quality.non-owned-rc-pointer-into-vec.rule.yaml +50 -0
- package/rules/rust/rust.quality.non-utf8-literal-in-from-utf8-unchecked.rule.yaml +54 -0
- package/rules/rust/rust.quality.option-env-unwrap.rule.yaml +50 -0
- package/rules/rust/rust.quality.ordered-iteration-on-unordered.rule.yaml +52 -0
- package/rules/rust/rust.quality.possible-missing-comma-in-array.rule.yaml +49 -0
- package/rules/rust/rust.quality.potentially-incomplete-ascii-range.rule.yaml +49 -0
- package/rules/rust/rust.quality.redundant-mem-replace-with-default.rule.yaml +48 -0
- package/rules/rust/rust.quality.redundant-mem-replace-with-none.rule.yaml +48 -0
- package/rules/rust/rust.quality.redundant-mem-replace-with-zero.rule.yaml +48 -0
- package/rules/rust/rust.quality.replace-same-pattern-and-replacement.rule.yaml +49 -0
- package/rules/rust/rust.quality.size-of-val-on-reference.rule.yaml +49 -0
- package/rules/rust/rust.quality.unused-enumerate-or-zip-items.rule.yaml +50 -0
- package/rules/rust/rust.security.actix-namedfile-path-traversal.rule.yaml +61 -0
- package/rules/rust/rust.security.bind-all-interfaces.rule.yaml +2 -0
- package/rules/rust/rust.security.const-to-mut-ptr.rule.yaml +61 -0
- package/rules/rust/rust.security.differently-sized-slice-conversion.rule.yaml +61 -0
- package/rules/rust/rust.security.global-write-permission.rule.yaml +61 -0
- package/rules/rust/rust.security.insecure-temp-file.rule.yaml +2 -0
- package/rules/rust/rust.security.invisible-unicode.rule.yaml +60 -0
- package/rules/rust/rust.security.manual-error-type-id.rule.yaml +59 -0
- package/rules/rust/rust.security.missing-regex-anchor.rule.yaml +61 -0
- package/rules/rust/rust.security.misused-bitwise-xor.rule.yaml +54 -0
- package/rules/rust/rust.security.open-redirect.rule.yaml +64 -0
- package/rules/rust/rust.security.potentially-vulnerable-regex.rule.yaml +61 -0
- package/rules/rust/rust.security.raw-slice-to-ptr.rule.yaml +60 -0
- package/rules/rust/rust.security.unsafe-remove-dir-all.rule.yaml +62 -0
- package/rules/rust/rust.security.weak-crypto-import.rule.yaml +2 -0
- package/rules/rust/rust.security.weak-rsa-key-size.rule.yaml +2 -0
- package/rules/rust/rust.testing.ignore-without-ticket-reference.rule.yaml +13 -7
- package/rules/rust/rust.testing.thread-sleep-in-unit-test.rule.yaml +6 -6
- package/rules/shared/security.no-command-execution-with-request-input.rule.yaml +3 -0
- package/rules/shared/security.no-sensitive-data-in-logs-and-telemetry.rule.yaml +2 -0
- package/rules/shared/security.no-sql-interpolation.rule.yaml +2 -0
- package/rules/shared/security.permissive-file-permissions.rule.yaml +2 -0
- package/rules/shared/security.weak-hash-algorithm.rule.yaml +2 -0
- package/rules/sql/sql.correctness.undefined-reference.rule.yaml +37 -0
- package/rules/sql/sql.style.ambiguous-distinct.rule.yaml +37 -0
- package/rules/sql/sql.style.column-expression-without-alias.rule.yaml +37 -0
- package/rules/sql/sql.style.distinct-with-parenthesis.rule.yaml +37 -0
- package/rules/sql/sql.style.duplicate-table-aliases.rule.yaml +37 -0
- package/rules/sql/sql.style.implicit-column-alias.rule.yaml +37 -0
- package/rules/sql/sql.style.implicit-table-alias.rule.yaml +37 -0
- package/rules/sql/sql.style.inconsistent-capitalization.rule.yaml +37 -0
- package/rules/sql/sql.style.inconsistent-keyword-case.rule.yaml +37 -0
- package/rules/sql/sql.style.keyword-as-identifier.rule.yaml +37 -0
- package/rules/sql/sql.style.trailing-select-comma.rule.yaml +37 -0
- package/rules/sql/sql.style.unqualified-references.rule.yaml +37 -0
- package/rules/sql/sql.style.unused-table-alias.rule.yaml +37 -0
- package/rules/typescript/ts.angularjs.inject-function-assignments-only.rule.yaml +36 -0
- package/rules/typescript/ts.angularjs.no-controller.rule.yaml +36 -0
- package/rules/typescript/ts.angularjs.no-deprecated-cookie-store.rule.yaml +36 -0
- package/rules/typescript/ts.angularjs.no-deprecated-directive-replace.rule.yaml +36 -0
- package/rules/typescript/ts.angularjs.no-deprecated-http-success-error.rule.yaml +36 -0
- package/rules/typescript/ts.angularjs.no-jquery-wrapping-angular-element.rule.yaml +36 -0
- package/rules/typescript/ts.angularjs.prefer-angular-for-each.rule.yaml +36 -0
- package/rules/typescript/ts.angularjs.prefer-angular-is-string.rule.yaml +36 -0
- package/rules/typescript/ts.correctness.array-callback-missing-return.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.array-sort-without-compare.rule.yaml +5 -3
- package/rules/typescript/ts.correctness.assignment-in-condition.rule.yaml +4 -2
- package/rules/typescript/ts.correctness.assignment-to-exports.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.assignment-to-import-binding.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.async-promise-executor.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.blocking-call-in-async-flow.rule.yaml +14 -3
- package/rules/typescript/ts.correctness.callback-missing-error-handling.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.callback-not-error-first.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.compound-assignment-with-await.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.confusing-multiline-expression.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.constructor-return-value.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.control-flow-in-finally.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.declaration-in-nested-block.rule.yaml +39 -0
- package/rules/typescript/ts.correctness.delete-on-variable.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.deprecated-api-usage.rule.yaml +39 -0
- package/rules/typescript/ts.correctness.duplicate-class-member.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.duplicate-export.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.duplicate-function-parameter.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.duplicate-if-else-condition.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.duplicate-import-source.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.duplicate-object-key.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.duplicate-switch-case.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.empty-block-statement.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.empty-destructuring-pattern.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.extraneous-import.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.flawed-string-comparison.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.global-object-called-as-function.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.identical-comparison-operands.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.implicit-undefined-return.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.infinite-loop.rule.yaml +16 -7
- package/rules/typescript/ts.correctness.invalid-async-await-call.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.invalid-shebang.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.invalid-typeof-comparison.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.invalid-variable-usage.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.missing-async-on-promise-method.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.missing-super-call.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.missing-timeout-on-external-call.rule.yaml +13 -6
- package/rules/typescript/ts.correctness.missing-type-annotation.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.namespace-import-unexported-name.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.negative-zero-comparison.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.new-expression-with-require.rule.yaml +39 -0
- package/rules/typescript/ts.correctness.new-symbol-instance.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.no-confusing-label-in-switch.rule.yaml +39 -0
- package/rules/typescript/ts.correctness.no-href-with-nuxt-link.rule.yaml +39 -0
- package/rules/typescript/ts.correctness.no-ts-suppress-directive.rule.yaml +36 -0
- package/rules/typescript/ts.correctness.non-existent-assignment-operators.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.off-by-one-loop-boundary.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.parse-int-on-number-literal.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.prefer-as-const-over-literal-type.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.prefer-includes-over-indexof.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.prefer-nullish-coalescing.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.private-member-should-be-readonly.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.promise-reject-non-error.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.prototype-builtin-called-directly.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.reassign-catch-binding.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.reassign-class-member.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.reassign-const-binding.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.reassign-function-declaration.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.regexp-constructor-invalid-pattern.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.regexp-empty-character-class.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.regexp-multicodepoint-character-class.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.regexp-pattern-unusual-control-character.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.regexp-useless-backreference.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.require-outside-import.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.restricted-global-variable.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.restricted-object-property.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.self-assignment.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.setter-return-value.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.simplify-boolean-return.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.sparse-array-literal.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.switch-case-fallthrough.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.template-placeholder-in-string.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.this-before-super.rule.yaml +3 -0
- package/rules/typescript/ts.correctness.this-outside-class.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.undeclared-variable.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.unhandled-async-error.rule.yaml +7 -1
- package/rules/typescript/ts.correctness.unnecessary-return-await.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.unresolved-import.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.unsafe-negation-in-relational.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.unused-expression.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.unused-variable.rule.yaml +37 -0
- package/rules/typescript/ts.correctness.use-number-is-nan.rule.yaml +2 -0
- package/rules/typescript/ts.correctness.used-before-definition.rule.yaml +38 -0
- package/rules/typescript/ts.correctness.var-declaration.rule.yaml +38 -0
- package/rules/typescript/ts.next.no-document-import-outside-custom-document.rule.yaml +39 -0
- package/rules/typescript/ts.next.no-head-import-in-custom-document.rule.yaml +39 -0
- package/rules/typescript/ts.performance.no-await-in-loop.rule.yaml +6 -6
- package/rules/typescript/ts.performance.no-json-parse-stringify-clone.rule.yaml +8 -0
- package/rules/typescript/ts.performance.sequential-async-calls.rule.yaml +16 -7
- package/rules/typescript/ts.quality.no-banned-type.rule.yaml +36 -0
- package/rules/typescript/ts.quality.no-empty-function.rule.yaml +1 -1
- package/rules/typescript/ts.quality.no-side-effect-in-pure-callback.rule.yaml +36 -0
- package/rules/typescript/ts.quality.swallowed-error.rule.yaml +6 -3
- package/rules/typescript/ts.react.no-deprecated-is-mounted.rule.yaml +36 -0
- package/rules/typescript/ts.react.no-deprecated-react-dom-root-api.rule.yaml +24 -2
- package/rules/typescript/ts.react.no-direct-state-mutation.rule.yaml +2 -0
- package/rules/typescript/ts.react.no-duplicate-jsx-attributes.rule.yaml +2 -0
- package/rules/typescript/ts.react.no-hooks-rule-violation.rule.yaml +38 -0
- package/rules/typescript/ts.react.no-invalid-markup-characters.rule.yaml +36 -0
- package/rules/typescript/ts.react.no-lifecycle-method-typo.rule.yaml +36 -0
- package/rules/typescript/ts.react.no-render-invalid-return-type.rule.yaml +36 -0
- package/rules/typescript/ts.react.no-set-state-in-component-did-mount.rule.yaml +2 -0
- package/rules/typescript/ts.react.no-set-state-in-component-did-update.rule.yaml +2 -0
- package/rules/typescript/ts.react.no-set-state-in-component-will-update.rule.yaml +36 -0
- package/rules/typescript/ts.react.no-should-component-update.rule.yaml +36 -0
- package/rules/typescript/ts.react.no-target-blank-without-rel.rule.yaml +2 -0
- package/rules/typescript/ts.react.no-this-state-in-set-state.rule.yaml +38 -0
- package/rules/typescript/ts.react.no-unnecessary-fragment.rule.yaml +36 -0
- package/rules/typescript/ts.runtime.no-process-exit.rule.yaml +3 -0
- package/rules/typescript/ts.runtime.process-exit-control-flow.rule.yaml +46 -0
- package/rules/typescript/ts.security.dangerous-insert-html.rule.yaml +5 -0
- package/rules/typescript/ts.security.express-insecure-listen.rule.yaml +52 -0
- package/rules/typescript/ts.security.express-nosql-injection.rule.yaml +16 -11
- package/rules/typescript/ts.security.express-static-dotfiles-allow.rule.yaml +5 -0
- package/rules/typescript/ts.security.iframe-missing-sandbox-attribute.rule.yaml +18 -6
- package/rules/typescript/ts.security.import-using-user-input.rule.yaml +62 -10
- package/rules/typescript/ts.security.insecure-auth-cookie-flags.rule.yaml +12 -4
- package/rules/typescript/ts.security.missing-request-timeout-or-retry.rule.yaml +8 -6
- package/rules/typescript/ts.security.no-assign-mutable-export.rule.yaml +2 -0
- package/rules/typescript/ts.security.no-dynamic-execution.rule.yaml +3 -3
- package/rules/typescript/ts.security.no-javascript-url.rule.yaml +42 -8
- package/rules/typescript/ts.security.no-native-prototype-extension.rule.yaml +13 -1
- package/rules/typescript/ts.security.non-literal-fs-filename.rule.yaml +13 -1
- package/rules/typescript/ts.security.observable-timing-discrepancy.rule.yaml +3 -3
- package/rules/typescript/ts.security.open-redirect.rule.yaml +6 -0
- package/rules/typescript/ts.security.path-join-user-input.rule.yaml +50 -0
- package/rules/typescript/ts.security.sensitive-data-written-to-file.rule.yaml +16 -6
- package/rules/typescript/ts.security.ssrf.rule.yaml +1 -0
- package/rules/typescript/ts.security.unsafe-dirname-path-concat.rule.yaml +3 -0
- package/rules/typescript/ts.security.unsanitized-http-response.rule.yaml +14 -3
- package/rules/typescript/ts.security.user-controlled-regexp.rule.yaml +52 -0
- package/rules/typescript/ts.testing.no-flaky-timer-test.rule.yaml +7 -7
- package/rules/typescript/ts.testing.no-legacy-test-waiter.rule.yaml +36 -0
- package/rules/typescript/ts.testing.no-network-call-in-unit-test.rule.yaml +7 -1
- package/rules/typescript/ts.testing.no-skipped-test-without-ticket.rule.yaml +3 -3
- package/rules/typescript/ts.testing.useless-assertion.rule.yaml +37 -0
- package/rules/typescript/ts.vue.emits-validator-return-boolean.rule.yaml +36 -0
- package/rules/typescript/ts.vue.no-browser-globals-in-created.rule.yaml +39 -0
- package/rules/typescript/ts.vue.no-computed-missing-dependency.rule.yaml +36 -0
- package/rules/typescript/ts.vue.no-computed-mutation.rule.yaml +36 -0
- package/rules/typescript/ts.vue.no-data-object-declaration.rule.yaml +36 -0
- package/rules/typescript/ts.vue.no-deprecated-keycodes-config.rule.yaml +36 -0
- package/rules/typescript/ts.vue.no-deprecated-listeners.rule.yaml +36 -0
- package/rules/typescript/ts.vue.no-deprecated-model-option.rule.yaml +36 -0
- package/rules/typescript/ts.vue.no-deprecated-scoped-slots.rule.yaml +36 -0
- package/rules/typescript/ts.vue.no-keycode-modifiers.rule.yaml +36 -0
- package/rules/typescript/ts.vue.no-reserved-key-overwrite.rule.yaml +36 -0
- package/rules/typescript/ts.vue.no-server-env-in-client-hooks.rule.yaml +39 -0
- package/rules/typescript/ts.vue.no-slot-property-access.rule.yaml +36 -0
- package/rules/typescript/ts.vue.prefer-prop-type-constructor.rule.yaml +36 -0
- package/rules/typescript/ts.vue.require-transition-conditional.rule.yaml +36 -0
package/catalog.yaml
CHANGED
|
@@ -112,6 +112,16 @@ rules:
|
|
|
112
112
|
presets:
|
|
113
113
|
- recommended
|
|
114
114
|
- strict
|
|
115
|
+
- id: ts.correctness.this-outside-class
|
|
116
|
+
rulePath: ./rules/typescript/ts.correctness.this-outside-class.rule.yaml
|
|
117
|
+
presets:
|
|
118
|
+
- experimental
|
|
119
|
+
- strict
|
|
120
|
+
- id: ts.correctness.unused-expression
|
|
121
|
+
rulePath: ./rules/typescript/ts.correctness.unused-expression.rule.yaml
|
|
122
|
+
presets:
|
|
123
|
+
- experimental
|
|
124
|
+
- strict
|
|
115
125
|
- id: ts.correctness.unreachable-statement
|
|
116
126
|
rulePath: ./rules/typescript/ts.correctness.unreachable-statement.rule.yaml
|
|
117
127
|
presets:
|
|
@@ -132,6 +142,11 @@ rules:
|
|
|
132
142
|
presets:
|
|
133
143
|
- recommended
|
|
134
144
|
- strict
|
|
145
|
+
- id: ts.correctness.declaration-in-nested-block
|
|
146
|
+
rulePath: ./rules/typescript/ts.correctness.declaration-in-nested-block.rule.yaml
|
|
147
|
+
presets:
|
|
148
|
+
- recommended
|
|
149
|
+
- strict
|
|
135
150
|
- id: ts.correctness.duplicate-function-parameter
|
|
136
151
|
rulePath: ./rules/typescript/ts.correctness.duplicate-function-parameter.rule.yaml
|
|
137
152
|
presets:
|
|
@@ -187,6 +202,16 @@ rules:
|
|
|
187
202
|
presets:
|
|
188
203
|
- recommended
|
|
189
204
|
- strict
|
|
205
|
+
- id: ts.correctness.no-confusing-label-in-switch
|
|
206
|
+
rulePath: ./rules/typescript/ts.correctness.no-confusing-label-in-switch.rule.yaml
|
|
207
|
+
presets:
|
|
208
|
+
- recommended
|
|
209
|
+
- strict
|
|
210
|
+
- id: ts.correctness.no-href-with-nuxt-link
|
|
211
|
+
rulePath: ./rules/typescript/ts.correctness.no-href-with-nuxt-link.rule.yaml
|
|
212
|
+
presets:
|
|
213
|
+
- recommended
|
|
214
|
+
- strict
|
|
190
215
|
- id: ts.correctness.assignment-to-import-binding
|
|
191
216
|
rulePath: ./rules/typescript/ts.correctness.assignment-to-import-binding.rule.yaml
|
|
192
217
|
presets:
|
|
@@ -197,6 +222,16 @@ rules:
|
|
|
197
222
|
presets:
|
|
198
223
|
- recommended
|
|
199
224
|
- strict
|
|
225
|
+
- id: ts.correctness.sparse-array-literal
|
|
226
|
+
rulePath: ./rules/typescript/ts.correctness.sparse-array-literal.rule.yaml
|
|
227
|
+
presets:
|
|
228
|
+
- recommended
|
|
229
|
+
- strict
|
|
230
|
+
- id: ts.correctness.global-object-called-as-function
|
|
231
|
+
rulePath: ./rules/typescript/ts.correctness.global-object-called-as-function.rule.yaml
|
|
232
|
+
presets:
|
|
233
|
+
- recommended
|
|
234
|
+
- strict
|
|
200
235
|
- id: ts.correctness.identical-comparison-operands
|
|
201
236
|
rulePath: ./rules/typescript/ts.correctness.identical-comparison-operands.rule.yaml
|
|
202
237
|
presets:
|
|
@@ -217,21 +252,346 @@ rules:
|
|
|
217
252
|
presets:
|
|
218
253
|
- recommended
|
|
219
254
|
- strict
|
|
255
|
+
- id: ts.correctness.prototype-builtin-called-directly
|
|
256
|
+
rulePath: ./rules/typescript/ts.correctness.prototype-builtin-called-directly.rule.yaml
|
|
257
|
+
presets:
|
|
258
|
+
- recommended
|
|
259
|
+
- strict
|
|
220
260
|
- id: ts.correctness.reassign-catch-binding
|
|
221
261
|
rulePath: ./rules/typescript/ts.correctness.reassign-catch-binding.rule.yaml
|
|
222
262
|
presets:
|
|
223
263
|
- recommended
|
|
224
264
|
- strict
|
|
265
|
+
- id: ts.correctness.reassign-function-declaration
|
|
266
|
+
rulePath: ./rules/typescript/ts.correctness.reassign-function-declaration.rule.yaml
|
|
267
|
+
presets:
|
|
268
|
+
- recommended
|
|
269
|
+
- strict
|
|
270
|
+
- id: ts.correctness.regexp-constructor-invalid-pattern
|
|
271
|
+
rulePath: ./rules/typescript/ts.correctness.regexp-constructor-invalid-pattern.rule.yaml
|
|
272
|
+
presets:
|
|
273
|
+
- recommended
|
|
274
|
+
- strict
|
|
275
|
+
- id: ts.correctness.regexp-empty-character-class
|
|
276
|
+
rulePath: ./rules/typescript/ts.correctness.regexp-empty-character-class.rule.yaml
|
|
277
|
+
presets:
|
|
278
|
+
- recommended
|
|
279
|
+
- strict
|
|
225
280
|
- id: ts.correctness.regexp-pattern-unusual-control-character
|
|
226
281
|
rulePath: ./rules/typescript/ts.correctness.regexp-pattern-unusual-control-character.rule.yaml
|
|
227
282
|
presets:
|
|
228
283
|
- recommended
|
|
229
284
|
- strict
|
|
285
|
+
- id: ts.correctness.unsafe-negation-in-relational
|
|
286
|
+
rulePath: ./rules/typescript/ts.correctness.unsafe-negation-in-relational.rule.yaml
|
|
287
|
+
presets:
|
|
288
|
+
- recommended
|
|
289
|
+
- strict
|
|
230
290
|
- id: ts.correctness.use-number-is-nan
|
|
231
291
|
rulePath: ./rules/typescript/ts.correctness.use-number-is-nan.rule.yaml
|
|
232
292
|
presets:
|
|
233
293
|
- recommended
|
|
234
294
|
- strict
|
|
295
|
+
- id: ts.correctness.confusing-multiline-expression
|
|
296
|
+
rulePath: ./rules/typescript/ts.correctness.confusing-multiline-expression.rule.yaml
|
|
297
|
+
presets:
|
|
298
|
+
- recommended
|
|
299
|
+
- strict
|
|
300
|
+
- id: ts.correctness.negative-zero-comparison
|
|
301
|
+
rulePath: ./rules/typescript/ts.correctness.negative-zero-comparison.rule.yaml
|
|
302
|
+
presets:
|
|
303
|
+
- recommended
|
|
304
|
+
- strict
|
|
305
|
+
- id: ts.correctness.regexp-multicodepoint-character-class
|
|
306
|
+
rulePath: ./rules/typescript/ts.correctness.regexp-multicodepoint-character-class.rule.yaml
|
|
307
|
+
presets:
|
|
308
|
+
- recommended
|
|
309
|
+
- strict
|
|
310
|
+
- id: ts.correctness.setter-return-value
|
|
311
|
+
rulePath: ./rules/typescript/ts.correctness.setter-return-value.rule.yaml
|
|
312
|
+
presets:
|
|
313
|
+
- recommended
|
|
314
|
+
- strict
|
|
315
|
+
- id: ts.correctness.simplify-boolean-return
|
|
316
|
+
rulePath: ./rules/typescript/ts.correctness.simplify-boolean-return.rule.yaml
|
|
317
|
+
presets:
|
|
318
|
+
- recommended
|
|
319
|
+
- strict
|
|
320
|
+
- id: ts.correctness.template-placeholder-in-string
|
|
321
|
+
rulePath: ./rules/typescript/ts.correctness.template-placeholder-in-string.rule.yaml
|
|
322
|
+
presets:
|
|
323
|
+
- recommended
|
|
324
|
+
- strict
|
|
325
|
+
- id: ts.correctness.regexp-useless-backreference
|
|
326
|
+
rulePath: ./rules/typescript/ts.correctness.regexp-useless-backreference.rule.yaml
|
|
327
|
+
presets:
|
|
328
|
+
- recommended
|
|
329
|
+
- strict
|
|
330
|
+
- id: ts.correctness.compound-assignment-with-await
|
|
331
|
+
rulePath: ./rules/typescript/ts.correctness.compound-assignment-with-await.rule.yaml
|
|
332
|
+
presets:
|
|
333
|
+
- recommended
|
|
334
|
+
- strict
|
|
335
|
+
- id: ts.correctness.invalid-variable-usage
|
|
336
|
+
rulePath: ./rules/typescript/ts.correctness.invalid-variable-usage.rule.yaml
|
|
337
|
+
presets:
|
|
338
|
+
- recommended
|
|
339
|
+
- strict
|
|
340
|
+
- id: ts.correctness.empty-destructuring-pattern
|
|
341
|
+
rulePath: ./rules/typescript/ts.correctness.empty-destructuring-pattern.rule.yaml
|
|
342
|
+
presets:
|
|
343
|
+
- recommended
|
|
344
|
+
- strict
|
|
345
|
+
- id: ts.correctness.switch-case-fallthrough
|
|
346
|
+
rulePath: ./rules/typescript/ts.correctness.switch-case-fallthrough.rule.yaml
|
|
347
|
+
presets:
|
|
348
|
+
- recommended
|
|
349
|
+
- strict
|
|
350
|
+
- id: ts.correctness.constructor-return-value
|
|
351
|
+
rulePath: ./rules/typescript/ts.correctness.constructor-return-value.rule.yaml
|
|
352
|
+
presets:
|
|
353
|
+
- recommended
|
|
354
|
+
- strict
|
|
355
|
+
- id: ts.correctness.restricted-object-property
|
|
356
|
+
rulePath: ./rules/typescript/ts.correctness.restricted-object-property.rule.yaml
|
|
357
|
+
presets:
|
|
358
|
+
- recommended
|
|
359
|
+
- strict
|
|
360
|
+
- id: ts.correctness.delete-on-variable
|
|
361
|
+
rulePath: ./rules/typescript/ts.correctness.delete-on-variable.rule.yaml
|
|
362
|
+
presets:
|
|
363
|
+
- recommended
|
|
364
|
+
- strict
|
|
365
|
+
- id: ts.correctness.restricted-global-variable
|
|
366
|
+
rulePath: ./rules/typescript/ts.correctness.restricted-global-variable.rule.yaml
|
|
367
|
+
presets:
|
|
368
|
+
- recommended
|
|
369
|
+
- strict
|
|
370
|
+
- id: ts.correctness.undeclared-variable
|
|
371
|
+
rulePath: ./rules/typescript/ts.correctness.undeclared-variable.rule.yaml
|
|
372
|
+
presets:
|
|
373
|
+
- recommended
|
|
374
|
+
- strict
|
|
375
|
+
- id: ts.correctness.unused-variable
|
|
376
|
+
rulePath: ./rules/typescript/ts.correctness.unused-variable.rule.yaml
|
|
377
|
+
presets:
|
|
378
|
+
- recommended
|
|
379
|
+
- strict
|
|
380
|
+
- id: ts.correctness.used-before-definition
|
|
381
|
+
rulePath: ./rules/typescript/ts.correctness.used-before-definition.rule.yaml
|
|
382
|
+
presets:
|
|
383
|
+
- recommended
|
|
384
|
+
- strict
|
|
385
|
+
- id: ts.correctness.reassign-class-member
|
|
386
|
+
rulePath: ./rules/typescript/ts.correctness.reassign-class-member.rule.yaml
|
|
387
|
+
presets:
|
|
388
|
+
- recommended
|
|
389
|
+
- strict
|
|
390
|
+
- id: ts.correctness.reassign-const-binding
|
|
391
|
+
rulePath: ./rules/typescript/ts.correctness.reassign-const-binding.rule.yaml
|
|
392
|
+
presets:
|
|
393
|
+
- recommended
|
|
394
|
+
- strict
|
|
395
|
+
- id: ts.correctness.duplicate-class-member
|
|
396
|
+
rulePath: ./rules/typescript/ts.correctness.duplicate-class-member.rule.yaml
|
|
397
|
+
presets:
|
|
398
|
+
- recommended
|
|
399
|
+
- strict
|
|
400
|
+
- id: ts.correctness.duplicate-export
|
|
401
|
+
rulePath: ./rules/typescript/ts.correctness.duplicate-export.rule.yaml
|
|
402
|
+
presets:
|
|
403
|
+
- strict
|
|
404
|
+
- id: ts.correctness.namespace-import-unexported-name
|
|
405
|
+
rulePath: ./rules/typescript/ts.correctness.namespace-import-unexported-name.rule.yaml
|
|
406
|
+
presets:
|
|
407
|
+
- strict
|
|
408
|
+
- id: ts.correctness.non-existent-assignment-operators
|
|
409
|
+
rulePath: ./rules/typescript/ts.correctness.non-existent-assignment-operators.rule.yaml
|
|
410
|
+
presets:
|
|
411
|
+
- recommended
|
|
412
|
+
- strict
|
|
413
|
+
- id: ts.correctness.unresolved-import
|
|
414
|
+
rulePath: ./rules/typescript/ts.correctness.unresolved-import.rule.yaml
|
|
415
|
+
presets:
|
|
416
|
+
- strict
|
|
417
|
+
- id: ts.correctness.new-symbol-instance
|
|
418
|
+
rulePath: ./rules/typescript/ts.correctness.new-symbol-instance.rule.yaml
|
|
419
|
+
presets:
|
|
420
|
+
- recommended
|
|
421
|
+
- strict
|
|
422
|
+
- id: ts.correctness.var-declaration
|
|
423
|
+
rulePath: ./rules/typescript/ts.correctness.var-declaration.rule.yaml
|
|
424
|
+
presets:
|
|
425
|
+
- strict
|
|
426
|
+
- id: ts.correctness.parse-int-on-number-literal
|
|
427
|
+
rulePath: ./rules/typescript/ts.correctness.parse-int-on-number-literal.rule.yaml
|
|
428
|
+
presets:
|
|
429
|
+
- recommended
|
|
430
|
+
- strict
|
|
431
|
+
- id: ts.correctness.assignment-to-exports
|
|
432
|
+
rulePath: ./rules/typescript/ts.correctness.assignment-to-exports.rule.yaml
|
|
433
|
+
presets:
|
|
434
|
+
- recommended
|
|
435
|
+
- strict
|
|
436
|
+
- id: ts.correctness.extraneous-import
|
|
437
|
+
rulePath: ./rules/typescript/ts.correctness.extraneous-import.rule.yaml
|
|
438
|
+
presets:
|
|
439
|
+
- recommended
|
|
440
|
+
- strict
|
|
441
|
+
- id: ts.correctness.flawed-string-comparison
|
|
442
|
+
rulePath: ./rules/typescript/ts.correctness.flawed-string-comparison.rule.yaml
|
|
443
|
+
presets:
|
|
444
|
+
- recommended
|
|
445
|
+
- strict
|
|
446
|
+
- id: ts.correctness.new-expression-with-require
|
|
447
|
+
rulePath: ./rules/typescript/ts.correctness.new-expression-with-require.rule.yaml
|
|
448
|
+
presets:
|
|
449
|
+
- recommended
|
|
450
|
+
- strict
|
|
451
|
+
- id: ts.correctness.callback-missing-error-handling
|
|
452
|
+
rulePath: ./rules/typescript/ts.correctness.callback-missing-error-handling.rule.yaml
|
|
453
|
+
presets:
|
|
454
|
+
- experimental
|
|
455
|
+
- id: ts.correctness.callback-not-error-first
|
|
456
|
+
rulePath: ./rules/typescript/ts.correctness.callback-not-error-first.rule.yaml
|
|
457
|
+
presets:
|
|
458
|
+
- experimental
|
|
459
|
+
- id: ts.correctness.invalid-shebang
|
|
460
|
+
rulePath: ./rules/typescript/ts.correctness.invalid-shebang.rule.yaml
|
|
461
|
+
presets:
|
|
462
|
+
- recommended
|
|
463
|
+
- strict
|
|
464
|
+
- id: ts.correctness.deprecated-api-usage
|
|
465
|
+
rulePath: ./rules/typescript/ts.correctness.deprecated-api-usage.rule.yaml
|
|
466
|
+
presets:
|
|
467
|
+
- strict
|
|
468
|
+
- id: ts.correctness.invalid-async-await-call
|
|
469
|
+
rulePath: ./rules/typescript/ts.correctness.invalid-async-await-call.rule.yaml
|
|
470
|
+
presets:
|
|
471
|
+
- recommended
|
|
472
|
+
- strict
|
|
473
|
+
- id: ts.correctness.no-ts-suppress-directive
|
|
474
|
+
rulePath: ./rules/typescript/ts.correctness.no-ts-suppress-directive.rule.yaml
|
|
475
|
+
presets:
|
|
476
|
+
- strict
|
|
477
|
+
- id: ts.correctness.missing-type-annotation
|
|
478
|
+
rulePath: ./rules/typescript/ts.correctness.missing-type-annotation.rule.yaml
|
|
479
|
+
presets:
|
|
480
|
+
- strict
|
|
481
|
+
- id: ts.correctness.prefer-as-const-over-literal-type
|
|
482
|
+
rulePath: ./rules/typescript/ts.correctness.prefer-as-const-over-literal-type.rule.yaml
|
|
483
|
+
presets:
|
|
484
|
+
- strict
|
|
485
|
+
- id: ts.correctness.prefer-includes-over-indexof
|
|
486
|
+
rulePath: ./rules/typescript/ts.correctness.prefer-includes-over-indexof.rule.yaml
|
|
487
|
+
presets:
|
|
488
|
+
- recommended
|
|
489
|
+
- strict
|
|
490
|
+
- id: ts.correctness.prefer-nullish-coalescing
|
|
491
|
+
rulePath: ./rules/typescript/ts.correctness.prefer-nullish-coalescing.rule.yaml
|
|
492
|
+
presets:
|
|
493
|
+
- strict
|
|
494
|
+
- id: ts.correctness.private-member-should-be-readonly
|
|
495
|
+
rulePath: ./rules/typescript/ts.correctness.private-member-should-be-readonly.rule.yaml
|
|
496
|
+
presets:
|
|
497
|
+
- recommended
|
|
498
|
+
- strict
|
|
499
|
+
- id: ts.correctness.require-outside-import
|
|
500
|
+
rulePath: ./rules/typescript/ts.correctness.require-outside-import.rule.yaml
|
|
501
|
+
presets:
|
|
502
|
+
- strict
|
|
503
|
+
- id: ts.angularjs.no-controller
|
|
504
|
+
rulePath: ./rules/typescript/ts.angularjs.no-controller.rule.yaml
|
|
505
|
+
presets:
|
|
506
|
+
- strict
|
|
507
|
+
- id: ts.angularjs.no-deprecated-cookie-store
|
|
508
|
+
rulePath: ./rules/typescript/ts.angularjs.no-deprecated-cookie-store.rule.yaml
|
|
509
|
+
presets:
|
|
510
|
+
- strict
|
|
511
|
+
- id: ts.angularjs.no-deprecated-directive-replace
|
|
512
|
+
rulePath: ./rules/typescript/ts.angularjs.no-deprecated-directive-replace.rule.yaml
|
|
513
|
+
presets:
|
|
514
|
+
- strict
|
|
515
|
+
- id: ts.angularjs.no-deprecated-http-success-error
|
|
516
|
+
rulePath: ./rules/typescript/ts.angularjs.no-deprecated-http-success-error.rule.yaml
|
|
517
|
+
presets:
|
|
518
|
+
- strict
|
|
519
|
+
- id: ts.angularjs.inject-function-assignments-only
|
|
520
|
+
rulePath: ./rules/typescript/ts.angularjs.inject-function-assignments-only.rule.yaml
|
|
521
|
+
presets:
|
|
522
|
+
- strict
|
|
523
|
+
- id: ts.angularjs.prefer-angular-for-each
|
|
524
|
+
rulePath: ./rules/typescript/ts.angularjs.prefer-angular-for-each.rule.yaml
|
|
525
|
+
presets:
|
|
526
|
+
- strict
|
|
527
|
+
- id: ts.angularjs.no-jquery-wrapping-angular-element
|
|
528
|
+
rulePath: ./rules/typescript/ts.angularjs.no-jquery-wrapping-angular-element.rule.yaml
|
|
529
|
+
presets:
|
|
530
|
+
- strict
|
|
531
|
+
- id: ts.angularjs.prefer-angular-is-string
|
|
532
|
+
rulePath: ./rules/typescript/ts.angularjs.prefer-angular-is-string.rule.yaml
|
|
533
|
+
presets:
|
|
534
|
+
- strict
|
|
535
|
+
- id: ts.vue.no-reserved-key-overwrite
|
|
536
|
+
rulePath: ./rules/typescript/ts.vue.no-reserved-key-overwrite.rule.yaml
|
|
537
|
+
presets:
|
|
538
|
+
- strict
|
|
539
|
+
- id: ts.vue.no-computed-mutation
|
|
540
|
+
rulePath: ./rules/typescript/ts.vue.no-computed-mutation.rule.yaml
|
|
541
|
+
presets:
|
|
542
|
+
- strict
|
|
543
|
+
- id: ts.vue.prefer-prop-type-constructor
|
|
544
|
+
rulePath: ./rules/typescript/ts.vue.prefer-prop-type-constructor.rule.yaml
|
|
545
|
+
presets:
|
|
546
|
+
- strict
|
|
547
|
+
- id: ts.vue.no-data-object-declaration
|
|
548
|
+
rulePath: ./rules/typescript/ts.vue.no-data-object-declaration.rule.yaml
|
|
549
|
+
presets:
|
|
550
|
+
- strict
|
|
551
|
+
- id: ts.vue.emits-validator-return-boolean
|
|
552
|
+
rulePath: ./rules/typescript/ts.vue.emits-validator-return-boolean.rule.yaml
|
|
553
|
+
presets:
|
|
554
|
+
- strict
|
|
555
|
+
- id: ts.vue.no-deprecated-keycodes-config
|
|
556
|
+
rulePath: ./rules/typescript/ts.vue.no-deprecated-keycodes-config.rule.yaml
|
|
557
|
+
presets:
|
|
558
|
+
- strict
|
|
559
|
+
- id: ts.vue.no-deprecated-listeners
|
|
560
|
+
rulePath: ./rules/typescript/ts.vue.no-deprecated-listeners.rule.yaml
|
|
561
|
+
presets:
|
|
562
|
+
- strict
|
|
563
|
+
- id: ts.vue.no-deprecated-model-option
|
|
564
|
+
rulePath: ./rules/typescript/ts.vue.no-deprecated-model-option.rule.yaml
|
|
565
|
+
presets:
|
|
566
|
+
- strict
|
|
567
|
+
- id: ts.vue.no-deprecated-scoped-slots
|
|
568
|
+
rulePath: ./rules/typescript/ts.vue.no-deprecated-scoped-slots.rule.yaml
|
|
569
|
+
presets:
|
|
570
|
+
- strict
|
|
571
|
+
- id: ts.vue.no-keycode-modifiers
|
|
572
|
+
rulePath: ./rules/typescript/ts.vue.no-keycode-modifiers.rule.yaml
|
|
573
|
+
presets:
|
|
574
|
+
- strict
|
|
575
|
+
- id: ts.vue.no-slot-property-access
|
|
576
|
+
rulePath: ./rules/typescript/ts.vue.no-slot-property-access.rule.yaml
|
|
577
|
+
presets:
|
|
578
|
+
- strict
|
|
579
|
+
- id: ts.vue.require-transition-conditional
|
|
580
|
+
rulePath: ./rules/typescript/ts.vue.require-transition-conditional.rule.yaml
|
|
581
|
+
presets:
|
|
582
|
+
- strict
|
|
583
|
+
- id: ts.vue.no-computed-missing-dependency
|
|
584
|
+
rulePath: ./rules/typescript/ts.vue.no-computed-missing-dependency.rule.yaml
|
|
585
|
+
presets:
|
|
586
|
+
- strict
|
|
587
|
+
- id: ts.vue.no-server-env-in-client-hooks
|
|
588
|
+
rulePath: ./rules/typescript/ts.vue.no-server-env-in-client-hooks.rule.yaml
|
|
589
|
+
presets:
|
|
590
|
+
- strict
|
|
591
|
+
- id: ts.vue.no-browser-globals-in-created
|
|
592
|
+
rulePath: ./rules/typescript/ts.vue.no-browser-globals-in-created.rule.yaml
|
|
593
|
+
presets:
|
|
594
|
+
- strict
|
|
235
595
|
- id: ts.quality.swallowed-error
|
|
236
596
|
rulePath: ./rules/typescript/ts.quality.swallowed-error.rule.yaml
|
|
237
597
|
presets:
|
|
@@ -322,6 +682,14 @@ rules:
|
|
|
322
682
|
presets:
|
|
323
683
|
- recommended
|
|
324
684
|
- strict
|
|
685
|
+
- id: ts.quality.no-banned-type
|
|
686
|
+
rulePath: ./rules/typescript/ts.quality.no-banned-type.rule.yaml
|
|
687
|
+
presets:
|
|
688
|
+
- strict
|
|
689
|
+
- id: ts.quality.no-side-effect-in-pure-callback
|
|
690
|
+
rulePath: ./rules/typescript/ts.quality.no-side-effect-in-pure-callback.rule.yaml
|
|
691
|
+
presets:
|
|
692
|
+
- strict
|
|
325
693
|
- id: ts.testing.no-focused-test
|
|
326
694
|
rulePath: ./rules/typescript/ts.testing.no-focused-test.rule.yaml
|
|
327
695
|
presets:
|
|
@@ -357,6 +725,16 @@ rules:
|
|
|
357
725
|
presets:
|
|
358
726
|
- recommended
|
|
359
727
|
- strict
|
|
728
|
+
- id: ts.testing.no-legacy-test-waiter
|
|
729
|
+
rulePath: ./rules/typescript/ts.testing.no-legacy-test-waiter.rule.yaml
|
|
730
|
+
presets:
|
|
731
|
+
- recommended
|
|
732
|
+
- strict
|
|
733
|
+
- id: ts.testing.useless-assertion
|
|
734
|
+
rulePath: ./rules/typescript/ts.testing.useless-assertion.rule.yaml
|
|
735
|
+
presets:
|
|
736
|
+
- recommended
|
|
737
|
+
- strict
|
|
360
738
|
- id: ts.config.no-process-env-outside-config
|
|
361
739
|
rulePath: ./rules/typescript/ts.config.no-process-env-outside-config.rule.yaml
|
|
362
740
|
presets:
|
|
@@ -476,80 +854,200 @@ rules:
|
|
|
476
854
|
rulePath: ./rules/go/go.performance.no-unbounded-concurrency.rule.yaml
|
|
477
855
|
presets:
|
|
478
856
|
- strict
|
|
479
|
-
- id:
|
|
480
|
-
rulePath: ./rules/
|
|
857
|
+
- id: go.performance.combine-append-calls
|
|
858
|
+
rulePath: ./rules/go/go.performance.combine-append-calls.rule.yaml
|
|
481
859
|
presets:
|
|
482
860
|
- strict
|
|
483
|
-
- id:
|
|
484
|
-
rulePath: ./rules/
|
|
861
|
+
- id: go.performance.avoid-large-param-copy
|
|
862
|
+
rulePath: ./rules/go/go.performance.avoid-large-param-copy.rule.yaml
|
|
485
863
|
presets:
|
|
486
864
|
- strict
|
|
487
|
-
- id:
|
|
488
|
-
rulePath: ./rules/
|
|
865
|
+
- id: go.performance.avoid-string-index-alloc
|
|
866
|
+
rulePath: ./rules/go/go.performance.avoid-string-index-alloc.rule.yaml
|
|
489
867
|
presets:
|
|
490
868
|
- strict
|
|
491
|
-
- id:
|
|
492
|
-
rulePath: ./rules/
|
|
869
|
+
- id: go.performance.avoid-large-range-copy
|
|
870
|
+
rulePath: ./rules/go/go.performance.avoid-large-range-copy.rule.yaml
|
|
493
871
|
presets:
|
|
494
872
|
- strict
|
|
495
|
-
- id:
|
|
496
|
-
rulePath: ./rules/
|
|
873
|
+
- id: go.performance.avoid-large-loop-copy
|
|
874
|
+
rulePath: ./rules/go/go.performance.avoid-large-loop-copy.rule.yaml
|
|
497
875
|
presets:
|
|
498
876
|
- strict
|
|
499
|
-
- id:
|
|
500
|
-
rulePath: ./rules/
|
|
877
|
+
- id: go.performance.reorder-operands
|
|
878
|
+
rulePath: ./rules/go/go.performance.reorder-operands.rule.yaml
|
|
501
879
|
presets:
|
|
502
880
|
- strict
|
|
503
|
-
- id:
|
|
504
|
-
rulePath: ./rules/
|
|
881
|
+
- id: go.performance.non-idiomatic-slice-zeroing
|
|
882
|
+
rulePath: ./rules/go/go.performance.non-idiomatic-slice-zeroing.rule.yaml
|
|
505
883
|
presets:
|
|
506
884
|
- strict
|
|
507
|
-
- id:
|
|
508
|
-
rulePath: ./rules/
|
|
885
|
+
- id: go.performance.utf8-decode-rune
|
|
886
|
+
rulePath: ./rules/go/go.performance.utf8-decode-rune.rule.yaml
|
|
509
887
|
presets:
|
|
510
888
|
- strict
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
rulePath: ./rules/php/php.security.unsafe-new-static.rule.yaml
|
|
889
|
+
- id: go.performance.fmt-fprint
|
|
890
|
+
rulePath: ./rules/go/go.performance.fmt-fprint.rule.yaml
|
|
514
891
|
presets:
|
|
515
892
|
- strict
|
|
516
|
-
- id:
|
|
517
|
-
rulePath: ./rules/
|
|
893
|
+
- id: go.performance.iowriter-write-string
|
|
894
|
+
rulePath: ./rules/go/go.performance.iowriter-write-string.rule.yaml
|
|
518
895
|
presets:
|
|
519
896
|
- strict
|
|
520
|
-
- id:
|
|
521
|
-
rulePath: ./rules/
|
|
897
|
+
- id: go.doc.malformed-deprecated-comment
|
|
898
|
+
rulePath: ./rules/go/go.doc.malformed-deprecated-comment.rule.yaml
|
|
522
899
|
presets:
|
|
523
900
|
- strict
|
|
524
|
-
- id:
|
|
525
|
-
rulePath: ./rules/
|
|
901
|
+
- id: go.bug-risk.poorly-formed-nilness-guards
|
|
902
|
+
rulePath: ./rules/go/go.bug-risk.poorly-formed-nilness-guards.rule.yaml
|
|
526
903
|
presets:
|
|
527
904
|
- strict
|
|
528
|
-
- id:
|
|
529
|
-
rulePath: ./rules/
|
|
905
|
+
- id: go.bug-risk.compound-assignment-misuse
|
|
906
|
+
rulePath: ./rules/go/go.bug-risk.compound-assignment-misuse.rule.yaml
|
|
530
907
|
presets:
|
|
531
908
|
- strict
|
|
532
|
-
- id:
|
|
533
|
-
rulePath: ./rules/
|
|
909
|
+
- id: java.performance.empty-string-constructor
|
|
910
|
+
rulePath: ./rules/java/java.performance.empty-string-constructor.rule.yaml
|
|
534
911
|
presets:
|
|
535
912
|
- strict
|
|
536
|
-
- id:
|
|
537
|
-
rulePath: ./rules/
|
|
913
|
+
- id: java.performance.inefficient-string-constructor
|
|
914
|
+
rulePath: ./rules/java/java.performance.inefficient-string-constructor.rule.yaml
|
|
538
915
|
presets:
|
|
539
916
|
- strict
|
|
540
|
-
- id:
|
|
541
|
-
rulePath: ./rules/
|
|
917
|
+
- id: java.performance.no-regex-construction-in-loop
|
|
918
|
+
rulePath: ./rules/java/java.performance.no-regex-construction-in-loop.rule.yaml
|
|
542
919
|
presets:
|
|
543
920
|
- strict
|
|
544
|
-
- id:
|
|
545
|
-
rulePath: ./rules/
|
|
921
|
+
- id: java.performance.no-sync-fs-in-request-path
|
|
922
|
+
rulePath: ./rules/java/java.performance.no-sync-fs-in-request-path.rule.yaml
|
|
546
923
|
presets:
|
|
547
924
|
- strict
|
|
548
|
-
- id:
|
|
549
|
-
rulePath: ./rules/
|
|
925
|
+
- id: java.performance.no-unbounded-concurrency
|
|
926
|
+
rulePath: ./rules/java/java.performance.no-unbounded-concurrency.rule.yaml
|
|
550
927
|
presets:
|
|
551
928
|
- strict
|
|
552
|
-
- id:
|
|
929
|
+
- id: java.performance.thread-as-runnable
|
|
930
|
+
rulePath: ./rules/java/java.performance.thread-as-runnable.rule.yaml
|
|
931
|
+
presets:
|
|
932
|
+
- strict
|
|
933
|
+
- id: java.performance.url-in-collection
|
|
934
|
+
rulePath: ./rules/java/java.performance.url-in-collection.rule.yaml
|
|
935
|
+
presets:
|
|
936
|
+
- strict
|
|
937
|
+
- id: java.performance.string-to-string
|
|
938
|
+
rulePath: ./rules/java/java.performance.string-to-string.rule.yaml
|
|
939
|
+
presets:
|
|
940
|
+
- strict
|
|
941
|
+
- id: java.performance.explicit-gc
|
|
942
|
+
rulePath: ./rules/java/java.performance.explicit-gc.rule.yaml
|
|
943
|
+
presets:
|
|
944
|
+
- strict
|
|
945
|
+
- id: java.performance.boxed-boolean-constructor
|
|
946
|
+
rulePath: ./rules/java/java.performance.boxed-boolean-constructor.rule.yaml
|
|
947
|
+
presets:
|
|
948
|
+
- strict
|
|
949
|
+
- id: java.performance.boxed-integer-constructor
|
|
950
|
+
rulePath: ./rules/java/java.performance.boxed-integer-constructor.rule.yaml
|
|
951
|
+
presets:
|
|
952
|
+
- strict
|
|
953
|
+
- id: java.performance.boxed-double-constructor
|
|
954
|
+
rulePath: ./rules/java/java.performance.boxed-double-constructor.rule.yaml
|
|
955
|
+
presets:
|
|
956
|
+
- strict
|
|
957
|
+
- id: java.performance.keyset-instead-of-entryset
|
|
958
|
+
rulePath: ./rules/java/java.performance.keyset-instead-of-entryset.rule.yaml
|
|
959
|
+
presets:
|
|
960
|
+
- strict
|
|
961
|
+
- id: java.performance.non-zero-to-array
|
|
962
|
+
rulePath: ./rules/java/java.performance.non-zero-to-array.rule.yaml
|
|
963
|
+
presets:
|
|
964
|
+
- strict
|
|
965
|
+
- id: java.performance.pattern-compile-in-loop
|
|
966
|
+
rulePath: ./rules/java/java.performance.pattern-compile-in-loop.rule.yaml
|
|
967
|
+
presets:
|
|
968
|
+
- strict
|
|
969
|
+
- id: java.performance.replaceall-instead-of-replace
|
|
970
|
+
rulePath: ./rules/java/java.performance.replaceall-instead-of-replace.rule.yaml
|
|
971
|
+
presets:
|
|
972
|
+
- strict
|
|
973
|
+
- id: java.performance.single-char-string-indexof
|
|
974
|
+
rulePath: ./rules/java/java.performance.single-char-string-indexof.rule.yaml
|
|
975
|
+
presets:
|
|
976
|
+
- strict
|
|
977
|
+
- id: java.performance.removeall-to-clear
|
|
978
|
+
rulePath: ./rules/java/java.performance.removeall-to-clear.rule.yaml
|
|
979
|
+
presets:
|
|
980
|
+
- strict
|
|
981
|
+
- id: java.performance.string-concat-in-loop
|
|
982
|
+
rulePath: ./rules/java/java.performance.string-concat-in-loop.rule.yaml
|
|
983
|
+
presets:
|
|
984
|
+
- strict
|
|
985
|
+
- id: java.performance.expensive-method-on-ui-thread
|
|
986
|
+
rulePath: ./rules/java/java.performance.expensive-method-on-ui-thread.rule.yaml
|
|
987
|
+
presets:
|
|
988
|
+
- strict
|
|
989
|
+
- id: php.correctness.duplicate-array-key
|
|
990
|
+
rulePath: ./rules/php/php.correctness.duplicate-array-key.rule.yaml
|
|
991
|
+
presets:
|
|
992
|
+
- strict
|
|
993
|
+
- id: php.correctness.error-suppression-operator
|
|
994
|
+
rulePath: ./rules/php/php.correctness.error-suppression-operator.rule.yaml
|
|
995
|
+
presets:
|
|
996
|
+
- strict
|
|
997
|
+
- id: php.correctness.nullsafe-returned-by-reference
|
|
998
|
+
rulePath: ./rules/php/php.correctness.nullsafe-returned-by-reference.rule.yaml
|
|
999
|
+
presets:
|
|
1000
|
+
- strict
|
|
1001
|
+
- id: php.correctness.switch-multiple-default
|
|
1002
|
+
rulePath: ./rules/php/php.correctness.switch-multiple-default.rule.yaml
|
|
1003
|
+
presets:
|
|
1004
|
+
- strict
|
|
1005
|
+
- id: php.correctness.unreachable-after-return
|
|
1006
|
+
rulePath: ./rules/php/php.correctness.unreachable-after-return.rule.yaml
|
|
1007
|
+
presets:
|
|
1008
|
+
- strict
|
|
1009
|
+
|
|
1010
|
+
- id: php.security.unsafe-new-static
|
|
1011
|
+
rulePath: ./rules/php/php.security.unsafe-new-static.rule.yaml
|
|
1012
|
+
presets:
|
|
1013
|
+
- strict
|
|
1014
|
+
- id: php.correctness.empty-array-literal-slot
|
|
1015
|
+
rulePath: ./rules/php/php.correctness.empty-array-literal-slot.rule.yaml
|
|
1016
|
+
presets:
|
|
1017
|
+
- strict
|
|
1018
|
+
- id: php.correctness.empty-bracket-array-access
|
|
1019
|
+
rulePath: ./rules/php/php.correctness.empty-bracket-array-access.rule.yaml
|
|
1020
|
+
presets:
|
|
1021
|
+
- strict
|
|
1022
|
+
- id: php.correctness.deprecated-unset-cast
|
|
1023
|
+
rulePath: ./rules/php/php.correctness.deprecated-unset-cast.rule.yaml
|
|
1024
|
+
presets:
|
|
1025
|
+
- strict
|
|
1026
|
+
- id: php.correctness.duplicate-declaration
|
|
1027
|
+
rulePath: ./rules/php/php.correctness.duplicate-declaration.rule.yaml
|
|
1028
|
+
presets:
|
|
1029
|
+
- strict
|
|
1030
|
+
- id: php.correctness.nested-function-declaration
|
|
1031
|
+
rulePath: ./rules/php/php.correctness.nested-function-declaration.rule.yaml
|
|
1032
|
+
presets:
|
|
1033
|
+
- strict
|
|
1034
|
+
- id: php.correctness.break-continue-outside-loop
|
|
1035
|
+
rulePath: ./rules/php/php.correctness.break-continue-outside-loop.rule.yaml
|
|
1036
|
+
presets:
|
|
1037
|
+
- strict
|
|
1038
|
+
- id: php.correctness.abstract-method-outside-abstract-class
|
|
1039
|
+
rulePath: ./rules/php/php.correctness.abstract-method-outside-abstract-class.rule.yaml
|
|
1040
|
+
presets:
|
|
1041
|
+
- strict
|
|
1042
|
+
- id: php.correctness.useless-unset
|
|
1043
|
+
rulePath: ./rules/php/php.correctness.useless-unset.rule.yaml
|
|
1044
|
+
presets:
|
|
1045
|
+
- strict
|
|
1046
|
+
- id: php.correctness.invalid-regex-literal
|
|
1047
|
+
rulePath: ./rules/php/php.correctness.invalid-regex-literal.rule.yaml
|
|
1048
|
+
presets:
|
|
1049
|
+
- strict
|
|
1050
|
+
- id: php.correctness.todo-fixme-marker
|
|
553
1051
|
rulePath: ./rules/php/php.correctness.todo-fixme-marker.rule.yaml
|
|
554
1052
|
presets:
|
|
555
1053
|
- strict
|
|
@@ -605,10 +1103,214 @@ rules:
|
|
|
605
1103
|
rulePath: ./rules/php/php.correctness.nested-switch.rule.yaml
|
|
606
1104
|
presets:
|
|
607
1105
|
- strict
|
|
1106
|
+
- id: php.correctness.psr-class-constant-naming
|
|
1107
|
+
rulePath: ./rules/php/php.correctness.psr-class-constant-naming.rule.yaml
|
|
1108
|
+
presets:
|
|
1109
|
+
- strict
|
|
1110
|
+
- id: php.correctness.psr-method-camel-case
|
|
1111
|
+
rulePath: ./rules/php/php.correctness.psr-method-camel-case.rule.yaml
|
|
1112
|
+
presets:
|
|
1113
|
+
- strict
|
|
1114
|
+
- id: php.correctness.trait-class-constant
|
|
1115
|
+
rulePath: ./rules/php/php.correctness.trait-class-constant.rule.yaml
|
|
1116
|
+
presets:
|
|
1117
|
+
- strict
|
|
1118
|
+
- id: php.correctness.abstract-method-with-body
|
|
1119
|
+
rulePath: ./rules/php/php.correctness.abstract-method-with-body.rule.yaml
|
|
1120
|
+
presets:
|
|
1121
|
+
- strict
|
|
1122
|
+
- id: php.correctness.invalid-increment-operand
|
|
1123
|
+
rulePath: ./rules/php/php.correctness.invalid-increment-operand.rule.yaml
|
|
1124
|
+
presets:
|
|
1125
|
+
- strict
|
|
1126
|
+
- id: php.correctness.duplicate-union-type
|
|
1127
|
+
rulePath: ./rules/php/php.correctness.duplicate-union-type.rule.yaml
|
|
1128
|
+
presets:
|
|
1129
|
+
- strict
|
|
1130
|
+
- id: php.correctness.nullable-mixed-type
|
|
1131
|
+
rulePath: ./rules/php/php.correctness.nullable-mixed-type.rule.yaml
|
|
1132
|
+
presets:
|
|
1133
|
+
- strict
|
|
1134
|
+
- id: php.correctness.attribute-on-class-constant
|
|
1135
|
+
rulePath: ./rules/php/php.correctness.attribute-on-class-constant.rule.yaml
|
|
1136
|
+
presets:
|
|
1137
|
+
- strict
|
|
1138
|
+
- id: php.correctness.invalid-dynamic-constant-fetch
|
|
1139
|
+
rulePath: ./rules/php/php.correctness.invalid-dynamic-constant-fetch.rule.yaml
|
|
1140
|
+
presets:
|
|
1141
|
+
- strict
|
|
1142
|
+
- id: php.correctness.class-implements-non-interface
|
|
1143
|
+
rulePath: ./rules/php/php.correctness.class-implements-non-interface.rule.yaml
|
|
1144
|
+
presets:
|
|
1145
|
+
- strict
|
|
1146
|
+
- id: php.correctness.interface-extends-non-interface
|
|
1147
|
+
rulePath: ./rules/php/php.correctness.interface-extends-non-interface.rule.yaml
|
|
1148
|
+
presets:
|
|
1149
|
+
- strict
|
|
1150
|
+
- id: php.correctness.invalid-extends-target
|
|
1151
|
+
rulePath: ./rules/php/php.correctness.invalid-extends-target.rule.yaml
|
|
1152
|
+
presets:
|
|
1153
|
+
- strict
|
|
1154
|
+
- id: php.correctness.instantiate-abstract-class
|
|
1155
|
+
rulePath: ./rules/php/php.correctness.instantiate-abstract-class.rule.yaml
|
|
1156
|
+
presets:
|
|
1157
|
+
- strict
|
|
1158
|
+
- id: php.correctness.instanceof-invalid-type
|
|
1159
|
+
rulePath: ./rules/php/php.correctness.instanceof-invalid-type.rule.yaml
|
|
1160
|
+
presets:
|
|
1161
|
+
- strict
|
|
1162
|
+
- id: php.correctness.invalid-constructor-promotion
|
|
1163
|
+
rulePath: ./rules/php/php.correctness.invalid-constructor-promotion.rule.yaml
|
|
1164
|
+
presets:
|
|
1165
|
+
- strict
|
|
1166
|
+
- id: php.correctness.trait-as-attribute
|
|
1167
|
+
rulePath: ./rules/php/php.correctness.trait-as-attribute.rule.yaml
|
|
1168
|
+
presets:
|
|
1169
|
+
- strict
|
|
1170
|
+
- id: php.correctness.throw-as-expression
|
|
1171
|
+
rulePath: ./rules/php/php.correctness.throw-as-expression.rule.yaml
|
|
1172
|
+
presets:
|
|
1173
|
+
- strict
|
|
1174
|
+
- id: php.correctness.incomplete-arrow-function
|
|
1175
|
+
rulePath: ./rules/php/php.correctness.incomplete-arrow-function.rule.yaml
|
|
1176
|
+
presets:
|
|
1177
|
+
- strict
|
|
1178
|
+
- id: php.correctness.inconsistent-printf-params
|
|
1179
|
+
rulePath: ./rules/php/php.correctness.inconsistent-printf-params.rule.yaml
|
|
1180
|
+
presets:
|
|
1181
|
+
- strict
|
|
1182
|
+
- id: php.correctness.attribute-on-closure
|
|
1183
|
+
rulePath: ./rules/php/php.correctness.attribute-on-closure.rule.yaml
|
|
1184
|
+
presets:
|
|
1185
|
+
- strict
|
|
1186
|
+
- id: php.correctness.attribute-on-function
|
|
1187
|
+
rulePath: ./rules/php/php.correctness.attribute-on-function.rule.yaml
|
|
1188
|
+
presets:
|
|
1189
|
+
- strict
|
|
1190
|
+
- id: php.correctness.assign-to-non-lvalue
|
|
1191
|
+
rulePath: ./rules/php/php.correctness.assign-to-non-lvalue.rule.yaml
|
|
1192
|
+
presets:
|
|
1193
|
+
- strict
|
|
1194
|
+
- id: php.correctness.undefined-constant-reference
|
|
1195
|
+
rulePath: ./rules/php/php.correctness.undefined-constant-reference.rule.yaml
|
|
1196
|
+
presets:
|
|
1197
|
+
- strict
|
|
1198
|
+
- id: php.correctness.unused-closure-use-variable
|
|
1199
|
+
rulePath: ./rules/php/php.correctness.unused-closure-use-variable.rule.yaml
|
|
1200
|
+
presets:
|
|
1201
|
+
- strict
|
|
1202
|
+
- id: php.correctness.invalid-isset-argument
|
|
1203
|
+
rulePath: ./rules/php/php.correctness.invalid-isset-argument.rule.yaml
|
|
1204
|
+
presets:
|
|
1205
|
+
- strict
|
|
1206
|
+
- id: php.correctness.invalid-type-cast
|
|
1207
|
+
rulePath: ./rules/php/php.correctness.invalid-type-cast.rule.yaml
|
|
1208
|
+
presets:
|
|
1209
|
+
- strict
|
|
1210
|
+
- id: php.correctness.invalid-use-keyword
|
|
1211
|
+
rulePath: ./rules/php/php.correctness.invalid-use-keyword.rule.yaml
|
|
1212
|
+
presets:
|
|
1213
|
+
- strict
|
|
1214
|
+
- id: php.correctness.void-match-arm
|
|
1215
|
+
rulePath: ./rules/php/php.correctness.void-match-arm.rule.yaml
|
|
1216
|
+
presets:
|
|
1217
|
+
- strict
|
|
1218
|
+
- id: php.correctness.unused-import
|
|
1219
|
+
rulePath: ./rules/php/php.correctness.unused-import.rule.yaml
|
|
1220
|
+
presets:
|
|
1221
|
+
- strict
|
|
1222
|
+
- id: php.correctness.redundant-final-method
|
|
1223
|
+
rulePath: ./rules/php/php.correctness.redundant-final-method.rule.yaml
|
|
1224
|
+
presets:
|
|
1225
|
+
- strict
|
|
1226
|
+
- id: php.correctness.invalid-return-typehint
|
|
1227
|
+
rulePath: ./rules/php/php.correctness.invalid-return-typehint.rule.yaml
|
|
1228
|
+
presets:
|
|
1229
|
+
- strict
|
|
1230
|
+
- id: php.correctness.named-arg-before-positional
|
|
1231
|
+
rulePath: ./rules/php/php.correctness.named-arg-before-positional.rule.yaml
|
|
1232
|
+
presets:
|
|
1233
|
+
- strict
|
|
1234
|
+
- id: php.correctness.invalid-arrow-function-typehint
|
|
1235
|
+
rulePath: ./rules/php/php.correctness.invalid-arrow-function-typehint.rule.yaml
|
|
1236
|
+
presets:
|
|
1237
|
+
- strict
|
|
1238
|
+
- id: php.correctness.invalid-attribute-class
|
|
1239
|
+
rulePath: ./rules/php/php.correctness.invalid-attribute-class.rule.yaml
|
|
1240
|
+
presets:
|
|
1241
|
+
- strict
|
|
1242
|
+
- id: php.correctness.invalid-closure-return-typehint
|
|
1243
|
+
rulePath: ./rules/php/php.correctness.invalid-closure-return-typehint.rule.yaml
|
|
1244
|
+
presets:
|
|
1245
|
+
- strict
|
|
1246
|
+
- id: php.correctness.interface-implements-keyword
|
|
1247
|
+
rulePath: ./rules/php/php.correctness.interface-implements-keyword.rule.yaml
|
|
1248
|
+
presets:
|
|
1249
|
+
- strict
|
|
608
1250
|
- id: php.correctness.invalid-cookie-options
|
|
609
1251
|
rulePath: ./rules/php/php.correctness.invalid-cookie-options.rule.yaml
|
|
610
1252
|
presets:
|
|
611
1253
|
- strict
|
|
1254
|
+
- id: php.correctness.missing-return-statement
|
|
1255
|
+
rulePath: ./rules/php/php.correctness.missing-return-statement.rule.yaml
|
|
1256
|
+
presets:
|
|
1257
|
+
- strict
|
|
1258
|
+
- id: php.correctness.throw-non-exception
|
|
1259
|
+
rulePath: ./rules/php/php.correctness.throw-non-exception.rule.yaml
|
|
1260
|
+
presets:
|
|
1261
|
+
- strict
|
|
1262
|
+
- id: php.correctness.uninitialized-typed-property
|
|
1263
|
+
rulePath: ./rules/php/php.correctness.uninitialized-typed-property.rule.yaml
|
|
1264
|
+
presets:
|
|
1265
|
+
- strict
|
|
1266
|
+
- id: php.correctness.unused-constructor-parameter
|
|
1267
|
+
rulePath: ./rules/php/php.correctness.unused-constructor-parameter.rule.yaml
|
|
1268
|
+
presets:
|
|
1269
|
+
- strict
|
|
1270
|
+
- id: php.correctness.echo-invalid-value
|
|
1271
|
+
rulePath: ./rules/php/php.correctness.echo-invalid-value.rule.yaml
|
|
1272
|
+
presets:
|
|
1273
|
+
- strict
|
|
1274
|
+
- id: php.correctness.print-invalid-value
|
|
1275
|
+
rulePath: ./rules/php/php.correctness.print-invalid-value.rule.yaml
|
|
1276
|
+
presets:
|
|
1277
|
+
- strict
|
|
1278
|
+
- id: php.correctness.invalid-string-interpolation-type
|
|
1279
|
+
rulePath: ./rules/php/php.correctness.invalid-string-interpolation-type.rule.yaml
|
|
1280
|
+
presets:
|
|
1281
|
+
- strict
|
|
1282
|
+
- id: php.correctness.undefined-static-property
|
|
1283
|
+
rulePath: ./rules/php/php.correctness.undefined-static-property.rule.yaml
|
|
1284
|
+
presets:
|
|
1285
|
+
- strict
|
|
1286
|
+
- id: php.correctness.undefined-function
|
|
1287
|
+
rulePath: ./rules/php/php.correctness.undefined-function.rule.yaml
|
|
1288
|
+
presets:
|
|
1289
|
+
- strict
|
|
1290
|
+
- id: php.correctness.undefined-method
|
|
1291
|
+
rulePath: ./rules/php/php.correctness.undefined-method.rule.yaml
|
|
1292
|
+
presets:
|
|
1293
|
+
- strict
|
|
1294
|
+
- id: php.correctness.undefined-property
|
|
1295
|
+
rulePath: ./rules/php/php.correctness.undefined-property.rule.yaml
|
|
1296
|
+
presets:
|
|
1297
|
+
- strict
|
|
1298
|
+
- id: php.correctness.invalid-static-method
|
|
1299
|
+
rulePath: ./rules/php/php.correctness.invalid-static-method.rule.yaml
|
|
1300
|
+
presets:
|
|
1301
|
+
- strict
|
|
1302
|
+
- id: php.correctness.attribute-on-property
|
|
1303
|
+
rulePath: ./rules/php/php.correctness.attribute-on-property.rule.yaml
|
|
1304
|
+
presets:
|
|
1305
|
+
- strict
|
|
1306
|
+
- id: php.correctness.undefined-variable
|
|
1307
|
+
rulePath: ./rules/php/php.correctness.undefined-variable.rule.yaml
|
|
1308
|
+
presets:
|
|
1309
|
+
- strict
|
|
1310
|
+
- id: php.correctness.inaccessible-property
|
|
1311
|
+
rulePath: ./rules/php/php.correctness.inaccessible-property.rule.yaml
|
|
1312
|
+
presets:
|
|
1313
|
+
- strict
|
|
612
1314
|
- id: php.performance.expensive-loop-condition
|
|
613
1315
|
rulePath: ./rules/php/php.performance.expensive-loop-condition.rule.yaml
|
|
614
1316
|
presets:
|
|
@@ -674,6 +1376,54 @@ rules:
|
|
|
674
1376
|
rulePath: ./rules/ruby/ruby.performance.no-unbounded-concurrency.rule.yaml
|
|
675
1377
|
presets:
|
|
676
1378
|
- strict
|
|
1379
|
+
- id: ruby.performance.no-static-size-computation
|
|
1380
|
+
rulePath: ./rules/ruby/ruby.performance.no-static-size-computation.rule.yaml
|
|
1381
|
+
presets:
|
|
1382
|
+
- strict
|
|
1383
|
+
- id: ruby.performance.prefer-flat-map
|
|
1384
|
+
rulePath: ./rules/ruby/ruby.performance.prefer-flat-map.rule.yaml
|
|
1385
|
+
presets:
|
|
1386
|
+
- strict
|
|
1387
|
+
- id: ruby.performance.efficient-hash-search
|
|
1388
|
+
rulePath: ./rules/ruby/ruby.performance.efficient-hash-search.rule.yaml
|
|
1389
|
+
presets:
|
|
1390
|
+
- strict
|
|
1391
|
+
- id: ruby.performance.prefer-struct-over-openstruct
|
|
1392
|
+
rulePath: ./rules/ruby/ruby.performance.prefer-struct-over-openstruct.rule.yaml
|
|
1393
|
+
presets:
|
|
1394
|
+
- strict
|
|
1395
|
+
- id: ruby.performance.range-cover-over-include
|
|
1396
|
+
rulePath: ./rules/ruby/ruby.performance.range-cover-over-include.rule.yaml
|
|
1397
|
+
presets:
|
|
1398
|
+
- strict
|
|
1399
|
+
- id: ruby.performance.yield-over-block-call
|
|
1400
|
+
rulePath: ./rules/ruby/ruby.performance.yield-over-block-call.rule.yaml
|
|
1401
|
+
presets:
|
|
1402
|
+
- strict
|
|
1403
|
+
- id: ruby.performance.regex-match-over-match
|
|
1404
|
+
rulePath: ./rules/ruby/ruby.performance.regex-match-over-match.rule.yaml
|
|
1405
|
+
presets:
|
|
1406
|
+
- strict
|
|
1407
|
+
- id: ruby.performance.merge-single-key
|
|
1408
|
+
rulePath: ./rules/ruby/ruby.performance.merge-single-key.rule.yaml
|
|
1409
|
+
presets:
|
|
1410
|
+
- strict
|
|
1411
|
+
- id: ruby.performance.enumerable-index-by
|
|
1412
|
+
rulePath: ./rules/ruby/ruby.performance.enumerable-index-by.rule.yaml
|
|
1413
|
+
presets:
|
|
1414
|
+
- strict
|
|
1415
|
+
- id: ruby.performance.enumerable-index-with
|
|
1416
|
+
rulePath: ./rules/ruby/ruby.performance.enumerable-index-with.rule.yaml
|
|
1417
|
+
presets:
|
|
1418
|
+
- strict
|
|
1419
|
+
- id: ruby.performance.prefer-delete-prefix
|
|
1420
|
+
rulePath: ./rules/ruby/ruby.performance.prefer-delete-prefix.rule.yaml
|
|
1421
|
+
presets:
|
|
1422
|
+
- strict
|
|
1423
|
+
- id: ruby.performance.prefer-delete-suffix
|
|
1424
|
+
rulePath: ./rules/ruby/ruby.performance.prefer-delete-suffix.rule.yaml
|
|
1425
|
+
presets:
|
|
1426
|
+
- strict
|
|
677
1427
|
- id: rust.correctness.block-on-in-async
|
|
678
1428
|
rulePath: ./rules/rust/rust.correctness.block-on-in-async.rule.yaml
|
|
679
1429
|
presets:
|
|
@@ -702,78 +1452,326 @@ rules:
|
|
|
702
1452
|
rulePath: ./rules/rust/rust.correctness.unchecked-index.rule.yaml
|
|
703
1453
|
presets:
|
|
704
1454
|
- strict
|
|
705
|
-
- id: rust.
|
|
706
|
-
rulePath: ./rules/rust/rust.
|
|
1455
|
+
- id: rust.correctness.syntax-error
|
|
1456
|
+
rulePath: ./rules/rust/rust.correctness.syntax-error.rule.yaml
|
|
707
1457
|
presets:
|
|
708
1458
|
- strict
|
|
709
|
-
- id: rust.
|
|
710
|
-
rulePath: ./rules/rust/rust.
|
|
1459
|
+
- id: rust.correctness.self-not-self-type
|
|
1460
|
+
rulePath: ./rules/rust/rust.correctness.self-not-self-type.rule.yaml
|
|
711
1461
|
presets:
|
|
712
1462
|
- strict
|
|
713
|
-
- id: rust.
|
|
714
|
-
rulePath: ./rules/rust/rust.
|
|
1463
|
+
- id: rust.correctness.invalid-regex-literal
|
|
1464
|
+
rulePath: ./rules/rust/rust.correctness.invalid-regex-literal.rule.yaml
|
|
715
1465
|
presets:
|
|
716
1466
|
- strict
|
|
717
|
-
- id:
|
|
718
|
-
rulePath: ./rules/
|
|
1467
|
+
- id: rust.correctness.step-by-zero
|
|
1468
|
+
rulePath: ./rules/rust/rust.correctness.step-by-zero.rule.yaml
|
|
719
1469
|
presets:
|
|
720
1470
|
- strict
|
|
721
|
-
- id:
|
|
722
|
-
rulePath: ./rules/
|
|
1471
|
+
- id: rust.correctness.iter-next-in-for-loop
|
|
1472
|
+
rulePath: ./rules/rust/rust.correctness.iter-next-in-for-loop.rule.yaml
|
|
723
1473
|
presets:
|
|
724
1474
|
- strict
|
|
725
|
-
- id:
|
|
726
|
-
rulePath: ./rules/
|
|
1475
|
+
- id: rust.correctness.empty-range-expression
|
|
1476
|
+
rulePath: ./rules/rust/rust.correctness.empty-range-expression.rule.yaml
|
|
727
1477
|
presets:
|
|
728
1478
|
- strict
|
|
729
|
-
- id:
|
|
730
|
-
rulePath: ./rules/
|
|
1479
|
+
- id: rust.correctness.erasing-operation
|
|
1480
|
+
rulePath: ./rules/rust/rust.correctness.erasing-operation.rule.yaml
|
|
731
1481
|
presets:
|
|
732
|
-
- recommended
|
|
733
1482
|
- strict
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
rulePath: ./rules/typescript/ts.react.no-index-as-key-in-dynamic-list.rule.yaml
|
|
1483
|
+
- id: rust.correctness.identical-binary-operands
|
|
1484
|
+
rulePath: ./rules/rust/rust.correctness.identical-binary-operands.rule.yaml
|
|
737
1485
|
presets:
|
|
738
1486
|
- strict
|
|
739
|
-
- id:
|
|
740
|
-
rulePath: ./rules/
|
|
1487
|
+
- id: rust.correctness.ignored-future-value
|
|
1488
|
+
rulePath: ./rules/rust/rust.correctness.ignored-future-value.rule.yaml
|
|
741
1489
|
presets:
|
|
742
1490
|
- strict
|
|
743
|
-
- id:
|
|
744
|
-
rulePath: ./rules/
|
|
1491
|
+
- id: rust.correctness.mistyped-suffix
|
|
1492
|
+
rulePath: ./rules/rust/rust.correctness.mistyped-suffix.rule.yaml
|
|
745
1493
|
presets:
|
|
746
1494
|
- strict
|
|
747
|
-
- id:
|
|
748
|
-
rulePath: ./rules/
|
|
1495
|
+
- id: rust.correctness.forget-drop-on-reference
|
|
1496
|
+
rulePath: ./rules/rust/rust.correctness.forget-drop-on-reference.rule.yaml
|
|
749
1497
|
presets:
|
|
750
1498
|
- strict
|
|
751
|
-
- id:
|
|
752
|
-
rulePath: ./rules/
|
|
1499
|
+
- id: rust.correctness.forget-drop-on-copy-type
|
|
1500
|
+
rulePath: ./rules/rust/rust.correctness.forget-drop-on-copy-type.rule.yaml
|
|
753
1501
|
presets:
|
|
754
1502
|
- strict
|
|
755
|
-
- id:
|
|
756
|
-
rulePath: ./rules/
|
|
1503
|
+
- id: rust.correctness.nan-comparison
|
|
1504
|
+
rulePath: ./rules/rust/rust.correctness.nan-comparison.rule.yaml
|
|
757
1505
|
presets:
|
|
758
1506
|
- strict
|
|
759
|
-
- id:
|
|
760
|
-
rulePath: ./rules/
|
|
1507
|
+
- id: rust.correctness.non-octal-permissions
|
|
1508
|
+
rulePath: ./rules/rust/rust.correctness.non-octal-permissions.rule.yaml
|
|
761
1509
|
presets:
|
|
762
1510
|
- strict
|
|
763
|
-
- id:
|
|
764
|
-
rulePath: ./rules/
|
|
1511
|
+
- id: rust.correctness.non-binding-let-on-lock
|
|
1512
|
+
rulePath: ./rules/rust/rust.correctness.non-binding-let-on-lock.rule.yaml
|
|
765
1513
|
presets:
|
|
766
1514
|
- strict
|
|
767
|
-
- id:
|
|
768
|
-
rulePath: ./rules/
|
|
1515
|
+
- id: rust.correctness.unit-argument
|
|
1516
|
+
rulePath: ./rules/rust/rust.correctness.unit-argument.rule.yaml
|
|
769
1517
|
presets:
|
|
770
1518
|
- strict
|
|
771
|
-
- id:
|
|
772
|
-
rulePath: ./rules/
|
|
1519
|
+
- id: rust.correctness.unit-comparison
|
|
1520
|
+
rulePath: ./rules/rust/rust.correctness.unit-comparison.rule.yaml
|
|
773
1521
|
presets:
|
|
774
1522
|
- strict
|
|
775
|
-
- id:
|
|
776
|
-
rulePath: ./rules/
|
|
1523
|
+
- id: rust.correctness.transmute-integer-to-nonzero
|
|
1524
|
+
rulePath: ./rules/rust/rust.correctness.transmute-integer-to-nonzero.rule.yaml
|
|
1525
|
+
presets:
|
|
1526
|
+
- strict
|
|
1527
|
+
- id: rust.correctness.transmute-int-to-fn-ptr
|
|
1528
|
+
rulePath: ./rules/rust/rust.correctness.transmute-int-to-fn-ptr.rule.yaml
|
|
1529
|
+
presets:
|
|
1530
|
+
- strict
|
|
1531
|
+
- id: rust.correctness.transmute-int-lit-to-raw-ptr
|
|
1532
|
+
rulePath: ./rules/rust/rust.correctness.transmute-int-lit-to-raw-ptr.rule.yaml
|
|
1533
|
+
presets:
|
|
1534
|
+
- strict
|
|
1535
|
+
- id: rust.correctness.transmute-float-char-to-ref-or-ptr
|
|
1536
|
+
rulePath: ./rules/rust/rust.correctness.transmute-float-char-to-ref-or-ptr.rule.yaml
|
|
1537
|
+
presets:
|
|
1538
|
+
- strict
|
|
1539
|
+
- id: rust.correctness.transmute-integer-to-char
|
|
1540
|
+
rulePath: ./rules/rust/rust.correctness.transmute-integer-to-char.rule.yaml
|
|
1541
|
+
presets:
|
|
1542
|
+
- strict
|
|
1543
|
+
- id: rust.correctness.transmute-number-to-slice-or-array
|
|
1544
|
+
rulePath: ./rules/rust/rust.correctness.transmute-number-to-slice-or-array.rule.yaml
|
|
1545
|
+
presets:
|
|
1546
|
+
- strict
|
|
1547
|
+
- id: rust.correctness.transmute-tuple-to-slice-or-array
|
|
1548
|
+
rulePath: ./rules/rust/rust.correctness.transmute-tuple-to-slice-or-array.rule.yaml
|
|
1549
|
+
presets:
|
|
1550
|
+
- strict
|
|
1551
|
+
- id: rust.correctness.print-in-display-impl
|
|
1552
|
+
rulePath: ./rules/rust/rust.correctness.print-in-display-impl.rule.yaml
|
|
1553
|
+
presets:
|
|
1554
|
+
- strict
|
|
1555
|
+
- id: rust.correctness.hash-unit-value
|
|
1556
|
+
rulePath: ./rules/rust/rust.correctness.hash-unit-value.rule.yaml
|
|
1557
|
+
presets:
|
|
1558
|
+
- strict
|
|
1559
|
+
- id: rust.correctness.transmute-ptr-to-ref
|
|
1560
|
+
rulePath: ./rules/rust/rust.correctness.transmute-ptr-to-ref.rule.yaml
|
|
1561
|
+
presets:
|
|
1562
|
+
- strict
|
|
1563
|
+
- id: rust.correctness.transmute-ref-to-ptr
|
|
1564
|
+
rulePath: ./rules/rust/rust.correctness.transmute-ref-to-ptr.rule.yaml
|
|
1565
|
+
presets:
|
|
1566
|
+
- strict
|
|
1567
|
+
- id: rust.correctness.transmute-ptr-to-ptr
|
|
1568
|
+
rulePath: ./rules/rust/rust.correctness.transmute-ptr-to-ptr.rule.yaml
|
|
1569
|
+
presets:
|
|
1570
|
+
- strict
|
|
1571
|
+
- id: rust.correctness.forget-drop-on-non-drop-type
|
|
1572
|
+
rulePath: ./rules/rust/rust.correctness.forget-drop-on-non-drop-type.rule.yaml
|
|
1573
|
+
presets:
|
|
1574
|
+
- strict
|
|
1575
|
+
- id: rust.correctness.unhandled-io-result
|
|
1576
|
+
rulePath: ./rules/rust/rust.correctness.unhandled-io-result.rule.yaml
|
|
1577
|
+
presets:
|
|
1578
|
+
- strict
|
|
1579
|
+
- id: rust.correctness.transmute-t-to-ptr-ref
|
|
1580
|
+
rulePath: ./rules/rust/rust.correctness.transmute-t-to-ptr-ref.rule.yaml
|
|
1581
|
+
presets:
|
|
1582
|
+
- strict
|
|
1583
|
+
- id: rust.correctness.transmute-integer-to-bool
|
|
1584
|
+
rulePath: ./rules/rust/rust.correctness.transmute-integer-to-bool.rule.yaml
|
|
1585
|
+
presets:
|
|
1586
|
+
- strict
|
|
1587
|
+
- id: rust.performance.no-regex-construction-in-loop
|
|
1588
|
+
rulePath: ./rules/rust/rust.performance.no-regex-construction-in-loop.rule.yaml
|
|
1589
|
+
presets:
|
|
1590
|
+
- strict
|
|
1591
|
+
- id: rust.performance.no-sync-fs-in-request-path
|
|
1592
|
+
rulePath: ./rules/rust/rust.performance.no-sync-fs-in-request-path.rule.yaml
|
|
1593
|
+
presets:
|
|
1594
|
+
- strict
|
|
1595
|
+
- id: rust.performance.no-unbounded-concurrency
|
|
1596
|
+
rulePath: ./rules/rust/rust.performance.no-unbounded-concurrency.rule.yaml
|
|
1597
|
+
presets:
|
|
1598
|
+
- strict
|
|
1599
|
+
- id: rust.performance.single-char-string-literal-pattern
|
|
1600
|
+
rulePath: ./rules/rust/rust.performance.single-char-string-literal-pattern.rule.yaml
|
|
1601
|
+
presets:
|
|
1602
|
+
- strict
|
|
1603
|
+
- id: rust.quality.explicit-self-assignment
|
|
1604
|
+
rulePath: ./rules/rust/rust.quality.explicit-self-assignment.rule.yaml
|
|
1605
|
+
presets:
|
|
1606
|
+
- strict
|
|
1607
|
+
- id: rust.quality.env-string-literal
|
|
1608
|
+
rulePath: ./rules/rust/rust.quality.env-string-literal.rule.yaml
|
|
1609
|
+
presets:
|
|
1610
|
+
- strict
|
|
1611
|
+
- id: rust.quality.option-env-unwrap
|
|
1612
|
+
rulePath: ./rules/rust/rust.quality.option-env-unwrap.rule.yaml
|
|
1613
|
+
presets:
|
|
1614
|
+
- strict
|
|
1615
|
+
- id: rust.quality.builtin-type-shadow
|
|
1616
|
+
rulePath: ./rules/rust/rust.quality.builtin-type-shadow.rule.yaml
|
|
1617
|
+
presets:
|
|
1618
|
+
- strict
|
|
1619
|
+
- id: rust.quality.unused-enumerate-or-zip-items
|
|
1620
|
+
rulePath: ./rules/rust/rust.quality.unused-enumerate-or-zip-items.rule.yaml
|
|
1621
|
+
presets:
|
|
1622
|
+
- strict
|
|
1623
|
+
- id: rust.quality.isize-usize-overflow
|
|
1624
|
+
rulePath: ./rules/rust/rust.quality.isize-usize-overflow.rule.yaml
|
|
1625
|
+
presets:
|
|
1626
|
+
- strict
|
|
1627
|
+
- id: rust.quality.ordered-iteration-on-unordered
|
|
1628
|
+
rulePath: ./rules/rust/rust.quality.ordered-iteration-on-unordered.rule.yaml
|
|
1629
|
+
presets:
|
|
1630
|
+
- strict
|
|
1631
|
+
- id: rust.quality.crate-in-macro-definition
|
|
1632
|
+
rulePath: ./rules/rust/rust.quality.crate-in-macro-definition.rule.yaml
|
|
1633
|
+
presets:
|
|
1634
|
+
- strict
|
|
1635
|
+
- id: rust.quality.potentially-incomplete-ascii-range
|
|
1636
|
+
rulePath: ./rules/rust/rust.quality.potentially-incomplete-ascii-range.rule.yaml
|
|
1637
|
+
presets:
|
|
1638
|
+
- strict
|
|
1639
|
+
- id: rust.quality.inaccurate-duration-calculation
|
|
1640
|
+
rulePath: ./rules/rust/rust.quality.inaccurate-duration-calculation.rule.yaml
|
|
1641
|
+
presets:
|
|
1642
|
+
- strict
|
|
1643
|
+
- id: rust.quality.map-followed-by-count
|
|
1644
|
+
rulePath: ./rules/rust/rust.quality.map-followed-by-count.rule.yaml
|
|
1645
|
+
presets:
|
|
1646
|
+
- strict
|
|
1647
|
+
- id: rust.quality.iter-nth-instead-of-get
|
|
1648
|
+
rulePath: ./rules/rust/rust.quality.iter-nth-instead-of-get.rule.yaml
|
|
1649
|
+
presets:
|
|
1650
|
+
- strict
|
|
1651
|
+
- id: rust.quality.iter-count-instead-of-len
|
|
1652
|
+
rulePath: ./rules/rust/rust.quality.iter-count-instead-of-len.rule.yaml
|
|
1653
|
+
presets:
|
|
1654
|
+
- strict
|
|
1655
|
+
- id: rust.quality.replace-same-pattern-and-replacement
|
|
1656
|
+
rulePath: ./rules/rust/rust.quality.replace-same-pattern-and-replacement.rule.yaml
|
|
1657
|
+
presets:
|
|
1658
|
+
- strict
|
|
1659
|
+
- id: rust.quality.clone-on-double-reference
|
|
1660
|
+
rulePath: ./rules/rust/rust.quality.clone-on-double-reference.rule.yaml
|
|
1661
|
+
presets:
|
|
1662
|
+
- strict
|
|
1663
|
+
- id: rust.quality.non-owned-rc-pointer-into-vec
|
|
1664
|
+
rulePath: ./rules/rust/rust.quality.non-owned-rc-pointer-into-vec.rule.yaml
|
|
1665
|
+
presets:
|
|
1666
|
+
- strict
|
|
1667
|
+
- id: rust.quality.redundant-mem-replace-with-none
|
|
1668
|
+
rulePath: ./rules/rust/rust.quality.redundant-mem-replace-with-none.rule.yaml
|
|
1669
|
+
presets:
|
|
1670
|
+
- strict
|
|
1671
|
+
- id: rust.quality.redundant-mem-replace-with-default
|
|
1672
|
+
rulePath: ./rules/rust/rust.quality.redundant-mem-replace-with-default.rule.yaml
|
|
1673
|
+
presets:
|
|
1674
|
+
- strict
|
|
1675
|
+
- id: rust.quality.redundant-mem-replace-with-zero
|
|
1676
|
+
rulePath: ./rules/rust/rust.quality.redundant-mem-replace-with-zero.rule.yaml
|
|
1677
|
+
presets:
|
|
1678
|
+
- strict
|
|
1679
|
+
- id: rust.quality.fn-ptr-null-comparison
|
|
1680
|
+
rulePath: ./rules/rust/rust.quality.fn-ptr-null-comparison.rule.yaml
|
|
1681
|
+
presets:
|
|
1682
|
+
- strict
|
|
1683
|
+
- id: rust.quality.possible-missing-comma-in-array
|
|
1684
|
+
rulePath: ./rules/rust/rust.quality.possible-missing-comma-in-array.rule.yaml
|
|
1685
|
+
presets:
|
|
1686
|
+
- strict
|
|
1687
|
+
- id: rust.quality.non-utf8-literal-in-from-utf8-unchecked
|
|
1688
|
+
rulePath: ./rules/rust/rust.quality.non-utf8-literal-in-from-utf8-unchecked.rule.yaml
|
|
1689
|
+
presets:
|
|
1690
|
+
- strict
|
|
1691
|
+
- id: rust.quality.size-of-val-on-reference
|
|
1692
|
+
rulePath: ./rules/rust/rust.quality.size-of-val-on-reference.rule.yaml
|
|
1693
|
+
presets:
|
|
1694
|
+
- strict
|
|
1695
|
+
- id: rust.quality.fn-ptr-to-non-pointer-cast
|
|
1696
|
+
rulePath: ./rules/rust/rust.quality.fn-ptr-to-non-pointer-cast.rule.yaml
|
|
1697
|
+
presets:
|
|
1698
|
+
- strict
|
|
1699
|
+
- id: rust.quality.deprecated-function-use
|
|
1700
|
+
rulePath: ./rules/rust/rust.quality.deprecated-function-use.rule.yaml
|
|
1701
|
+
presets:
|
|
1702
|
+
- strict
|
|
1703
|
+
- id: rust.quality.approximate-floating-constant
|
|
1704
|
+
rulePath: ./rules/rust/rust.quality.approximate-floating-constant.rule.yaml
|
|
1705
|
+
presets:
|
|
1706
|
+
- strict
|
|
1707
|
+
- id: ts.react.no-cascaded-effect-fetches
|
|
1708
|
+
rulePath: ./rules/typescript/ts.react.no-cascaded-effect-fetches.rule.yaml
|
|
1709
|
+
presets:
|
|
1710
|
+
- strict
|
|
1711
|
+
- id: ts.react.no-effect-fetch-without-cancellation
|
|
1712
|
+
rulePath: ./rules/typescript/ts.react.no-effect-fetch-without-cancellation.rule.yaml
|
|
1713
|
+
presets:
|
|
1714
|
+
- strict
|
|
1715
|
+
- id: ts.next.no-server-client-boundary-leaks
|
|
1716
|
+
rulePath: ./rules/typescript/ts.next.no-server-client-boundary-leaks.rule.yaml
|
|
1717
|
+
presets:
|
|
1718
|
+
- strict
|
|
1719
|
+
- id: ts.next.server-action-missing-local-auth
|
|
1720
|
+
rulePath: ./rules/typescript/ts.next.server-action-missing-local-auth.rule.yaml
|
|
1721
|
+
presets:
|
|
1722
|
+
- recommended
|
|
1723
|
+
- strict
|
|
1724
|
+
- security
|
|
1725
|
+
- id: ts.next.no-document-import-outside-custom-document
|
|
1726
|
+
rulePath: ./rules/typescript/ts.next.no-document-import-outside-custom-document.rule.yaml
|
|
1727
|
+
presets:
|
|
1728
|
+
- strict
|
|
1729
|
+
- id: ts.next.no-head-import-in-custom-document
|
|
1730
|
+
rulePath: ./rules/typescript/ts.next.no-head-import-in-custom-document.rule.yaml
|
|
1731
|
+
presets:
|
|
1732
|
+
- strict
|
|
1733
|
+
- id: ts.react.no-index-as-key-in-dynamic-list
|
|
1734
|
+
rulePath: ./rules/typescript/ts.react.no-index-as-key-in-dynamic-list.rule.yaml
|
|
1735
|
+
presets:
|
|
1736
|
+
- strict
|
|
1737
|
+
- id: ts.react.no-derived-state-from-props
|
|
1738
|
+
rulePath: ./rules/typescript/ts.react.no-derived-state-from-props.rule.yaml
|
|
1739
|
+
presets:
|
|
1740
|
+
- strict
|
|
1741
|
+
- id: ts.react.no-missing-error-boundary
|
|
1742
|
+
rulePath: ./rules/typescript/ts.react.no-missing-error-boundary.rule.yaml
|
|
1743
|
+
presets:
|
|
1744
|
+
- strict
|
|
1745
|
+
- id: ts.react.no-accessibility-label-missing
|
|
1746
|
+
rulePath: ./rules/typescript/ts.react.no-accessibility-label-missing.rule.yaml
|
|
1747
|
+
presets:
|
|
1748
|
+
- strict
|
|
1749
|
+
- id: ts.react.no-img-missing-alt-text
|
|
1750
|
+
rulePath: ./rules/typescript/ts.react.no-img-missing-alt-text.rule.yaml
|
|
1751
|
+
presets:
|
|
1752
|
+
- strict
|
|
1753
|
+
- id: ts.react.no-positive-tabindex
|
|
1754
|
+
rulePath: ./rules/typescript/ts.react.no-positive-tabindex.rule.yaml
|
|
1755
|
+
presets:
|
|
1756
|
+
- strict
|
|
1757
|
+
- id: ts.react.no-click-without-keyboard-handler
|
|
1758
|
+
rulePath: ./rules/typescript/ts.react.no-click-without-keyboard-handler.rule.yaml
|
|
1759
|
+
presets:
|
|
1760
|
+
- strict
|
|
1761
|
+
- id: ts.react.no-find-dom-node
|
|
1762
|
+
rulePath: ./rules/typescript/ts.react.no-find-dom-node.rule.yaml
|
|
1763
|
+
presets:
|
|
1764
|
+
- strict
|
|
1765
|
+
- id: ts.react.no-string-ref
|
|
1766
|
+
rulePath: ./rules/typescript/ts.react.no-string-ref.rule.yaml
|
|
1767
|
+
presets:
|
|
1768
|
+
- strict
|
|
1769
|
+
- id: ts.react.no-legacy-lifecycle
|
|
1770
|
+
rulePath: ./rules/typescript/ts.react.no-legacy-lifecycle.rule.yaml
|
|
1771
|
+
presets:
|
|
1772
|
+
- strict
|
|
1773
|
+
- id: ts.react.no-uncontrolled-to-controlled-input
|
|
1774
|
+
rulePath: ./rules/typescript/ts.react.no-uncontrolled-to-controlled-input.rule.yaml
|
|
777
1775
|
presets:
|
|
778
1776
|
- strict
|
|
779
1777
|
- id: ts.react.no-invalid-anchor-href
|
|
@@ -838,6 +1836,34 @@ rules:
|
|
|
838
1836
|
presets:
|
|
839
1837
|
- recommended
|
|
840
1838
|
- strict
|
|
1839
|
+
- id: ts.react.no-set-state-in-component-will-update
|
|
1840
|
+
rulePath: ./rules/typescript/ts.react.no-set-state-in-component-will-update.rule.yaml
|
|
1841
|
+
presets:
|
|
1842
|
+
- recommended
|
|
1843
|
+
- strict
|
|
1844
|
+
- id: ts.react.no-deprecated-is-mounted
|
|
1845
|
+
rulePath: ./rules/typescript/ts.react.no-deprecated-is-mounted.rule.yaml
|
|
1846
|
+
presets:
|
|
1847
|
+
- recommended
|
|
1848
|
+
- strict
|
|
1849
|
+
- id: ts.react.no-should-component-update
|
|
1850
|
+
rulePath: ./rules/typescript/ts.react.no-should-component-update.rule.yaml
|
|
1851
|
+
presets:
|
|
1852
|
+
- strict
|
|
1853
|
+
- id: ts.react.no-lifecycle-method-typo
|
|
1854
|
+
rulePath: ./rules/typescript/ts.react.no-lifecycle-method-typo.rule.yaml
|
|
1855
|
+
presets:
|
|
1856
|
+
- recommended
|
|
1857
|
+
- strict
|
|
1858
|
+
- id: ts.react.no-invalid-markup-characters
|
|
1859
|
+
rulePath: ./rules/typescript/ts.react.no-invalid-markup-characters.rule.yaml
|
|
1860
|
+
presets:
|
|
1861
|
+
- strict
|
|
1862
|
+
- id: ts.react.no-render-invalid-return-type
|
|
1863
|
+
rulePath: ./rules/typescript/ts.react.no-render-invalid-return-type.rule.yaml
|
|
1864
|
+
presets:
|
|
1865
|
+
- recommended
|
|
1866
|
+
- strict
|
|
841
1867
|
- id: ts.react.no-target-blank-without-rel
|
|
842
1868
|
rulePath: ./rules/typescript/ts.react.no-target-blank-without-rel.rule.yaml
|
|
843
1869
|
presets:
|
|
@@ -854,6 +1880,18 @@ rules:
|
|
|
854
1880
|
presets:
|
|
855
1881
|
- recommended
|
|
856
1882
|
- strict
|
|
1883
|
+
- id: ts.react.no-unnecessary-fragment
|
|
1884
|
+
rulePath: ./rules/typescript/ts.react.no-unnecessary-fragment.rule.yaml
|
|
1885
|
+
presets:
|
|
1886
|
+
- strict
|
|
1887
|
+
- id: ts.react.no-this-state-in-set-state
|
|
1888
|
+
rulePath: ./rules/typescript/ts.react.no-this-state-in-set-state.rule.yaml
|
|
1889
|
+
presets:
|
|
1890
|
+
- strict
|
|
1891
|
+
- id: ts.react.no-hooks-rule-violation
|
|
1892
|
+
rulePath: ./rules/typescript/ts.react.no-hooks-rule-violation.rule.yaml
|
|
1893
|
+
presets:
|
|
1894
|
+
- strict
|
|
857
1895
|
- id: security.no-sql-interpolation
|
|
858
1896
|
rulePath: ./rules/shared/security.no-sql-interpolation.rule.yaml
|
|
859
1897
|
presets:
|
|
@@ -914,6 +1952,11 @@ rules:
|
|
|
914
1952
|
- recommended
|
|
915
1953
|
- strict
|
|
916
1954
|
- security
|
|
1955
|
+
- id: ts.runtime.process-exit-control-flow
|
|
1956
|
+
rulePath: ./rules/typescript/ts.runtime.process-exit-control-flow.rule.yaml
|
|
1957
|
+
presets:
|
|
1958
|
+
- recommended
|
|
1959
|
+
- strict
|
|
917
1960
|
- id: ts.security.unsafe-dirname-path-concat
|
|
918
1961
|
rulePath: ./rules/typescript/ts.security.unsafe-dirname-path-concat.rule.yaml
|
|
919
1962
|
presets:
|
|
@@ -1303,6 +2346,18 @@ rules:
|
|
|
1303
2346
|
- recommended
|
|
1304
2347
|
- strict
|
|
1305
2348
|
- security
|
|
2349
|
+
- id: ts.security.path-join-user-input
|
|
2350
|
+
rulePath: ./rules/typescript/ts.security.path-join-user-input.rule.yaml
|
|
2351
|
+
presets:
|
|
2352
|
+
- recommended
|
|
2353
|
+
- strict
|
|
2354
|
+
- security
|
|
2355
|
+
- id: ts.security.express-insecure-listen
|
|
2356
|
+
rulePath: ./rules/typescript/ts.security.express-insecure-listen.rule.yaml
|
|
2357
|
+
presets:
|
|
2358
|
+
- recommended
|
|
2359
|
+
- strict
|
|
2360
|
+
- security
|
|
1306
2361
|
- id: ts.security.permissive-file-permissions
|
|
1307
2362
|
rulePath: ./rules/typescript/ts.security.permissive-file-permissions.rule.yaml
|
|
1308
2363
|
presets:
|
|
@@ -1434,396 +2489,1498 @@ rules:
|
|
|
1434
2489
|
rulePath: ./rules/typescript/ts.security.electron-dangerous-webpreferences.rule.yaml
|
|
1435
2490
|
presets:
|
|
1436
2491
|
- strict
|
|
1437
|
-
- security
|
|
1438
|
-
- id: ts.security.electron-missing-ipc-origin-check
|
|
1439
|
-
rulePath: ./rules/typescript/ts.security.electron-missing-ipc-origin-check.rule.yaml
|
|
2492
|
+
- security
|
|
2493
|
+
- id: ts.security.electron-missing-ipc-origin-check
|
|
2494
|
+
rulePath: ./rules/typescript/ts.security.electron-missing-ipc-origin-check.rule.yaml
|
|
2495
|
+
presets:
|
|
2496
|
+
- strict
|
|
2497
|
+
- security
|
|
2498
|
+
- id: ts.security.electron-insecure-local-state
|
|
2499
|
+
rulePath: ./rules/typescript/ts.security.electron-insecure-local-state.rule.yaml
|
|
2500
|
+
presets:
|
|
2501
|
+
- strict
|
|
2502
|
+
- security
|
|
2503
|
+
- id: ts.security.electron-shell-open-external-unvalidated
|
|
2504
|
+
rulePath: ./rules/typescript/ts.security.electron-shell-open-external-unvalidated.rule.yaml
|
|
2505
|
+
presets:
|
|
2506
|
+
- strict
|
|
2507
|
+
- security
|
|
2508
|
+
- id: ts.security.format-string-using-user-input
|
|
2509
|
+
rulePath: ./rules/typescript/ts.security.format-string-using-user-input.rule.yaml
|
|
2510
|
+
presets:
|
|
2511
|
+
- recommended
|
|
2512
|
+
- strict
|
|
2513
|
+
- security
|
|
2514
|
+
- id: ts.security.log-injection
|
|
2515
|
+
rulePath: ./rules/typescript/ts.security.log-injection.rule.yaml
|
|
2516
|
+
presets:
|
|
2517
|
+
- recommended
|
|
2518
|
+
- strict
|
|
2519
|
+
- security
|
|
2520
|
+
- id: ts.security.user-controlled-sendfile
|
|
2521
|
+
rulePath: ./rules/typescript/ts.security.user-controlled-sendfile.rule.yaml
|
|
2522
|
+
presets:
|
|
2523
|
+
- recommended
|
|
2524
|
+
- strict
|
|
2525
|
+
- security
|
|
2526
|
+
- id: ts.security.user-controlled-view-render
|
|
2527
|
+
rulePath: ./rules/typescript/ts.security.user-controlled-view-render.rule.yaml
|
|
2528
|
+
presets:
|
|
2529
|
+
- strict
|
|
2530
|
+
- security
|
|
2531
|
+
- id: ts.security.user-controlled-regexp
|
|
2532
|
+
rulePath: ./rules/typescript/ts.security.user-controlled-regexp.rule.yaml
|
|
2533
|
+
presets:
|
|
2534
|
+
- recommended
|
|
2535
|
+
- strict
|
|
2536
|
+
- security
|
|
2537
|
+
- id: ts.security.exposed-directory-listing
|
|
2538
|
+
rulePath: ./rules/typescript/ts.security.exposed-directory-listing.rule.yaml
|
|
2539
|
+
presets:
|
|
2540
|
+
- recommended
|
|
2541
|
+
- strict
|
|
2542
|
+
- security
|
|
2543
|
+
- id: ts.security.express-default-session-config
|
|
2544
|
+
rulePath: ./rules/typescript/ts.security.express-default-session-config.rule.yaml
|
|
2545
|
+
presets:
|
|
2546
|
+
- strict
|
|
2547
|
+
- security
|
|
2548
|
+
- id: ts.security.express-default-cookie-config
|
|
2549
|
+
rulePath: ./rules/typescript/ts.security.express-default-cookie-config.rule.yaml
|
|
2550
|
+
presets:
|
|
2551
|
+
- strict
|
|
2552
|
+
- security
|
|
2553
|
+
- id: ts.security.express-permissive-cookie-config
|
|
2554
|
+
rulePath: ./rules/typescript/ts.security.express-permissive-cookie-config.rule.yaml
|
|
2555
|
+
presets:
|
|
2556
|
+
- strict
|
|
2557
|
+
- security
|
|
2558
|
+
- id: ts.security.express-static-assets-after-session
|
|
2559
|
+
rulePath: ./rules/typescript/ts.security.express-static-assets-after-session.rule.yaml
|
|
2560
|
+
presets:
|
|
2561
|
+
- strict
|
|
2562
|
+
- security
|
|
2563
|
+
- id: ts.security.express-unbounded-body-parser
|
|
2564
|
+
rulePath: ./rules/typescript/ts.security.express-unbounded-body-parser.rule.yaml
|
|
2565
|
+
presets:
|
|
2566
|
+
- recommended
|
|
2567
|
+
- strict
|
|
2568
|
+
- security
|
|
2569
|
+
- id: ts.security.fastify-excessive-body-limit
|
|
2570
|
+
rulePath: ./rules/typescript/ts.security.fastify-excessive-body-limit.rule.yaml
|
|
2571
|
+
presets:
|
|
2572
|
+
- recommended
|
|
2573
|
+
- strict
|
|
2574
|
+
- security
|
|
2575
|
+
- id: ts.security.fastify-public-bind-without-trust-proxy
|
|
2576
|
+
rulePath: ./rules/typescript/ts.security.fastify-public-bind-without-trust-proxy.rule.yaml
|
|
2577
|
+
presets:
|
|
2578
|
+
- recommended
|
|
2579
|
+
- strict
|
|
2580
|
+
- security
|
|
2581
|
+
- id: ts.security.express-missing-helmet
|
|
2582
|
+
rulePath: ./rules/typescript/ts.security.express-missing-helmet.rule.yaml
|
|
2583
|
+
presets:
|
|
2584
|
+
- strict
|
|
2585
|
+
- security
|
|
2586
|
+
- id: ts.security.express-reduce-fingerprint
|
|
2587
|
+
rulePath: ./rules/typescript/ts.security.express-reduce-fingerprint.rule.yaml
|
|
2588
|
+
presets:
|
|
2589
|
+
- strict
|
|
2590
|
+
- security
|
|
2591
|
+
- id: ts.security.debug-mode-enabled
|
|
2592
|
+
rulePath: ./rules/typescript/ts.security.debug-mode-enabled.rule.yaml
|
|
2593
|
+
presets:
|
|
2594
|
+
- recommended
|
|
2595
|
+
- strict
|
|
2596
|
+
- security
|
|
2597
|
+
- id: ts.security.debug-statement-in-source
|
|
2598
|
+
rulePath: ./rules/typescript/ts.security.debug-statement-in-source.rule.yaml
|
|
2599
|
+
presets:
|
|
2600
|
+
- recommended
|
|
2601
|
+
- strict
|
|
2602
|
+
- security
|
|
2603
|
+
- id: ts.security.unsanitized-http-response
|
|
2604
|
+
rulePath: ./rules/typescript/ts.security.unsanitized-http-response.rule.yaml
|
|
2605
|
+
presets:
|
|
2606
|
+
- recommended
|
|
2607
|
+
- strict
|
|
2608
|
+
- security
|
|
2609
|
+
- id: py.security.django-unsafe-production-settings
|
|
2610
|
+
rulePath: ./rules/python/py.security.django-unsafe-production-settings.rule.yaml
|
|
2611
|
+
presets:
|
|
2612
|
+
- strict
|
|
2613
|
+
- security
|
|
2614
|
+
- id: py.security.django-csrf-exempt-state-changing
|
|
2615
|
+
rulePath: ./rules/python/py.security.django-csrf-exempt-state-changing.rule.yaml
|
|
2616
|
+
presets:
|
|
2617
|
+
- strict
|
|
2618
|
+
- security
|
|
2619
|
+
- id: py.security.django-missing-csrf-middleware
|
|
2620
|
+
rulePath: ./rules/python/py.security.django-missing-csrf-middleware.rule.yaml
|
|
2621
|
+
presets:
|
|
2622
|
+
- strict
|
|
2623
|
+
- security
|
|
2624
|
+
- id: py.security.drf-allow-any-default
|
|
2625
|
+
rulePath: ./rules/python/py.security.drf-allow-any-default.rule.yaml
|
|
2626
|
+
presets:
|
|
2627
|
+
- strict
|
|
2628
|
+
- security
|
|
2629
|
+
- id: py.security.drf-allow-any-unsafe-method
|
|
2630
|
+
rulePath: ./rules/python/py.security.drf-allow-any-unsafe-method.rule.yaml
|
|
2631
|
+
presets:
|
|
2632
|
+
- strict
|
|
2633
|
+
- security
|
|
2634
|
+
- id: py.security.flask-unsafe-html-output
|
|
2635
|
+
rulePath: ./rules/python/py.security.flask-unsafe-html-output.rule.yaml
|
|
2636
|
+
presets:
|
|
2637
|
+
- strict
|
|
2638
|
+
- security
|
|
2639
|
+
- id: py.security.flask-unsafe-upload-filename
|
|
2640
|
+
rulePath: ./rules/python/py.security.flask-unsafe-upload-filename.rule.yaml
|
|
2641
|
+
presets:
|
|
2642
|
+
- strict
|
|
2643
|
+
- security
|
|
2644
|
+
- id: py.security.path-traversal-user-input
|
|
2645
|
+
rulePath: ./rules/python/py.security.path-traversal-user-input.rule.yaml
|
|
2646
|
+
presets:
|
|
2647
|
+
- recommended
|
|
2648
|
+
- strict
|
|
2649
|
+
- security
|
|
2650
|
+
- id: py.security.flask-missing-upload-body-limit
|
|
2651
|
+
rulePath: ./rules/python/py.security.flask-missing-upload-body-limit.rule.yaml
|
|
2652
|
+
presets:
|
|
2653
|
+
- strict
|
|
2654
|
+
- security
|
|
2655
|
+
- id: py.security.flask-debug-enabled
|
|
2656
|
+
rulePath: ./rules/python/py.security.flask-debug-enabled.rule.yaml
|
|
2657
|
+
presets:
|
|
2658
|
+
- strict
|
|
2659
|
+
- security
|
|
2660
|
+
- id: py.security.django-mark-safe
|
|
2661
|
+
rulePath: ./rules/python/py.security.django-mark-safe.rule.yaml
|
|
2662
|
+
presets:
|
|
2663
|
+
- strict
|
|
2664
|
+
- security
|
|
2665
|
+
- id: py.security.django-format-html-unsafe
|
|
2666
|
+
rulePath: ./rules/python/py.security.django-format-html-unsafe.rule.yaml
|
|
2667
|
+
presets:
|
|
2668
|
+
- strict
|
|
2669
|
+
- security
|
|
2670
|
+
- id: py.security.django-security-middleware-missing
|
|
2671
|
+
rulePath: ./rules/python/py.security.django-security-middleware-missing.rule.yaml
|
|
2672
|
+
presets:
|
|
2673
|
+
- strict
|
|
2674
|
+
- security
|
|
2675
|
+
- id: py.security.fastapi-insecure-cors
|
|
2676
|
+
rulePath: ./rules/python/py.security.fastapi-insecure-cors.rule.yaml
|
|
2677
|
+
presets:
|
|
2678
|
+
- strict
|
|
2679
|
+
- security
|
|
2680
|
+
- id: py.security.subprocess-shell-enabled
|
|
2681
|
+
rulePath: ./rules/python/py.security.subprocess-shell-enabled.rule.yaml
|
|
2682
|
+
presets:
|
|
2683
|
+
- strict
|
|
2684
|
+
- security
|
|
2685
|
+
- id: py.security.dynamic-code-execution
|
|
2686
|
+
rulePath: ./rules/python/py.security.dynamic-code-execution.rule.yaml
|
|
2687
|
+
presets:
|
|
2688
|
+
- strict
|
|
2689
|
+
- security
|
|
2690
|
+
- id: py.security.insecure-yaml-load
|
|
2691
|
+
rulePath: ./rules/python/py.security.insecure-yaml-load.rule.yaml
|
|
2692
|
+
presets:
|
|
2693
|
+
- strict
|
|
2694
|
+
- security
|
|
2695
|
+
- id: py.security.insecure-temp-file
|
|
2696
|
+
rulePath: ./rules/python/py.security.insecure-temp-file.rule.yaml
|
|
2697
|
+
presets:
|
|
2698
|
+
- strict
|
|
2699
|
+
- security
|
|
2700
|
+
- id: py.security.bind-all-interfaces
|
|
2701
|
+
rulePath: ./rules/python/py.security.bind-all-interfaces.rule.yaml
|
|
2702
|
+
presets:
|
|
2703
|
+
- strict
|
|
2704
|
+
- security
|
|
2705
|
+
- id: py.security.debugger-import
|
|
2706
|
+
rulePath: ./rules/python/py.security.debugger-import.rule.yaml
|
|
2707
|
+
presets:
|
|
2708
|
+
- strict
|
|
2709
|
+
- security
|
|
2710
|
+
- id: py.security.jinja-autoescape-disabled
|
|
2711
|
+
rulePath: ./rules/python/py.security.jinja-autoescape-disabled.rule.yaml
|
|
2712
|
+
presets:
|
|
2713
|
+
- strict
|
|
2714
|
+
- security
|
|
2715
|
+
- id: py.correctness.assert-outside-test
|
|
2716
|
+
rulePath: ./rules/python/py.correctness.assert-outside-test.rule.yaml
|
|
2717
|
+
presets:
|
|
2718
|
+
- strict
|
|
2719
|
+
- id: py.correctness.redefined-builtin
|
|
2720
|
+
rulePath: ./rules/python/py.correctness.redefined-builtin.rule.yaml
|
|
2721
|
+
presets:
|
|
2722
|
+
- strict
|
|
2723
|
+
- id: py.correctness.global-statement
|
|
2724
|
+
rulePath: ./rules/python/py.correctness.global-statement.rule.yaml
|
|
2725
|
+
presets:
|
|
2726
|
+
- strict
|
|
2727
|
+
- id: py.correctness.super-with-arguments
|
|
2728
|
+
rulePath: ./rules/python/py.correctness.super-with-arguments.rule.yaml
|
|
2729
|
+
presets:
|
|
2730
|
+
- strict
|
|
2731
|
+
- id: py.correctness.useless-return
|
|
2732
|
+
rulePath: ./rules/python/py.correctness.useless-return.rule.yaml
|
|
2733
|
+
presets:
|
|
2734
|
+
- strict
|
|
2735
|
+
- id: py.correctness.unnecessary-comprehension
|
|
2736
|
+
rulePath: ./rules/python/py.correctness.unnecessary-comprehension.rule.yaml
|
|
2737
|
+
presets:
|
|
2738
|
+
- strict
|
|
2739
|
+
- id: py.security.hardcoded-temp-directory
|
|
2740
|
+
rulePath: ./rules/python/py.security.hardcoded-temp-directory.rule.yaml
|
|
2741
|
+
presets:
|
|
2742
|
+
- strict
|
|
2743
|
+
- security
|
|
2744
|
+
- id: py.security.insecure-cipher
|
|
2745
|
+
rulePath: ./rules/python/py.security.insecure-cipher.rule.yaml
|
|
2746
|
+
presets:
|
|
2747
|
+
- strict
|
|
2748
|
+
- security
|
|
2749
|
+
- id: py.security.insecure-cipher-mode
|
|
2750
|
+
rulePath: ./rules/python/py.security.insecure-cipher-mode.rule.yaml
|
|
2751
|
+
presets:
|
|
2752
|
+
- strict
|
|
2753
|
+
- security
|
|
2754
|
+
- id: py.security.insecure-xml-parser
|
|
2755
|
+
rulePath: ./rules/python/py.security.insecure-xml-parser.rule.yaml
|
|
2756
|
+
presets:
|
|
2757
|
+
- strict
|
|
2758
|
+
- security
|
|
2759
|
+
- id: py.security.telnet-usage
|
|
2760
|
+
rulePath: ./rules/python/py.security.telnet-usage.rule.yaml
|
|
2761
|
+
presets:
|
|
2762
|
+
- strict
|
|
2763
|
+
- security
|
|
2764
|
+
- id: py.security.ftp-usage
|
|
2765
|
+
rulePath: ./rules/python/py.security.ftp-usage.rule.yaml
|
|
2766
|
+
presets:
|
|
2767
|
+
- strict
|
|
2768
|
+
- security
|
|
2769
|
+
- id: py.security.insecure-crypto-import
|
|
2770
|
+
rulePath: ./rules/python/py.security.insecure-crypto-import.rule.yaml
|
|
2771
|
+
presets:
|
|
2772
|
+
- strict
|
|
2773
|
+
- security
|
|
2774
|
+
- id: py.security.xmlrpc-import
|
|
2775
|
+
rulePath: ./rules/python/py.security.xmlrpc-import.rule.yaml
|
|
2776
|
+
presets:
|
|
2777
|
+
- strict
|
|
2778
|
+
- security
|
|
2779
|
+
- id: py.security.weak-crypto-key
|
|
2780
|
+
rulePath: ./rules/python/py.security.weak-crypto-key.rule.yaml
|
|
2781
|
+
presets:
|
|
2782
|
+
- strict
|
|
2783
|
+
- security
|
|
2784
|
+
- id: py.security.insecure-ssl-version
|
|
2785
|
+
rulePath: ./rules/python/py.security.insecure-ssl-version.rule.yaml
|
|
2786
|
+
presets:
|
|
2787
|
+
- strict
|
|
2788
|
+
- security
|
|
2789
|
+
- id: py.security.ssh-host-key-validation
|
|
2790
|
+
rulePath: ./rules/python/py.security.ssh-host-key-validation.rule.yaml
|
|
2791
|
+
presets:
|
|
2792
|
+
- strict
|
|
2793
|
+
- security
|
|
2794
|
+
- id: py.security.mako-insecure-templates
|
|
2795
|
+
rulePath: ./rules/python/py.security.mako-insecure-templates.rule.yaml
|
|
2796
|
+
presets:
|
|
2797
|
+
- strict
|
|
2798
|
+
- security
|
|
2799
|
+
- id: py.security.insecure-urllib-method
|
|
2800
|
+
rulePath: ./rules/python/py.security.insecure-urllib-method.rule.yaml
|
|
2801
|
+
presets:
|
|
2802
|
+
- strict
|
|
2803
|
+
- security
|
|
2804
|
+
- id: py.security.wildcard-subprocess-injection
|
|
2805
|
+
rulePath: ./rules/python/py.security.wildcard-subprocess-injection.rule.yaml
|
|
2806
|
+
presets:
|
|
2807
|
+
- strict
|
|
2808
|
+
- security
|
|
2809
|
+
- id: py.security.command-execution-with-request-input
|
|
2810
|
+
rulePath: ./rules/python/py.security.command-execution-with-request-input.rule.yaml
|
|
2811
|
+
presets:
|
|
2812
|
+
- strict
|
|
2813
|
+
- security
|
|
2814
|
+
- id: py.security.hardcoded-credentials
|
|
2815
|
+
rulePath: ./rules/python/py.security.hardcoded-credentials.rule.yaml
|
|
2816
|
+
presets:
|
|
2817
|
+
- strict
|
|
2818
|
+
- security
|
|
2819
|
+
- id: py.security.insecure-http-transport
|
|
2820
|
+
rulePath: ./rules/python/py.security.insecure-http-transport.rule.yaml
|
|
2821
|
+
presets:
|
|
2822
|
+
- strict
|
|
2823
|
+
- security
|
|
2824
|
+
- id: py.security.request-path-file-read
|
|
2825
|
+
rulePath: ./rules/python/py.security.request-path-file-read.rule.yaml
|
|
2826
|
+
presets:
|
|
2827
|
+
- strict
|
|
2828
|
+
- security
|
|
2829
|
+
- id: py.security.sensitive-logging
|
|
2830
|
+
rulePath: ./rules/python/py.security.sensitive-logging.rule.yaml
|
|
2831
|
+
presets:
|
|
2832
|
+
- strict
|
|
2833
|
+
- security
|
|
2834
|
+
- id: py.security.sql-interpolation
|
|
2835
|
+
rulePath: ./rules/python/py.security.sql-interpolation.rule.yaml
|
|
2836
|
+
presets:
|
|
2837
|
+
- strict
|
|
2838
|
+
- security
|
|
2839
|
+
- id: py.security.tls-verification-disabled
|
|
2840
|
+
rulePath: ./rules/python/py.security.tls-verification-disabled.rule.yaml
|
|
2841
|
+
presets:
|
|
2842
|
+
- strict
|
|
2843
|
+
- security
|
|
2844
|
+
- id: py.security.unsafe-deserialization
|
|
2845
|
+
rulePath: ./rules/python/py.security.unsafe-deserialization.rule.yaml
|
|
2846
|
+
presets:
|
|
2847
|
+
- strict
|
|
2848
|
+
- security
|
|
2849
|
+
- id: py.security.weak-hash-algorithm
|
|
2850
|
+
rulePath: ./rules/python/py.security.weak-hash-algorithm.rule.yaml
|
|
2851
|
+
presets:
|
|
2852
|
+
- strict
|
|
2853
|
+
- security
|
|
2854
|
+
- id: java.security.android-screenshot-exposure
|
|
2855
|
+
rulePath: ./rules/java/java.security.android-screenshot-exposure.rule.yaml
|
|
2856
|
+
presets:
|
|
2857
|
+
- recommended
|
|
2858
|
+
- strict
|
|
2859
|
+
- security
|
|
2860
|
+
- id: java.security.android-world-readable-mode
|
|
2861
|
+
rulePath: ./rules/java/java.security.android-world-readable-mode.rule.yaml
|
|
2862
|
+
presets:
|
|
2863
|
+
- recommended
|
|
2864
|
+
- strict
|
|
2865
|
+
- security
|
|
2866
|
+
- id: java.security.jpa-concatenated-query
|
|
2867
|
+
rulePath: ./rules/java/java.security.jpa-concatenated-query.rule.yaml
|
|
2868
|
+
presets:
|
|
2869
|
+
- strict
|
|
2870
|
+
- security
|
|
2871
|
+
- id: java.security.reflected-output-from-request
|
|
2872
|
+
rulePath: ./rules/java/java.security.reflected-output-from-request.rule.yaml
|
|
2873
|
+
presets:
|
|
2874
|
+
- strict
|
|
2875
|
+
- security
|
|
2876
|
+
- id: java.security.servlet-insecure-cookie
|
|
2877
|
+
rulePath: ./rules/java/java.security.servlet-insecure-cookie.rule.yaml
|
|
2878
|
+
presets:
|
|
2879
|
+
- recommended
|
|
2880
|
+
- strict
|
|
2881
|
+
- security
|
|
2882
|
+
- id: java.security.spring-actuator-health-details-always
|
|
2883
|
+
rulePath: ./rules/java/java.security.spring-actuator-health-details-always.rule.yaml
|
|
2884
|
+
presets:
|
|
2885
|
+
- strict
|
|
2886
|
+
- security
|
|
2887
|
+
- id: java.security.spring-actuator-sensitive-exposure
|
|
2888
|
+
rulePath: ./rules/java/java.security.spring-actuator-sensitive-exposure.rule.yaml
|
|
2889
|
+
presets:
|
|
2890
|
+
- strict
|
|
2891
|
+
- security
|
|
2892
|
+
- id: java.security.spring-csrf-globally-disabled
|
|
2893
|
+
rulePath: ./rules/java/java.security.spring-csrf-globally-disabled.rule.yaml
|
|
2894
|
+
presets:
|
|
2895
|
+
- strict
|
|
2896
|
+
- security
|
|
2897
|
+
- id: java.security.spring-debug-exposure
|
|
2898
|
+
rulePath: ./rules/java/java.security.spring-debug-exposure.rule.yaml
|
|
2899
|
+
presets:
|
|
2900
|
+
- strict
|
|
2901
|
+
- security
|
|
2902
|
+
- id: java.security.spring-permit-all-default
|
|
2903
|
+
rulePath: ./rules/java/java.security.spring-permit-all-default.rule.yaml
|
|
2904
|
+
presets:
|
|
2905
|
+
- strict
|
|
2906
|
+
- security
|
|
2907
|
+
- id: java.security.spring-webmvc-unrestricted-data-binding
|
|
2908
|
+
rulePath: ./rules/java/java.security.spring-webmvc-unrestricted-data-binding.rule.yaml
|
|
2909
|
+
presets:
|
|
2910
|
+
- strict
|
|
2911
|
+
- security
|
|
2912
|
+
- id: java.security.template-unescaped-user-output
|
|
2913
|
+
rulePath: ./rules/java/java.security.template-unescaped-user-output.rule.yaml
|
|
2914
|
+
presets:
|
|
2915
|
+
- strict
|
|
2916
|
+
- security
|
|
2917
|
+
- id: java.security.unsafe-jackson-deserialization
|
|
2918
|
+
rulePath: ./rules/java/java.security.unsafe-jackson-deserialization.rule.yaml
|
|
2919
|
+
presets:
|
|
2920
|
+
- strict
|
|
2921
|
+
- security
|
|
2922
|
+
- id: java.security.xxe-document-builder
|
|
2923
|
+
rulePath: ./rules/java/java.security.xxe-document-builder.rule.yaml
|
|
2924
|
+
presets:
|
|
2925
|
+
- strict
|
|
2926
|
+
- security
|
|
2927
|
+
- id: java.security.xxe-xml-input-factory
|
|
2928
|
+
rulePath: ./rules/java/java.security.xxe-xml-input-factory.rule.yaml
|
|
2929
|
+
presets:
|
|
2930
|
+
- strict
|
|
2931
|
+
- security
|
|
2932
|
+
- id: java.security.hibernate-sql-concatenation
|
|
2933
|
+
rulePath: ./rules/java/java.security.hibernate-sql-concatenation.rule.yaml
|
|
2934
|
+
presets:
|
|
2935
|
+
- strict
|
|
2936
|
+
- security
|
|
2937
|
+
- id: java.security.shell-runtime-exec
|
|
2938
|
+
rulePath: ./rules/java/java.security.shell-runtime-exec.rule.yaml
|
|
2939
|
+
presets:
|
|
2940
|
+
- strict
|
|
2941
|
+
- security
|
|
2942
|
+
- id: java.security.predictable-securerandom
|
|
2943
|
+
rulePath: ./rules/java/java.security.predictable-securerandom.rule.yaml
|
|
2944
|
+
presets:
|
|
2945
|
+
- strict
|
|
2946
|
+
- security
|
|
2947
|
+
- id: java.correctness.empty-catch
|
|
2948
|
+
rulePath: ./rules/java/java.correctness.empty-catch.rule.yaml
|
|
2949
|
+
presets:
|
|
2950
|
+
- strict
|
|
2951
|
+
- id: java.correctness.equals-on-array
|
|
2952
|
+
rulePath: ./rules/java/java.correctness.equals-on-array.rule.yaml
|
|
2953
|
+
presets:
|
|
2954
|
+
- strict
|
|
2955
|
+
- id: java.correctness.sync-on-string-literal
|
|
2956
|
+
rulePath: ./rules/java/java.correctness.sync-on-string-literal.rule.yaml
|
|
2957
|
+
presets:
|
|
2958
|
+
- strict
|
|
2959
|
+
- id: java.correctness.catch-null-pointer
|
|
2960
|
+
rulePath: ./rules/java/java.correctness.catch-null-pointer.rule.yaml
|
|
2961
|
+
presets:
|
|
2962
|
+
- strict
|
|
2963
|
+
- id: java.correctness.unsafe-optional-get
|
|
2964
|
+
rulePath: ./rules/java/java.correctness.unsafe-optional-get.rule.yaml
|
|
2965
|
+
presets:
|
|
2966
|
+
- strict
|
|
2967
|
+
- id: java.correctness.return-in-finally
|
|
2968
|
+
rulePath: ./rules/java/java.correctness.return-in-finally.rule.yaml
|
|
2969
|
+
presets:
|
|
2970
|
+
- strict
|
|
2971
|
+
- id: java.correctness.unconditional-recursion
|
|
2972
|
+
rulePath: ./rules/java/java.correctness.unconditional-recursion.rule.yaml
|
|
2973
|
+
presets:
|
|
2974
|
+
- strict
|
|
2975
|
+
- id: java.correctness.double-checked-locking
|
|
2976
|
+
rulePath: ./rules/java/java.correctness.double-checked-locking.rule.yaml
|
|
2977
|
+
presets:
|
|
2978
|
+
- strict
|
|
2979
|
+
- id: java.correctness.stream-reuse
|
|
2980
|
+
rulePath: ./rules/java/java.correctness.stream-reuse.rule.yaml
|
|
2981
|
+
presets:
|
|
2982
|
+
- strict
|
|
2983
|
+
- id: java.correctness.array-index-bounds
|
|
2984
|
+
rulePath: ./rules/java/java.correctness.array-index-bounds.rule.yaml
|
|
2985
|
+
presets:
|
|
2986
|
+
- strict
|
|
2987
|
+
- id: java.correctness.sync-on-get-class
|
|
2988
|
+
rulePath: ./rules/java/java.correctness.sync-on-get-class.rule.yaml
|
|
2989
|
+
presets:
|
|
2990
|
+
- strict
|
|
2991
|
+
- id: java.correctness.optional-null
|
|
2992
|
+
rulePath: ./rules/java/java.correctness.optional-null.rule.yaml
|
|
2993
|
+
presets:
|
|
2994
|
+
- strict
|
|
2995
|
+
- id: java.correctness.stringbuilder-char-ctor
|
|
2996
|
+
rulePath: ./rules/java/java.correctness.stringbuilder-char-ctor.rule.yaml
|
|
2997
|
+
presets:
|
|
2998
|
+
- strict
|
|
2999
|
+
- id: java.correctness.static-date-field
|
|
3000
|
+
rulePath: ./rules/java/java.correctness.static-date-field.rule.yaml
|
|
3001
|
+
presets:
|
|
3002
|
+
- strict
|
|
3003
|
+
- id: java.correctness.unescaped-whitespace
|
|
3004
|
+
rulePath: ./rules/java/java.correctness.unescaped-whitespace.rule.yaml
|
|
3005
|
+
presets:
|
|
3006
|
+
- strict
|
|
3007
|
+
- id: java.correctness.unsupported-jdk-api
|
|
3008
|
+
rulePath: ./rules/java/java.correctness.unsupported-jdk-api.rule.yaml
|
|
3009
|
+
presets:
|
|
3010
|
+
- strict
|
|
3011
|
+
- id: java.correctness.nan-comparison
|
|
3012
|
+
rulePath: ./rules/java/java.correctness.nan-comparison.rule.yaml
|
|
3013
|
+
presets:
|
|
3014
|
+
- strict
|
|
3015
|
+
- id: java.correctness.read-resolve-return-type
|
|
3016
|
+
rulePath: ./rules/java/java.correctness.read-resolve-return-type.rule.yaml
|
|
3017
|
+
presets:
|
|
3018
|
+
- strict
|
|
3019
|
+
- id: java.correctness.serialization-method-signature
|
|
3020
|
+
rulePath: ./rules/java/java.correctness.serialization-method-signature.rule.yaml
|
|
3021
|
+
presets:
|
|
3022
|
+
- strict
|
|
3023
|
+
- id: java.correctness.serializable-superclass
|
|
3024
|
+
rulePath: ./rules/java/java.correctness.serializable-superclass.rule.yaml
|
|
3025
|
+
presets:
|
|
3026
|
+
- strict
|
|
3027
|
+
- id: java.correctness.collection-remove-type-mismatch
|
|
3028
|
+
rulePath: ./rules/java/java.correctness.collection-remove-type-mismatch.rule.yaml
|
|
3029
|
+
presets:
|
|
3030
|
+
- strict
|
|
3031
|
+
- id: java.correctness.annotation-check-always-false
|
|
3032
|
+
rulePath: ./rules/java/java.correctness.annotation-check-always-false.rule.yaml
|
|
3033
|
+
presets:
|
|
3034
|
+
- strict
|
|
3035
|
+
- id: java.correctness.hashcode-on-array
|
|
3036
|
+
rulePath: ./rules/java/java.correctness.hashcode-on-array.rule.yaml
|
|
3037
|
+
presets:
|
|
3038
|
+
- strict
|
|
3039
|
+
- id: java.correctness.invalid-serial-version-uid
|
|
3040
|
+
rulePath: ./rules/java/java.correctness.invalid-serial-version-uid.rule.yaml
|
|
3041
|
+
presets:
|
|
3042
|
+
- strict
|
|
3043
|
+
- id: java.correctness.loop-condition-never-true
|
|
3044
|
+
rulePath: ./rules/java/java.correctness.loop-condition-never-true.rule.yaml
|
|
3045
|
+
presets:
|
|
3046
|
+
- strict
|
|
3047
|
+
- id: java.correctness.non-terminating-loop
|
|
3048
|
+
rulePath: ./rules/java/java.correctness.non-terminating-loop.rule.yaml
|
|
3049
|
+
presets:
|
|
3050
|
+
- strict
|
|
3051
|
+
- id: java.correctness.unimplementable-interface
|
|
3052
|
+
rulePath: ./rules/java/java.correctness.unimplementable-interface.rule.yaml
|
|
3053
|
+
presets:
|
|
3054
|
+
- strict
|
|
3055
|
+
- id: java.correctness.unsafe-collection-downcast
|
|
3056
|
+
rulePath: ./rules/java/java.correctness.unsafe-collection-downcast.rule.yaml
|
|
3057
|
+
presets:
|
|
3058
|
+
- strict
|
|
3059
|
+
- id: java.correctness.unsupported-method-call
|
|
3060
|
+
rulePath: ./rules/java/java.correctness.unsupported-method-call.rule.yaml
|
|
3061
|
+
presets:
|
|
3062
|
+
- strict
|
|
3063
|
+
- id: java.correctness.boxed-boolean-conditional
|
|
3064
|
+
rulePath: ./rules/java/java.correctness.boxed-boolean-conditional.rule.yaml
|
|
3065
|
+
presets:
|
|
3066
|
+
- strict
|
|
3067
|
+
- id: java.correctness.double-assignment
|
|
3068
|
+
rulePath: ./rules/java/java.correctness.double-assignment.rule.yaml
|
|
3069
|
+
presets:
|
|
3070
|
+
- strict
|
|
3071
|
+
- id: java.correctness.sync-on-mutable-ref
|
|
3072
|
+
rulePath: ./rules/java/java.correctness.sync-on-mutable-ref.rule.yaml
|
|
3073
|
+
presets:
|
|
3074
|
+
- strict
|
|
3075
|
+
- id: java.correctness.sync-on-nullable-field
|
|
3076
|
+
rulePath: ./rules/java/java.correctness.sync-on-nullable-field.rule.yaml
|
|
3077
|
+
presets:
|
|
3078
|
+
- strict
|
|
3079
|
+
- id: java.correctness.sync-on-public-field
|
|
3080
|
+
rulePath: ./rules/java/java.correctness.sync-on-public-field.rule.yaml
|
|
3081
|
+
presets:
|
|
3082
|
+
- strict
|
|
3083
|
+
- id: java.correctness.system-exit
|
|
3084
|
+
rulePath: ./rules/java/java.correctness.system-exit.rule.yaml
|
|
3085
|
+
presets:
|
|
3086
|
+
- strict
|
|
3087
|
+
- id: java.correctness.thread-static-misuse
|
|
3088
|
+
rulePath: ./rules/java/java.correctness.thread-static-misuse.rule.yaml
|
|
3089
|
+
presets:
|
|
3090
|
+
- strict
|
|
3091
|
+
- id: java.correctness.unsync-static-lazy-init
|
|
3092
|
+
rulePath: ./rules/java/java.correctness.unsync-static-lazy-init.rule.yaml
|
|
3093
|
+
presets:
|
|
3094
|
+
- strict
|
|
3095
|
+
- id: java.correctness.invalid-time-constants
|
|
3096
|
+
rulePath: ./rules/java/java.correctness.invalid-time-constants.rule.yaml
|
|
3097
|
+
presets:
|
|
3098
|
+
- recommended
|
|
3099
|
+
- strict
|
|
3100
|
+
- id: java.correctness.comparator-downcast-sign-flip
|
|
3101
|
+
rulePath: ./rules/java/java.correctness.comparator-downcast-sign-flip.rule.yaml
|
|
3102
|
+
presets:
|
|
3103
|
+
- recommended
|
|
3104
|
+
- strict
|
|
3105
|
+
- id: java.correctness.cacheloader-null-return
|
|
3106
|
+
rulePath: ./rules/java/java.correctness.cacheloader-null-return.rule.yaml
|
|
3107
|
+
presets:
|
|
3108
|
+
- recommended
|
|
3109
|
+
- strict
|
|
3110
|
+
- id: java.correctness.incorrect-main-signature
|
|
3111
|
+
rulePath: ./rules/java/java.correctness.incorrect-main-signature.rule.yaml
|
|
3112
|
+
presets:
|
|
3113
|
+
- recommended
|
|
3114
|
+
- strict
|
|
3115
|
+
- id: java.correctness.enum-get-class
|
|
3116
|
+
rulePath: ./rules/java/java.correctness.enum-get-class.rule.yaml
|
|
3117
|
+
presets:
|
|
3118
|
+
- recommended
|
|
3119
|
+
- strict
|
|
3120
|
+
- id: java.correctness.deprecated-thread-methods
|
|
3121
|
+
rulePath: ./rules/java/java.correctness.deprecated-thread-methods.rule.yaml
|
|
3122
|
+
presets:
|
|
3123
|
+
- recommended
|
|
3124
|
+
- strict
|
|
3125
|
+
- id: java.correctness.possible-null-access
|
|
3126
|
+
rulePath: ./rules/java/java.correctness.possible-null-access.rule.yaml
|
|
3127
|
+
presets:
|
|
3128
|
+
- recommended
|
|
3129
|
+
- strict
|
|
3130
|
+
- id: java.correctness.possible-null-access-exception
|
|
3131
|
+
rulePath: ./rules/java/java.correctness.possible-null-access-exception.rule.yaml
|
|
3132
|
+
presets:
|
|
3133
|
+
- recommended
|
|
3134
|
+
- strict
|
|
3135
|
+
- id: java.correctness.invalidated-iterator
|
|
3136
|
+
rulePath: ./rules/java/java.correctness.invalidated-iterator.rule.yaml
|
|
3137
|
+
presets:
|
|
3138
|
+
- recommended
|
|
3139
|
+
- strict
|
|
3140
|
+
- id: java.correctness.mutable-data-exposed
|
|
3141
|
+
rulePath: ./rules/java/java.correctness.mutable-data-exposed.rule.yaml
|
|
3142
|
+
presets:
|
|
3143
|
+
- recommended
|
|
3144
|
+
- strict
|
|
3145
|
+
- id: java.correctness.duration-with-nanos-misuse
|
|
3146
|
+
rulePath: ./rules/java/java.correctness.duration-with-nanos-misuse.rule.yaml
|
|
3147
|
+
presets:
|
|
3148
|
+
- recommended
|
|
3149
|
+
- strict
|
|
3150
|
+
- id: java.correctness.indexof-reversed-arguments
|
|
3151
|
+
rulePath: ./rules/java/java.correctness.indexof-reversed-arguments.rule.yaml
|
|
3152
|
+
presets:
|
|
3153
|
+
- recommended
|
|
3154
|
+
- strict
|
|
3155
|
+
- id: java.correctness.ncopies-argument-order
|
|
3156
|
+
rulePath: ./rules/java/java.correctness.ncopies-argument-order.rule.yaml
|
|
3157
|
+
presets:
|
|
3158
|
+
- recommended
|
|
3159
|
+
- strict
|
|
3160
|
+
- id: java.correctness.class-isinstance-on-class
|
|
3161
|
+
rulePath: ./rules/java/java.correctness.class-isinstance-on-class.rule.yaml
|
|
3162
|
+
presets:
|
|
3163
|
+
- recommended
|
|
3164
|
+
- strict
|
|
3165
|
+
# Batch 15 (JAVA-E) — bug risk / framework rules
|
|
3166
|
+
- id: java.correctness.zoneid-invalid-timezone
|
|
3167
|
+
rulePath: ./rules/java/java.correctness.zoneid-invalid-timezone.rule.yaml
|
|
3168
|
+
presets:
|
|
3169
|
+
- recommended
|
|
3170
|
+
- strict
|
|
3171
|
+
- id: java.correctness.timezone-invalid-id
|
|
3172
|
+
rulePath: ./rules/java/java.correctness.timezone-invalid-id.rule.yaml
|
|
3173
|
+
presets:
|
|
3174
|
+
- recommended
|
|
3175
|
+
- strict
|
|
3176
|
+
- id: java.correctness.instant-unsupported-temporal-unit
|
|
3177
|
+
rulePath: ./rules/java/java.correctness.instant-unsupported-temporal-unit.rule.yaml
|
|
3178
|
+
presets:
|
|
3179
|
+
- recommended
|
|
3180
|
+
- strict
|
|
3181
|
+
- id: java.correctness.iterable-path-type
|
|
3182
|
+
rulePath: ./rules/java/java.correctness.iterable-path-type.rule.yaml
|
|
3183
|
+
presets:
|
|
3184
|
+
- recommended
|
|
3185
|
+
- strict
|
|
3186
|
+
- id: java.correctness.throw-null
|
|
3187
|
+
rulePath: ./rules/java/java.correctness.throw-null.rule.yaml
|
|
3188
|
+
presets:
|
|
3189
|
+
- recommended
|
|
3190
|
+
- strict
|
|
3191
|
+
- id: java.correctness.hashtable-contains-value
|
|
3192
|
+
rulePath: ./rules/java/java.correctness.hashtable-contains-value.rule.yaml
|
|
3193
|
+
presets:
|
|
3194
|
+
- recommended
|
|
3195
|
+
- strict
|
|
3196
|
+
- id: java.correctness.unterminated-assertion-chain
|
|
3197
|
+
rulePath: ./rules/java/java.correctness.unterminated-assertion-chain.rule.yaml
|
|
3198
|
+
presets:
|
|
3199
|
+
- recommended
|
|
3200
|
+
- strict
|
|
3201
|
+
- id: java.correctness.prepared-statement-in-loop
|
|
3202
|
+
rulePath: ./rules/java/java.correctness.prepared-statement-in-loop.rule.yaml
|
|
3203
|
+
presets:
|
|
3204
|
+
- strict
|
|
3205
|
+
- id: java.correctness.assertion-in-production
|
|
3206
|
+
rulePath: ./rules/java/java.correctness.assertion-in-production.rule.yaml
|
|
3207
|
+
presets:
|
|
3208
|
+
- strict
|
|
3209
|
+
- id: java.correctness.array-compared-to-non-array
|
|
3210
|
+
rulePath: ./rules/java/java.correctness.array-compared-to-non-array.rule.yaml
|
|
3211
|
+
presets:
|
|
3212
|
+
- strict
|
|
3213
|
+
- id: java.correctness.parameter-reassignment
|
|
3214
|
+
rulePath: ./rules/java/java.correctness.parameter-reassignment.rule.yaml
|
|
3215
|
+
presets:
|
|
3216
|
+
- strict
|
|
3217
|
+
- id: java.correctness.clone-without-super
|
|
3218
|
+
rulePath: ./rules/java/java.correctness.clone-without-super.rule.yaml
|
|
3219
|
+
presets:
|
|
3220
|
+
- recommended
|
|
3221
|
+
- strict
|
|
3222
|
+
- id: java.correctness.duplicate-binary-argument
|
|
3223
|
+
rulePath: ./rules/java/java.correctness.duplicate-binary-argument.rule.yaml
|
|
3224
|
+
presets:
|
|
3225
|
+
- recommended
|
|
3226
|
+
- strict
|
|
3227
|
+
- id: java.correctness.equals-null
|
|
3228
|
+
rulePath: ./rules/java/java.correctness.equals-null.rule.yaml
|
|
3229
|
+
presets:
|
|
3230
|
+
- recommended
|
|
3231
|
+
- strict
|
|
3232
|
+
- id: java.correctness.illegal-monitor-state-caught
|
|
3233
|
+
rulePath: ./rules/java/java.correctness.illegal-monitor-state-caught.rule.yaml
|
|
3234
|
+
presets:
|
|
3235
|
+
- recommended
|
|
3236
|
+
- strict
|
|
3237
|
+
- id: java.correctness.unsafe-getresource
|
|
3238
|
+
rulePath: ./rules/java/java.correctness.unsafe-getresource.rule.yaml
|
|
3239
|
+
presets:
|
|
3240
|
+
- recommended
|
|
3241
|
+
- strict
|
|
3242
|
+
- id: java.correctness.volatile-array-elements
|
|
3243
|
+
rulePath: ./rules/java/java.correctness.volatile-array-elements.rule.yaml
|
|
3244
|
+
presets:
|
|
3245
|
+
- recommended
|
|
3246
|
+
- strict
|
|
3247
|
+
- id: java.correctness.volatile-increment-non-atomic
|
|
3248
|
+
rulePath: ./rules/java/java.correctness.volatile-increment-non-atomic.rule.yaml
|
|
3249
|
+
presets:
|
|
3250
|
+
- recommended
|
|
3251
|
+
- strict
|
|
3252
|
+
- id: java.correctness.non-final-immutable-fields
|
|
3253
|
+
rulePath: ./rules/java/java.correctness.non-final-immutable-fields.rule.yaml
|
|
3254
|
+
presets:
|
|
3255
|
+
- strict
|
|
3256
|
+
- id: java.correctness.runfinalizers-on-exit
|
|
3257
|
+
rulePath: ./rules/java/java.correctness.runfinalizers-on-exit.rule.yaml
|
|
3258
|
+
presets:
|
|
3259
|
+
- recommended
|
|
3260
|
+
- strict
|
|
3261
|
+
- id: java.correctness.wait-on-condition
|
|
3262
|
+
rulePath: ./rules/java/java.correctness.wait-on-condition.rule.yaml
|
|
3263
|
+
presets:
|
|
3264
|
+
- recommended
|
|
3265
|
+
- strict
|
|
3266
|
+
- id: java.correctness.math-max-min-swapped
|
|
3267
|
+
rulePath: ./rules/java/java.correctness.math-max-min-swapped.rule.yaml
|
|
3268
|
+
presets:
|
|
3269
|
+
- recommended
|
|
3270
|
+
- strict
|
|
3271
|
+
- id: java.correctness.explicit-finalizer-invocation
|
|
3272
|
+
rulePath: ./rules/java/java.correctness.explicit-finalizer-invocation.rule.yaml
|
|
3273
|
+
presets:
|
|
3274
|
+
- recommended
|
|
3275
|
+
- strict
|
|
3276
|
+
- id: java.correctness.enum-equals-method
|
|
3277
|
+
rulePath: ./rules/java/java.correctness.enum-equals-method.rule.yaml
|
|
3278
|
+
presets:
|
|
3279
|
+
- recommended
|
|
3280
|
+
- strict
|
|
3281
|
+
- id: java.correctness.overloaded-equals
|
|
3282
|
+
rulePath: ./rules/java/java.correctness.overloaded-equals.rule.yaml
|
|
3283
|
+
presets:
|
|
3284
|
+
- recommended
|
|
3285
|
+
- strict
|
|
3286
|
+
- id: java.correctness.equals-inherits-parent
|
|
3287
|
+
rulePath: ./rules/java/java.correctness.equals-inherits-parent.rule.yaml
|
|
3288
|
+
presets:
|
|
3289
|
+
- recommended
|
|
3290
|
+
- strict
|
|
3291
|
+
- id: java.correctness.equals-null-check
|
|
3292
|
+
rulePath: ./rules/java/java.correctness.equals-null-check.rule.yaml
|
|
3293
|
+
presets:
|
|
3294
|
+
- recommended
|
|
3295
|
+
- strict
|
|
3296
|
+
- id: java.correctness.compareto-min-value
|
|
3297
|
+
rulePath: ./rules/java/java.correctness.compareto-min-value.rule.yaml
|
|
3298
|
+
presets:
|
|
3299
|
+
- recommended
|
|
3300
|
+
- strict
|
|
3301
|
+
- id: java.correctness.servlet-mutable-fields
|
|
3302
|
+
rulePath: ./rules/java/java.correctness.servlet-mutable-fields.rule.yaml
|
|
3303
|
+
presets:
|
|
3304
|
+
- recommended
|
|
3305
|
+
- strict
|
|
3306
|
+
- id: java.correctness.runnable-run-direct
|
|
3307
|
+
rulePath: ./rules/java/java.correctness.runnable-run-direct.rule.yaml
|
|
3308
|
+
presets:
|
|
3309
|
+
- recommended
|
|
3310
|
+
- strict
|
|
3311
|
+
- id: java.correctness.two-lock-wait
|
|
3312
|
+
rulePath: ./rules/java/java.correctness.two-lock-wait.rule.yaml
|
|
3313
|
+
presets:
|
|
3314
|
+
- recommended
|
|
3315
|
+
- strict
|
|
3316
|
+
- id: java.correctness.sync-boxed-primitive
|
|
3317
|
+
rulePath: ./rules/java/java.correctness.sync-boxed-primitive.rule.yaml
|
|
3318
|
+
presets:
|
|
3319
|
+
- recommended
|
|
3320
|
+
- strict
|
|
3321
|
+
- id: java.correctness.class-name-collision
|
|
3322
|
+
rulePath: ./rules/java/java.correctness.class-name-collision.rule.yaml
|
|
3323
|
+
presets:
|
|
3324
|
+
- recommended
|
|
3325
|
+
- strict
|
|
3326
|
+
# Batch 09 (JAVA-E) — bug risk / framework rules
|
|
3327
|
+
- id: java.correctness.ignored-inputstream-read
|
|
3328
|
+
rulePath: ./rules/java/java.correctness.ignored-inputstream-read.rule.yaml
|
|
3329
|
+
presets:
|
|
3330
|
+
- recommended
|
|
3331
|
+
- strict
|
|
3332
|
+
- id: java.correctness.ignored-inputstream-skip
|
|
3333
|
+
rulePath: ./rules/java/java.correctness.ignored-inputstream-skip.rule.yaml
|
|
3334
|
+
presets:
|
|
3335
|
+
- recommended
|
|
3336
|
+
- strict
|
|
3337
|
+
- id: java.correctness.constructor-starts-thread
|
|
3338
|
+
rulePath: ./rules/java/java.correctness.constructor-starts-thread.rule.yaml
|
|
3339
|
+
presets:
|
|
3340
|
+
- recommended
|
|
3341
|
+
- strict
|
|
3342
|
+
- id: java.correctness.for-loop-mismatched-increment
|
|
3343
|
+
rulePath: ./rules/java/java.correctness.for-loop-mismatched-increment.rule.yaml
|
|
3344
|
+
presets:
|
|
3345
|
+
- recommended
|
|
3346
|
+
- strict
|
|
3347
|
+
- id: java.correctness.readline-without-null-check
|
|
3348
|
+
rulePath: ./rules/java/java.correctness.readline-without-null-check.rule.yaml
|
|
3349
|
+
presets:
|
|
3350
|
+
- recommended
|
|
3351
|
+
- strict
|
|
3352
|
+
- id: java.correctness.unsynchronized-wait-notify
|
|
3353
|
+
rulePath: ./rules/java/java.correctness.unsynchronized-wait-notify.rule.yaml
|
|
3354
|
+
presets:
|
|
3355
|
+
- recommended
|
|
3356
|
+
- strict
|
|
3357
|
+
- id: java.correctness.self-assignment
|
|
3358
|
+
rulePath: ./rules/java/java.correctness.self-assignment.rule.yaml
|
|
3359
|
+
presets:
|
|
3360
|
+
- recommended
|
|
3361
|
+
- strict
|
|
3362
|
+
- id: java.correctness.sync-on-lock-primitive
|
|
3363
|
+
rulePath: ./rules/java/java.correctness.sync-on-lock-primitive.rule.yaml
|
|
3364
|
+
presets:
|
|
3365
|
+
- recommended
|
|
3366
|
+
- strict
|
|
3367
|
+
# Batch 10 (JAVA-E) — bug risk / framework rules
|
|
3368
|
+
- id: java.correctness.result-set-index-zero
|
|
3369
|
+
rulePath: ./rules/java/java.correctness.result-set-index-zero.rule.yaml
|
|
3370
|
+
presets:
|
|
3371
|
+
- strict
|
|
3372
|
+
- id: java.correctness.prepared-statement-index-zero
|
|
3373
|
+
rulePath: ./rules/java/java.correctness.prepared-statement-index-zero.rule.yaml
|
|
3374
|
+
presets:
|
|
3375
|
+
- strict
|
|
3376
|
+
- id: java.correctness.impossible-toarray-downcast
|
|
3377
|
+
rulePath: ./rules/java/java.correctness.impossible-toarray-downcast.rule.yaml
|
|
3378
|
+
presets:
|
|
3379
|
+
- strict
|
|
3380
|
+
- id: java.correctness.invalid-regex-literal
|
|
3381
|
+
rulePath: ./rules/java/java.correctness.invalid-regex-literal.rule.yaml
|
|
3382
|
+
presets:
|
|
3383
|
+
- strict
|
|
3384
|
+
- id: java.correctness.lost-increment-in-assignment
|
|
3385
|
+
rulePath: ./rules/java/java.correctness.lost-increment-in-assignment.rule.yaml
|
|
3386
|
+
presets:
|
|
3387
|
+
- strict
|
|
3388
|
+
- id: java.correctness.shift-out-of-range
|
|
3389
|
+
rulePath: ./rules/java/java.correctness.shift-out-of-range.rule.yaml
|
|
3390
|
+
presets:
|
|
3391
|
+
- strict
|
|
3392
|
+
- id: java.correctness.oddness-check-fails-negative
|
|
3393
|
+
rulePath: ./rules/java/java.correctness.oddness-check-fails-negative.rule.yaml
|
|
3394
|
+
presets:
|
|
3395
|
+
- strict
|
|
3396
|
+
- id: java.correctness.hasnext-invokes-next
|
|
3397
|
+
rulePath: ./rules/java/java.correctness.hasnext-invokes-next.rule.yaml
|
|
3398
|
+
presets:
|
|
3399
|
+
- strict
|
|
3400
|
+
- id: java.correctness.thread-sleep-with-lock
|
|
3401
|
+
rulePath: ./rules/java/java.correctness.thread-sleep-with-lock.rule.yaml
|
|
3402
|
+
presets:
|
|
3403
|
+
- strict
|
|
3404
|
+
- id: java.correctness.string-format-arg-mismatch
|
|
3405
|
+
rulePath: ./rules/java/java.correctness.string-format-arg-mismatch.rule.yaml
|
|
3406
|
+
presets:
|
|
3407
|
+
- strict
|
|
3408
|
+
- id: java.correctness.bad-short-circuit-null-check
|
|
3409
|
+
rulePath: ./rules/java/java.correctness.bad-short-circuit-null-check.rule.yaml
|
|
3410
|
+
presets:
|
|
3411
|
+
- strict
|
|
3412
|
+
- id: java.correctness.wait-notify-on-thread
|
|
3413
|
+
rulePath: ./rules/java/java.correctness.wait-notify-on-thread.rule.yaml
|
|
3414
|
+
presets:
|
|
3415
|
+
- strict
|
|
3416
|
+
- id: java.correctness.switch-statement-labels
|
|
3417
|
+
rulePath: ./rules/java/java.correctness.switch-statement-labels.rule.yaml
|
|
3418
|
+
presets:
|
|
3419
|
+
- strict
|
|
3420
|
+
- id: java.correctness.week-year-in-date-pattern
|
|
3421
|
+
rulePath: ./rules/java/java.correctness.week-year-in-date-pattern.rule.yaml
|
|
3422
|
+
presets:
|
|
3423
|
+
- strict
|
|
3424
|
+
- id: java.correctness.jump-in-finally
|
|
3425
|
+
rulePath: ./rules/java/java.correctness.jump-in-finally.rule.yaml
|
|
3426
|
+
presets:
|
|
3427
|
+
- strict
|
|
3428
|
+
- id: java.correctness.default-package-spring-scan
|
|
3429
|
+
rulePath: ./rules/java/java.correctness.default-package-spring-scan.rule.yaml
|
|
3430
|
+
presets:
|
|
3431
|
+
- strict
|
|
3432
|
+
- id: java.correctness.case-insensitive-regex-lacks-unicode
|
|
3433
|
+
rulePath: ./rules/java/java.correctness.case-insensitive-regex-lacks-unicode.rule.yaml
|
|
3434
|
+
presets:
|
|
3435
|
+
- strict
|
|
3436
|
+
- id: java.correctness.assert-self-comparison
|
|
3437
|
+
rulePath: ./rules/java/java.correctness.assert-self-comparison.rule.yaml
|
|
3438
|
+
presets:
|
|
3439
|
+
- strict
|
|
3440
|
+
- id: java.correctness.optional-get-without-present-check
|
|
3441
|
+
rulePath: ./rules/java/java.correctness.optional-get-without-present-check.rule.yaml
|
|
3442
|
+
presets:
|
|
3443
|
+
- strict
|
|
3444
|
+
- id: java.correctness.iterable-iterator-returns-this
|
|
3445
|
+
rulePath: ./rules/java/java.correctness.iterable-iterator-returns-this.rule.yaml
|
|
3446
|
+
presets:
|
|
3447
|
+
- strict
|
|
3448
|
+
|
|
3449
|
+
# Batch 13 (JAVA-E) — bug risk / framework rules
|
|
3450
|
+
- id: java.correctness.random-coerced-to-zero
|
|
3451
|
+
rulePath: ./rules/java/java.correctness.random-coerced-to-zero.rule.yaml
|
|
3452
|
+
presets:
|
|
3453
|
+
- strict
|
|
3454
|
+
- id: java.correctness.mutable-enum-fields
|
|
3455
|
+
rulePath: ./rules/java/java.correctness.mutable-enum-fields.rule.yaml
|
|
3456
|
+
presets:
|
|
3457
|
+
- strict
|
|
3458
|
+
- id: java.correctness.noallocation-method-creates-object
|
|
3459
|
+
rulePath: ./rules/java/java.correctness.noallocation-method-creates-object.rule.yaml
|
|
3460
|
+
presets:
|
|
3461
|
+
- strict
|
|
3462
|
+
- id: java.security.insecure-cipher-mode
|
|
3463
|
+
rulePath: ./rules/java/java.security.insecure-cipher-mode.rule.yaml
|
|
3464
|
+
presets:
|
|
3465
|
+
- strict
|
|
3466
|
+
- security
|
|
3467
|
+
- id: java.security.weak-rsa-key-size
|
|
3468
|
+
rulePath: ./rules/java/java.security.weak-rsa-key-size.rule.yaml
|
|
3469
|
+
presets:
|
|
3470
|
+
- strict
|
|
3471
|
+
- security
|
|
3472
|
+
- id: java.security.insecure-ssl-context
|
|
3473
|
+
rulePath: ./rules/java/java.security.insecure-ssl-context.rule.yaml
|
|
3474
|
+
presets:
|
|
3475
|
+
- strict
|
|
3476
|
+
- security
|
|
3477
|
+
- id: java.security.permissive-cors
|
|
3478
|
+
rulePath: ./rules/java/java.security.permissive-cors.rule.yaml
|
|
3479
|
+
presets:
|
|
3480
|
+
- strict
|
|
3481
|
+
- security
|
|
3482
|
+
- id: java.security.trust-all-certificates
|
|
3483
|
+
rulePath: ./rules/java/java.security.trust-all-certificates.rule.yaml
|
|
3484
|
+
presets:
|
|
3485
|
+
- strict
|
|
3486
|
+
- security
|
|
3487
|
+
- id: java.security.insecure-network-protocol
|
|
3488
|
+
rulePath: ./rules/java/java.security.insecure-network-protocol.rule.yaml
|
|
3489
|
+
presets:
|
|
3490
|
+
- strict
|
|
3491
|
+
- security
|
|
3492
|
+
- id: java.security.null-cipher
|
|
3493
|
+
rulePath: ./rules/java/java.security.null-cipher.rule.yaml
|
|
3494
|
+
presets:
|
|
3495
|
+
- strict
|
|
3496
|
+
- security
|
|
3497
|
+
- id: java.security.jwt-without-verification
|
|
3498
|
+
rulePath: ./rules/java/java.security.jwt-without-verification.rule.yaml
|
|
3499
|
+
presets:
|
|
3500
|
+
- strict
|
|
3501
|
+
- security
|
|
3502
|
+
- id: ruby.bug-risk.assignment-in-condition
|
|
3503
|
+
rulePath: ./rules/ruby/ruby.bug-risk.assignment-in-condition.rule.yaml
|
|
3504
|
+
presets:
|
|
3505
|
+
- strict
|
|
3506
|
+
- id: ruby.bug-risk.bad-operand-order
|
|
3507
|
+
rulePath: ./rules/ruby/ruby.bug-risk.bad-operand-order.rule.yaml
|
|
3508
|
+
presets:
|
|
3509
|
+
- strict
|
|
3510
|
+
- id: ruby.bug-risk.deprecated-openssl-api
|
|
3511
|
+
rulePath: ./rules/ruby/ruby.bug-risk.deprecated-openssl-api.rule.yaml
|
|
3512
|
+
presets:
|
|
3513
|
+
- strict
|
|
3514
|
+
- id: ruby.bug-risk.deprecated-uri-escape
|
|
3515
|
+
rulePath: ./rules/ruby/ruby.bug-risk.deprecated-uri-escape.rule.yaml
|
|
3516
|
+
presets:
|
|
3517
|
+
- strict
|
|
3518
|
+
- id: ruby.bug-risk.deprecated-uri-regexp
|
|
3519
|
+
rulePath: ./rules/ruby/ruby.bug-risk.deprecated-uri-regexp.rule.yaml
|
|
3520
|
+
presets:
|
|
3521
|
+
- strict
|
|
3522
|
+
- id: ruby.bug-risk.division-by-zero
|
|
3523
|
+
rulePath: ./rules/ruby/ruby.bug-risk.division-by-zero.rule.yaml
|
|
3524
|
+
presets:
|
|
3525
|
+
- strict
|
|
3526
|
+
- id: ruby.bug-risk.duplicate-constant-assignment
|
|
3527
|
+
rulePath: ./rules/ruby/ruby.bug-risk.duplicate-constant-assignment.rule.yaml
|
|
3528
|
+
presets:
|
|
3529
|
+
- strict
|
|
3530
|
+
- id: ruby.bug-risk.duplicate-hash-keys
|
|
3531
|
+
rulePath: ./rules/ruby/ruby.bug-risk.duplicate-hash-keys.rule.yaml
|
|
3532
|
+
presets:
|
|
3533
|
+
- strict
|
|
3534
|
+
- id: ruby.bug-risk.error-inherits-exception
|
|
3535
|
+
rulePath: ./rules/ruby/ruby.bug-risk.error-inherits-exception.rule.yaml
|
|
3536
|
+
presets:
|
|
3537
|
+
- strict
|
|
3538
|
+
- id: ruby.bug-risk.exception-class-overwritten
|
|
3539
|
+
rulePath: ./rules/ruby/ruby.bug-risk.exception-class-overwritten.rule.yaml
|
|
3540
|
+
presets:
|
|
3541
|
+
- strict
|
|
3542
|
+
- id: ruby.bug-risk.io-select-single-arg
|
|
3543
|
+
rulePath: ./rules/ruby/ruby.bug-risk.io-select-single-arg.rule.yaml
|
|
3544
|
+
presets:
|
|
3545
|
+
- strict
|
|
3546
|
+
- id: ruby.bug-risk.raw-sql-without-squish
|
|
3547
|
+
rulePath: ./rules/ruby/ruby.bug-risk.raw-sql-without-squish.rule.yaml
|
|
3548
|
+
presets:
|
|
3549
|
+
- strict
|
|
3550
|
+
- id: ruby.bug-risk.rescue-exception
|
|
3551
|
+
rulePath: ./rules/ruby/ruby.bug-risk.rescue-exception.rule.yaml
|
|
3552
|
+
presets:
|
|
3553
|
+
- strict
|
|
3554
|
+
- id: ruby.bug-risk.git-in-gemspec
|
|
3555
|
+
rulePath: ./rules/ruby/ruby.bug-risk.git-in-gemspec.rule.yaml
|
|
3556
|
+
presets:
|
|
3557
|
+
- strict
|
|
3558
|
+
- id: ruby.bug-risk.ignored-column-accessed
|
|
3559
|
+
rulePath: ./rules/ruby/ruby.bug-risk.ignored-column-accessed.rule.yaml
|
|
3560
|
+
presets:
|
|
3561
|
+
- strict
|
|
3562
|
+
- id: ruby.bug-risk.renamed-column-accessed
|
|
3563
|
+
rulePath: ./rules/ruby/ruby.bug-risk.renamed-column-accessed.rule.yaml
|
|
3564
|
+
presets:
|
|
3565
|
+
- strict
|
|
3566
|
+
# Batch 05 (RB-LI) — ambiguous method invocation rules
|
|
3567
|
+
- id: ruby.bug-risk.ambiguous-block-association
|
|
3568
|
+
rulePath: ./rules/ruby/ruby.bug-risk.ambiguous-block-association.rule.yaml
|
|
3569
|
+
presets:
|
|
3570
|
+
- strict
|
|
3571
|
+
- id: ruby.bug-risk.ambiguous-operator-argument
|
|
3572
|
+
rulePath: ./rules/ruby/ruby.bug-risk.ambiguous-operator-argument.rule.yaml
|
|
3573
|
+
presets:
|
|
3574
|
+
- strict
|
|
3575
|
+
- id: ruby.bug-risk.ambiguous-regexp-literal
|
|
3576
|
+
rulePath: ./rules/ruby/ruby.bug-risk.ambiguous-regexp-literal.rule.yaml
|
|
3577
|
+
presets:
|
|
3578
|
+
- strict
|
|
3579
|
+
|
|
3580
|
+
# Batch 06 (RB-LI) — bug risk / framework rules
|
|
3581
|
+
- id: ruby.bug-risk.deprecated-big-decimal-new
|
|
3582
|
+
rulePath: ./rules/ruby/ruby.bug-risk.deprecated-big-decimal-new.rule.yaml
|
|
3583
|
+
presets:
|
|
3584
|
+
- strict
|
|
3585
|
+
- id: ruby.bug-risk.symbol-boolean-name
|
|
3586
|
+
rulePath: ./rules/ruby/ruby.bug-risk.symbol-boolean-name.rule.yaml
|
|
3587
|
+
presets:
|
|
3588
|
+
- strict
|
|
3589
|
+
- id: ruby.bug-risk.circular-argument-reference
|
|
3590
|
+
rulePath: ./rules/ruby/ruby.bug-risk.circular-argument-reference.rule.yaml
|
|
3591
|
+
presets:
|
|
3592
|
+
- strict
|
|
3593
|
+
- id: ruby.bug-risk.deprecated-class-methods
|
|
3594
|
+
rulePath: ./rules/ruby/ruby.bug-risk.deprecated-class-methods.rule.yaml
|
|
3595
|
+
presets:
|
|
3596
|
+
- strict
|
|
3597
|
+
- id: ruby.bug-risk.disjunctive-assignment-in-constructor
|
|
3598
|
+
rulePath: ./rules/ruby/ruby.bug-risk.disjunctive-assignment-in-constructor.rule.yaml
|
|
3599
|
+
presets:
|
|
3600
|
+
- strict
|
|
3601
|
+
# Batch 07 (RB-LI)
|
|
3602
|
+
- id: ruby.bug-risk.duplicate-case-conditions
|
|
3603
|
+
rulePath: ./rules/ruby/ruby.bug-risk.duplicate-case-conditions.rule.yaml
|
|
3604
|
+
presets:
|
|
3605
|
+
- strict
|
|
3606
|
+
- id: ruby.bug-risk.duplicate-method-definitions
|
|
3607
|
+
rulePath: ./rules/ruby/ruby.bug-risk.duplicate-method-definitions.rule.yaml
|
|
3608
|
+
presets:
|
|
3609
|
+
- strict
|
|
3610
|
+
- id: ruby.bug-risk.each-with-object-immutable-arg
|
|
3611
|
+
rulePath: ./rules/ruby/ruby.bug-risk.each-with-object-immutable-arg.rule.yaml
|
|
3612
|
+
presets:
|
|
3613
|
+
- strict
|
|
3614
|
+
- id: ruby.bug-risk.else-followed-by-expression
|
|
3615
|
+
rulePath: ./rules/ruby/ruby.bug-risk.else-followed-by-expression.rule.yaml
|
|
3616
|
+
presets:
|
|
3617
|
+
- strict
|
|
3618
|
+
- id: ruby.bug-risk.empty-ensure-block
|
|
3619
|
+
rulePath: ./rules/ruby/ruby.bug-risk.empty-ensure-block.rule.yaml
|
|
3620
|
+
presets:
|
|
3621
|
+
- strict
|
|
3622
|
+
- id: ruby.bug-risk.empty-expression
|
|
3623
|
+
rulePath: ./rules/ruby/ruby.bug-risk.empty-expression.rule.yaml
|
|
3624
|
+
presets:
|
|
3625
|
+
- strict
|
|
3626
|
+
- id: ruby.bug-risk.empty-interpolation
|
|
3627
|
+
rulePath: ./rules/ruby/ruby.bug-risk.empty-interpolation.rule.yaml
|
|
3628
|
+
presets:
|
|
3629
|
+
- strict
|
|
3630
|
+
- id: ruby.bug-risk.when-branch-without-body
|
|
3631
|
+
rulePath: ./rules/ruby/ruby.bug-risk.when-branch-without-body.rule.yaml
|
|
3632
|
+
presets:
|
|
3633
|
+
- strict
|
|
3634
|
+
|
|
3635
|
+
# Batch 08 (RB-LI) — bug risk / framework rules
|
|
3636
|
+
- id: ruby.bug-risk.end-in-method
|
|
3637
|
+
rulePath: ./rules/ruby/ruby.bug-risk.end-in-method.rule.yaml
|
|
3638
|
+
presets:
|
|
3639
|
+
- strict
|
|
3640
|
+
- id: ruby.bug-risk.return-in-ensure
|
|
3641
|
+
rulePath: ./rules/ruby/ruby.bug-risk.return-in-ensure.rule.yaml
|
|
3642
|
+
presets:
|
|
3643
|
+
- strict
|
|
3644
|
+
- id: ruby.bug-risk.flip-flop-operator
|
|
3645
|
+
rulePath: ./rules/ruby/ruby.bug-risk.flip-flop-operator.rule.yaml
|
|
3646
|
+
presets:
|
|
3647
|
+
- strict
|
|
3648
|
+
- id: ruby.bug-risk.heredoc-method-order
|
|
3649
|
+
rulePath: ./rules/ruby/ruby.bug-risk.heredoc-method-order.rule.yaml
|
|
3650
|
+
presets:
|
|
3651
|
+
- strict
|
|
3652
|
+
- id: ruby.bug-risk.unintended-string-concatenation
|
|
3653
|
+
rulePath: ./rules/ruby/ruby.bug-risk.unintended-string-concatenation.rule.yaml
|
|
3654
|
+
presets:
|
|
3655
|
+
- strict
|
|
3656
|
+
- id: ruby.bug-risk.ineffective-access-modifier
|
|
3657
|
+
rulePath: ./rules/ruby/ruby.bug-risk.ineffective-access-modifier.rule.yaml
|
|
1440
3658
|
presets:
|
|
1441
3659
|
- strict
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
rulePath: ./rules/typescript/ts.security.electron-insecure-local-state.rule.yaml
|
|
3660
|
+
- id: ruby.bug-risk.interpolation-in-single-quote
|
|
3661
|
+
rulePath: ./rules/ruby/ruby.bug-risk.interpolation-in-single-quote.rule.yaml
|
|
1445
3662
|
presets:
|
|
1446
3663
|
- strict
|
|
1447
|
-
|
|
1448
|
-
-
|
|
1449
|
-
|
|
3664
|
+
|
|
3665
|
+
# Batch 09 (RB-LI) — bug risk / framework rules
|
|
3666
|
+
- id: ruby.bug-risk.non-local-exit-from-iterator
|
|
3667
|
+
rulePath: ./rules/ruby/ruby.bug-risk.non-local-exit-from-iterator.rule.yaml
|
|
1450
3668
|
presets:
|
|
1451
3669
|
- strict
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
rulePath: ./rules/typescript/ts.security.format-string-using-user-input.rule.yaml
|
|
3670
|
+
- id: ruby.bug-risk.unsafe-number-conversion
|
|
3671
|
+
rulePath: ./rules/ruby/ruby.bug-risk.unsafe-number-conversion.rule.yaml
|
|
1455
3672
|
presets:
|
|
1456
|
-
- recommended
|
|
1457
3673
|
- strict
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
rulePath: ./rules/typescript/ts.security.log-injection.rule.yaml
|
|
3674
|
+
- id: ruby.bug-risk.bad-magic-comment-order
|
|
3675
|
+
rulePath: ./rules/ruby/ruby.bug-risk.bad-magic-comment-order.rule.yaml
|
|
1461
3676
|
presets:
|
|
1462
|
-
- recommended
|
|
1463
3677
|
- strict
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
rulePath: ./rules/typescript/ts.security.user-controlled-sendfile.rule.yaml
|
|
3678
|
+
- id: ruby.bug-risk.grouped-parentheses-in-call
|
|
3679
|
+
rulePath: ./rules/ruby/ruby.bug-risk.grouped-parentheses-in-call.rule.yaml
|
|
1467
3680
|
presets:
|
|
1468
|
-
- recommended
|
|
1469
3681
|
- strict
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
rulePath: ./rules/typescript/ts.security.user-controlled-view-render.rule.yaml
|
|
3682
|
+
- id: ruby.bug-risk.invalid-percent-string-literal
|
|
3683
|
+
rulePath: ./rules/ruby/ruby.bug-risk.invalid-percent-string-literal.rule.yaml
|
|
1473
3684
|
presets:
|
|
1474
3685
|
- strict
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
rulePath: ./rules/typescript/ts.security.exposed-directory-listing.rule.yaml
|
|
3686
|
+
- id: ruby.bug-risk.invalid-percent-symbol-array
|
|
3687
|
+
rulePath: ./rules/ruby/ruby.bug-risk.invalid-percent-symbol-array.rule.yaml
|
|
1478
3688
|
presets:
|
|
1479
|
-
- recommended
|
|
1480
3689
|
- strict
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
rulePath: ./rules/typescript/ts.security.express-default-session-config.rule.yaml
|
|
3690
|
+
- id: ruby.bug-risk.unnecessary-require
|
|
3691
|
+
rulePath: ./rules/ruby/ruby.bug-risk.unnecessary-require.rule.yaml
|
|
1484
3692
|
presets:
|
|
1485
3693
|
- strict
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
rulePath: ./rules/typescript/ts.security.express-default-cookie-config.rule.yaml
|
|
3694
|
+
- id: ruby.bug-risk.unnecessary-splat
|
|
3695
|
+
rulePath: ./rules/ruby/ruby.bug-risk.unnecessary-splat.rule.yaml
|
|
1489
3696
|
presets:
|
|
1490
3697
|
- strict
|
|
1491
|
-
|
|
1492
|
-
-
|
|
1493
|
-
|
|
3698
|
+
|
|
3699
|
+
# Batch 10 (RB-LI) — bug risk / framework rules
|
|
3700
|
+
- id: ruby.bug-risk.with-index-value-unused
|
|
3701
|
+
rulePath: ./rules/ruby/ruby.bug-risk.with-index-value-unused.rule.yaml
|
|
1494
3702
|
presets:
|
|
1495
3703
|
- strict
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
rulePath: ./rules/typescript/ts.security.express-static-assets-after-session.rule.yaml
|
|
3704
|
+
- id: ruby.bug-risk.with-object-value-unused
|
|
3705
|
+
rulePath: ./rules/ruby/ruby.bug-risk.with-object-value-unused.rule.yaml
|
|
1499
3706
|
presets:
|
|
1500
3707
|
- strict
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
rulePath: ./rules/typescript/ts.security.express-unbounded-body-parser.rule.yaml
|
|
3708
|
+
- id: ruby.bug-risk.regex-literal-in-condition
|
|
3709
|
+
rulePath: ./rules/ruby/ruby.bug-risk.regex-literal-in-condition.rule.yaml
|
|
1504
3710
|
presets:
|
|
1505
|
-
- recommended
|
|
1506
3711
|
- strict
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
rulePath: ./rules/typescript/ts.security.fastify-excessive-body-limit.rule.yaml
|
|
3712
|
+
- id: ruby.bug-risk.predicate-method-without-parentheses
|
|
3713
|
+
rulePath: ./rules/ruby/ruby.bug-risk.predicate-method-without-parentheses.rule.yaml
|
|
1510
3714
|
presets:
|
|
1511
|
-
- recommended
|
|
1512
3715
|
- strict
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
rulePath: ./rules/typescript/ts.security.fastify-public-bind-without-trust-proxy.rule.yaml
|
|
3716
|
+
- id: ruby.bug-risk.invalid-rescue-type
|
|
3717
|
+
rulePath: ./rules/ruby/ruby.bug-risk.invalid-rescue-type.rule.yaml
|
|
1516
3718
|
presets:
|
|
1517
|
-
- recommended
|
|
1518
3719
|
- strict
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
rulePath: ./rules/typescript/ts.security.express-missing-helmet.rule.yaml
|
|
3720
|
+
- id: ruby.bug-risk.unsafe-safe-navigation-chain
|
|
3721
|
+
rulePath: ./rules/ruby/ruby.bug-risk.unsafe-safe-navigation-chain.rule.yaml
|
|
1522
3722
|
presets:
|
|
1523
3723
|
- strict
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
rulePath: ./rules/typescript/ts.security.express-reduce-fingerprint.rule.yaml
|
|
3724
|
+
- id: ruby.bug-risk.inconsistent-safe-navigation
|
|
3725
|
+
rulePath: ./rules/ruby/ruby.bug-risk.inconsistent-safe-navigation.rule.yaml
|
|
1527
3726
|
presets:
|
|
1528
3727
|
- strict
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
rulePath: ./rules/typescript/ts.security.debug-mode-enabled.rule.yaml
|
|
3728
|
+
- id: ruby.bug-risk.safe-navigation-with-empty
|
|
3729
|
+
rulePath: ./rules/ruby/ruby.bug-risk.safe-navigation-with-empty.rule.yaml
|
|
1532
3730
|
presets:
|
|
1533
|
-
- recommended
|
|
1534
3731
|
- strict
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
rulePath: ./rules/typescript/ts.security.debug-statement-in-source.rule.yaml
|
|
3732
|
+
- id: ruby.bug-risk.argument-overwritten-before-use
|
|
3733
|
+
rulePath: ./rules/ruby/ruby.bug-risk.argument-overwritten-before-use.rule.yaml
|
|
1538
3734
|
presets:
|
|
1539
|
-
- recommended
|
|
1540
3735
|
- strict
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
rulePath: ./rules/typescript/ts.security.unsanitized-http-response.rule.yaml
|
|
3736
|
+
- id: ruby.bug-risk.bad-rescue-ordering
|
|
3737
|
+
rulePath: ./rules/ruby/ruby.bug-risk.bad-rescue-ordering.rule.yaml
|
|
1544
3738
|
presets:
|
|
1545
|
-
- recommended
|
|
1546
3739
|
- strict
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
rulePath: ./rules/python/py.security.django-unsafe-production-settings.rule.yaml
|
|
3740
|
+
- id: ruby.bug-risk.outer-variable-shadowed
|
|
3741
|
+
rulePath: ./rules/ruby/ruby.bug-risk.outer-variable-shadowed.rule.yaml
|
|
1550
3742
|
presets:
|
|
1551
3743
|
- strict
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
rulePath: ./rules/python/py.security.django-csrf-exempt-state-changing.rule.yaml
|
|
3744
|
+
- id: ruby.bug-risk.suppressed-exceptions
|
|
3745
|
+
rulePath: ./rules/ruby/ruby.bug-risk.suppressed-exceptions.rule.yaml
|
|
1555
3746
|
presets:
|
|
1556
3747
|
- strict
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
rulePath: ./rules/python/py.security.django-missing-csrf-middleware.rule.yaml
|
|
3748
|
+
- id: ruby.bug-risk.to-json-without-argument
|
|
3749
|
+
rulePath: ./rules/ruby/ruby.bug-risk.to-json-without-argument.rule.yaml
|
|
1560
3750
|
presets:
|
|
1561
3751
|
- strict
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
rulePath: ./rules/python/py.security.drf-allow-any-default.rule.yaml
|
|
3752
|
+
- id: ruby.bug-risk.unreachable-code
|
|
3753
|
+
rulePath: ./rules/ruby/ruby.bug-risk.unreachable-code.rule.yaml
|
|
1565
3754
|
presets:
|
|
1566
3755
|
- strict
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
rulePath: ./rules/python/py.security.drf-allow-any-unsafe-method.rule.yaml
|
|
3756
|
+
- id: ruby.bug-risk.unused-method-arguments
|
|
3757
|
+
rulePath: ./rules/ruby/ruby.bug-risk.unused-method-arguments.rule.yaml
|
|
1570
3758
|
presets:
|
|
1571
3759
|
- strict
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
rulePath: ./rules/python/py.security.flask-unsafe-html-output.rule.yaml
|
|
3760
|
+
- id: ruby.bug-risk.useless-access-modifier
|
|
3761
|
+
rulePath: ./rules/ruby/ruby.bug-risk.useless-access-modifier.rule.yaml
|
|
1575
3762
|
presets:
|
|
1576
3763
|
- strict
|
|
1577
|
-
|
|
1578
|
-
- id:
|
|
1579
|
-
rulePath: ./rules/
|
|
3764
|
+
# Batch 12 (RB-LI) — bug risk / framework rules
|
|
3765
|
+
- id: ruby.bug-risk.useless-comparison
|
|
3766
|
+
rulePath: ./rules/ruby/ruby.bug-risk.useless-comparison.rule.yaml
|
|
1580
3767
|
presets:
|
|
1581
3768
|
- strict
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
rulePath: ./rules/python/py.security.flask-missing-upload-body-limit.rule.yaml
|
|
3769
|
+
- id: ruby.bug-risk.else-without-rescue
|
|
3770
|
+
rulePath: ./rules/ruby/ruby.bug-risk.else-without-rescue.rule.yaml
|
|
1585
3771
|
presets:
|
|
1586
3772
|
- strict
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
rulePath: ./rules/python/py.security.flask-debug-enabled.rule.yaml
|
|
3773
|
+
- id: ruby.bug-risk.useless-setter-call
|
|
3774
|
+
rulePath: ./rules/ruby/ruby.bug-risk.useless-setter-call.rule.yaml
|
|
1590
3775
|
presets:
|
|
1591
3776
|
- strict
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
rulePath: ./rules/python/py.security.django-mark-safe.rule.yaml
|
|
3777
|
+
- id: ruby.bug-risk.mixed-regex-captures
|
|
3778
|
+
rulePath: ./rules/ruby/ruby.bug-risk.mixed-regex-captures.rule.yaml
|
|
1595
3779
|
presets:
|
|
1596
3780
|
- strict
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
rulePath: ./rules/python/py.security.django-format-html-unsafe.rule.yaml
|
|
3781
|
+
- id: ruby.bug-risk.unqualified-constant
|
|
3782
|
+
rulePath: ./rules/ruby/ruby.bug-risk.unqualified-constant.rule.yaml
|
|
1600
3783
|
presets:
|
|
1601
3784
|
- strict
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
rulePath: ./rules/python/py.security.django-security-middleware-missing.rule.yaml
|
|
3785
|
+
- id: ruby.bug-risk.duplicate-elsif-block
|
|
3786
|
+
rulePath: ./rules/ruby/ruby.bug-risk.duplicate-elsif-block.rule.yaml
|
|
1605
3787
|
presets:
|
|
1606
3788
|
- strict
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
rulePath: ./rules/python/py.security.fastapi-insecure-cors.rule.yaml
|
|
3789
|
+
- id: ruby.bug-risk.unreachable-loop
|
|
3790
|
+
rulePath: ./rules/ruby/ruby.bug-risk.unreachable-loop.rule.yaml
|
|
1610
3791
|
presets:
|
|
1611
3792
|
- strict
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
rulePath: ./rules/python/py.security.subprocess-shell-enabled.rule.yaml
|
|
3793
|
+
- id: ruby.bug-risk.multiple-rescues-for-same-exception
|
|
3794
|
+
rulePath: ./rules/ruby/ruby.bug-risk.multiple-rescues-for-same-exception.rule.yaml
|
|
1615
3795
|
presets:
|
|
1616
3796
|
- strict
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
rulePath: ./rules/python/py.security.dynamic-code-execution.rule.yaml
|
|
3797
|
+
- id: ruby.bug-risk.self-assignment
|
|
3798
|
+
rulePath: ./rules/ruby/ruby.bug-risk.self-assignment.rule.yaml
|
|
1620
3799
|
presets:
|
|
3800
|
+
- recommended
|
|
1621
3801
|
- strict
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
rulePath: ./rules/python/py.security.insecure-yaml-load.rule.yaml
|
|
3802
|
+
- id: ruby.bug-risk.identical-binary-operands
|
|
3803
|
+
rulePath: ./rules/ruby/ruby.bug-risk.identical-binary-operands.rule.yaml
|
|
1625
3804
|
presets:
|
|
3805
|
+
- recommended
|
|
1626
3806
|
- strict
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
rulePath: ./rules/python/py.security.insecure-temp-file.rule.yaml
|
|
3807
|
+
- id: ruby.bug-risk.branches-without-body
|
|
3808
|
+
rulePath: ./rules/ruby/ruby.bug-risk.branches-without-body.rule.yaml
|
|
1630
3809
|
presets:
|
|
3810
|
+
- recommended
|
|
1631
3811
|
- strict
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
rulePath: ./rules/python/py.security.bind-all-interfaces.rule.yaml
|
|
3812
|
+
- id: ruby.bug-risk.trailing-comma-attribute
|
|
3813
|
+
rulePath: ./rules/ruby/ruby.bug-risk.trailing-comma-attribute.rule.yaml
|
|
1635
3814
|
presets:
|
|
3815
|
+
- recommended
|
|
1636
3816
|
- strict
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
rulePath: ./rules/python/py.security.debugger-import.rule.yaml
|
|
3817
|
+
- id: ruby.bug-risk.equal-instead-of-equal
|
|
3818
|
+
rulePath: ./rules/ruby/ruby.bug-risk.equal-instead-of-equal.rule.yaml
|
|
1640
3819
|
presets:
|
|
3820
|
+
- recommended
|
|
1641
3821
|
- strict
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
rulePath: ./rules/python/py.security.jinja-autoescape-disabled.rule.yaml
|
|
3822
|
+
- id: ruby.bug-risk.invalid-integer-times
|
|
3823
|
+
rulePath: ./rules/ruby/ruby.bug-risk.invalid-integer-times.rule.yaml
|
|
1645
3824
|
presets:
|
|
3825
|
+
- recommended
|
|
1646
3826
|
- strict
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
rulePath: ./rules/java/java.security.android-screenshot-exposure.rule.yaml
|
|
3827
|
+
- id: ruby.bug-risk.callback-order
|
|
3828
|
+
rulePath: ./rules/ruby/ruby.bug-risk.callback-order.rule.yaml
|
|
1650
3829
|
presets:
|
|
1651
3830
|
- recommended
|
|
1652
3831
|
- strict
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
rulePath: ./rules/java/java.security.android-world-readable-mode.rule.yaml
|
|
3832
|
+
- id: ruby.bug-risk.callback-override
|
|
3833
|
+
rulePath: ./rules/ruby/ruby.bug-risk.callback-override.rule.yaml
|
|
1656
3834
|
presets:
|
|
1657
3835
|
- recommended
|
|
1658
3836
|
- strict
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
rulePath: ./rules/java/java.security.jpa-concatenated-query.rule.yaml
|
|
3837
|
+
- id: ruby.bug-risk.constant-in-block
|
|
3838
|
+
rulePath: ./rules/ruby/ruby.bug-risk.constant-in-block.rule.yaml
|
|
1662
3839
|
presets:
|
|
3840
|
+
- recommended
|
|
1663
3841
|
- strict
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
rulePath: ./rules/java/java.security.reflected-output-from-request.rule.yaml
|
|
3842
|
+
- id: ruby.bug-risk.irreversible-migration
|
|
3843
|
+
rulePath: ./rules/ruby/ruby.bug-risk.irreversible-migration.rule.yaml
|
|
1667
3844
|
presets:
|
|
3845
|
+
- recommended
|
|
1668
3846
|
- strict
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
rulePath: ./rules/java/java.security.servlet-insecure-cookie.rule.yaml
|
|
3847
|
+
- id: ruby.bug-risk.redundant-foreign-key
|
|
3848
|
+
rulePath: ./rules/ruby/ruby.bug-risk.redundant-foreign-key.rule.yaml
|
|
1672
3849
|
presets:
|
|
1673
3850
|
- recommended
|
|
1674
3851
|
- strict
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
rulePath: ./rules/java/java.security.spring-actuator-health-details-always.rule.yaml
|
|
3852
|
+
- id: ruby.bug-risk.routes-match-single-verb
|
|
3853
|
+
rulePath: ./rules/ruby/ruby.bug-risk.routes-match-single-verb.rule.yaml
|
|
1678
3854
|
presets:
|
|
3855
|
+
- recommended
|
|
1679
3856
|
- strict
|
|
1680
|
-
|
|
1681
|
-
- id:
|
|
1682
|
-
rulePath: ./rules/
|
|
3857
|
+
# Batch 11 (RB-RL) — bug risk / framework rules
|
|
3858
|
+
- id: ruby.bug-risk.deprecated-filter-methods
|
|
3859
|
+
rulePath: ./rules/ruby/ruby.bug-risk.deprecated-filter-methods.rule.yaml
|
|
1683
3860
|
presets:
|
|
1684
3861
|
- strict
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
rulePath: ./rules/java/java.security.spring-csrf-globally-disabled.rule.yaml
|
|
3862
|
+
- id: ruby.bug-risk.active-record-alias
|
|
3863
|
+
rulePath: ./rules/ruby/ruby.bug-risk.active-record-alias.rule.yaml
|
|
1688
3864
|
presets:
|
|
1689
3865
|
- strict
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
rulePath: ./rules/java/java.security.spring-debug-exposure.rule.yaml
|
|
3866
|
+
- id: ruby.bug-risk.active-record-method-override
|
|
3867
|
+
rulePath: ./rules/ruby/ruby.bug-risk.active-record-method-override.rule.yaml
|
|
1693
3868
|
presets:
|
|
1694
3869
|
- strict
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
rulePath: ./rules/java/java.security.spring-permit-all-default.rule.yaml
|
|
3870
|
+
- id: ruby.bug-risk.active-support-alias
|
|
3871
|
+
rulePath: ./rules/ruby/ruby.bug-risk.active-support-alias.rule.yaml
|
|
1698
3872
|
presets:
|
|
1699
3873
|
- strict
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
rulePath: ./rules/java/java.security.spring-webmvc-unrestricted-data-binding.rule.yaml
|
|
3874
|
+
- id: ruby.bug-risk.controller-base-subclass
|
|
3875
|
+
rulePath: ./rules/ruby/ruby.bug-risk.controller-base-subclass.rule.yaml
|
|
1703
3876
|
presets:
|
|
1704
3877
|
- strict
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
rulePath: ./rules/java/java.security.template-unescaped-user-output.rule.yaml
|
|
3878
|
+
- id: ruby.bug-risk.active-job-base-subclass
|
|
3879
|
+
rulePath: ./rules/ruby/ruby.bug-risk.active-job-base-subclass.rule.yaml
|
|
1708
3880
|
presets:
|
|
1709
3881
|
- strict
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
rulePath: ./rules/java/java.security.unsafe-jackson-deserialization.rule.yaml
|
|
3882
|
+
- id: ruby.bug-risk.action-mailer-base-subclass
|
|
3883
|
+
rulePath: ./rules/ruby/ruby.bug-risk.action-mailer-base-subclass.rule.yaml
|
|
1713
3884
|
presets:
|
|
1714
3885
|
- strict
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
rulePath: ./rules/java/java.security.xxe-document-builder.rule.yaml
|
|
3886
|
+
- id: ruby.bug-risk.active-record-base-subclass
|
|
3887
|
+
rulePath: ./rules/ruby/ruby.bug-risk.active-record-base-subclass.rule.yaml
|
|
1718
3888
|
presets:
|
|
1719
3889
|
- strict
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
rulePath: ./rules/java/java.security.xxe-xml-input-factory.rule.yaml
|
|
3890
|
+
- id: ruby.bug-risk.assert-not-usage
|
|
3891
|
+
rulePath: ./rules/ruby/ruby.bug-risk.assert-not-usage.rule.yaml
|
|
1723
3892
|
presets:
|
|
1724
3893
|
- strict
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
rulePath: ./rules/java/java.security.hibernate-sql-concatenation.rule.yaml
|
|
3894
|
+
- id: ruby.bug-risk.deprecated-belongs-to-required
|
|
3895
|
+
rulePath: ./rules/ruby/ruby.bug-risk.deprecated-belongs-to-required.rule.yaml
|
|
1728
3896
|
presets:
|
|
1729
3897
|
- strict
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
rulePath: ./rules/java/java.security.shell-runtime-exec.rule.yaml
|
|
3898
|
+
- id: ruby.bug-risk.use-blank-simplify
|
|
3899
|
+
rulePath: ./rules/ruby/ruby.bug-risk.use-blank-simplify.rule.yaml
|
|
1733
3900
|
presets:
|
|
1734
3901
|
- strict
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
rulePath: ./rules/java/java.security.predictable-securerandom.rule.yaml
|
|
3902
|
+
- id: ruby.bug-risk.alter-queries-combine
|
|
3903
|
+
rulePath: ./rules/ruby/ruby.bug-risk.alter-queries-combine.rule.yaml
|
|
1738
3904
|
presets:
|
|
1739
3905
|
- strict
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
rulePath: ./rules/java/java.correctness.empty-catch.rule.yaml
|
|
3906
|
+
- id: ruby.bug-risk.table-without-timestamps
|
|
3907
|
+
rulePath: ./rules/ruby/ruby.bug-risk.table-without-timestamps.rule.yaml
|
|
1743
3908
|
presets:
|
|
1744
3909
|
- strict
|
|
1745
|
-
- id:
|
|
1746
|
-
rulePath: ./rules/
|
|
3910
|
+
- id: ruby.bug-risk.bad-date-usage
|
|
3911
|
+
rulePath: ./rules/ruby/ruby.bug-risk.bad-date-usage.rule.yaml
|
|
1747
3912
|
presets:
|
|
1748
3913
|
- strict
|
|
1749
|
-
- id:
|
|
1750
|
-
rulePath: ./rules/
|
|
3914
|
+
- id: ruby.bug-risk.use-delegate
|
|
3915
|
+
rulePath: ./rules/ruby/ruby.bug-risk.use-delegate.rule.yaml
|
|
1751
3916
|
presets:
|
|
1752
3917
|
- strict
|
|
1753
|
-
- id:
|
|
1754
|
-
rulePath: ./rules/
|
|
3918
|
+
- id: ruby.bug-risk.allow-blank-with-delegate
|
|
3919
|
+
rulePath: ./rules/ruby/ruby.bug-risk.allow-blank-with-delegate.rule.yaml
|
|
1755
3920
|
presets:
|
|
1756
3921
|
- strict
|
|
1757
|
-
- id:
|
|
1758
|
-
rulePath: ./rules/
|
|
3922
|
+
- id: ruby.bug-risk.all-each-to-find-each
|
|
3923
|
+
rulePath: ./rules/ruby/ruby.bug-risk.all-each-to-find-each.rule.yaml
|
|
1759
3924
|
presets:
|
|
1760
3925
|
- strict
|
|
1761
|
-
- id:
|
|
1762
|
-
rulePath: ./rules/
|
|
3926
|
+
- id: ruby.bug-risk.deprecated-find-by-dynamic
|
|
3927
|
+
rulePath: ./rules/ruby/ruby.bug-risk.deprecated-find-by-dynamic.rule.yaml
|
|
1763
3928
|
presets:
|
|
1764
3929
|
- strict
|
|
1765
|
-
- id:
|
|
1766
|
-
rulePath: ./rules/
|
|
3930
|
+
- id: ruby.bug-risk.enum-array-syntax
|
|
3931
|
+
rulePath: ./rules/ruby/ruby.bug-risk.enum-array-syntax.rule.yaml
|
|
1767
3932
|
presets:
|
|
1768
3933
|
- strict
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
rulePath: ./rules/java/java.security.weak-rsa-key-size.rule.yaml
|
|
3934
|
+
- id: ruby.bug-risk.enum-duplicate-values
|
|
3935
|
+
rulePath: ./rules/ruby/ruby.bug-risk.enum-duplicate-values.rule.yaml
|
|
1772
3936
|
presets:
|
|
1773
3937
|
- strict
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
rulePath: ./rules/java/java.security.insecure-ssl-context.rule.yaml
|
|
3938
|
+
- id: ruby.bug-risk.rails-env-equality
|
|
3939
|
+
rulePath: ./rules/ruby/ruby.bug-risk.rails-env-equality.rule.yaml
|
|
1777
3940
|
presets:
|
|
1778
3941
|
- strict
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
rulePath: ./rules/java/java.security.permissive-cors.rule.yaml
|
|
3942
|
+
- id: ruby.bug-risk.exit-in-app-code
|
|
3943
|
+
rulePath: ./rules/ruby/ruby.bug-risk.exit-in-app-code.rule.yaml
|
|
1782
3944
|
presets:
|
|
1783
3945
|
- strict
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
rulePath: ./rules/java/java.security.trust-all-certificates.rule.yaml
|
|
3946
|
+
- id: ruby.bug-risk.rails-root-join
|
|
3947
|
+
rulePath: ./rules/ruby/ruby.bug-risk.rails-root-join.rule.yaml
|
|
1787
3948
|
presets:
|
|
1788
3949
|
- strict
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
rulePath: ./rules/java/java.security.insecure-network-protocol.rule.yaml
|
|
3950
|
+
- id: ruby.bug-risk.where-first-over-find-by
|
|
3951
|
+
rulePath: ./rules/ruby/ruby.bug-risk.where-first-over-find-by.rule.yaml
|
|
1792
3952
|
presets:
|
|
1793
3953
|
- strict
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
rulePath: ./rules/java/java.security.null-cipher.rule.yaml
|
|
3954
|
+
- id: ruby.bug-risk.has-and-belongs-to-many
|
|
3955
|
+
rulePath: ./rules/ruby/ruby.bug-risk.has-and-belongs-to-many.rule.yaml
|
|
1797
3956
|
presets:
|
|
1798
3957
|
- strict
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
rulePath: ./rules/java/java.security.jwt-without-verification.rule.yaml
|
|
3958
|
+
- id: ruby.bug-risk.dependent-option-cascade
|
|
3959
|
+
rulePath: ./rules/ruby/ruby.bug-risk.dependent-option-cascade.rule.yaml
|
|
1802
3960
|
presets:
|
|
1803
3961
|
- strict
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
rulePath: ./rules/ruby/ruby.bug-risk.assignment-in-condition.rule.yaml
|
|
3962
|
+
- id: ruby.bug-risk.helper-instance-variables
|
|
3963
|
+
rulePath: ./rules/ruby/ruby.bug-risk.helper-instance-variables.rule.yaml
|
|
1807
3964
|
presets:
|
|
1808
3965
|
- strict
|
|
1809
|
-
- id: ruby.bug-risk.
|
|
1810
|
-
rulePath: ./rules/ruby/ruby.bug-risk.
|
|
3966
|
+
- id: ruby.bug-risk.http-methods-without-params
|
|
3967
|
+
rulePath: ./rules/ruby/ruby.bug-risk.http-methods-without-params.rule.yaml
|
|
1811
3968
|
presets:
|
|
1812
3969
|
- strict
|
|
1813
|
-
- id: ruby.bug-risk.
|
|
1814
|
-
rulePath: ./rules/ruby/ruby.bug-risk.
|
|
3970
|
+
- id: ruby.bug-risk.deprecated-http-status-symbols
|
|
3971
|
+
rulePath: ./rules/ruby/ruby.bug-risk.deprecated-http-status-symbols.rule.yaml
|
|
1815
3972
|
presets:
|
|
1816
3973
|
- strict
|
|
1817
|
-
- id: ruby.bug-risk.
|
|
1818
|
-
rulePath: ./rules/ruby/ruby.bug-risk.
|
|
3974
|
+
- id: ruby.bug-risk.skip-filter-conditional
|
|
3975
|
+
rulePath: ./rules/ruby/ruby.bug-risk.skip-filter-conditional.rule.yaml
|
|
1819
3976
|
presets:
|
|
1820
3977
|
- strict
|
|
1821
|
-
- id: ruby.bug-risk.
|
|
1822
|
-
rulePath: ./rules/ruby/ruby.bug-risk.
|
|
3978
|
+
- id: ruby.bug-risk.missing-inverse-of
|
|
3979
|
+
rulePath: ./rules/ruby/ruby.bug-risk.missing-inverse-of.rule.yaml
|
|
1823
3980
|
presets:
|
|
1824
3981
|
- strict
|
|
1825
|
-
- id: ruby.bug-risk.
|
|
1826
|
-
rulePath: ./rules/ruby/ruby.bug-risk.
|
|
3982
|
+
- id: ruby.bug-risk.undefined-action-filter
|
|
3983
|
+
rulePath: ./rules/ruby/ruby.bug-risk.undefined-action-filter.rule.yaml
|
|
1827
3984
|
presets:
|
|
1828
3985
|
- strict
|
|
1829
3986
|
- id: ruby.security.debugger-call
|
|
@@ -1841,6 +3998,11 @@ rules:
|
|
|
1841
3998
|
presets:
|
|
1842
3999
|
- strict
|
|
1843
4000
|
- security
|
|
4001
|
+
- id: ruby.security.io-shell-command
|
|
4002
|
+
rulePath: ./rules/ruby/ruby.security.io-shell-command.rule.yaml
|
|
4003
|
+
presets:
|
|
4004
|
+
- strict
|
|
4005
|
+
- security
|
|
1844
4006
|
- id: ruby.security.kernel-open
|
|
1845
4007
|
rulePath: ./rules/ruby/ruby.security.kernel-open.rule.yaml
|
|
1846
4008
|
presets:
|
|
@@ -1861,6 +4023,11 @@ rules:
|
|
|
1861
4023
|
presets:
|
|
1862
4024
|
- strict
|
|
1863
4025
|
- security
|
|
4026
|
+
- id: ruby.security.rails-http-digest-auth
|
|
4027
|
+
rulePath: ./rules/ruby/ruby.security.rails-http-digest-auth.rule.yaml
|
|
4028
|
+
presets:
|
|
4029
|
+
- strict
|
|
4030
|
+
- security
|
|
1864
4031
|
- id: ruby.security.rails-link-to-blank-without-noopener
|
|
1865
4032
|
rulePath: ./rules/ruby/ruby.security.rails-link-to-blank-without-noopener.rule.yaml
|
|
1866
4033
|
presets:
|
|
@@ -1871,6 +4038,11 @@ rules:
|
|
|
1871
4038
|
presets:
|
|
1872
4039
|
- strict
|
|
1873
4040
|
- security
|
|
4041
|
+
- id: ruby.security.rails-render-inline
|
|
4042
|
+
rulePath: ./rules/ruby/ruby.security.rails-render-inline.rule.yaml
|
|
4043
|
+
presets:
|
|
4044
|
+
- strict
|
|
4045
|
+
- security
|
|
1874
4046
|
- id: ruby.security.rails-output-unsafe
|
|
1875
4047
|
rulePath: ./rules/ruby/ruby.security.rails-output-unsafe.rule.yaml
|
|
1876
4048
|
presets:
|
|
@@ -1896,6 +4068,11 @@ rules:
|
|
|
1896
4068
|
presets:
|
|
1897
4069
|
- strict
|
|
1898
4070
|
- security
|
|
4071
|
+
- id: ruby.security.rails-skip-validation
|
|
4072
|
+
rulePath: ./rules/ruby/ruby.security.rails-skip-validation.rule.yaml
|
|
4073
|
+
presets:
|
|
4074
|
+
- strict
|
|
4075
|
+
- security
|
|
1899
4076
|
- id: ruby.security.sensitive-data-egress
|
|
1900
4077
|
rulePath: ./rules/ruby/ruby.security.sensitive-data-egress.rule.yaml
|
|
1901
4078
|
presets:
|
|
@@ -1951,6 +4128,21 @@ rules:
|
|
|
1951
4128
|
presets:
|
|
1952
4129
|
- strict
|
|
1953
4130
|
- security
|
|
4131
|
+
- id: rust.security.manual-error-type-id
|
|
4132
|
+
rulePath: ./rules/rust/rust.security.manual-error-type-id.rule.yaml
|
|
4133
|
+
presets:
|
|
4134
|
+
- strict
|
|
4135
|
+
- security
|
|
4136
|
+
- id: rust.security.misused-bitwise-xor
|
|
4137
|
+
rulePath: ./rules/rust/rust.security.misused-bitwise-xor.rule.yaml
|
|
4138
|
+
presets:
|
|
4139
|
+
- strict
|
|
4140
|
+
- security
|
|
4141
|
+
- id: rust.security.missing-regex-anchor
|
|
4142
|
+
rulePath: ./rules/rust/rust.security.missing-regex-anchor.rule.yaml
|
|
4143
|
+
presets:
|
|
4144
|
+
- strict
|
|
4145
|
+
- security
|
|
1954
4146
|
- id: rust.security.panic-in-async-handler
|
|
1955
4147
|
rulePath: ./rules/rust/rust.security.panic-in-async-handler.rule.yaml
|
|
1956
4148
|
presets:
|
|
@@ -1986,6 +4178,11 @@ rules:
|
|
|
1986
4178
|
presets:
|
|
1987
4179
|
- strict
|
|
1988
4180
|
- security
|
|
4181
|
+
- id: rust.security.unsafe-remove-dir-all
|
|
4182
|
+
rulePath: ./rules/rust/rust.security.unsafe-remove-dir-all.rule.yaml
|
|
4183
|
+
presets:
|
|
4184
|
+
- strict
|
|
4185
|
+
- security
|
|
1989
4186
|
- id: rust.security.warp-blocking-or-panic-in-async-handler
|
|
1990
4187
|
rulePath: ./rules/rust/rust.security.warp-blocking-or-panic-in-async-handler.rule.yaml
|
|
1991
4188
|
presets:
|
|
@@ -2006,6 +4203,46 @@ rules:
|
|
|
2006
4203
|
presets:
|
|
2007
4204
|
- strict
|
|
2008
4205
|
- security
|
|
4206
|
+
- id: rust.security.open-redirect
|
|
4207
|
+
rulePath: ./rules/rust/rust.security.open-redirect.rule.yaml
|
|
4208
|
+
presets:
|
|
4209
|
+
- strict
|
|
4210
|
+
- security
|
|
4211
|
+
- id: rust.security.invisible-unicode
|
|
4212
|
+
rulePath: ./rules/rust/rust.security.invisible-unicode.rule.yaml
|
|
4213
|
+
presets:
|
|
4214
|
+
- strict
|
|
4215
|
+
- security
|
|
4216
|
+
- id: rust.security.const-to-mut-ptr
|
|
4217
|
+
rulePath: ./rules/rust/rust.security.const-to-mut-ptr.rule.yaml
|
|
4218
|
+
presets:
|
|
4219
|
+
- strict
|
|
4220
|
+
- security
|
|
4221
|
+
- id: rust.security.raw-slice-to-ptr
|
|
4222
|
+
rulePath: ./rules/rust/rust.security.raw-slice-to-ptr.rule.yaml
|
|
4223
|
+
presets:
|
|
4224
|
+
- strict
|
|
4225
|
+
- security
|
|
4226
|
+
- id: rust.security.differently-sized-slice-conversion
|
|
4227
|
+
rulePath: ./rules/rust/rust.security.differently-sized-slice-conversion.rule.yaml
|
|
4228
|
+
presets:
|
|
4229
|
+
- strict
|
|
4230
|
+
- security
|
|
4231
|
+
- id: rust.security.actix-namedfile-path-traversal
|
|
4232
|
+
rulePath: ./rules/rust/rust.security.actix-namedfile-path-traversal.rule.yaml
|
|
4233
|
+
presets:
|
|
4234
|
+
- strict
|
|
4235
|
+
- security
|
|
4236
|
+
- id: rust.security.potentially-vulnerable-regex
|
|
4237
|
+
rulePath: ./rules/rust/rust.security.potentially-vulnerable-regex.rule.yaml
|
|
4238
|
+
presets:
|
|
4239
|
+
- strict
|
|
4240
|
+
- security
|
|
4241
|
+
- id: rust.security.global-write-permission
|
|
4242
|
+
rulePath: ./rules/rust/rust.security.global-write-permission.rule.yaml
|
|
4243
|
+
presets:
|
|
4244
|
+
- strict
|
|
4245
|
+
- security
|
|
2009
4246
|
- id: go.testing.t-skip-without-ticket-reference
|
|
2010
4247
|
rulePath: ./rules/go/go.testing.t-skip-without-ticket-reference.rule.yaml
|
|
2011
4248
|
presets:
|
|
@@ -2091,6 +4328,94 @@ rules:
|
|
|
2091
4328
|
presets:
|
|
2092
4329
|
- recommended
|
|
2093
4330
|
- strict
|
|
4331
|
+
- id: java.testing.setup-teardown-annotation
|
|
4332
|
+
rulePath: ./rules/java/java.testing.setup-teardown-annotation.rule.yaml
|
|
4333
|
+
presets:
|
|
4334
|
+
- strict
|
|
4335
|
+
- id: java.testing.setup-without-super
|
|
4336
|
+
rulePath: ./rules/java/java.testing.setup-without-super.rule.yaml
|
|
4337
|
+
presets:
|
|
4338
|
+
- strict
|
|
4339
|
+
- id: java.testing.teardown-without-super
|
|
4340
|
+
rulePath: ./rules/java/java.testing.teardown-without-super.rule.yaml
|
|
4341
|
+
presets:
|
|
4342
|
+
- strict
|
|
4343
|
+
- id: java.testing.wrong-assertion-argument-order
|
|
4344
|
+
rulePath: ./rules/java/java.testing.wrong-assertion-argument-order.rule.yaml
|
|
4345
|
+
presets:
|
|
4346
|
+
- recommended
|
|
4347
|
+
- strict
|
|
4348
|
+
- id: java.quality.c-style-array-declaration
|
|
4349
|
+
rulePath: ./rules/java/java.quality.c-style-array-declaration.rule.yaml
|
|
4350
|
+
presets:
|
|
4351
|
+
- strict
|
|
4352
|
+
- id: java.quality.type-name-uppercase
|
|
4353
|
+
rulePath: ./rules/java/java.quality.type-name-uppercase.rule.yaml
|
|
4354
|
+
presets:
|
|
4355
|
+
- strict
|
|
4356
|
+
- id: java.quality.multiple-variables-same-line
|
|
4357
|
+
rulePath: ./rules/java/java.quality.multiple-variables-same-line.rule.yaml
|
|
4358
|
+
presets:
|
|
4359
|
+
- strict
|
|
4360
|
+
- id: java.doc.unmatched-parameter-tag
|
|
4361
|
+
rulePath: ./rules/java/java.doc.unmatched-parameter-tag.rule.yaml
|
|
4362
|
+
presets:
|
|
4363
|
+
- recommended
|
|
4364
|
+
- strict
|
|
4365
|
+
- id: java.doc.parameter-tag-no-description
|
|
4366
|
+
rulePath: ./rules/java/java.doc.parameter-tag-no-description.rule.yaml
|
|
4367
|
+
presets:
|
|
4368
|
+
- recommended
|
|
4369
|
+
- strict
|
|
4370
|
+
- id: java.doc.empty-javadoc-tag
|
|
4371
|
+
rulePath: ./rules/java/java.doc.empty-javadoc-tag.rule.yaml
|
|
4372
|
+
presets:
|
|
4373
|
+
- recommended
|
|
4374
|
+
- strict
|
|
4375
|
+
- id: java.doc.malformed-javadoc-comment
|
|
4376
|
+
rulePath: ./rules/java/java.doc.malformed-javadoc-comment.rule.yaml
|
|
4377
|
+
presets:
|
|
4378
|
+
- recommended
|
|
4379
|
+
- strict
|
|
4380
|
+
- id: java.correctness.collection-contains-self
|
|
4381
|
+
rulePath: ./rules/java/java.correctness.collection-contains-self.rule.yaml
|
|
4382
|
+
presets:
|
|
4383
|
+
- strict
|
|
4384
|
+
- id: java.correctness.collection-adds-self
|
|
4385
|
+
rulePath: ./rules/java/java.correctness.collection-adds-self.rule.yaml
|
|
4386
|
+
presets:
|
|
4387
|
+
- strict
|
|
4388
|
+
- id: java.correctness.modulus-multiplication-precedence
|
|
4389
|
+
rulePath: ./rules/java/java.correctness.modulus-multiplication-precedence.rule.yaml
|
|
4390
|
+
presets:
|
|
4391
|
+
- strict
|
|
4392
|
+
- id: java.correctness.bitwise-or-never-equal
|
|
4393
|
+
rulePath: ./rules/java/java.correctness.bitwise-or-never-equal.rule.yaml
|
|
4394
|
+
presets:
|
|
4395
|
+
- strict
|
|
4396
|
+
- id: java.correctness.getter-setter-sync-mismatch
|
|
4397
|
+
rulePath: ./rules/java/java.correctness.getter-setter-sync-mismatch.rule.yaml
|
|
4398
|
+
presets:
|
|
4399
|
+
- strict
|
|
4400
|
+
- id: java.correctness.threadgroup-deprecated-methods
|
|
4401
|
+
rulePath: ./rules/java/java.correctness.threadgroup-deprecated-methods.rule.yaml
|
|
4402
|
+
presets:
|
|
4403
|
+
- recommended
|
|
4404
|
+
- strict
|
|
4405
|
+
- id: java.correctness.closeable-provides-injection
|
|
4406
|
+
rulePath: ./rules/java/java.correctness.closeable-provides-injection.rule.yaml
|
|
4407
|
+
presets:
|
|
4408
|
+
- strict
|
|
4409
|
+
- id: java.correctness.non-null-method-returns-null
|
|
4410
|
+
rulePath: ./rules/java/java.correctness.non-null-method-returns-null.rule.yaml
|
|
4411
|
+
presets:
|
|
4412
|
+
- recommended
|
|
4413
|
+
- strict
|
|
4414
|
+
- id: java.correctness.missing-enum-switch-elements
|
|
4415
|
+
rulePath: ./rules/java/java.correctness.missing-enum-switch-elements.rule.yaml
|
|
4416
|
+
presets:
|
|
4417
|
+
- recommended
|
|
4418
|
+
- strict
|
|
2094
4419
|
- id: php.testing.mark-test-skipped-without-ticket-reference
|
|
2095
4420
|
rulePath: ./rules/php/php.testing.mark-test-skipped-without-ticket-reference.rule.yaml
|
|
2096
4421
|
presets:
|
|
@@ -2141,6 +4466,11 @@ rules:
|
|
|
2141
4466
|
presets:
|
|
2142
4467
|
- strict
|
|
2143
4468
|
- security
|
|
4469
|
+
- id: go.security.incomplete-hostname-regex
|
|
4470
|
+
rulePath: ./rules/go/go.security.incomplete-hostname-regex.rule.yaml
|
|
4471
|
+
presets:
|
|
4472
|
+
- strict
|
|
4473
|
+
- security
|
|
2144
4474
|
- id: go.security.insecure-rand-seed
|
|
2145
4475
|
rulePath: ./rules/go/go.security.insecure-rand-seed.rule.yaml
|
|
2146
4476
|
presets:
|
|
@@ -2171,6 +4501,11 @@ rules:
|
|
|
2171
4501
|
presets:
|
|
2172
4502
|
- strict
|
|
2173
4503
|
- security
|
|
4504
|
+
- id: go.security.squirrel-unsafe-quoting
|
|
4505
|
+
rulePath: ./rules/go/go.security.squirrel-unsafe-quoting.rule.yaml
|
|
4506
|
+
presets:
|
|
4507
|
+
- strict
|
|
4508
|
+
- security
|
|
2174
4509
|
- id: go.security.tar-path-traversal
|
|
2175
4510
|
rulePath: ./rules/go/go.security.tar-path-traversal.rule.yaml
|
|
2176
4511
|
presets:
|
|
@@ -2226,6 +4561,31 @@ rules:
|
|
|
2226
4561
|
presets:
|
|
2227
4562
|
- strict
|
|
2228
4563
|
- security
|
|
4564
|
+
- id: go.security.decompression-bomb
|
|
4565
|
+
rulePath: ./rules/go/go.security.decompression-bomb.rule.yaml
|
|
4566
|
+
presets:
|
|
4567
|
+
- strict
|
|
4568
|
+
- security
|
|
4569
|
+
- id: go.security.http-dir-path-traversal
|
|
4570
|
+
rulePath: ./rules/go/go.security.http-dir-path-traversal.rule.yaml
|
|
4571
|
+
presets:
|
|
4572
|
+
- strict
|
|
4573
|
+
- security
|
|
4574
|
+
- id: go.security.weak-file-permission
|
|
4575
|
+
rulePath: ./rules/go/go.security.weak-file-permission.rule.yaml
|
|
4576
|
+
presets:
|
|
4577
|
+
- strict
|
|
4578
|
+
- security
|
|
4579
|
+
- id: go.security.unsafe-defer-close
|
|
4580
|
+
rulePath: ./rules/go/go.security.unsafe-defer-close.rule.yaml
|
|
4581
|
+
presets:
|
|
4582
|
+
- strict
|
|
4583
|
+
- security
|
|
4584
|
+
- id: go.security.tainted-value-sink
|
|
4585
|
+
rulePath: ./rules/go/go.security.tainted-value-sink.rule.yaml
|
|
4586
|
+
presets:
|
|
4587
|
+
- strict
|
|
4588
|
+
- security
|
|
2229
4589
|
- id: go.correctness.defer-close-before-check
|
|
2230
4590
|
rulePath: ./rules/go/go.correctness.defer-close-before-check.rule.yaml
|
|
2231
4591
|
presets:
|
|
@@ -2254,6 +4614,160 @@ rules:
|
|
|
2254
4614
|
rulePath: ./rules/go/go.correctness.waitgroup-add-in-goroutine.rule.yaml
|
|
2255
4615
|
presets:
|
|
2256
4616
|
- strict
|
|
4617
|
+
- id: go.correctness.unreachable-switch-case
|
|
4618
|
+
rulePath: ./rules/go/go.correctness.unreachable-switch-case.rule.yaml
|
|
4619
|
+
presets:
|
|
4620
|
+
- strict
|
|
4621
|
+
- id: go.correctness.unnecessary-dereference
|
|
4622
|
+
rulePath: ./rules/go/go.correctness.unnecessary-dereference.rule.yaml
|
|
4623
|
+
presets:
|
|
4624
|
+
- strict
|
|
4625
|
+
- id: go.correctness.duplicate-function-arguments
|
|
4626
|
+
rulePath: ./rules/go/go.correctness.duplicate-function-arguments.rule.yaml
|
|
4627
|
+
presets:
|
|
4628
|
+
- strict
|
|
4629
|
+
- id: go.correctness.duplicate-branch-body
|
|
4630
|
+
rulePath: ./rules/go/go.correctness.duplicate-branch-body.rule.yaml
|
|
4631
|
+
presets:
|
|
4632
|
+
- strict
|
|
4633
|
+
- id: go.correctness.duplicate-switch-cases
|
|
4634
|
+
rulePath: ./rules/go/go.correctness.duplicate-switch-cases.rule.yaml
|
|
4635
|
+
presets:
|
|
4636
|
+
- strict
|
|
4637
|
+
- id: go.correctness.identical-binary-operands
|
|
4638
|
+
rulePath: ./rules/go/go.correctness.identical-binary-operands.rule.yaml
|
|
4639
|
+
presets:
|
|
4640
|
+
- strict
|
|
4641
|
+
- id: go.correctness.flag-pointer-immediate-deref
|
|
4642
|
+
rulePath: ./rules/go/go.correctness.flag-pointer-immediate-deref.rule.yaml
|
|
4643
|
+
presets:
|
|
4644
|
+
- strict
|
|
4645
|
+
- id: go.correctness.terminal-call-with-defer
|
|
4646
|
+
rulePath: ./rules/go/go.correctness.terminal-call-with-defer.rule.yaml
|
|
4647
|
+
presets:
|
|
4648
|
+
- strict
|
|
4649
|
+
- id: go.correctness.nil-error-returned
|
|
4650
|
+
rulePath: ./rules/go/go.correctness.nil-error-returned.rule.yaml
|
|
4651
|
+
presets:
|
|
4652
|
+
- strict
|
|
4653
|
+
# Batch 04 (CRT-D) — correctness rules
|
|
4654
|
+
- id: go.correctness.off-by-one-index
|
|
4655
|
+
rulePath: ./rules/go/go.correctness.off-by-one-index.rule.yaml
|
|
4656
|
+
presets:
|
|
4657
|
+
- strict
|
|
4658
|
+
- id: go.correctness.incomplete-nil-check
|
|
4659
|
+
rulePath: ./rules/go/go.correctness.incomplete-nil-check.rule.yaml
|
|
4660
|
+
presets:
|
|
4661
|
+
- strict
|
|
4662
|
+
- id: go.correctness.boolean-simplification
|
|
4663
|
+
rulePath: ./rules/go/go.correctness.boolean-simplification.rule.yaml
|
|
4664
|
+
presets:
|
|
4665
|
+
- strict
|
|
4666
|
+
- id: go.correctness.suspicious-regex-pattern
|
|
4667
|
+
rulePath: ./rules/go/go.correctness.suspicious-regex-pattern.rule.yaml
|
|
4668
|
+
presets:
|
|
4669
|
+
- strict
|
|
4670
|
+
- id: go.correctness.integer-truncation
|
|
4671
|
+
rulePath: ./rules/go/go.correctness.integer-truncation.rule.yaml
|
|
4672
|
+
presets:
|
|
4673
|
+
- strict
|
|
4674
|
+
- id: go.correctness.deferred-func-literal
|
|
4675
|
+
rulePath: ./rules/go/go.correctness.deferred-func-literal.rule.yaml
|
|
4676
|
+
presets:
|
|
4677
|
+
- strict
|
|
4678
|
+
- id: go.correctness.redundant-type-declaration
|
|
4679
|
+
rulePath: ./rules/go/go.correctness.redundant-type-declaration.rule.yaml
|
|
4680
|
+
presets:
|
|
4681
|
+
- strict
|
|
4682
|
+
- id: go.bug-risk.gin-loadhtmlglob-ill-formed
|
|
4683
|
+
rulePath: ./rules/go/go.bug-risk.gin-loadhtmlglob-ill-formed.rule.yaml
|
|
4684
|
+
presets:
|
|
4685
|
+
- strict
|
|
4686
|
+
- id: go.bug-risk.redis-incorrect-arg-count
|
|
4687
|
+
rulePath: ./rules/go/go.bug-risk.redis-incorrect-arg-count.rule.yaml
|
|
4688
|
+
presets:
|
|
4689
|
+
- strict
|
|
4690
|
+
- id: go.bug-risk.redis-unimplemented-method
|
|
4691
|
+
rulePath: ./rules/go/go.bug-risk.redis-unimplemented-method.rule.yaml
|
|
4692
|
+
presets:
|
|
4693
|
+
- strict
|
|
4694
|
+
- id: go.bug-risk.etcd-invalid-compare-operator
|
|
4695
|
+
rulePath: ./rules/go/go.bug-risk.etcd-invalid-compare-operator.rule.yaml
|
|
4696
|
+
presets:
|
|
4697
|
+
- strict
|
|
4698
|
+
- id: go.bug-risk.gorm-where-zero-values
|
|
4699
|
+
rulePath: ./rules/go/go.bug-risk.gorm-where-zero-values.rule.yaml
|
|
4700
|
+
presets:
|
|
4701
|
+
- strict
|
|
4702
|
+
- id: go.bug-risk.gorm-updates-zero-values
|
|
4703
|
+
rulePath: ./rules/go/go.bug-risk.gorm-updates-zero-values.rule.yaml
|
|
4704
|
+
presets:
|
|
4705
|
+
- strict
|
|
4706
|
+
- id: go.bug-risk.deprecated-redis-methods
|
|
4707
|
+
rulePath: ./rules/go/go.bug-risk.deprecated-redis-methods.rule.yaml
|
|
4708
|
+
presets:
|
|
4709
|
+
- strict
|
|
4710
|
+
- id: go.bug-risk.etcd-getlogger-misuse
|
|
4711
|
+
rulePath: ./rules/go/go.bug-risk.etcd-getlogger-misuse.rule.yaml
|
|
4712
|
+
presets:
|
|
4713
|
+
- strict
|
|
4714
|
+
- id: go.bug-risk.gorm-skip-default-transaction
|
|
4715
|
+
rulePath: ./rules/go/go.bug-risk.gorm-skip-default-transaction.rule.yaml
|
|
4716
|
+
presets:
|
|
4717
|
+
- strict
|
|
4718
|
+
- id: go.bug-risk.gorm-dry-run-enabled
|
|
4719
|
+
rulePath: ./rules/go/go.bug-risk.gorm-dry-run-enabled.rule.yaml
|
|
4720
|
+
presets:
|
|
4721
|
+
- strict
|
|
4722
|
+
- id: go.bug-risk.reflect-makefunc-usage
|
|
4723
|
+
rulePath: ./rules/go/go.bug-risk.reflect-makefunc-usage.rule.yaml
|
|
4724
|
+
presets:
|
|
4725
|
+
- strict
|
|
4726
|
+
- id: go.correctness.signedness-casting
|
|
4727
|
+
rulePath: ./rules/go/go.correctness.signedness-casting.rule.yaml
|
|
4728
|
+
presets:
|
|
4729
|
+
- strict
|
|
4730
|
+
- id: go.correctness.hidden-goroutine
|
|
4731
|
+
rulePath: ./rules/go/go.correctness.hidden-goroutine.rule.yaml
|
|
4732
|
+
presets:
|
|
4733
|
+
- strict
|
|
4734
|
+
- id: go.correctness.impossible-interface-nil-check
|
|
4735
|
+
rulePath: ./rules/go/go.correctness.impossible-interface-nil-check.rule.yaml
|
|
4736
|
+
presets:
|
|
4737
|
+
- strict
|
|
4738
|
+
- id: go.correctness.duplicate-if-else-condition
|
|
4739
|
+
rulePath: ./rules/go/go.correctness.duplicate-if-else-condition.rule.yaml
|
|
4740
|
+
presets:
|
|
4741
|
+
- strict
|
|
4742
|
+
# Batch 07 (GO-R) — GO-R family rules
|
|
4743
|
+
- id: go.correctness.interface-any-preferred
|
|
4744
|
+
rulePath: ./rules/go/go.correctness.interface-any-preferred.rule.yaml
|
|
4745
|
+
presets:
|
|
4746
|
+
- strict
|
|
4747
|
+
- id: go.correctness.unnecessary-else-return
|
|
4748
|
+
rulePath: ./rules/go/go.correctness.unnecessary-else-return.rule.yaml
|
|
4749
|
+
presets:
|
|
4750
|
+
- strict
|
|
4751
|
+
- id: go.correctness.bare-return
|
|
4752
|
+
rulePath: ./rules/go/go.correctness.bare-return.rule.yaml
|
|
4753
|
+
presets:
|
|
4754
|
+
- strict
|
|
4755
|
+
- id: go.correctness.boolean-literal-in-expression
|
|
4756
|
+
rulePath: ./rules/go/go.correctness.boolean-literal-in-expression.rule.yaml
|
|
4757
|
+
presets:
|
|
4758
|
+
- strict
|
|
4759
|
+
- id: go.correctness.unexported-capital-name
|
|
4760
|
+
rulePath: ./rules/go/go.correctness.unexported-capital-name.rule.yaml
|
|
4761
|
+
presets:
|
|
4762
|
+
- strict
|
|
4763
|
+
- id: go.correctness.http-nobody-nil
|
|
4764
|
+
rulePath: ./rules/go/go.correctness.http-nobody-nil.rule.yaml
|
|
4765
|
+
presets:
|
|
4766
|
+
- strict
|
|
4767
|
+
- id: go.correctness.string-concat-simplify
|
|
4768
|
+
rulePath: ./rules/go/go.correctness.string-concat-simplify.rule.yaml
|
|
4769
|
+
presets:
|
|
4770
|
+
- strict
|
|
2257
4771
|
- id: php.security.insecure-cors-wildcard-with-credentials
|
|
2258
4772
|
rulePath: ./rules/php/php.security.insecure-cors-wildcard-with-credentials.rule.yaml
|
|
2259
4773
|
presets:
|
|
@@ -2978,3 +5492,142 @@ rules:
|
|
|
2978
5492
|
rulePath: ./rules/cfn/cfn.maintainability.fn-equals-will-always-return-true-or-false.rule.yaml
|
|
2979
5493
|
presets:
|
|
2980
5494
|
- strict
|
|
5495
|
+
- id: sql.correctness.undefined-reference
|
|
5496
|
+
rulePath: ./rules/sql/sql.correctness.undefined-reference.rule.yaml
|
|
5497
|
+
presets:
|
|
5498
|
+
- strict
|
|
5499
|
+
- id: sql.style.ambiguous-distinct
|
|
5500
|
+
rulePath: ./rules/sql/sql.style.ambiguous-distinct.rule.yaml
|
|
5501
|
+
presets:
|
|
5502
|
+
- strict
|
|
5503
|
+
- id: sql.style.column-expression-without-alias
|
|
5504
|
+
rulePath: ./rules/sql/sql.style.column-expression-without-alias.rule.yaml
|
|
5505
|
+
presets:
|
|
5506
|
+
- strict
|
|
5507
|
+
- id: sql.style.distinct-with-parenthesis
|
|
5508
|
+
rulePath: ./rules/sql/sql.style.distinct-with-parenthesis.rule.yaml
|
|
5509
|
+
presets:
|
|
5510
|
+
- strict
|
|
5511
|
+
- id: sql.style.duplicate-table-aliases
|
|
5512
|
+
rulePath: ./rules/sql/sql.style.duplicate-table-aliases.rule.yaml
|
|
5513
|
+
presets:
|
|
5514
|
+
- strict
|
|
5515
|
+
- id: sql.style.implicit-column-alias
|
|
5516
|
+
rulePath: ./rules/sql/sql.style.implicit-column-alias.rule.yaml
|
|
5517
|
+
presets:
|
|
5518
|
+
- strict
|
|
5519
|
+
- id: sql.style.implicit-table-alias
|
|
5520
|
+
rulePath: ./rules/sql/sql.style.implicit-table-alias.rule.yaml
|
|
5521
|
+
presets:
|
|
5522
|
+
- strict
|
|
5523
|
+
- id: sql.style.inconsistent-capitalization
|
|
5524
|
+
rulePath: ./rules/sql/sql.style.inconsistent-capitalization.rule.yaml
|
|
5525
|
+
presets:
|
|
5526
|
+
- strict
|
|
5527
|
+
- id: sql.style.inconsistent-keyword-case
|
|
5528
|
+
rulePath: ./rules/sql/sql.style.inconsistent-keyword-case.rule.yaml
|
|
5529
|
+
presets:
|
|
5530
|
+
- strict
|
|
5531
|
+
- id: sql.style.keyword-as-identifier
|
|
5532
|
+
rulePath: ./rules/sql/sql.style.keyword-as-identifier.rule.yaml
|
|
5533
|
+
presets:
|
|
5534
|
+
- strict
|
|
5535
|
+
- id: sql.style.trailing-select-comma
|
|
5536
|
+
rulePath: ./rules/sql/sql.style.trailing-select-comma.rule.yaml
|
|
5537
|
+
presets:
|
|
5538
|
+
- strict
|
|
5539
|
+
- id: sql.style.unqualified-references
|
|
5540
|
+
rulePath: ./rules/sql/sql.style.unqualified-references.rule.yaml
|
|
5541
|
+
presets:
|
|
5542
|
+
- strict
|
|
5543
|
+
- id: sql.style.unused-table-alias
|
|
5544
|
+
rulePath: ./rules/sql/sql.style.unused-table-alias.rule.yaml
|
|
5545
|
+
presets:
|
|
5546
|
+
- strict
|
|
5547
|
+
- id: ruby.bug-risk.non-null-column-without-default
|
|
5548
|
+
rulePath: ./rules/ruby/ruby.bug-risk.non-null-column-without-default.rule.yaml
|
|
5549
|
+
presets:
|
|
5550
|
+
- recommended
|
|
5551
|
+
- strict
|
|
5552
|
+
- id: ruby.bug-risk.console-output-instead-of-logger
|
|
5553
|
+
rulePath: ./rules/ruby/ruby.bug-risk.console-output-instead-of-logger.rule.yaml
|
|
5554
|
+
presets:
|
|
5555
|
+
- recommended
|
|
5556
|
+
- strict
|
|
5557
|
+
- id: ruby.bug-risk.incorrect-pluralization
|
|
5558
|
+
rulePath: ./rules/ruby/ruby.bug-risk.incorrect-pluralization.rule.yaml
|
|
5559
|
+
presets:
|
|
5560
|
+
- strict
|
|
5561
|
+
- id: ruby.bug-risk.use-presence-over-explicit-check
|
|
5562
|
+
rulePath: ./rules/ruby/ruby.bug-risk.use-presence-over-explicit-check.rule.yaml
|
|
5563
|
+
presets:
|
|
5564
|
+
- recommended
|
|
5565
|
+
- strict
|
|
5566
|
+
- id: ruby.bug-risk.use-present-to-simplify-conditional
|
|
5567
|
+
rulePath: ./rules/ruby/ruby.bug-risk.use-present-to-simplify-conditional.rule.yaml
|
|
5568
|
+
presets:
|
|
5569
|
+
- recommended
|
|
5570
|
+
- strict
|
|
5571
|
+
- id: ruby.bug-risk.rake-task-missing-environment
|
|
5572
|
+
rulePath: ./rules/ruby/ruby.bug-risk.rake-task-missing-environment.rule.yaml
|
|
5573
|
+
presets:
|
|
5574
|
+
- recommended
|
|
5575
|
+
- strict
|
|
5576
|
+
- id: ruby.bug-risk.use-square-brackets-for-attributes
|
|
5577
|
+
rulePath: ./rules/ruby/ruby.bug-risk.use-square-brackets-for-attributes.rule.yaml
|
|
5578
|
+
presets:
|
|
5579
|
+
- recommended
|
|
5580
|
+
- strict
|
|
5581
|
+
- id: ruby.bug-risk.redundant-allow-nil
|
|
5582
|
+
rulePath: ./rules/ruby/ruby.bug-risk.redundant-allow-nil.rule.yaml
|
|
5583
|
+
presets:
|
|
5584
|
+
- recommended
|
|
5585
|
+
- strict
|
|
5586
|
+
- id: ruby.bug-risk.plain-method-instead-of-proc
|
|
5587
|
+
rulePath: ./rules/ruby/ruby.bug-risk.plain-method-instead-of-proc.rule.yaml
|
|
5588
|
+
presets:
|
|
5589
|
+
- recommended
|
|
5590
|
+
- strict
|
|
5591
|
+
- id: ruby.bug-risk.time-without-zone
|
|
5592
|
+
rulePath: ./rules/ruby/ruby.bug-risk.time-without-zone.rule.yaml
|
|
5593
|
+
presets:
|
|
5594
|
+
- recommended
|
|
5595
|
+
- strict
|
|
5596
|
+
- id: ruby.bug-risk.invalid-rails-env-predicate
|
|
5597
|
+
rulePath: ./rules/ruby/ruby.bug-risk.invalid-rails-env-predicate.rule.yaml
|
|
5598
|
+
presets:
|
|
5599
|
+
- recommended
|
|
5600
|
+
- strict
|
|
5601
|
+
- id: ruby.bug-risk.old-style-validation-macro
|
|
5602
|
+
rulePath: ./rules/ruby/ruby.bug-risk.old-style-validation-macro.rule.yaml
|
|
5603
|
+
presets:
|
|
5604
|
+
- recommended
|
|
5605
|
+
- strict
|
|
5606
|
+
- id: ruby.bug-risk.redundant-with-options-receiver
|
|
5607
|
+
rulePath: ./rules/ruby/ruby.bug-risk.redundant-with-options-receiver.rule.yaml
|
|
5608
|
+
presets:
|
|
5609
|
+
- strict
|
|
5610
|
+
- id: ruby.bug-risk.class-name-should-be-string
|
|
5611
|
+
rulePath: ./rules/ruby/ruby.bug-risk.class-name-should-be-string.rule.yaml
|
|
5612
|
+
presets:
|
|
5613
|
+
- strict
|
|
5614
|
+
- id: ruby.bug-risk.non-preferred-assert-falseness
|
|
5615
|
+
rulePath: ./rules/ruby/ruby.bug-risk.non-preferred-assert-falseness.rule.yaml
|
|
5616
|
+
presets:
|
|
5617
|
+
- strict
|
|
5618
|
+
- id: ruby.bug-risk.relative-date-as-constant
|
|
5619
|
+
rulePath: ./rules/ruby/ruby.bug-risk.relative-date-as-constant.rule.yaml
|
|
5620
|
+
presets:
|
|
5621
|
+
- strict
|
|
5622
|
+
- id: ruby.bug-risk.inconsistent-request-referrer
|
|
5623
|
+
rulePath: ./rules/ruby/ruby.bug-risk.inconsistent-request-referrer.rule.yaml
|
|
5624
|
+
presets:
|
|
5625
|
+
- strict
|
|
5626
|
+
- id: ruby.bug-risk.inconsistent-safe-navigation-try
|
|
5627
|
+
rulePath: ./rules/ruby/ruby.bug-risk.inconsistent-safe-navigation-try.rule.yaml
|
|
5628
|
+
presets:
|
|
5629
|
+
- strict
|
|
5630
|
+
- id: ruby.bug-risk.safe-navigation-with-blank
|
|
5631
|
+
rulePath: ./rules/ruby/ruby.bug-risk.safe-navigation-with-blank.rule.yaml
|
|
5632
|
+
presets:
|
|
5633
|
+
- strict
|