@ntnyq/eslint-config 5.0.0-beta.7 → 5.0.0-beta.8
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/dist/index.d.ts +31 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -2297,6 +2297,11 @@ interface RuleOptions {
|
|
|
2297
2297
|
* @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-identical-tests.md
|
|
2298
2298
|
*/
|
|
2299
2299
|
'eslint-plugin/no-identical-tests'?: Linter.RuleEntry<[]>;
|
|
2300
|
+
/**
|
|
2301
|
+
* disallow using the `meta.replacedBy` rule property
|
|
2302
|
+
* @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-meta-replaced-by.md
|
|
2303
|
+
*/
|
|
2304
|
+
'eslint-plugin/no-meta-replaced-by'?: Linter.RuleEntry<[]>;
|
|
2300
2305
|
/**
|
|
2301
2306
|
* disallow rules `meta.schema` properties to include defaults
|
|
2302
2307
|
* @see https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/no-meta-schema-default.md
|
|
@@ -3419,6 +3424,11 @@ interface RuleOptions {
|
|
|
3419
3424
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
3420
3425
|
*/
|
|
3421
3426
|
'markdown/heading-increment'?: Linter.RuleEntry<[]>;
|
|
3427
|
+
/**
|
|
3428
|
+
* Disallow bare URLs
|
|
3429
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
|
|
3430
|
+
*/
|
|
3431
|
+
'markdown/no-bare-urls'?: Linter.RuleEntry<[]>;
|
|
3422
3432
|
/**
|
|
3423
3433
|
* Disallow duplicate definitions
|
|
3424
3434
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
|
|
@@ -3428,7 +3438,7 @@ interface RuleOptions {
|
|
|
3428
3438
|
* Disallow duplicate headings in the same document
|
|
3429
3439
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
3430
3440
|
*/
|
|
3431
|
-
'markdown/no-duplicate-headings'?: Linter.RuleEntry<
|
|
3441
|
+
'markdown/no-duplicate-headings'?: Linter.RuleEntry<MarkdownNoDuplicateHeadings>;
|
|
3432
3442
|
/**
|
|
3433
3443
|
* Disallow empty definitions
|
|
3434
3444
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
|
|
@@ -3464,11 +3474,21 @@ interface RuleOptions {
|
|
|
3464
3474
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
3465
3475
|
*/
|
|
3466
3476
|
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>;
|
|
3477
|
+
/**
|
|
3478
|
+
* Disallow link fragments that do not reference valid headings
|
|
3479
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
3480
|
+
*/
|
|
3481
|
+
'markdown/no-missing-link-fragments'?: Linter.RuleEntry<MarkdownNoMissingLinkFragments>;
|
|
3467
3482
|
/**
|
|
3468
3483
|
* Disallow multiple H1 headings in the same document
|
|
3469
3484
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
3470
3485
|
*/
|
|
3471
3486
|
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
|
|
3487
|
+
/**
|
|
3488
|
+
* Disallow reversed link and image syntax
|
|
3489
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
3490
|
+
*/
|
|
3491
|
+
'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>;
|
|
3472
3492
|
/**
|
|
3473
3493
|
* Require alternative text for images
|
|
3474
3494
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
|
|
@@ -10255,6 +10275,7 @@ type JsdocLinesBeforeBlock = [] | [{
|
|
|
10255
10275
|
checkBlockStarts?: boolean;
|
|
10256
10276
|
excludedTags?: string[];
|
|
10257
10277
|
ignoreSameLine?: boolean;
|
|
10278
|
+
ignoreSingleLines?: boolean;
|
|
10258
10279
|
lines?: number;
|
|
10259
10280
|
}];
|
|
10260
10281
|
// ----- jsdoc/match-description -----
|
|
@@ -11255,10 +11276,19 @@ type MarkdownNoDuplicateDefinitions = [] | [{
|
|
|
11255
11276
|
allowDefinitions?: string[];
|
|
11256
11277
|
allowFootnoteDefinitions?: string[];
|
|
11257
11278
|
}];
|
|
11279
|
+
// ----- markdown/no-duplicate-headings -----
|
|
11280
|
+
type MarkdownNoDuplicateHeadings = [] | [{
|
|
11281
|
+
checkSiblingsOnly?: boolean;
|
|
11282
|
+
}];
|
|
11258
11283
|
// ----- markdown/no-html -----
|
|
11259
11284
|
type MarkdownNoHtml = [] | [{
|
|
11260
11285
|
allowed?: string[];
|
|
11261
11286
|
}];
|
|
11287
|
+
// ----- markdown/no-missing-link-fragments -----
|
|
11288
|
+
type MarkdownNoMissingLinkFragments = [] | [{
|
|
11289
|
+
ignoreCase?: boolean;
|
|
11290
|
+
allowPattern?: string;
|
|
11291
|
+
}];
|
|
11262
11292
|
// ----- markdown/no-multiple-h1 -----
|
|
11263
11293
|
type MarkdownNoMultipleH1 = [] | [{
|
|
11264
11294
|
frontmatterTitle?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntnyq/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.8",
|
|
5
5
|
"description": "An opinionated ESLint config preset of ntnyq",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@clack/prompts": "^0.11.0",
|
|
90
90
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
91
91
|
"@eslint/js": "^9.29.0",
|
|
92
|
-
"@eslint/markdown": "^6.
|
|
92
|
+
"@eslint/markdown": "^6.6.0",
|
|
93
93
|
"@unocss/eslint-plugin": "^66.2.3",
|
|
94
94
|
"@vitest/eslint-plugin": "^1.2.7",
|
|
95
95
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
@@ -98,12 +98,12 @@
|
|
|
98
98
|
"eslint-merge-processors": "^2.0.0",
|
|
99
99
|
"eslint-parser-plain": "^0.1.1",
|
|
100
100
|
"eslint-plugin-antfu": "^3.1.1",
|
|
101
|
-
"eslint-plugin-command": "^3.
|
|
101
|
+
"eslint-plugin-command": "^3.3.0",
|
|
102
102
|
"eslint-plugin-de-morgan": "^1.3.0",
|
|
103
103
|
"eslint-plugin-depend": "^1.2.0",
|
|
104
104
|
"eslint-plugin-github-action": "^0.0.16",
|
|
105
105
|
"eslint-plugin-import-x": "^4.15.2",
|
|
106
|
-
"eslint-plugin-jsdoc": "^51.
|
|
106
|
+
"eslint-plugin-jsdoc": "^51.1.2",
|
|
107
107
|
"eslint-plugin-jsonc": "^2.20.1",
|
|
108
108
|
"eslint-plugin-n": "^17.20.0",
|
|
109
109
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"bumpp": "^10.2.0",
|
|
134
134
|
"consola": "^3.4.2",
|
|
135
135
|
"eslint": "^9.29.0",
|
|
136
|
-
"eslint-plugin-eslint-plugin": "^6.
|
|
136
|
+
"eslint-plugin-eslint-plugin": "^6.5.0",
|
|
137
137
|
"eslint-typegen": "^2.2.0",
|
|
138
138
|
"husky": "^9.1.7",
|
|
139
139
|
"jiti": "^2.4.2",
|