Skip to content

Commit af4b093

Browse files
committed
allow ts-nocheck in js and jsx files
1 parent 00f9af6 commit af4b093

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

eslint.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,10 @@ export default tseslint.config(
413413
rules: {
414414
'@typescript-eslint/no-floating-promises': 'off',
415415
'@typescript-eslint/no-this-alias': 'off',
416-
416+
'@typescript-eslint/ban-ts-comment': [
417+
'error',
418+
{ 'ts-nocheck': false }
419+
],
417420
'sonarjs/public-static-readonly': 'off',
418421

419422
// TODO: Enable the following rules and fix issues

0 commit comments

Comments
 (0)