File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/eslint-plugin/docs/rules Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ if (!(someNullCondition ?? true)) {
124124
125125| Comparison | Fixer Output | Notes |
126126| :----------------------------: | ------------------------------- | ----------------------------------------------------------------------------------- |
127- | ` booleanVar === true ` | ` booleanLiteral ` | |
128- | ` booleanVar !== true ` | ` !booleanLiteral ` | |
129- | ` booleanVar === false ` | ` !booleanLiteral ` | |
130- | ` booleanVar !== false ` | ` booleanLiteral ` | |
127+ | ` booleanVar === true ` | ` booleanVar ` | |
128+ | ` booleanVar !== true ` | ` !booleanVar ` | |
129+ | ` booleanVar === false ` | ` !booleanVar ` | |
130+ | ` booleanVar !== false ` | ` booleanVar ` | |
131131| ` nullableBooleanVar === true ` | ` nullableBooleanVar ` | Only checked/fixed if the ` allowComparingNullableBooleansToTrue ` option is ` false ` |
132132| ` nullableBooleanVar !== true ` | ` !nullableBooleanVar ` | Only checked/fixed if the ` allowComparingNullableBooleansToTrue ` option is ` false ` |
133133| ` nullableBooleanVar === false ` | ` nullableBooleanVar ?? true ` | Only checked/fixed if the ` allowComparingNullableBooleansToFalse ` option is ` false ` |
You can’t perform that action at this time.
0 commit comments