Skip to content

Commit cb5090f

Browse files
committedMar 29, 2024
fix: consistent on config names
1 parent c68d090 commit cb5090f

File tree

6 files changed

+77
-64
lines changed

6 files changed

+77
-64
lines changed
 

Diff for: ‎package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@
9393
"@typescript-eslint/eslint-plugin": "^7.4.0",
9494
"@typescript-eslint/parser": "^7.4.0",
9595
"eslint-config-flat-gitignore": "^0.1.3",
96-
"eslint-flat-config-utils": "^0.1.1",
96+
"eslint-flat-config-utils": "^0.1.2",
9797
"eslint-merge-processors": "^0.1.0",
9898
"eslint-plugin-antfu": "^2.1.2",
9999
"eslint-plugin-eslint-comments": "^3.2.0",
100100
"eslint-plugin-import-x": "^0.4.4",
101-
"eslint-plugin-jsdoc": "^48.2.1",
101+
"eslint-plugin-jsdoc": "^48.2.2",
102102
"eslint-plugin-jsonc": "^2.14.1",
103103
"eslint-plugin-markdown": "^4.0.1",
104104
"eslint-plugin-n": "^16.6.2",
@@ -131,18 +131,18 @@
131131
"@types/node": "^20.11.30",
132132
"@types/prompts": "^2.4.9",
133133
"@types/yargs": "^17.0.32",
134-
"@unocss/eslint-plugin": "^0.58.7",
134+
"@unocss/eslint-plugin": "^0.58.8",
135135
"astro-eslint-parser": "^0.16.3",
136136
"bumpp": "^9.4.0",
137137
"eslint": "9.0.0-rc.0",
138-
"eslint-flat-config-viewer": "^0.1.14",
138+
"eslint-flat-config-viewer": "^0.1.19",
139139
"eslint-plugin-astro": "^0.33.1",
140140
"eslint-plugin-format": "^0.1.0",
141141
"eslint-plugin-react": "^7.34.1",
142142
"eslint-plugin-react-hooks": "^4.6.0",
143143
"eslint-plugin-react-refresh": "^0.4.6",
144144
"eslint-plugin-svelte": "2.36.0-next.13",
145-
"eslint-typegen": "^0.1.4",
145+
"eslint-typegen": "^0.1.6",
146146
"esno": "^4.7.0",
147147
"execa": "^8.0.1",
148148
"fast-glob": "^3.3.2",

Diff for: ‎pnpm-lock.yaml

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

Diff for: ‎src/configs/formatters.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export async function formatters(
6363

6464
const configs: TypedFlatConfigItem[] = [
6565
{
66-
name: 'antfu:formatters:setup',
66+
name: 'antfu:formatter:setup',
6767
plugins: {
6868
format: pluginFormat,
6969
},

Diff for: ‎src/configs/imports.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export async function imports(options: OptionsStylistic = {}): Promise<TypedFlat
3636
},
3737
{
3838
files: ['**/bin/**/*', `**/bin.${GLOB_SRC_EXT}`],
39-
name: 'antfu:imports:bin',
39+
name: 'antfu:disables:imports-bin',
4040
rules: {
4141
'antfu/no-import-dist': 'off',
4242
'antfu/no-import-node-modules-by-path': 'off',

Diff for: ‎src/configs/javascript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export async function javascript(
216216
},
217217
{
218218
files: [`scripts/${GLOB_SRC}`, `cli.${GLOB_SRC_EXT}`],
219-
name: 'antfu:scripts-overrides',
219+
name: 'antfu:disables:cli',
220220
rules: {
221221
'no-console': 'off',
222222
},

Diff for: ‎src/configs/sort.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export async function sortPackageJson(): Promise<TypedFlatConfigItem[]> {
99
return [
1010
{
1111
files: ['**/package.json'],
12-
name: 'antfu:sort-package-json',
12+
name: 'antfu:sort:package-json',
1313
rules: {
1414
'jsonc/sort-array-values': [
1515
'error',
@@ -116,7 +116,7 @@ export function sortTsconfig(): TypedFlatConfigItem[] {
116116
return [
117117
{
118118
files: ['**/tsconfig.json', '**/tsconfig.*.json'],
119-
name: 'antfu:sort-tsconfig',
119+
name: 'antfu:sort:tsconfig',
120120
rules: {
121121
'jsonc/sort-keys': [
122122
'error',

0 commit comments

Comments
 (0)
Please sign in to comment.