Skip to content

Commit

Permalink
Merge pull request #27 from ChoTotOSS/turn-off-rules
Browse files Browse the repository at this point in the history
turn off @typescript-eslint/no-confusing-void-expression
  • Loading branch information
tunguyen-ct authored Jun 29, 2023
2 parents 1fe7b8b + 033e1b3 commit a977835
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/bright-poems-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@chotot/eslint-config-bare': patch
'@chotot/eslint-config-next': patch
---

turn off @typescript-eslint/no-confusing-void-expression
2 changes: 1 addition & 1 deletion packages/eslint-config-bare/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ module.exports = {
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
// Require expressions of type void to appear in statement position.
// https://typescript-eslint.io/rules/no-confusing-void-expression
'@typescript-eslint/no-confusing-void-expression': 'error',
'@typescript-eslint/no-confusing-void-expression': 'off',
// Disallow duplicate enum member values.
// https://typescript-eslint.io/rules/no-duplicate-enum-values
'@typescript-eslint/no-duplicate-enum-values': 'error',
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-next/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ module.exports = {
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
// Require expressions of type void to appear in statement position.
// https://typescript-eslint.io/rules/no-confusing-void-expression
'@typescript-eslint/no-confusing-void-expression': 'error',
'@typescript-eslint/no-confusing-void-expression': 'off',
// Disallow duplicate enum member values.
// https://typescript-eslint.io/rules/no-duplicate-enum-values
'@typescript-eslint/no-duplicate-enum-values': 'error',
Expand Down

0 comments on commit a977835

Please sign in to comment.