Back to Oxc

Conformance test results - stylistic

apps/oxlint/conformance/snapshots/stylistic.md

0.1.16.2 KB
Original Source

Conformance test results - stylistic

Summary

Rules

StatusCount%
Total rules129100.0%
Fully passing12899.2%
Partially passing10.8%
Fully failing00.0%
Load errors00.0%
No tests run00.0%

Tests

StatusCount%
Total tests18416100.0%
Passing1830999.4%
Failing10.0%
Skipped1060.6%

Fully Passing Rules

  • array-bracket-newline (210 tests) (1 skipped)
  • array-bracket-spacing (143 tests)
  • array-element-newline (167 tests)
  • arrow-parens (110 tests)
  • arrow-spacing (48 tests)
  • block-spacing (101 tests)
  • brace-style (164 tests)
  • brace-style (16 tests)
  • comma-dangle (333 tests) (2 skipped)
  • comma-dangle (74 tests)
  • comma-spacing (173 tests)
  • comma-spacing (13 tests) (2 skipped)
  • comma-style (140 tests) (10 skipped)
  • computed-property-spacing (126 tests)
  • computed-property-spacing (10 tests)
  • curly-newline (111 tests)
  • dot-location (80 tests)
  • dot-location (4 tests)
  • dot-location (9 tests)
  • eol-last (20 tests) (20 skipped)
  • eol-last (4 tests) (2 skipped)
  • eol-last (35 tests)
  • function-call-argument-newline (64 tests)
  • function-call-spacing (200 tests)
  • function-call-spacing (27 tests) (1 skipped)
  • function-paren-newline (198 tests)
  • generator-star-spacing (203 tests)
  • implicit-arrow-linebreak (62 tests)
  • indent (1096 tests) (1 skipped)
  • indent (413 tests) (17 skipped)
  • indent (159 tests)
  • indent-binary-ops (48 tests) (2 skipped)
  • jsx-child-element-spacing (82 tests)
  • jsx-closing-bracket-location (327 tests)
  • jsx-closing-tag-location (44 tests)
  • jsx-curly-brace-presence (392 tests)
  • jsx-curly-newline (72 tests)
  • jsx-curly-spacing (886 tests)
  • jsx-equals-spacing (72 tests)
  • jsx-first-prop-new-line (88 tests)
  • jsx-function-call-newline (81 tests)
  • jsx-indent (436 tests) (16 skipped)
  • jsx-indent-props (120 tests)
  • jsx-max-props-per-line (119 tests)
  • jsx-newline (84 tests)
  • jsx-one-expression-per-line (342 tests)
  • jsx-pascal-case (128 tests)
  • jsx-quotes (18 tests)
  • jsx-self-closing-comp (141 tests)
  • jsx-sort-props (289 tests)
  • jsx-tag-spacing (217 tests)
  • jsx-wrap-multilines (399 tests)
  • key-spacing (185 tests)
  • key-spacing (97 tests)
  • keyword-spacing (1096 tests)
  • keyword-spacing (81 tests) (1 skipped)
  • line-comment-position (38 tests)
  • linebreak-style (12 tests) (12 skipped)
  • linebreak-style (2 tests) (1 skipped)
  • linebreak-style (14 tests)
  • lines-around-comment (199 tests)
  • lines-around-comment (62 tests)
  • lines-between-class-members (112 tests)
  • lines-between-class-members (13 tests)
  • list-style (9 tests) (9 skipped)
  • list-style (96 tests)
  • max-len (108 tests)
  • max-statements-per-line (99 tests)
  • member-delimiter-style (160 tests)
  • multiline-comment-style (124 tests)
  • multiline-ternary (147 tests)
  • new-parens (42 tests)
  • newline-per-chained-call (37 tests)
  • no-confusing-arrow (30 tests)
  • no-extra-parens (1114 tests)
  • no-extra-parens (109 tests)
  • no-extra-semi (50 tests)
  • no-extra-semi (10 tests)
  • no-floating-decimal (8 tests)
  • no-mixed-operators (40 tests)
  • no-mixed-spaces-and-tabs (61 tests)
  • no-multi-spaces (67 tests)
  • no-multi-spaces (133 tests)
  • no-multiple-empty-lines (46 tests)
  • no-tabs (11 tests)
  • no-trailing-spaces (54 tests)
  • no-whitespace-before-property (192 tests)
  • no-whitespace-before-property (9 tests)
  • nonblock-statement-body-position (48 tests)
  • object-curly-newline (144 tests) (2 skipped)
  • object-curly-newline (335 tests)
  • object-curly-spacing (201 tests)
  • object-curly-spacing (122 tests)
  • object-property-newline (73 tests)
  • object-property-newline (28 tests)
  • one-var-declaration-per-line (38 tests) (2 skipped)
  • operator-linebreak (161 tests)
  • padded-blocks (167 tests)
  • padding-line-between-statements (685 tests)
  • padding-line-between-statements (49 tests)
  • quote-props (142 tests)
  • quote-props (18 tests)
  • quotes (132 tests)
  • quotes (48 tests)
  • rest-spread-spacing (82 tests)
  • semi (309 tests) (1 skipped)
  • semi (42 tests) (2 skipped)
  • semi-spacing (66 tests)
  • semi-spacing (17 tests)
  • semi-style (85 tests)
  • space-before-blocks (161 tests)
  • space-before-blocks (26 tests)
  • space-before-function-paren (87 tests)
  • space-before-function-paren (13 tests)
  • space-in-parens (139 tests)
  • space-infix-ops (74 tests)
  • space-infix-ops (182 tests) (1 skipped)
  • space-unary-ops (116 tests)
  • spaced-comment (102 tests)
  • switch-colon-spacing (46 tests)
  • template-curly-spacing (57 tests)
  • template-tag-spacing (63 tests)
  • type-annotation-spacing (478 tests)
  • type-generic-spacing (33 tests) (1 skipped)
  • type-named-tuple-spacing (16 tests)
  • wrap-iife (128 tests)
  • wrap-regex (8 tests)
  • yield-star-spacing (48 tests)

Rules with Failures

  • jsx-props-no-multi-spaces - 81 / 82 (98.8%)

Rules with Failures Detail

jsx-props-no-multi-spaces

Pass: 81 / 82 (98.8%) Fail: 1 / 82 (1.2%) Skip: 0 / 82 (0.0%)

jsx-props-no-multi-spaces > valid

js
<App<T> foo bar />
// features: [ts,no-babel], parser: @typescript-eslint/parser, , , 
json
{
  "languageOptions": {
    "parserOptions": {
      "ecmaFeatures": {
        "jsx": true,
        "modules": true,
        "legacyDecorators": false
      }
    },
    "parser": {}
  },
  "_parser": {
    "specifier": "@typescript-eslint/parser",
    "lang": "ts"
  }
}

TypeError: Cannot read properties of undefined (reading 'end') at hasEmptyLines (apps/oxlint/conformance/submodules/stylistic/packages/eslint-plugin/rules/jsx-props-no-multi-spaces/jsx-props-no-multi-spaces.ts:63:44) at checkSpacing (apps/oxlint/conformance/submodules/stylistic/packages/eslint-plugin/rules/jsx-props-no-multi-spaces/jsx-props-no-multi-spaces.ts:71:11) at <anonymous> (apps/oxlint/conformance/submodules/stylistic/packages/eslint-plugin/rules/jsx-props-no-multi-spaces/jsx-props-no-multi-spaces.ts:132:11)