You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,6 +171,7 @@ Read more at the
171
171
|[prefer-inline-equality](./src/rules/prefer-inline-equality.ts)| Prefer inline equality checks over temporary object creation for simple comparisons | ✖️ | ✅ | 🔶 |
172
172
|[prefer-string-fromcharcode](./src/rules/prefer-string-fromcharcode.ts)| Prefer `String.fromCharCode()` over `String.fromCodePoint()` for code points below `0x10000`| ✅ | ✅ | ✖️ |
173
173
|[prefer-includes-over-regex-test](./src/rules/prefer-includes-over-regex-test.ts)| Prefer `s.includes()` / `startsWith` / `endsWith` over `/literal/.test(s)` when the regex has no metacharacters or flags | ✖️ | ✅ | ✖️ |
174
+
|[prefer-charcode-at-in-loop](./src/rules/prefer-charcode-at-in-loop.ts)| Prefer `charCodeAt()` over indexed string access for single-character comparisons inside loops | ✖️ | 💡 | 🔶 |
174
175
|[no-delete-property](./src/rules/no-delete-property.ts)| Disallow `delete` on properties — V8 deoptimizes the object to dictionary mode | ✖️ | 💡 | ✖️ |
175
176
|[prefer-flatmap-over-map-flat](./src/rules/prefer-flatmap-over-map-flat.ts)| Prefer `Array.prototype.flatMap()` over `.map(fn).flat()` to skip the intermediate array | ✖️ | ✅ | ✖️ |
176
177
|[prefer-slice-over-split-index](./src/rules/prefer-slice-over-split-index.ts)| Prefer `indexOf()` and `slice()` over `split()[0]`/`split()[1]` when only one piece is needed | ✖️ | ✖️ | ✖️ |
0 commit comments