|
| 1 | +--- |
| 2 | +source: crates/oxc_linter/src/tester.rs |
| 3 | +--- |
| 4 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 5 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 6 | + 1 │ x!; |
| 7 | + · ── |
| 8 | + ╰──── |
| 9 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 10 | + |
| 11 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 12 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 13 | + 1 │ x!.y; |
| 14 | + · ── |
| 15 | + ╰──── |
| 16 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 17 | + |
| 18 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 19 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 20 | + 1 │ x.y!; |
| 21 | + · ──── |
| 22 | + ╰──── |
| 23 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 24 | + |
| 25 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 26 | + ╭─[no_non_null_assertion.tsx:1:2] |
| 27 | + 1 │ !x!.y; |
| 28 | + · ── |
| 29 | + ╰──── |
| 30 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 31 | + |
| 32 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 33 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 34 | + 1 │ x!.y?.z; |
| 35 | + · ── |
| 36 | + ╰──── |
| 37 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 38 | + |
| 39 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 40 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 41 | + 1 │ x![y]; |
| 42 | + · ── |
| 43 | + ╰──── |
| 44 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 45 | + |
| 46 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 47 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 48 | + 1 │ x![y]?.z; |
| 49 | + · ── |
| 50 | + ╰──── |
| 51 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 52 | + |
| 53 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 54 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 55 | + 1 │ x.y.z!(); |
| 56 | + · ────── |
| 57 | + ╰──── |
| 58 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 59 | + |
| 60 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 61 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 62 | + 1 │ x.y?.z!(); |
| 63 | + · ─────── |
| 64 | + ╰──── |
| 65 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 66 | + |
| 67 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 68 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 69 | + 1 │ x!!!; |
| 70 | + · ──── |
| 71 | + ╰──── |
| 72 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 73 | + |
| 74 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 75 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 76 | + 1 │ x!!!; |
| 77 | + · ─── |
| 78 | + ╰──── |
| 79 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 80 | + |
| 81 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 82 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 83 | + 1 │ x!!!; |
| 84 | + · ── |
| 85 | + ╰──── |
| 86 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 87 | + |
| 88 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 89 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 90 | + 1 │ x!!.y; |
| 91 | + · ─── |
| 92 | + ╰──── |
| 93 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 94 | + |
| 95 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 96 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 97 | + 1 │ x!!.y; |
| 98 | + · ── |
| 99 | + ╰──── |
| 100 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 101 | + |
| 102 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 103 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 104 | + 1 │ x.y!!; |
| 105 | + · ───── |
| 106 | + ╰──── |
| 107 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 108 | + |
| 109 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 110 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 111 | + 1 │ x.y!!; |
| 112 | + · ──── |
| 113 | + ╰──── |
| 114 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 115 | + |
| 116 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 117 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 118 | + 1 │ x.y.z!!(); |
| 119 | + · ─────── |
| 120 | + ╰──── |
| 121 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 122 | + |
| 123 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 124 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 125 | + 1 │ x.y.z!!(); |
| 126 | + · ────── |
| 127 | + ╰──── |
| 128 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 129 | + |
| 130 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 131 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 132 | + 1 │ x!?.[y].z; |
| 133 | + · ── |
| 134 | + ╰──── |
| 135 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 136 | + |
| 137 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 138 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 139 | + 1 │ x!?.y.z; |
| 140 | + · ── |
| 141 | + ╰──── |
| 142 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 143 | + |
| 144 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 145 | + ╭─[no_non_null_assertion.tsx:1:1] |
| 146 | + 1 │ x.y.z!?.(); |
| 147 | + · ────── |
| 148 | + ╰──── |
| 149 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 150 | + |
| 151 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 152 | + ╭─[no_non_null_assertion.tsx:2:10] |
| 153 | + 1 │ |
| 154 | + 2 │ x! |
| 155 | + · ── |
| 156 | + 3 │ .y |
| 157 | + ╰──── |
| 158 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 159 | + |
| 160 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 161 | + ╭─[no_non_null_assertion.tsx:2:10] |
| 162 | + 1 │ |
| 163 | + 2 │ x! |
| 164 | + · ── |
| 165 | + 3 │ // comment |
| 166 | + ╰──── |
| 167 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 168 | + |
| 169 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 170 | + ╭─[no_non_null_assertion.tsx:2:10] |
| 171 | + 1 │ |
| 172 | + 2 │ x! |
| 173 | + · ── |
| 174 | + 3 │ // comment |
| 175 | + ╰──── |
| 176 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
| 177 | + |
| 178 | + ⚠ typescript-eslint(no-non-null-assertion): Forbidden non-null assertion. |
| 179 | + ╭─[no_non_null_assertion.tsx:2:10] |
| 180 | + 1 │ |
| 181 | + 2 │ x! |
| 182 | + · ── |
| 183 | + 3 │ // comment |
| 184 | + ╰──── |
| 185 | + help: Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator. |
0 commit comments