Enable eslint for util.ts (#3887)

* Enable eslint for util.ts

* Drop babel (since eslint parser was replaced by typescript-parser and it doesn't seem to be used anywhere)

* Apply "plugin:@typescript-eslint/recommended"

* Minor

* Remove comment for generated file (Keep the first comment only)
This commit is contained in:
Louis Lam
2023-10-13 22:42:45 +08:00
committed by GitHub
parent aa676150eb
commit 7212d884ef
8 changed files with 386 additions and 1664 deletions

View File

@@ -8,7 +8,8 @@
"es2020",
"DOM"
],
"removeComments": false,
"declaration": false,
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": false,
"strict": true