Comments: TODO / FIXME, commented-out code, ts-ignore and the style of comments. Rules of ESLint, typescript-eslint and SonarJS (the Sonar way profile of SonarQube) on this subject, every rule listed; the TypeScript rules apply to TypeScript files only.
eslint/rules/comments
Comments: TODO / FIXME, commented-out code, ts-ignore and the style of comments. Rules of ESLint, typescript-eslint and SonarJS (the Sonar way profile of SonarQube) on this subject, every rule listed; the TypeScript rules apply to TypeScript files only.
11 rules, 3 on. Source:
lint/eslint/rules/comments.mjs.capitalized-commentsno-inline-commentsno-warning-commentssonarjs/no-commented-codesonarjs/no-sonar-commentssonarjs/fixme-tagsonarjs/todo-tagsonarjs/file-header@typescript-eslint/ban-ts-comment@ts-<directive>comments or require descriptions after directives@typescript-eslint/ban-tslint-comment// tslint:<rule-flag>comments@typescript-eslint/prefer-ts-expect-error@ts-expect-errorover@ts-ignore