-
Do not allow number literals to be used instead of enums. I could think of three places that this can happen:
* Function arguments
* Binary expressions
* Assignment expressions
```ts
enum Fo…
-
`shallow-equals` currently considers `undefined` properties to be equal to properties which are not present, with the additional restriction that the number of own properties must be equal. This is s…
-
The reason we use mubi (4 bits instead of 1) is so that flipping random bits won't change behavior, and only flipping all 4 does. This is why we use strict/loose comparisons. But there are some CSR wi…
-
### What's Wrong
Per https://github.com/thehubbleproject/hubble-contracts/pull/552#discussion_r616244448 , there are a number of gotcha's such as `describe/it.only`s being committed unknowingly. Ther…
-
### Describe the bug
As the result of removing empty array in holed array, RHS value will not be iterated.
### Input code
```typescript
"use strict";
const k = (() => {
let [,[]] = gen…
-
The comparison operators (``, `=`) for `range` are defined in [4.9.1.1](https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#range-class) as:
```c++
// OP is: +, -, *, /, %, , &, …
-
fails to identify
* `return $a == $b;`
* `$isTrue = $a == $b;`
I can't quite tell what the sniff is doing, but it looks like the condition must be part of a control structure to be caught?
-
Given the nature of a bit vector (specifically, given that there are only 2 states for the bits), `sort` ought to be implementable in O(n) time using a single comparison, while `stable_sort` may be ac…
-
## What problem does this address?
Gutenberg uses number-typed values and strict equality comparisons for `process.env.GUTENBERG_PHASE` and `process.env.COMPONENT_SYSTEM_PHASE`. This is a conventio…
-
There are new APIs proposed in [95228](https://github.com/rust-lang/rust/issues/95228) which may eventually lead to the deprecation of `ptr as usize` casts.
qcell uses these casts in many places, n…