Skip to content

Commit

Permalink
feat: @typescript-eslint/ban-tslint-comment
Browse files Browse the repository at this point in the history
BREAKING CHANGE: @typescript-eslint/ban-tslint-comment
  • Loading branch information
mightyiam committed Jan 17, 2023
1 parent 4b3a960 commit 6aa6817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ test('export', (t): void => {
'ts-check': false,
minimumDescriptionLength: 3
}],
'@typescript-eslint/ban-tslint-comment': 'error',
'@typescript-eslint/brace-style': ['error', '1tbs', { allowSingleLine: true }],
'@typescript-eslint/comma-dangle': ['error', {
arrays: 'never',
Expand Down Expand Up @@ -370,7 +371,6 @@ test('all plugin rules are considered', (t) => {
// This serves as a todo list and should ideally eventually end up empty
// and then fail upon plugin upgrades where new rules are released.
const notYetConsideredRules: string[] = [
'ban-tslint-comment',
'ban-types',
'class-literal-property-style',
'consistent-generic-constructors',
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const config: Linter.Config = {
'ts-check': false,
minimumDescriptionLength: 3
}],
'@typescript-eslint/ban-tslint-comment': 'error',
'@typescript-eslint/comma-dangle': ['error', {
arrays: 'never',
objects: 'never',
Expand Down

0 comments on commit 6aa6817

Please sign in to comment.