@vinicunca/eslint-config 2.11.1 → 2.11.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/dist/index.cjs CHANGED
@@ -1242,7 +1242,7 @@ async function markdown(options = {}) {
1242
1242
  files = [GLOB_MARKDOWN],
1243
1243
  overrides = {}
1244
1244
  } = options;
1245
- const markdown2 = await interopDefault(import("eslint-plugin-markdown"));
1245
+ const markdown2 = await interopDefault(import("@eslint/markdown"));
1246
1246
  return [
1247
1247
  {
1248
1248
  name: "vinicunca/markdown/setup",
package/dist/index.d.cts CHANGED
@@ -1453,6 +1453,34 @@ interface RuleOptions {
1453
1453
  * @see https://eslint.org/docs/latest/rules/logical-assignment-operators
1454
1454
  */
1455
1455
  'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
1456
+ /**
1457
+ * Require languages for fenced code blocks.
1458
+ */
1459
+ 'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
1460
+ /**
1461
+ * Enforce heading levels increment by one.
1462
+ */
1463
+ 'markdown/heading-increment'?: Linter.RuleEntry<[]>
1464
+ /**
1465
+ * Disallow duplicate headings in the same document.
1466
+ */
1467
+ 'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
1468
+ /**
1469
+ * Disallow empty links.
1470
+ */
1471
+ 'markdown/no-empty-links'?: Linter.RuleEntry<[]>
1472
+ /**
1473
+ * Disallow HTML tags.
1474
+ */
1475
+ 'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
1476
+ /**
1477
+ * Disallow invalid label references.
1478
+ */
1479
+ 'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
1480
+ /**
1481
+ * Disallow missing label references.
1482
+ */
1483
+ 'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
1456
1484
  /**
1457
1485
  * Enforce a maximum number of classes per file
1458
1486
  * @see https://eslint.org/docs/latest/rules/max-classes-per-file
@@ -9610,6 +9638,14 @@ type LinesBetweenClassMembers = []|[({
9610
9638
  type LogicalAssignmentOperators = (([]|["always"]|["always", {
9611
9639
  enforceForIfStatements?: boolean
9612
9640
  }] | ["never"]) & unknown[])
9641
+ // ----- markdown/fenced-code-language -----
9642
+ type MarkdownFencedCodeLanguage = []|[{
9643
+ required?: string[]
9644
+ }]
9645
+ // ----- markdown/no-html -----
9646
+ type MarkdownNoHtml = []|[{
9647
+ allowed?: string[]
9648
+ }]
9613
9649
  // ----- max-classes-per-file -----
9614
9650
  type MaxClassesPerFile = []|[(number | {
9615
9651
  ignoreExpressions?: boolean
package/dist/index.d.ts CHANGED
@@ -1453,6 +1453,34 @@ interface RuleOptions {
1453
1453
  * @see https://eslint.org/docs/latest/rules/logical-assignment-operators
1454
1454
  */
1455
1455
  'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
1456
+ /**
1457
+ * Require languages for fenced code blocks.
1458
+ */
1459
+ 'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
1460
+ /**
1461
+ * Enforce heading levels increment by one.
1462
+ */
1463
+ 'markdown/heading-increment'?: Linter.RuleEntry<[]>
1464
+ /**
1465
+ * Disallow duplicate headings in the same document.
1466
+ */
1467
+ 'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
1468
+ /**
1469
+ * Disallow empty links.
1470
+ */
1471
+ 'markdown/no-empty-links'?: Linter.RuleEntry<[]>
1472
+ /**
1473
+ * Disallow HTML tags.
1474
+ */
1475
+ 'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
1476
+ /**
1477
+ * Disallow invalid label references.
1478
+ */
1479
+ 'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
1480
+ /**
1481
+ * Disallow missing label references.
1482
+ */
1483
+ 'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
1456
1484
  /**
1457
1485
  * Enforce a maximum number of classes per file
1458
1486
  * @see https://eslint.org/docs/latest/rules/max-classes-per-file
@@ -9610,6 +9638,14 @@ type LinesBetweenClassMembers = []|[({
9610
9638
  type LogicalAssignmentOperators = (([]|["always"]|["always", {
9611
9639
  enforceForIfStatements?: boolean
9612
9640
  }] | ["never"]) & unknown[])
9641
+ // ----- markdown/fenced-code-language -----
9642
+ type MarkdownFencedCodeLanguage = []|[{
9643
+ required?: string[]
9644
+ }]
9645
+ // ----- markdown/no-html -----
9646
+ type MarkdownNoHtml = []|[{
9647
+ allowed?: string[]
9648
+ }]
9613
9649
  // ----- max-classes-per-file -----
9614
9650
  type MaxClassesPerFile = []|[(number | {
9615
9651
  ignoreExpressions?: boolean
package/dist/index.js CHANGED
@@ -1124,7 +1124,7 @@ async function markdown(options = {}) {
1124
1124
  files = [GLOB_MARKDOWN],
1125
1125
  overrides = {}
1126
1126
  } = options;
1127
- const markdown2 = await interopDefault(import("eslint-plugin-markdown"));
1127
+ const markdown2 = await interopDefault(import("@eslint/markdown"));
1128
1128
  return [
1129
1129
  {
1130
1130
  name: "vinicunca/markdown/setup",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/eslint-config",
3
3
  "type": "module",
4
- "version": "2.11.1",
4
+ "version": "2.11.2",
5
5
  "description": "Vinicunca ESLint config",
6
6
  "author": {
7
7
  "name": "praburangki",
@@ -107,6 +107,7 @@
107
107
  "@antfu/install-pkg": "^0.4.1",
108
108
  "@clack/prompts": "^0.7.0",
109
109
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
110
+ "@eslint/markdown": "^6.1.0",
110
111
  "@stylistic/eslint-plugin": "^2.8.0",
111
112
  "@typescript-eslint/eslint-plugin": "^8.5.0",
112
113
  "@typescript-eslint/parser": "^8.5.0",
@@ -121,7 +122,6 @@
121
122
  "eslint-plugin-import-x": "^4.2.1",
122
123
  "eslint-plugin-jsdoc": "^50.2.2",
123
124
  "eslint-plugin-jsonc": "^2.16.0",
124
- "eslint-plugin-markdown": "^5.1.0",
125
125
  "eslint-plugin-n": "^17.10.2",
126
126
  "eslint-plugin-no-only-tests": "^3.3.0",
127
127
  "eslint-plugin-perfectionist": "^3.5.0",