Skip to content

Commit

Permalink
🐝 add note about new eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Mar 15, 2024
1 parent d983d4b commit 12b9910
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ module.exports = {
"react/no-render-return-value": "warn",
"react/no-unescaped-entities": ["warn", { forbid: [">", "}"] }],
"react/prop-types": "warn",
// TODO: consider adding this and whitelisting all promises that don't need to be awaited with "void"
// "@typescript-eslint/no-floating-promises": "error",
},
settings: {
"import/resolver": {
Expand Down

0 comments on commit 12b9910

Please sign in to comment.