@2digits/eslint-config 4.6.4 → 4.6.5

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +26 -1
  2. package/package.json +5 -5
package/dist/index.d.mts CHANGED
@@ -1402,6 +1402,11 @@ interface RuleOptions {
1402
1402
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
1403
1403
  */
1404
1404
  'markdown/heading-increment'?: Linter.RuleEntry<[]>;
1405
+ /**
1406
+ * Disallow bare URLs
1407
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
1408
+ */
1409
+ 'markdown/no-bare-urls'?: Linter.RuleEntry<[]>;
1405
1410
  /**
1406
1411
  * Disallow duplicate definitions
1407
1412
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
@@ -1411,7 +1416,7 @@ interface RuleOptions {
1411
1416
  * Disallow duplicate headings in the same document
1412
1417
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
1413
1418
  */
1414
- 'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>;
1419
+ 'markdown/no-duplicate-headings'?: Linter.RuleEntry<MarkdownNoDuplicateHeadings>;
1415
1420
  /**
1416
1421
  * Disallow empty definitions
1417
1422
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
@@ -1447,11 +1452,21 @@ interface RuleOptions {
1447
1452
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
1448
1453
  */
1449
1454
  'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>;
1455
+ /**
1456
+ * Disallow link fragments that do not reference valid headings
1457
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
1458
+ */
1459
+ 'markdown/no-missing-link-fragments'?: Linter.RuleEntry<MarkdownNoMissingLinkFragments>;
1450
1460
  /**
1451
1461
  * Disallow multiple H1 headings in the same document
1452
1462
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
1453
1463
  */
1454
1464
  'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
1465
+ /**
1466
+ * Disallow reversed link and image syntax
1467
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
1468
+ */
1469
+ 'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>;
1455
1470
  /**
1456
1471
  * Require alternative text for images
1457
1472
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
@@ -8020,6 +8035,7 @@ type JsdocLinesBeforeBlock = [] | [{
8020
8035
  checkBlockStarts?: boolean;
8021
8036
  excludedTags?: string[];
8022
8037
  ignoreSameLine?: boolean;
8038
+ ignoreSingleLines?: boolean;
8023
8039
  lines?: number;
8024
8040
  }];
8025
8041
  // ----- jsdoc/match-description -----
@@ -9020,10 +9036,19 @@ type MarkdownNoDuplicateDefinitions = [] | [{
9020
9036
  allowDefinitions?: string[];
9021
9037
  allowFootnoteDefinitions?: string[];
9022
9038
  }];
9039
+ // ----- markdown/no-duplicate-headings -----
9040
+ type MarkdownNoDuplicateHeadings = [] | [{
9041
+ checkSiblingsOnly?: boolean;
9042
+ }];
9023
9043
  // ----- markdown/no-html -----
9024
9044
  type MarkdownNoHtml = [] | [{
9025
9045
  allowed?: string[];
9026
9046
  }];
9047
+ // ----- markdown/no-missing-link-fragments -----
9048
+ type MarkdownNoMissingLinkFragments = [] | [{
9049
+ ignoreCase?: boolean;
9050
+ allowPattern?: string;
9051
+ }];
9027
9052
  // ----- markdown/no-multiple-h1 -----
9028
9053
  type MarkdownNoMultipleH1 = [] | [{
9029
9054
  frontmatterTitle?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "4.6.4",
3
+ "version": "4.6.5",
4
4
  "description": "Effortlessly enforce best practices and catch errors with this comprehensive ESLint configuration for TypeScript, featuring popular plugins like @typescript-eslint, eslint-plugin-react, and eslint-plugin-unicorn.",
5
5
  "homepage": "https://2d-configs.vercel.app/",
6
6
  "repository": {
@@ -31,11 +31,11 @@
31
31
  "@eslint/compat": "1.3.0",
32
32
  "@eslint/css": "0.9.0",
33
33
  "@eslint/js": "9.29.0",
34
- "@eslint/markdown": "6.5.0",
34
+ "@eslint/markdown": "6.6.0",
35
35
  "@graphql-eslint/eslint-plugin": "4.4.0",
36
36
  "@next/eslint-plugin-next": "15.3.4",
37
37
  "@stylistic/eslint-plugin": "4.4.1",
38
- "@tanstack/eslint-plugin-query": "5.78.0",
38
+ "@tanstack/eslint-plugin-query": "5.81.0",
39
39
  "@typescript-eslint/parser": "8.34.1",
40
40
  "@typescript-eslint/utils": "8.34.1",
41
41
  "eslint-config-flat-gitignore": "2.1.0",
@@ -45,7 +45,7 @@
45
45
  "eslint-plugin-antfu": "3.1.1",
46
46
  "eslint-plugin-de-morgan": "1.3.0",
47
47
  "eslint-plugin-drizzle": "0.2.3",
48
- "eslint-plugin-jsdoc": "51.0.3",
48
+ "eslint-plugin-jsdoc": "51.1.1",
49
49
  "eslint-plugin-jsonc": "2.20.1",
50
50
  "eslint-plugin-n": "17.20.0",
51
51
  "eslint-plugin-pnpm": "0.3.1",
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@eslint/config-inspector": "1.1.0",
73
- "@types/node": "22.15.30",
73
+ "@types/node": "22.15.32",
74
74
  "@types/react": "19.1.8",
75
75
  "dedent": "1.6.0",
76
76
  "eslint": "9.29.0",