Skip to content

Commit

Permalink
fix: Allow ts non-null type {}
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Sep 8, 2024
1 parent 689af7f commit 4b22d62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const generalRules = {
'prettier/prettier': 'error',
'@typescript-eslint/no-empty-function': 'off',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'react-hooks/exhaustive-deps': 'warn',
'react/react-in-jsx-scope': 'off',
'react/jsx-uses-react': 'off',
'react/prefer-stateless-function': 'error',
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-plugin/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ let rules = {
'ts-check': false,
},
],
'@typescript-eslint/no-empty-object-type': 'off',
};
export default [
...baseConfig,
Expand Down

0 comments on commit 4b22d62

Please sign in to comment.