@@ -163,19 +163,19 @@ export default defineConfig([
163
163
...jsdocRules
164
164
}
165
165
} ,
166
- // @todo no errors are reported in IDE/CLI
166
+ // https://github.com/processing/p5.js/actions/runs/15584716142/job/43887979759#step:5:5160
167
+ // @todo failed as **expected** due to `Parsing Error`s
168
+ // * src/io/p5.Table.js - 256:6
169
+ // * src/math/Matrices/Matrix.js - 532:12
170
+ // @todo failed **unexpected** due to `Parsing Error`
171
+ // * src/webgl/p5.Geometry.js - 49:42
167
172
// {
168
173
// name: 'jsdoc example processor',
169
174
// files: ['src/**/*.js'],
170
175
// plugins: {
171
176
// examples: getJsdocProcessorPlugin({
172
- // // allowedLanguagesToProcess: ['js', 'javascript'],
173
- // // @todo
174
- // // https://github.com/gajus/eslint-plugin-jsdoc/blob/99cb131ee40fa10f943aadfd73a6d18da082882f/docs/rules/check-examples.md#examplecoderegex-and-rejectexamplecoderegex
175
- // // without the regex jsdoc fails to parse the examples
176
- // // the processor expects js but gets html
177
- // // "343:6 error @example error: Fatal: Parsing error: Unexpected token <"
178
- // exampleCodeRegex: '^<code>.*</code>$'
177
+ // allowedLanguagesToProcess: ['js', 'javascript'],
178
+ // exampleCodeRegex: /<code>\s([\s\S]*?)<\/code>/
179
179
// })
180
180
// },
181
181
// processor: 'examples/examples'
@@ -187,7 +187,8 @@ export default defineConfig([
187
187
// files: ['src/**/*.md/*.js'],
188
188
// rules: {
189
189
// ...commonRules,
190
- // 'no-undef': off
190
+ // 'no-undef': off,
191
+ // 'no-unused-vars': off
191
192
// }
192
193
// },
193
194
{
@@ -263,6 +264,7 @@ export default defineConfig([
263
264
'markdown/table-column-count' : warn
264
265
}
265
266
}
267
+ // https://github.com/eslint/markdown?tab=readme-ov-file#file-name-details
266
268
// @todo
267
269
// works out of the box but results in some `Parsing error`s
268
270
// which will make github workflows & actions fail e.g.
0 commit comments