linted 16.12.2-rc.0 → 16.12.2-rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. package/.github/workflows/RELEASE.yml +35 -35
  2. package/.github/workflows/rc.yml +35 -35
  3. package/LICENSE +21 -21
  4. package/README.md +390 -390
  5. package/SECURITY.md +9 -9
  6. package/dist/imports/plugins.d.ts.map +1 -1
  7. package/dist/imports.d.ts.map +1 -1
  8. package/dist/rules/html/enable.d.ts +8 -0
  9. package/dist/rules/html/enable.d.ts.map +1 -0
  10. package/dist/rules/html/enable.js +15 -0
  11. package/dist/rules/html/enable.js.map +1 -0
  12. package/dist/rules/html/enable_recommended.d.ts +3 -0
  13. package/dist/rules/html/enable_recommended.d.ts.map +1 -0
  14. package/dist/rules/html/enable_recommended.js +8 -0
  15. package/dist/rules/html/enable_recommended.js.map +1 -0
  16. package/dist/rules/html.d.ts +8 -0
  17. package/dist/rules/html.d.ts.map +1 -0
  18. package/dist/rules/html.js +4 -0
  19. package/dist/rules/html.js.map +1 -0
  20. package/dist/rules/js/enable.d.ts +348 -0
  21. package/dist/rules/js/enable.d.ts.map +1 -0
  22. package/dist/rules/js/enable.js +496 -0
  23. package/dist/rules/js/enable.js.map +1 -0
  24. package/dist/rules/js/enable_stylistic.d.ts +420 -0
  25. package/dist/rules/js/enable_stylistic.d.ts.map +1 -0
  26. package/dist/rules/js/enable_stylistic.js +585 -0
  27. package/dist/rules/js/enable_stylistic.js.map +1 -0
  28. package/dist/rules/js.d.ts +765 -0
  29. package/dist/rules/js.d.ts.map +1 -0
  30. package/dist/rules/js.js +4 -0
  31. package/dist/rules/js.js.map +1 -0
  32. package/dist/rules/json/enable.d.ts +27 -0
  33. package/dist/rules/json/enable.d.ts.map +1 -0
  34. package/dist/rules/json/enable.js +31 -0
  35. package/dist/rules/json/enable.js.map +1 -0
  36. package/dist/rules/json/enable_x.d.ts.map +1 -1
  37. package/dist/rules/json/enable_x.js +48 -8
  38. package/dist/rules/json/enable_x.js.map +1 -1
  39. package/dist/rules/json.d.ts +74 -0
  40. package/dist/rules/json.d.ts.map +1 -0
  41. package/dist/rules/json.js +4 -0
  42. package/dist/rules/json.js.map +1 -0
  43. package/dist/rules/jsonc/override.d.ts.map +1 -1
  44. package/dist/rules/jsonc/override.js +12 -3
  45. package/dist/rules/jsonc/override.js.map +1 -1
  46. package/dist/rules/jsonc.d.ts +77 -0
  47. package/dist/rules/jsonc.d.ts.map +1 -0
  48. package/dist/rules/jsonc.js +4 -0
  49. package/dist/rules/jsonc.js.map +1 -0
  50. package/dist/rules/md/enable.d.ts +7 -0
  51. package/dist/rules/md/enable.d.ts.map +1 -0
  52. package/dist/rules/md/enable.js +14 -0
  53. package/dist/rules/md/enable.js.map +1 -0
  54. package/dist/rules/md.d.ts +7 -0
  55. package/dist/rules/md.d.ts.map +1 -0
  56. package/dist/rules/md.js +3 -0
  57. package/dist/rules/md.js.map +1 -0
  58. package/dist/rules/mocha/enable.d.ts +3 -0
  59. package/dist/rules/mocha/enable.d.ts.map +1 -0
  60. package/dist/rules/mocha/enable.js +3 -0
  61. package/dist/rules/mocha/enable.js.map +1 -0
  62. package/dist/rules/mocha/enable_recommended.d.ts +3 -0
  63. package/dist/rules/mocha/enable_recommended.d.ts.map +1 -0
  64. package/dist/rules/mocha/enable_recommended.js +8 -0
  65. package/dist/rules/mocha/enable_recommended.js.map +1 -0
  66. package/dist/rules/mocha.d.ts +8 -0
  67. package/dist/rules/mocha.d.ts.map +1 -0
  68. package/dist/rules/mocha.js +4 -0
  69. package/dist/rules/mocha.js.map +1 -0
  70. package/dist/rules/svelte/disable.d.ts +5 -0
  71. package/dist/rules/svelte/disable.d.ts.map +1 -0
  72. package/dist/rules/svelte/disable.js +8 -0
  73. package/dist/rules/svelte/disable.js.map +1 -0
  74. package/dist/rules/svelte/disable_js.d.ts.map +1 -1
  75. package/dist/rules/svelte/disable_js.js +8 -3
  76. package/dist/rules/svelte/disable_js.js.map +1 -1
  77. package/dist/rules/svelte/disable_ts.d.ts.map +1 -1
  78. package/dist/rules/svelte/disable_ts.js +8 -3
  79. package/dist/rules/svelte/disable_ts.js.map +1 -1
  80. package/dist/rules/svelte/enable.d.ts +126 -0
  81. package/dist/rules/svelte/enable.d.ts.map +1 -0
  82. package/dist/rules/svelte/enable.js +190 -0
  83. package/dist/rules/svelte/enable.js.map +1 -0
  84. package/dist/rules/svelte/enable_x.d.ts.map +1 -1
  85. package/dist/rules/svelte/enable_x.js +15 -3
  86. package/dist/rules/svelte/enable_x.js.map +1 -1
  87. package/dist/rules/svelte.d.ts +1269 -0
  88. package/dist/rules/svelte.d.ts.map +1 -0
  89. package/dist/rules/svelte.js +15 -0
  90. package/dist/rules/svelte.js.map +1 -0
  91. package/dist/rules/ts/disable.d.ts +18 -0
  92. package/dist/rules/ts/disable.d.ts.map +1 -0
  93. package/dist/rules/ts/disable.js +21 -0
  94. package/dist/rules/ts/disable.js.map +1 -0
  95. package/dist/rules/ts/disable_x.d.ts.map +1 -1
  96. package/dist/rules/ts/disable_x.js +1 -2
  97. package/dist/rules/ts/disable_x.js.map +1 -1
  98. package/dist/rules/ts/enable.d.ts +262 -0
  99. package/dist/rules/ts/enable.d.ts.map +1 -0
  100. package/dist/rules/ts/enable.js +503 -0
  101. package/dist/rules/ts/enable.js.map +1 -0
  102. package/dist/rules/ts/enable_x.d.ts.map +1 -1
  103. package/dist/rules/ts/enable_x.js +32 -5
  104. package/dist/rules/ts/enable_x.js.map +1 -1
  105. package/dist/rules/ts.d.ts +1133 -0
  106. package/dist/rules/ts.d.ts.map +1 -0
  107. package/dist/rules/ts.js +13 -0
  108. package/dist/rules/ts.js.map +1 -0
  109. package/dist/rules/yml/enable.d.ts +39 -0
  110. package/dist/rules/yml/enable.d.ts.map +1 -0
  111. package/dist/rules/yml/enable.js +60 -0
  112. package/dist/rules/yml/enable.js.map +1 -0
  113. package/dist/rules/yml/enable_x.d.ts.map +1 -1
  114. package/dist/rules/yml/enable_x.js +57 -9
  115. package/dist/rules/yml/enable_x.js.map +1 -1
  116. package/dist/rules/yml.d.ts +73 -0
  117. package/dist/rules/yml.d.ts.map +1 -0
  118. package/dist/rules/yml.js +4 -0
  119. package/dist/rules/yml.js.map +1 -0
  120. package/dist/rules.d.ts +75 -75
  121. package/dist/rules.js +9 -9
  122. package/dist/rules.js.map +1 -1
  123. package/eslint.config.js +3 -3
  124. package/package.json +99 -99
  125. package/src/files/html.ts +1 -1
  126. package/src/files/js.ts +1 -1
  127. package/src/files/json.ts +1 -1
  128. package/src/files/jsonc.ts +4 -4
  129. package/src/files/md.ts +1 -1
  130. package/src/files/mocha.ts +1 -1
  131. package/src/files/svelte.ts +1 -1
  132. package/src/files/ts.ts +5 -5
  133. package/src/files/yml.ts +5 -5
  134. package/src/files.ts +22 -22
  135. package/src/imports/parsers.ts +15 -15
  136. package/src/imports/plugins.ts +19 -19
  137. package/src/imports.ts +8 -8
  138. package/src/index.ts +36 -36
  139. package/src/rules/_strings/id.ts +18 -18
  140. package/src/rules/_strings/level.ts +6 -6
  141. package/src/rules/_strings/state.ts +56 -56
  142. package/src/rules/_strings.ts +6 -6
  143. package/src/rules/html/enable.ts +16 -0
  144. package/src/rules/html/enable_recommended.ts +9 -0
  145. package/src/rules/html.ts +4 -0
  146. package/src/rules/js/enable.ts +524 -0
  147. package/src/rules/js/enable_stylistic.ts +608 -0
  148. package/src/rules/js.ts +4 -0
  149. package/src/rules/json/{_enable.ts → enable.ts} +33 -35
  150. package/src/rules/json/enable_x.ts +89 -50
  151. package/src/rules/{_json.ts → json.ts} +4 -4
  152. package/src/rules/jsonc/override.ts +16 -9
  153. package/src/rules/{_jsonc.ts → jsonc.ts} +4 -4
  154. package/src/rules/md/enable.ts +15 -0
  155. package/src/rules/md.ts +3 -0
  156. package/src/rules/mocha/enable.ts +3 -0
  157. package/src/rules/mocha/enable_recommended.ts +9 -0
  158. package/src/rules/mocha.ts +4 -0
  159. package/src/rules/svelte/disable.ts +9 -0
  160. package/src/rules/svelte/disable_js.ts +11 -7
  161. package/src/rules/svelte/disable_ts.ts +9 -5
  162. package/src/rules/svelte/{_enable.ts → enable.ts} +228 -129
  163. package/src/rules/svelte/enable_x.ts +20 -9
  164. package/src/rules/{_svelte.ts → svelte.ts} +15 -15
  165. package/src/rules/ts/{disable_compiler.ts → disable.ts} +22 -23
  166. package/src/rules/ts/disable_x.ts +32 -36
  167. package/src/rules/ts/{_enable.ts → enable.ts} +549 -406
  168. package/src/rules/ts/enable_x.ts +115 -90
  169. package/src/rules/{_ts.ts → ts.ts} +13 -13
  170. package/src/rules/yml/{_enable.ts → enable.ts} +64 -33
  171. package/src/rules/yml/enable_x.ts +68 -21
  172. package/src/rules/{_yml.ts → yml.ts} +4 -4
  173. package/src/rules.ts +22 -22
  174. package/tsconfig.json +161 -161
  175. package/types/markdownlint/index.d.ts +3 -3
  176. package/types/markdownlint/parser.d.ts +9 -9
  177. package/types/mocha/index.d.ts +8 -8
  178. package/src/rules/_html.ts +0 -4
  179. package/src/rules/_js.ts +0 -4
  180. package/src/rules/_md.ts +0 -3
  181. package/src/rules/_mocha.ts +0 -4
  182. package/src/rules/html/_enable.ts +0 -13
  183. package/src/rules/html/_recommended.ts +0 -7
  184. package/src/rules/js/_enable.ts +0 -287
  185. package/src/rules/js/stylistic.ts +0 -294
  186. package/src/rules/md/_enable.ts +0 -14
  187. package/src/rules/mocha/_enable.ts +0 -5
  188. package/src/rules/mocha/_recommended.ts +0 -7
  189. package/src/rules/svelte/disable_x.ts +0 -8
package/tsconfig.json CHANGED
@@ -1,161 +1,161 @@
1
- {
2
- "display": "@jimbojet/tsc",
3
- "$schema": "https://json.schemastore.org/tsconfig",
4
- "_version": "5.5.10",
5
- "include": [
6
- "*.config.ts",
7
- "src/**/*.ts",
8
- "types/**/*.d.ts", /* @OVERRIDE */
9
- ],
10
- "exclude": [],
11
- "compilerOptions": {
12
- /* http://aka.ms/tsconfig#quick-nav-Top%20Level */
13
-
14
- // #region TYPE CHECKING
15
- "allowUnreachableCode": false,
16
- "allowUnusedLabels": false,
17
- "alwaysStrict": true,
18
- "exactOptionalPropertyTypes": true,
19
- "noFallthroughCasesInSwitch": true,
20
- "noImplicitAny": true,
21
- "noImplicitOverride": true,
22
- "noImplicitReturns": true,
23
- "noImplicitThis": true,
24
- "noPropertyAccessFromIndexSignature": true,
25
- "noUncheckedIndexedAccess": true,
26
- "noUnusedLocals": true,
27
- "noUnusedParameters": true,
28
- "strict": true,
29
- "strictBindCallApply": true,
30
- "strictFunctionTypes": true,
31
- "strictNullChecks": true,
32
- "strictPropertyInitialization": true,
33
- "useUnknownInCatchVariables": true,
34
- // #endregion
35
-
36
-
37
- // #region MODULES
38
- "allowArbitraryExtensions": true,
39
- // "allowImportingTsExtensions": true,
40
- // "allowUmdGlobalAccess": true,
41
- // "baseUrl": "./",
42
- // "customConditions": [],
43
- "module": "node16",
44
- "moduleResolution": "node16",
45
- // "moduleSuffixes": [],
46
- // "noResolve": true,
47
- // "paths": { "*": ["node_modules/*"] },
48
- // "resolveJsonModule": true,
49
- // "resolvePackageJsonExports": true,
50
- // "resolvePackageJsonImports": true,
51
- "rootDir": "src",
52
- // "rootDirs": [],
53
- // "typeRoots": [],
54
- "types": [
55
- /* {CONFIGURE} */
56
- ],
57
- // #endregion
58
-
59
-
60
- // #region EMIT
61
- "declaration": true,
62
- "declarationDir": "dist",
63
- "declarationMap": true,
64
- // "downlevelIteration": true,
65
- // "emitBOM": true,
66
- // "emitDeclarationOnly": true,
67
- // "importHelpers": true,
68
- // "inlineSourceMap": true,
69
- // "inlineSources": true,
70
- // "mapRoot": "",
71
- // "newLine": "crlf",
72
- // "noEmit": true,
73
- // "noEmitHelpers": true,
74
- "noEmitOnError": true,
75
- "outDir": "dist",
76
- // "outFile": "./",
77
- // "preserveConstEnums": true,
78
- "removeComments": true,
79
- "sourceMap": true,
80
- // "sourceRoot": "",
81
- // "stripInternal": true,
82
- // #endregion
83
-
84
-
85
- // #region JAVASCRIPT SUPPORT
86
- // "allowJs": true,
87
- // "checkJs": true,
88
- // "maxNodeModuleJsDepth": 1,
89
- // #endregion
90
-
91
-
92
- // #region EDITOR SUPPORT
93
- // "disableSizeLimit": false,
94
- // "plugins": [],
95
- // #endregion
96
-
97
-
98
- // #region INTEROP CONSTRAINTS
99
- "allowSyntheticDefaultImports": true,
100
- "esModuleInterop": true,
101
- "forceConsistentCasingInFileNames": true,
102
- // "isolatedDeclarations": false,
103
- // "isolatedModules": true,
104
- // "preserveSymlinks": true,
105
- "verbatimModuleSyntax": true,
106
- // #endregion
107
-
108
-
109
- // #region LANGUAGE AND ENVIRONMENT
110
- // "emitDecoratorMetadata": true,
111
- // "experimentalDecorators": true,
112
- // "jsx": "preserve",
113
- // "jsxFactory": "",
114
- // "jsxFragmentFactory": "",
115
- // "jsxImportSource": "",
116
- "lib": [
117
- "es2023",
118
- /* {CONFIGURE} */
119
- ],
120
- // "moduleDetection": "auto",
121
- // "noLib": true,
122
- // "reactNamespace": "",
123
- "target": "es2022",
124
- "useDefineForClassFields": true,
125
- // #endregion
126
-
127
-
128
- // #region COMPILER DIAGNOSTICS
129
- // "diagnostics": true,
130
- // "explainFiles": true,
131
- // "extendedDiagnostics": true,
132
- // "generateCpuProfile": "profile.cpuprofile",
133
- // "listEmittedFiles": true,
134
- // "listFiles": true,
135
- // "noCheck": true,
136
- // "traceResolution": true,
137
- // #endregion
138
-
139
-
140
- // #region PROJECTS
141
- // "composite": true,
142
- // "disableReferencedProjectLoad": true,
143
- // "disableSolutionSearching": true,
144
- // "disableSourceOfProjectReferenceRedirect": true,
145
- "incremental": true,
146
- "tsBuildInfoFile": "dist/.tsbuildinfo",
147
- // #endregion
148
-
149
-
150
- // #region OUTPUT FORMATTING
151
- // "noErrorTruncation": true,
152
- // "preserveWatchOutput": true,
153
- // "pretty": true,
154
- // #endregion
155
-
156
-
157
- // #region COMPLETENESS
158
- "skipLibCheck": true /* @OVERRIDE */,
159
- // #endregion
160
- },
161
- }
1
+ {
2
+ "display": "@jimbojet/tsc",
3
+ "$schema": "https://json.schemastore.org/tsconfig",
4
+ "_version": "5.5.10",
5
+ "include": [
6
+ "*.config.ts",
7
+ "src/**/*.ts",
8
+ "types/**/*.d.ts", /* @OVERRIDE */
9
+ ],
10
+ "exclude": [],
11
+ "compilerOptions": {
12
+ /* http://aka.ms/tsconfig#quick-nav-Top%20Level */
13
+
14
+ // #region TYPE CHECKING
15
+ "allowUnreachableCode": false,
16
+ "allowUnusedLabels": false,
17
+ "alwaysStrict": true,
18
+ "exactOptionalPropertyTypes": true,
19
+ "noFallthroughCasesInSwitch": true,
20
+ "noImplicitAny": true,
21
+ "noImplicitOverride": true,
22
+ "noImplicitReturns": true,
23
+ "noImplicitThis": true,
24
+ "noPropertyAccessFromIndexSignature": true,
25
+ "noUncheckedIndexedAccess": true,
26
+ "noUnusedLocals": true,
27
+ "noUnusedParameters": true,
28
+ "strict": true,
29
+ "strictBindCallApply": true,
30
+ "strictFunctionTypes": true,
31
+ "strictNullChecks": true,
32
+ "strictPropertyInitialization": true,
33
+ "useUnknownInCatchVariables": true,
34
+ // #endregion
35
+
36
+
37
+ // #region MODULES
38
+ "allowArbitraryExtensions": true,
39
+ // "allowImportingTsExtensions": true,
40
+ // "allowUmdGlobalAccess": true,
41
+ // "baseUrl": "./",
42
+ // "customConditions": [],
43
+ "module": "node16",
44
+ "moduleResolution": "node16",
45
+ // "moduleSuffixes": [],
46
+ // "noResolve": true,
47
+ // "paths": { "*": ["node_modules/*"] },
48
+ // "resolveJsonModule": true,
49
+ // "resolvePackageJsonExports": true,
50
+ // "resolvePackageJsonImports": true,
51
+ "rootDir": "src",
52
+ // "rootDirs": [],
53
+ // "typeRoots": [],
54
+ "types": [
55
+ /* {CONFIGURE} */
56
+ ],
57
+ // #endregion
58
+
59
+
60
+ // #region EMIT
61
+ "declaration": true,
62
+ "declarationDir": "dist",
63
+ "declarationMap": true,
64
+ // "downlevelIteration": true,
65
+ // "emitBOM": true,
66
+ // "emitDeclarationOnly": true,
67
+ // "importHelpers": true,
68
+ // "inlineSourceMap": true,
69
+ // "inlineSources": true,
70
+ // "mapRoot": "",
71
+ // "newLine": "crlf",
72
+ // "noEmit": true,
73
+ // "noEmitHelpers": true,
74
+ "noEmitOnError": true,
75
+ "outDir": "dist",
76
+ // "outFile": "./",
77
+ // "preserveConstEnums": true,
78
+ "removeComments": true,
79
+ "sourceMap": true,
80
+ // "sourceRoot": "",
81
+ // "stripInternal": true,
82
+ // #endregion
83
+
84
+
85
+ // #region JAVASCRIPT SUPPORT
86
+ // "allowJs": true,
87
+ // "checkJs": true,
88
+ // "maxNodeModuleJsDepth": 1,
89
+ // #endregion
90
+
91
+
92
+ // #region EDITOR SUPPORT
93
+ // "disableSizeLimit": false,
94
+ // "plugins": [],
95
+ // #endregion
96
+
97
+
98
+ // #region INTEROP CONSTRAINTS
99
+ "allowSyntheticDefaultImports": true,
100
+ "esModuleInterop": true,
101
+ "forceConsistentCasingInFileNames": true,
102
+ // "isolatedDeclarations": false,
103
+ // "isolatedModules": true,
104
+ // "preserveSymlinks": true,
105
+ "verbatimModuleSyntax": true,
106
+ // #endregion
107
+
108
+
109
+ // #region LANGUAGE AND ENVIRONMENT
110
+ // "emitDecoratorMetadata": true,
111
+ // "experimentalDecorators": true,
112
+ // "jsx": "preserve",
113
+ // "jsxFactory": "",
114
+ // "jsxFragmentFactory": "",
115
+ // "jsxImportSource": "",
116
+ "lib": [
117
+ "es2023",
118
+ /* {CONFIGURE} */
119
+ ],
120
+ // "moduleDetection": "auto",
121
+ // "noLib": true,
122
+ // "reactNamespace": "",
123
+ "target": "es2022",
124
+ "useDefineForClassFields": true,
125
+ // #endregion
126
+
127
+
128
+ // #region COMPILER DIAGNOSTICS
129
+ // "diagnostics": true,
130
+ // "explainFiles": true,
131
+ // "extendedDiagnostics": true,
132
+ // "generateCpuProfile": "profile.cpuprofile",
133
+ // "listEmittedFiles": true,
134
+ // "listFiles": true,
135
+ // "noCheck": true,
136
+ // "traceResolution": true,
137
+ // #endregion
138
+
139
+
140
+ // #region PROJECTS
141
+ // "composite": true,
142
+ // "disableReferencedProjectLoad": true,
143
+ // "disableSolutionSearching": true,
144
+ // "disableSourceOfProjectReferenceRedirect": true,
145
+ "incremental": true,
146
+ "tsBuildInfoFile": "dist/.tsbuildinfo",
147
+ // #endregion
148
+
149
+
150
+ // #region OUTPUT FORMATTING
151
+ // "noErrorTruncation": true,
152
+ // "preserveWatchOutput": true,
153
+ // "pretty": true,
154
+ // #endregion
155
+
156
+
157
+ // #region COMPLETENESS
158
+ "skipLibCheck": true /* @OVERRIDE */,
159
+ // #endregion
160
+ },
161
+ }
@@ -1,3 +1,3 @@
1
- declare module "eslint-plugin-markdownlint" {
2
- export const configs: Record<"flat/recommended", { rules: unknown }>;
3
- }
1
+ declare module "eslint-plugin-markdownlint" {
2
+ export const configs: Record<"flat/recommended", { rules: unknown }>;
3
+ }
@@ -1,9 +1,9 @@
1
- declare module "eslint-plugin-markdownlint/parser.js" {
2
- export const parseForESLint: (code: string) => Record<
3
- | "ast"
4
- | "parserServices"
5
- | "visitorKeys"
6
- ,
7
- unknown
8
- >;
9
- }
1
+ declare module "eslint-plugin-markdownlint/parser.js" {
2
+ export const parseForESLint: (code: string) => Record<
3
+ | "ast"
4
+ | "parserServices"
5
+ | "visitorKeys"
6
+ ,
7
+ unknown
8
+ >;
9
+ }
@@ -1,8 +1,8 @@
1
- declare module "eslint-plugin-mocha" {
2
- export const configs: {
3
- "flat/recommended": readonly { rules: unknown };
4
- flat: {
5
- recommended: readonly { rules: unknown };
6
- };
7
- };
8
- }
1
+ declare module "eslint-plugin-mocha" {
2
+ export const configs: {
3
+ "flat/recommended": readonly { rules: unknown };
4
+ flat: {
5
+ recommended: readonly { rules: unknown };
6
+ };
7
+ };
8
+ }
@@ -1,4 +0,0 @@
1
- import Recommended from "./html/_recommended.js";
2
- import Enable from "./html/_enable.js";
3
-
4
- export default [Recommended, Enable] as const;
package/src/rules/_js.ts DELETED
@@ -1,4 +0,0 @@
1
- import EnableStylistic from "./js/stylistic.js";
2
- import Enable from "./js/_enable.js";
3
-
4
- export default [EnableStylistic, Enable] as const;
package/src/rules/_md.ts DELETED
@@ -1,3 +0,0 @@
1
- import Enable from "./md/_enable.js";
2
-
3
- export default [Enable] as const;
@@ -1,4 +0,0 @@
1
- import Recommended from "./mocha/_recommended.js";
2
- import Enable from "./html/_enable.js";
3
-
4
- export default [Recommended, Enable] as const;
@@ -1,13 +0,0 @@
1
- import { id, level } from "../_strings.js";
2
-
3
- const
4
- { enable } = id,
5
- { ERROR, OFF } = level;
6
-
7
- export default [
8
- enable,
9
- {
10
- "@html-eslint/require-title": OFF,
11
- "@html-eslint/element-newline": [ERROR, { skip: ["head"] }],
12
- },
13
- ] as const;
@@ -1,7 +0,0 @@
1
- import { id } from "../_strings.js";
2
- import html from "@html-eslint/eslint-plugin";
3
-
4
- const { recommended } = id;
5
-
6
- // Remove shared config once manually configured
7
- export default [recommended, (html.configs["flat/recommended"] as Record<"rules", Record<string, "off">>).rules] as const;