Skip to content

Commit

Permalink
feat!: consistent-this
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Nov 30, 2024
1 parent acf5458 commit 6b75345
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/plugin-usage/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const usage: PluginUsage = {
max: 5,
},
],
'consistent-this': ['error', 'that'],
'constructor-super': ['error'],
curly: ['error', 'multi-line'],
'default-case-last': ['error'],
Expand Down
1 change: 1 addition & 0 deletions src/test/_expected-exported-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const expectedEslintRules: Record<
max: 5,
},
],
'consistent-this': ['error', 'that'],
'constructor-super': ['error'],
curly: ['error', 'multi-line'],
'default-case-last': ['error'],
Expand Down
1 change: 0 additions & 1 deletion src/test/_rules_to_consider.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const rulesToConsider: Record<string, string[]> = {
'eslint-comments': [],
'': [
'consistent-this',
'default-case',
'for-direction',
'func-name-matching',
Expand Down

0 comments on commit 6b75345

Please sign in to comment.