Skip to content

Commit 3e65b03

Browse files
author
Henrik Fuchs
committed
fix: deactivate/change severity of some rules
1 parent b7a3975 commit 3e65b03

4 files changed

Lines changed: 208 additions & 208 deletions

File tree

biomeJsTs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"noMisleadingReturnType": "info",
169169
"noMisusedPromises": "error",
170170
"noReactStringRefs": "error",
171-
"noRestrictedDependencies": "error",
171+
"noRestrictedDependencies": "info",
172172
"noUndeclaredClasses": "error",
173173
"noUnnecessaryTemplateExpression": "error",
174174
"noUnsafePlusOperands": "error",
@@ -501,4 +501,4 @@
501501
}
502502
}
503503
]
504-
}
504+
}

nodeWithBiome.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,8 @@ export default [
452452
},
453453
],
454454
"unicorn/consistent-assert": "error",
455-
"unicorn/consistent-boolean-name": "error",
456-
"unicorn/consistent-compound-words": "error",
455+
"unicorn/consistent-boolean-name": "warn",
456+
"unicorn/consistent-compound-words": "warn",
457457
"unicorn/consistent-conditional-object-spread": "error",
458458
"unicorn/consistent-date-clone": "error",
459459
"unicorn/consistent-destructuring": "error",
@@ -551,15 +551,15 @@ export default [
551551
"unicorn/no-nested-ternary": "off",
552552
"unicorn/no-new-array": "error",
553553
"unicorn/no-new-buffer": "error",
554-
"unicorn/no-non-function-verb-prefix": "error",
554+
"unicorn/no-non-function-verb-prefix": "off",
555555
"unicorn/no-nonstandard-builtin-properties": "error",
556556
"unicorn/no-null": "off",
557557
"unicorn/no-object-as-default-parameter": "error",
558558
"unicorn/no-object-methods-with-collections": "error",
559559
"unicorn/no-optional-chaining-on-undeclared-variable": "error",
560560
"unicorn/no-process-exit": "error",
561561
"unicorn/no-redundant-comparison": "error",
562-
"unicorn/no-return-array-push": "error",
562+
"unicorn/no-return-array-push": "off",
563563
"unicorn/no-selector-as-dom-name": "error",
564564
"unicorn/no-single-promise-in-promise-methods": "error",
565565
"unicorn/no-static-only-class": "off",
@@ -580,7 +580,7 @@ export default [
580580
"unicorn/no-unreadable-array-destructuring": "error",
581581
"unicorn/no-unreadable-for-of-expression": "error",
582582
"unicorn/no-unreadable-iife": "error",
583-
"unicorn/no-unreadable-new-expression": "error",
583+
"unicorn/no-unreadable-new-expression": "off",
584584
"unicorn/no-unreadable-object-destructuring": "error",
585585
"unicorn/no-unsafe-buffer-conversion": "error",
586586
"unicorn/no-unsafe-dom-html": "error",
@@ -733,7 +733,7 @@ export default [
733733
"unicorn/prefer-toggle-attribute": "error",
734734
"unicorn/prefer-top-level-await": "off",
735735
"unicorn/prefer-type-error": "error",
736-
"unicorn/prefer-type-literal-last": "error",
736+
"unicorn/prefer-type-literal-last": "off",
737737
"unicorn/prefer-uint8array-base64": "error",
738738
"unicorn/prefer-unary-minus": "error",
739739
"unicorn/prefer-unicode-code-point-escapes": "error",

0 commit comments

Comments
 (0)