Skip to content

Commit 2cce21a

Browse files
committedSep 28, 2024
refactor: use Linter.Config as return type
1 parent c179c22 commit 2cce21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/eslint.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface TypedFlatConfig extends Omit<Linter.FlatConfig, "rules"> {
2121
export default function unjsPreset(
2222
config: MainConfig = {},
2323
...userConfigs: TypedFlatConfig[]
24-
): Linter.FlatConfig[] {
24+
): Linter.Config[] {
2525
const rules: RuleOptions = {
2626
"unicorn/number-literal-case": 0,
2727
"unicorn/template-indent": 0,

0 commit comments

Comments
 (0)
Please sign in to comment.