Skip to content

Commit adcd4fe

Browse files
fix: use consistent-type-definitions over prefer-type-literal
1 parent fe07e0d commit adcd4fe

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/plugins/functional.ts

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const settings: Linter.Config = {
2323
allowReturningBranches: true,
2424
},
2525
],
26+
"functional/prefer-type-literal": "off",
2627
},
2728

2829
overrides: [

src/plugins/typescript.ts

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export const settings: Linter.Config = {
5959
ignoreVoidOperator: true,
6060
},
6161
],
62+
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
6263
"@typescript-eslint/consistent-type-imports": "error",
6364
"@typescript-eslint/explicit-function-return-type": [
6465
"off",

0 commit comments

Comments
 (0)