Skip to content

Commit

Permalink
feat: add types for antfu/
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Oct 8, 2023
1 parent ed09350 commit 64e3f8d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 129 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -42,11 +42,11 @@
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"eslint-config-flat-gitignore": "^0.1.0",
"eslint-plugin-antfu": "^1.0.0-beta.11",
"eslint-plugin-antfu": "^1.0.0-beta.12",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-i": "^2.28.1",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-jsonc": "^2.10.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-no-only-tests": "^3.1.0",
Expand All @@ -70,7 +70,7 @@
"@types/node": "^20.8.3",
"bumpp": "^9.2.0",
"eslint": "^8.51.0",
"eslint-flat-config-viewer": "^0.0.9",
"eslint-flat-config-viewer": "^0.1.0",
"eslint-plugin-sort-keys": "^2.3.5",
"esno": "^0.17.0",
"fast-glob": "^3.3.1",
Expand Down
156 changes: 30 additions & 126 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/types.ts
Expand Up @@ -17,6 +17,7 @@ import type {
VueRules,
YmlRules,
} from '@antfu/eslint-define-config'
import type { Rules as AntfuRules } from 'eslint-plugin-antfu'
import type { StylisticRules } from './generated/stylistic'

export type Rules = MergeIntersection<
Expand All @@ -25,6 +26,7 @@ export type Rules = MergeIntersection<
RenamePrefix<YmlRules, 'yml/', 'yaml/'> &
RenamePrefix<NRules, 'n/', 'node/'> &
Prefix<StylisticRules, 'style/'> &
Prefix<AntfuRules, 'antfu/'> &
ImportRules &
EslintRules &
JsoncRules &
Expand Down

0 comments on commit 64e3f8d

Please sign in to comment.