Skip to content

Commit

Permalink
chore(eslint): add new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
skamril committed Mar 26, 2024
1 parent 36bc82e commit c96fb77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webapp/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ module.exports = {
},
],
curly: "error",
"jsdoc/no-defaults": "off",
"jsdoc/require-hyphen-before-param-description": "warn",
"jsdoc/require-jsdoc": "off",
"jsdoc/tag-lines": ["warn", "any", { "startLines": 1 }], // Expected 1 line after block description
"no-console": "error",
"no-param-reassign": [
"error",
{
Expand Down Expand Up @@ -74,5 +76,6 @@ module.exports = {
"react/hook-use-state": "error",
"react/prop-types": "off",
"react/self-closing-comp": "error",
"require-await": "warn", // TODO: switch to "error" when the quantity of warning will be low
},
};

0 comments on commit c96fb77

Please sign in to comment.