Convert GlobalErrors to an ES6 class

This commit is contained in:
Steve Gravrock
2025-07-11 06:49:09 -07:00
parent adfbd00c75
commit d53d2ff3eb
3 changed files with 359 additions and 275 deletions
+3 -1
View File
@@ -22,7 +22,9 @@ export default defineConfig([{
...globals.node,
},
ecmaVersion: 2018,
// 2022 isn't exactly right, but it's the earliest version that allows
// private properties.
ecmaVersion: 2022,
sourceType: "commonjs",
},