Skip to content

Commit 4f733e3

Browse files
committed
feat: upgrade eslint-config-flat-gitignore, close antfu#600
1 parent a4625b2 commit 4f733e3

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"@typescript-eslint/eslint-plugin": "^8.3.0",
104104
"@typescript-eslint/parser": "^8.3.0",
105105
"@vitest/eslint-plugin": "^1.0.5",
106-
"eslint-config-flat-gitignore": "^0.1.8",
106+
"eslint-config-flat-gitignore": "^0.2.0",
107107
"eslint-flat-config-utils": "^0.3.1",
108108
"eslint-merge-processors": "^0.1.0",
109109
"eslint-plugin-antfu": "^2.3.6",

pnpm-lock.yaml

+12-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/configs/unicorn.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { OptionsUnicorn, TypedFlatConfigItem } from '../types'
22
import { pluginUnicorn } from '../plugins'
33

4-
export async function unicorn(options: OptionsUnicorn): Promise<TypedFlatConfigItem[]> {
4+
export async function unicorn(options: OptionsUnicorn = {}): Promise<TypedFlatConfigItem[]> {
55
return [
66
{
77
name: 'antfu/unicorn/rules',

0 commit comments

Comments
 (0)