linted 37.0.2 → 37.0.3

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/.gitattributes CHANGED
@@ -1,13 +1,15 @@
1
1
  ##############################
2
2
  #### .gitattributes ####
3
- #### v252.1.0 ####
3
+ #### v252.4.0 ####
4
4
  ##############################
5
5
 
6
6
  * text=auto
7
7
 
8
8
  *.cmd text eol=crlf
9
9
  *.bat text eol=crlf
10
+ *.reg text eol=crlf
10
11
  *.ics text eol=crlf
12
+
11
13
  *.sh text eol=lf
12
14
  *.bashrc text eol=lf
13
15
  *.bash_profile text eol=lf
@@ -15,27 +17,15 @@
15
17
  *.ps1 text eol=lf
16
18
  *.psm1 text eol=lf
17
19
  *.psd1 text eol=lf
20
+ *.ps1xml text eol=lf
18
21
 
19
22
  LICENSE text eol=lf
20
23
  *.gitattributes text eol=lf
21
24
  *.gitconfig text eol=lf
22
25
  *.gitignore text eol=lf
26
+
23
27
  *.txt text eol=lf
24
28
  *.md text eol=lf
25
- *.json text eol=lf
26
- *.jsonc text eol=lf
27
- *.code-snippets text eol=lf
28
- *.code-workspace text eol=lf
29
- *.yml text eol=lf
30
- *.yaml text eol=lf
31
- *.csv text eol=lf
32
- *.tsv text eol=lf
33
- *.svg text eol=lf
34
- *.xml text eol=lf
35
- *.plist text eol=lf
36
- *.tmLanguage text eol=lf
37
- *.tmPreferences text eol=lf
38
- *.tmTheme text eol=lf
39
29
  *.h text eol=lf
40
30
  *.hpp text eol=lf
41
31
  *.hxx text eol=lf
@@ -57,12 +47,33 @@ LICENSE text eol=lf
57
47
  *.tsx text eol=lf
58
48
  *.html text eol=lf
59
49
  *.css text eol=lf
50
+ *.scss text eol=lf
51
+ *.less text eol=lf
60
52
  *.svelte text eol=lf
61
53
  *.py text eol=lf
62
54
  *.jinja text eol=lf
55
+ *.lark text eol=lf
56
+ *.re text eol=lf
57
+ *.adblock text eol=lf
58
+ *.json text eol=lf
59
+ *.jsonc text eol=lf
60
+ *.jsonl text eol=lf
61
+ *.json5 text eol=lf
62
+ *.JSON-tmLanguage text eol=lf
63
+ *.code-snippets text eol=lf
64
+ *.code-workspace text eol=lf
65
+ *.yml text eol=lf
66
+ *.yaml text eol=lf
67
+ *.YAML-tmLanguage text eol=lf
68
+ *.xml text eol=lf
69
+ *.svg text eol=lf
70
+ *.plist text eol=lf
71
+ *.tmLanguage text eol=lf
72
+ *.tmPreferences text eol=lf
73
+ *.tmTheme text eol=lf
74
+ *.csv text eol=lf
75
+ *.tsv text eol=lf
63
76
  *.npmrc text eol=lf
64
- *.claspignore text eol=lf
65
77
  *.funcignore text eol=lf
78
+ *.claspignore text eol=lf
66
79
  *.example text eol=lf
67
- *.lark text eol=lf
68
- *.re text eol=lf
@@ -1,101 +1,238 @@
1
1
  {
2
- // #region v40.0.0
2
+ // #region v40.1.0
3
3
  "$schema": "https://gist.githubusercontent.com/jimmy-zhening-luo/e0d6b5715f0df18bc462f752520bd485/raw",
4
4
  "$help": {
5
5
  "link": "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md",
6
6
  },
7
7
  // #endregion
8
- "heading-increment": true /* MD001 */,
8
+ "heading-increment": {
9
+ "enabled": true,
10
+ } /* MD001 */,
9
11
  "heading-style": {
12
+ "enabled": true,
10
13
  "style": "atx",
11
14
  } /* MD003 */,
12
- "ul-style": false /* MD004 */,
13
- "list-indent": true /* MD005 */,
15
+ "ul-style": {
16
+ "enabled": true,
17
+ "style": "consistent",
18
+ } /* MD004 */,
19
+ "list-indent": {
20
+ "enabled": true,
21
+ } /* MD005 */,
14
22
  "ul-indent": {
23
+ "enabled": true,
15
24
  "indent": 2,
25
+ "start_indent": 2,
26
+ "start_indented": false,
16
27
  } /* MD007 */,
17
28
  "no-trailing-spaces": {
29
+ "enabled": true,
18
30
  "br_spaces": 0,
19
31
  "strict": true,
32
+ "code_blocks": false,
33
+ "list_item_empty_lines": false,
20
34
  } /* MD009 */,
21
35
  "no-hard-tabs": {
36
+ "enabled": true,
22
37
  "spaces_per_tab": 2,
38
+ "code_blocks": true,
23
39
  "ignore_code_languages": [],
24
40
  } /* MD010 */,
25
- "no-reversed-links": true /* MD011 */,
26
- "no-multiple-blanks": true /* MD012 */,
27
- "line-length": false /* MD013 */,
28
- "commands-show-output": true /* MD014 */,
29
- "no-missing-space-atx": true /* MD018 */,
30
- "no-multiple-space-atx": true /* MD019 */,
31
- "no-missing-space-closed-atx": true /* MD020 */,
32
- "no-multiple-space-closed-atx": true /* MD021 */,
41
+ "no-reversed-links": {
42
+ "enabled": true,
43
+ } /* MD011 */,
44
+ "no-multiple-blanks": {
45
+ "enabled": true,
46
+ "maximum": 1,
47
+ } /* MD012 */,
48
+ "line-length": {
49
+ "enabled": false,
50
+ "code_blocks": false,
51
+ "headings": false,
52
+ "stern": false,
53
+ "strict": false,
54
+ "tables": false,
55
+ "line_length": 10000,
56
+ "code_block_line_length": 10000,
57
+ "heading_line_length": 10000,
58
+ } /* MD013 */,
59
+ "commands-show-output": {
60
+ "enabled": true,
61
+ } /* MD014 */,
62
+ "no-missing-space-atx": {
63
+ "enabled": true,
64
+ } /* MD018 */,
65
+ "no-multiple-space-atx": {
66
+ "enabled": true,
67
+ } /* MD019 */,
68
+ "no-missing-space-closed-atx": {
69
+ "enabled": true,
70
+ } /* MD020 */,
71
+ "no-multiple-space-closed-atx": {
72
+ "enabled": true,
73
+ } /* MD021 */,
33
74
  "blanks-around-headings": {
34
- "lines_below": 0,
75
+ "enabled": true,
76
+ "lines_above": 1,
77
+ "lines_below": 1,
35
78
  } /* MD022 */,
36
- "heading-start-left": true /* MD023 */,
79
+ "heading-start-left": {
80
+ "enabled": true,
81
+ } /* MD023 */,
37
82
  "no-duplicate-heading": {
83
+ "enabled": true,
38
84
  "siblings_only": true,
39
85
  } /* MD024 */,
40
- "single-title": false /* MD025, single-h1 */,
41
- "no-trailing-punctuation": false /* MD026 */,
42
- "no-multiple-space-blockquote": true /* MD027 */,
43
- "no-blanks-blockquote": true /* MD028 */,
86
+ "single-title": {
87
+ "enabled": false,
88
+ "level": 1,
89
+ } /* MD025 */,
90
+ "no-trailing-punctuation": {
91
+ "enabled": false,
92
+ "punctuation": ".,;:",
93
+ } /* MD026 */,
94
+ "no-multiple-space-blockquote": {
95
+ "enabled": true,
96
+ "list_items": true,
97
+ } /* MD027 */,
98
+ "no-blanks-blockquote": {
99
+ "enabled": true,
100
+ } /* MD028 */,
44
101
  "ol-prefix": {
102
+ "enabled": true,
45
103
  "style": "one_or_ordered",
46
104
  } /* MD029 */,
47
- "list-marker-space": true /* MD030 */,
105
+ "list-marker-space": {
106
+ "enabled": true,
107
+ "ol_multi": 1,
108
+ "ol_single": 1,
109
+ "ul_multi": 1,
110
+ "ul_single": 1,
111
+ } /* MD030 */,
48
112
  "blanks-around-fences": {
113
+ "enabled": true,
49
114
  "list_items": false,
50
115
  } /* MD031 */,
51
- "blanks-around-lists": true /* MD032 */,
116
+ "blanks-around-lists": {
117
+ "enabled": true,
118
+ } /* MD032 */,
52
119
  "no-inline-html": {
120
+ "enabled": true,
53
121
  "allowed_elements": [
54
122
  "br",
55
123
  "details",
56
124
  "img",
57
125
  "summary",
58
126
  ],
127
+ "table_allowed_elements": [],
59
128
  } /* MD033 */,
60
- "no-bare-urls": false /* MD034 */,
129
+ "no-bare-urls": {
130
+ "enabled": false,
131
+ } /* MD034 */,
61
132
  "hr-style": {
133
+ "enabled": true,
62
134
  "style": "---",
63
135
  } /* MD035 */,
64
- "no-emphasis-as-heading": false /* MD036 */,
65
- "no-space-in-emphasis": true /* MD037 */,
66
- "no-space-in-code": false /* MD038 */,
67
- "no-space-in-links": true /* MD039 */,
68
- "fenced-code-language": false /* MD040 */,
69
- "first-line-heading": false /* MD041, first-line-h1 */,
70
- "no-empty-links": true /* MD042 */,
71
- "required-headings": false /* MD043 */,
72
- "proper-names": false /* MD044 */,
73
- "no-alt-text": true /* MD045 */,
136
+ "no-emphasis-as-heading": {
137
+ "enabled": false,
138
+ "punctuation": ".,;:",
139
+ } /* MD036 */,
140
+ "no-space-in-emphasis": {
141
+ "enabled": true,
142
+ } /* MD037 */,
143
+ "no-space-in-code": {
144
+ "enabled": false,
145
+ } /* MD038 */,
146
+ "no-space-in-links": {
147
+ "enabled": true,
148
+ } /* MD039 */,
149
+ "fenced-code-language": {
150
+ "enabled": false,
151
+ "language_only": false,
152
+ } /* MD040 */,
153
+ "first-line-heading": {
154
+ "enabled": false,
155
+ "allow_preamble": true,
156
+ } /* MD041 */,
157
+ "no-empty-links": {
158
+ "enabled": true,
159
+ } /* MD042 */,
160
+ "required-headings": {
161
+ "enabled": false,
162
+ "headings": [],
163
+ "match_case": false,
164
+ } /* MD043 */,
165
+ "proper-names": {
166
+ "enabled": false,
167
+ "code_blocks": false,
168
+ "html_elements": false,
169
+ "names": [],
170
+ } /* MD044 */,
171
+ "no-alt-text": {
172
+ "enabled": true,
173
+ } /* MD045 */,
74
174
  "code-block-style": {
175
+ "enabled": true,
75
176
  "style": "fenced",
76
177
  } /* MD046 */,
77
- "single-trailing-newline": true /* MD047 */,
178
+ "single-trailing-newline": {
179
+ "enabled": true,
180
+ } /* MD047 */,
78
181
  "code-fence-style": {
182
+ "enabled": true,
79
183
  "style": "backtick",
80
184
  } /* MD048 */,
81
185
  "emphasis-style": {
186
+ "enabled": true,
82
187
  "style": "underscore",
83
188
  } /* MD049 */,
84
189
  "strong-style": {
190
+ "enabled": true,
85
191
  "style": "underscore",
86
192
  } /* MD050 */,
87
- "link-fragments": true /* MD051 */,
88
- "reference-links-images": true /* MD052 */,
89
- "link-image-reference-definitions": true /* MD053 */,
90
- "link-image-style": true /* MD054 */,
193
+ "link-fragments": {
194
+ "enabled": true,
195
+ "ignore_case": false,
196
+ } /* MD051 */,
197
+ "reference-links-images": {
198
+ "enabled": true,
199
+ "ignored_labels": [
200
+ "x",
201
+ ],
202
+ "shortcut_syntax": false,
203
+ } /* MD052 */,
204
+ "link-image-reference-definitions": {
205
+ "enabled": true,
206
+ "ignored_definitions": [
207
+ "//",
208
+ ],
209
+ } /* MD053 */,
210
+ "link-image-style": {
211
+ "enabled": true,
212
+ "autolink": true,
213
+ "collapsed": true,
214
+ "full": true,
215
+ "inline": true,
216
+ "shortcut": true,
217
+ "url_inline": true,
218
+ } /* MD054 */,
91
219
  "table-pipe-style": {
220
+ "enabled": true,
92
221
  "style": "leading_and_trailing",
93
222
  } /* MD055 */,
94
- "table-column-count": true /* MD056 */,
95
- "blanks-around-tables": true /* MD058 */,
96
- "descriptive-link-text": false /* MD059 */,
223
+ "table-column-count": {
224
+ "enabled": true,
225
+ } /* MD056 */,
226
+ "blanks-around-tables": {
227
+ "enabled": true,
228
+ } /* MD058 */,
229
+ "descriptive-link-text": {
230
+ "enabled": false,
231
+ "prohibited_texts": [],
232
+ } /* MD059 */,
97
233
  "table-column-style": {
234
+ "enabled": true,
98
235
  "style": "aligned",
99
- "aligned_delimiter": true /* implicitly true when style:aligned */,
236
+ "aligned_delimiter": true,
100
237
  } /* MD060 */,
101
238
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "linted",
6
- "version": "37.0.2",
6
+ "version": "37.0.3",
7
7
  "repository": "github:jimmy-zhening-luo/linted",
8
8
  "description": "ESLint mono-plugin bundler with strict, opinionated defaults for JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
9
9
  "keywords": [
@@ -59,8 +59,8 @@
59
59
  "dependencies": {
60
60
  "@eslint/css": "0.14.1",
61
61
  "@eslint/json": "0.14.0",
62
- "@eslinted/core": "32.1.15",
63
- "@eslinted/defaults": "19.0.8",
62
+ "@eslinted/core": "32.1.16",
63
+ "@eslinted/defaults": "19.0.9",
64
64
  "@html-eslint/eslint-plugin": "0.52.1",
65
65
  "@stylistic/eslint-plugin": "5.6.1",
66
66
  "eslint-plugin-jsonc": "2.21.0",