Skip to content

Commit

Permalink
fix: compactible with latest eslint-plugin-antfu
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Nov 16, 2023
1 parent b9f454f commit c070063
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"eslint-config-flat-gitignore": "^0.1.1",
"eslint-plugin-antfu": "^1.0.6",
"eslint-plugin-antfu": "^1.0.9",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-i": "^2.29.0",
"eslint-plugin-jsdoc": "^46.9.0",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/configs/stylistic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export function stylistic(options: StylisticConfig = {}): ConfigItem[] {
'JSXText',
'JSXEmptyExpression',
'JSXSpreadChild',
'TSUnionType',
'TSIntersectionType',
'TSTypeParameterInstantiation',
'FunctionExpression > .params[decorators.length > 0]',
'FunctionExpression > .params > :matches(Decorator, :not(:first-child))',
Expand Down

0 comments on commit c070063

Please sign in to comment.