|
7 | 7 | | Status | Count | % | |
8 | 8 | | ----------------- | ----- | ------ | |
9 | 9 | | Total rules | 292 | 100.0% | |
10 | | -| Fully passing | 289 | 99.0% | |
11 | | -| Partially passing | 3 | 1.0% | |
| 10 | +| Fully passing | 291 | 99.7% | |
| 11 | +| Partially passing | 1 | 0.3% | |
12 | 12 | | Fully failing | 0 | 0.0% | |
13 | 13 | | Load errors | 0 | 0.0% | |
14 | 14 | | No tests run | 0 | 0.0% | |
|
18 | 18 | | Status | Count | % | |
19 | 19 | | ----------- | ----- | ------ | |
20 | 20 | | Total tests | 33090 | 100.0% | |
21 | | -| Passing | 32803 | 99.1% | |
22 | | -| Failing | 5 | 0.0% | |
| 21 | +| Passing | 32807 | 99.1% | |
| 22 | +| Failing | 1 | 0.0% | |
23 | 23 | | Skipped | 282 | 0.9% | |
24 | 24 |
|
25 | 25 | ## Fully Passing Rules |
|
156 | 156 | - `no-inner-declarations` (68 tests) |
157 | 157 | - `no-invalid-regexp` (108 tests) |
158 | 158 | - `no-invalid-this` (562 tests) (4 skipped) |
| 159 | +- `no-irregular-whitespace` (280 tests) |
159 | 160 | - `no-iterator` (9 tests) |
160 | 161 | - `no-label-var` (5 tests) |
161 | 162 | - `no-labels` (29 tests) |
|
306 | 307 | - `symbol-description` (8 tests) |
307 | 308 | - `template-curly-spacing` (57 tests) |
308 | 309 | - `template-tag-spacing` (63 tests) |
| 310 | +- `unicode-bom` (7 tests) |
309 | 311 | - `use-isnan` (214 tests) |
310 | 312 | - `valid-typeof` (54 tests) |
311 | 313 | - `vars-on-top` (61 tests) |
|
317 | 319 | ## Rules with Failures |
318 | 320 |
|
319 | 321 | - `no-eval` - 100 / 101 (99.0%) |
320 | | -- `no-irregular-whitespace` - 279 / 280 (99.6%) |
321 | | -- `unicode-bom` - 4 / 7 (57.1%) |
322 | 322 |
|
323 | 323 | ## Rules with Failures Detail |
324 | 324 |
|
@@ -359,146 +359,3 @@ AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] |
359 | 359 | at runInvalidTestCase (apps/oxlint/dist/index.js) |
360 | 360 | at apps/oxlint/dist/index.js |
361 | 361 |
|
362 | | - |
363 | | -### `no-irregular-whitespace` |
364 | | - |
365 | | -Pass: 279 / 280 (99.6%) |
366 | | -Fail: 1 / 280 (0.4%) |
367 | | -Skip: 0 / 280 (0.0%) |
368 | | - |
369 | | -#### no-irregular-whitespace > valid |
370 | | - |
371 | | -```js |
372 | | -console.log('hello BOM'); |
373 | | -``` |
374 | | - |
375 | | -```json |
376 | | -{} |
377 | | -``` |
378 | | - |
379 | | -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ |
380 | | - { |
381 | | - ruleId: 'rule-to-test/no-irregular-whitespace', |
382 | | - message: 'Irregular whitespace not allowed.', |
383 | | - messageId: 'noIrregularWhitespace', |
384 | | - severity: 1, |
385 | | - nodeType: null, |
386 | | - line: 1, |
387 | | - column: 0, |
388 | | - endLine: 1, |
389 | | - endColumn: 1, |
390 | | - suggestions: null |
391 | | - } |
392 | | -] |
393 | | - |
394 | | -1 !== 0 |
395 | | - |
396 | | - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) |
397 | | - at assertValidTestCasePasses (apps/oxlint/dist/index.js) |
398 | | - at runValidTestCase (apps/oxlint/dist/index.js) |
399 | | - at apps/oxlint/dist/index.js |
400 | | - |
401 | | - |
402 | | -### `unicode-bom` |
403 | | - |
404 | | -Pass: 4 / 7 (57.1%) |
405 | | -Fail: 3 / 7 (42.9%) |
406 | | -Skip: 0 / 7 (0.0%) |
407 | | - |
408 | | -#### unicode-bom > valid |
409 | | - |
410 | | -```js |
411 | | - var a = 123; |
412 | | -``` |
413 | | - |
414 | | -```json |
415 | | -{ |
416 | | - "options": [ |
417 | | - "always" |
418 | | - ] |
419 | | -} |
420 | | -``` |
421 | | - |
422 | | -AssertionError [ERR_ASSERTION]: Should have no errors but had 1: [ |
423 | | - { |
424 | | - ruleId: 'rule-to-test/unicode-bom', |
425 | | - message: 'Expected Unicode BOM (Byte Order Mark).', |
426 | | - messageId: 'expected', |
427 | | - severity: 1, |
428 | | - nodeType: null, |
429 | | - line: 1, |
430 | | - column: 0, |
431 | | - endLine: 1, |
432 | | - endColumn: 0, |
433 | | - suggestions: null |
434 | | - } |
435 | | -] |
436 | | - |
437 | | -1 !== 0 |
438 | | - |
439 | | - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) |
440 | | - at assertValidTestCasePasses (apps/oxlint/dist/index.js) |
441 | | - at runValidTestCase (apps/oxlint/dist/index.js) |
442 | | - at apps/oxlint/dist/index.js |
443 | | - |
444 | | - |
445 | | -#### unicode-bom > invalid |
446 | | - |
447 | | -```js |
448 | | - var a = 123; |
449 | | -``` |
450 | | - |
451 | | -```json |
452 | | -{ |
453 | | - "output": " var a = 123;", |
454 | | - "errors": [ |
455 | | - { |
456 | | - "messageId": "unexpected", |
457 | | - "line": 1, |
458 | | - "column": 1 |
459 | | - } |
460 | | - ] |
461 | | -} |
462 | | -``` |
463 | | - |
464 | | -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] |
465 | | - |
466 | | -0 !== 1 |
467 | | - |
468 | | - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) |
469 | | - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) |
470 | | - at runInvalidTestCase (apps/oxlint/dist/index.js) |
471 | | - at apps/oxlint/dist/index.js |
472 | | - |
473 | | - |
474 | | -#### unicode-bom > invalid |
475 | | - |
476 | | -```js |
477 | | - var a = 123; |
478 | | -``` |
479 | | - |
480 | | -```json |
481 | | -{ |
482 | | - "output": " var a = 123;", |
483 | | - "options": [ |
484 | | - "never" |
485 | | - ], |
486 | | - "errors": [ |
487 | | - { |
488 | | - "messageId": "unexpected", |
489 | | - "line": 1, |
490 | | - "column": 1 |
491 | | - } |
492 | | - ] |
493 | | -} |
494 | | -``` |
495 | | - |
496 | | -AssertionError [ERR_ASSERTION]: Should have 1 error but had 0: [] |
497 | | - |
498 | | -0 !== 1 |
499 | | - |
500 | | - at assertErrorCountIsCorrect (apps/oxlint/dist/index.js) |
501 | | - at assertInvalidTestCasePasses (apps/oxlint/dist/index.js) |
502 | | - at runInvalidTestCase (apps/oxlint/dist/index.js) |
503 | | - at apps/oxlint/dist/index.js |
504 | | - |
0 commit comments