Skip to content

Commit

Permalink
chore: disable no-empty-object-type rule
Browse files Browse the repository at this point in the history
  • Loading branch information
FRSgit committed Nov 27, 2024
1 parent ed2161d commit 9e27d83
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions engineering-toolkit/eslint-config/src/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function typescript(config, ...overrides) {
"@typescript-eslint/explicit-module-boundary-types": "warn",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-empty-object-type": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-inferrable-types": "warn",
"@typescript-eslint/no-magic-numbers": "off",
Expand All @@ -76,11 +77,13 @@ export function typescript(config, ...overrides) {
varsIgnorePattern: "^_",
},
],
"@typescript-eslint/no-use-before-define": ["warn", {
functions: false,
}],
"@typescript-eslint/no-use-before-define": [
"warn",
{
functions: false,
},
],
"@typescript-eslint/prefer-function-type": "warn",
"@typescript-eslint/no-empty-object-type": "warn",
"default-param-last": "off",
"no-magic-numbers": "off",
"no-use-before-define": "off",
Expand All @@ -100,6 +103,6 @@ export function typescript(config, ...overrides) {
}),
]
: [],
overrides,
overrides
);
}

0 comments on commit 9e27d83

Please sign in to comment.