Skip to content

Commit

Permalink
feat!: arrow-body-style
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Oct 26, 2024
1 parent 2ade371 commit 646fa51
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ export const eslintRules: Record<string, TSESLint.SharedConfig.RuleEntry> = {
checkForEach: false,
},
],
'arrow-body-style': ['error', 'as-needed'],
'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 @@ -24,6 +24,7 @@ export const expectedEslintRules: Record<
checkForEach: false,
},
],
'arrow-body-style': ['error', 'as-needed'],
'class-methods-use-this': ['off'],
'constructor-super': ['error'],
curly: ['error', 'multi-line'],
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,5 +1,4 @@
export const eslintRulesToConsider = [
'arrow-body-style',
'block-scoped-var',
'camelcase',
'capitalized-comments',
Expand Down

0 comments on commit 646fa51

Please sign in to comment.