Skip to content

Commit

Permalink
fix: recognize bigint as a built-in exception to new-cap
Browse files Browse the repository at this point in the history
  • Loading branch information
mgabeler-lee-6rs committed Oct 31, 2022
1 parent 10f1edd commit 5aa2392
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rules/new-cap.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const CAPS_ALLOWED = [
"Error",
"Function",
"Number",
"BigInt",
"Object",
"RegExp",
"String",
Expand Down

0 comments on commit 5aa2392

Please sign in to comment.