Skip to content

Commit

Permalink
fix(eslint-plugin): make Enums in the falsy test valid
Browse files Browse the repository at this point in the history
  • Loading branch information
aifreedom committed Apr 26, 2022
1 parent 74b9c2c commit 5484161
Showing 1 changed file with 8 additions and 6 deletions.
Expand Up @@ -63,13 +63,15 @@ enum E {
`,
`
enum E {
A = false,
A = '',
B = 0,
C = -0,
D = 0n,
E = null,
F = undefined,
G = NaN,
}
`,
`
enum E {
A = 0,
B = -0,
C = NaN,
}
`,
],
Expand Down

0 comments on commit 5484161

Please sign in to comment.