Skip to content

Commit 549395c

Browse files
committed
fix: add exception for TSX files
1 parent d01587d commit 549395c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

eslint.config.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ export default tseslint.config(
8383
},
8484
},
8585
{
86-
ignores: ['eslint.config.js'],
86+
ignores: ['eslint.config.js', 'commitlint.config.cjs'],
87+
},
88+
// Do not require return declaration on JSX components
89+
{
90+
files: ['**/*.tsx'],
91+
rules: {
92+
'@typescript-eslint/explicit-module-boundary-types': ['warn'],
93+
},
8794
},
8895
)

0 commit comments

Comments
 (0)