Skip to content

Commit

Permalink
more rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Mephisto5558 committed Sep 13, 2024
1 parent 6bf8ef7 commit e4bc620
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions configs/sonarjs.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@
"function-return-type": "off",
"future-reserved-words": "warn",
"generator-without-yield": "error",
"hashing": "",
"hidden-files": "",
"hook-use-state": "",
"html-has-lang": "",
"in-operator-type-error": "",
"inconsistent-function-call": "",
"index-of-compare-to-positive-number": "",
"insecure-cookie": "",
"insecure-jwt-token": "",
"inverted-assertion-arguments": "",
"jsx-key": "",
"hashing": "warn",
"hidden-files": "warn",
"hook-use-state": "warn",
"html-has-lang": "warn",
"in-operator-type-error": "error",
"inconsistent-function-call": "off", // Handled by `new-cap`, `sonarjs/function-name`
"index-of-compare-to-positive-number": "error",
"insecure-cookie": "warn",
"insecure-jwt-token": "warn",
"inverted-assertion-arguments": "error",
"jsx-key": "warn", //todo: jsx stuff to only jsx files
"jsx-no-constructed-context-values": "",
"jsx-no-useless-fragment": "",
"label-has-associated-control": "",
Expand Down

0 comments on commit e4bc620

Please sign in to comment.