@bfra.me/eslint-config 0.47.1 → 0.47.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +19 -0
- package/lib/index.js +1 -1
- package/package.json +3 -3
- package/src/rules.d.ts +19 -0
package/lib/index.d.ts
CHANGED
|
@@ -4412,6 +4412,11 @@ interface Rules {
|
|
|
4412
4412
|
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
|
|
4413
4413
|
*/
|
|
4414
4414
|
'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>
|
|
4415
|
+
/**
|
|
4416
|
+
* Enforce settings in `pnpm-workspace.yaml`
|
|
4417
|
+
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-enforce-settings.test.ts
|
|
4418
|
+
*/
|
|
4419
|
+
'pnpm/yaml-enforce-settings'?: Linter.RuleEntry<PnpmYamlEnforceSettings>
|
|
4415
4420
|
/**
|
|
4416
4421
|
* Disallow duplicate catalog items in `pnpm-workspace.yaml`
|
|
4417
4422
|
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
|
|
@@ -15865,6 +15870,20 @@ type PnpmJsonValidCatalog = []|[{
|
|
|
15865
15870
|
|
|
15866
15871
|
fields?: unknown[]
|
|
15867
15872
|
}]
|
|
15873
|
+
// ----- pnpm/yaml-enforce-settings -----
|
|
15874
|
+
type PnpmYamlEnforceSettings = []|[{
|
|
15875
|
+
|
|
15876
|
+
autofix?: boolean
|
|
15877
|
+
|
|
15878
|
+
settings?: {
|
|
15879
|
+
[k: string]: unknown | undefined
|
|
15880
|
+
}
|
|
15881
|
+
|
|
15882
|
+
requiredFields?: string[]
|
|
15883
|
+
|
|
15884
|
+
forbiddenFields?: string[]
|
|
15885
|
+
[k: string]: unknown | undefined
|
|
15886
|
+
}]
|
|
15868
15887
|
// ----- pnpm/yaml-no-duplicate-catalog-item -----
|
|
15869
15888
|
type PnpmYamlNoDuplicateCatalogItem = []|[{
|
|
15870
15889
|
allow?: string[]
|
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bfra.me/eslint-config",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.2",
|
|
4
4
|
"description": "Shared ESLint configuration for bfra.me",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bfra.me",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@eslint-react/eslint-plugin": "2.3.12",
|
|
68
68
|
"@eslint/config-inspector": "1.4.2",
|
|
69
69
|
"@eslint/core": "1.0.0",
|
|
70
|
-
"@next/eslint-plugin-next": "16.0.
|
|
70
|
+
"@next/eslint-plugin-next": "16.0.7",
|
|
71
71
|
"@types/eslint-config-prettier": "6.11.3",
|
|
72
72
|
"@types/eslint-plugin-jsx-a11y": "6.10.1",
|
|
73
73
|
"@typescript-eslint/types": "8.48.1",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"eslint-plugin-erasable-syntax-only": "0.4.0",
|
|
80
80
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
81
81
|
"eslint-plugin-node-dependencies": "1.3.0",
|
|
82
|
-
"eslint-plugin-pnpm": "1.
|
|
82
|
+
"eslint-plugin-pnpm": "1.4.0",
|
|
83
83
|
"eslint-plugin-prettier": "5.5.4",
|
|
84
84
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
85
85
|
"eslint-plugin-react-refresh": "0.4.24",
|
package/src/rules.d.ts
CHANGED
|
@@ -4403,6 +4403,11 @@ export interface Rules {
|
|
|
4403
4403
|
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
|
|
4404
4404
|
*/
|
|
4405
4405
|
'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>
|
|
4406
|
+
/**
|
|
4407
|
+
* Enforce settings in `pnpm-workspace.yaml`
|
|
4408
|
+
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-enforce-settings.test.ts
|
|
4409
|
+
*/
|
|
4410
|
+
'pnpm/yaml-enforce-settings'?: Linter.RuleEntry<PnpmYamlEnforceSettings>
|
|
4406
4411
|
/**
|
|
4407
4412
|
* Disallow duplicate catalog items in `pnpm-workspace.yaml`
|
|
4408
4413
|
* @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
|
|
@@ -15856,6 +15861,20 @@ type PnpmJsonValidCatalog = []|[{
|
|
|
15856
15861
|
|
|
15857
15862
|
fields?: unknown[]
|
|
15858
15863
|
}]
|
|
15864
|
+
// ----- pnpm/yaml-enforce-settings -----
|
|
15865
|
+
type PnpmYamlEnforceSettings = []|[{
|
|
15866
|
+
|
|
15867
|
+
autofix?: boolean
|
|
15868
|
+
|
|
15869
|
+
settings?: {
|
|
15870
|
+
[k: string]: unknown | undefined
|
|
15871
|
+
}
|
|
15872
|
+
|
|
15873
|
+
requiredFields?: string[]
|
|
15874
|
+
|
|
15875
|
+
forbiddenFields?: string[]
|
|
15876
|
+
[k: string]: unknown | undefined
|
|
15877
|
+
}]
|
|
15859
15878
|
// ----- pnpm/yaml-no-duplicate-catalog-item -----
|
|
15860
15879
|
type PnpmYamlNoDuplicateCatalogItem = []|[{
|
|
15861
15880
|
allow?: string[]
|