| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- {
- "plugins": [
- "unicorn",
- "typescript",
- "oxc"
- ],
- "categories": {},
- "rules": {
- "for-direction": "error",
- "no-async-promise-executor": "error",
- "no-caller": "error",
- "no-class-assign": "error",
- "no-compare-neg-zero": "error",
- "no-cond-assign": "warn",
- "no-const-assign": "warn",
- "no-constant-binary-expression": "error",
- "no-constant-condition": "warn",
- "no-control-regex": "warn",
- "no-debugger": "warn",
- "no-delete-var": "warn",
- "no-dupe-class-members": "warn",
- "no-dupe-else-if": "warn",
- "no-dupe-keys": "warn",
- "no-duplicate-case": "warn",
- "no-empty-character-class": "warn",
- "no-empty-pattern": "warn",
- "no-empty-static-block": "warn",
- "no-eval": "warn",
- "no-ex-assign": "warn",
- "no-extra-boolean-cast": "warn",
- "no-func-assign": "warn",
- "no-global-assign": "warn",
- "no-import-assign": "warn",
- "no-invalid-regexp": "warn",
- "no-irregular-whitespace": "warn",
- "no-loss-of-precision": "warn",
- "no-new-native-nonconstructor": "warn",
- "no-nonoctal-decimal-escape": "warn",
- "no-obj-calls": "warn",
- "no-self-assign": "warn",
- "no-setter-return": "warn",
- "no-shadow-restricted-names": "warn",
- "no-sparse-arrays": "warn",
- "no-this-before-super": "warn",
- "no-unassigned-vars": "warn",
- "no-unsafe-finally": "warn",
- "no-unsafe-negation": "warn",
- "no-unsafe-optional-chaining": "error",
- "no-unused-labels": "warn",
- "no-unused-private-class-members": "warn",
- "no-unused-vars": "warn",
- "no-useless-backreference": "warn",
- "no-useless-catch": "error",
- "no-useless-escape": "warn",
- "no-useless-rename": "warn",
- "no-with": "warn",
- "require-yield": "warn",
- "use-isnan": "warn",
- "valid-typeof": "warn",
- "oxc/bad-array-method-on-arguments": "warn",
- "oxc/bad-char-at-comparison": "warn",
- "oxc/bad-comparison-sequence": "warn",
- "oxc/bad-min-max-func": "warn",
- "oxc/bad-object-literal-comparison": "warn",
- "oxc/bad-replace-all-arg": "warn",
- "oxc/const-comparisons": "warn",
- "oxc/double-comparisons": "warn",
- "oxc/erasing-op": "warn",
- "oxc/missing-throw": "warn",
- "oxc/number-arg-out-of-range": "warn",
- "oxc/only-used-in-recursion": "warn",
- "oxc/uninvoked-array-callback": "warn",
- "typescript/await-thenable": "warn",
- "typescript/no-array-delete": "warn",
- "typescript/no-base-to-string": "warn",
- "typescript/no-confusing-void-expression": "warn",
- "typescript/no-duplicate-enum-values": "warn",
- "typescript/no-duplicate-type-constituents": "warn",
- "typescript/no-extra-non-null-assertion": "warn",
- "typescript/no-floating-promises": "warn",
- "typescript/no-for-in-array": "warn",
- "typescript/no-implied-eval": "warn",
- "typescript/no-meaningless-void-operator": "warn",
- "typescript/no-misused-new": "warn",
- "typescript/no-misused-spread": "warn",
- "typescript/no-non-null-asserted-optional-chain": "warn",
- "typescript/no-redundant-type-constituents": "warn",
- "typescript/no-this-alias": "warn",
- "typescript/no-unnecessary-parameter-property-assignment": "warn",
- "typescript/no-unsafe-declaration-merging": "warn",
- "typescript/no-unsafe-unary-minus": "warn",
- "typescript/no-useless-empty-export": "warn",
- "typescript/no-wrapper-object-types": "warn",
- "typescript/prefer-as-const": "warn",
- "typescript/require-array-sort-compare": "warn",
- "typescript/restrict-template-expressions": "warn",
- "typescript/triple-slash-reference": "warn",
- "typescript/unbound-method": "warn",
- "unicorn/no-await-in-promise-methods": "warn",
- "unicorn/no-empty-file": "warn",
- "unicorn/no-invalid-fetch-options": "warn",
- "unicorn/no-invalid-remove-event-listener": "warn",
- "unicorn/no-new-array": "warn",
- "unicorn/no-single-promise-in-promise-methods": "warn",
- "unicorn/no-thenable": "warn",
- "unicorn/no-unnecessary-await": "warn",
- "unicorn/no-useless-fallback-in-spread": "warn",
- "unicorn/no-useless-length-check": "warn",
- "unicorn/no-useless-spread": "warn",
- "unicorn/prefer-set-size": "warn",
- "unicorn/prefer-string-starts-ends-with": "warn"
- },
- "settings": {
- "jsx-a11y": {
- "polymorphicPropName": null,
- "components": {},
- "attributes": {}
- },
- "next": {
- "rootDir": []
- },
- "react": {
- "formComponents": [],
- "linkComponents": []
- },
- "jsdoc": {
- "ignorePrivate": false,
- "ignoreInternal": false,
- "ignoreReplacesDocs": true,
- "overrideReplacesDocs": true,
- "augmentsExtendsReplacesDocs": false,
- "implementsReplacesDocs": false,
- "exemptDestructuredRootsFromChecks": false,
- "tagNamePreference": {}
- }
- },
- "env": {
- "builtin": true
- },
- "globals": {},
- "ignorePatterns": [
- "**/*.js"
- ]
- }
|