-
Notifications
You must be signed in to change notification settings - Fork 9.5k
tests: add report/ to tsconfig #12822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -1,6 +1,5 @@ | |||
**/node_modules/** | |||
**/third_party/** | |||
**/generated/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drive-by removal of generated
which was actually cut before going to master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this was hiding eslint errors in lighthouse-core/lib/cdt/generated/SourceMap.js
. Maybe just make this rule specific to that directory?
report/clients/treemap.js
Outdated
@@ -13,6 +13,7 @@ import {I18n} from '../renderer/i18n.js'; | |||
import {Logger} from '../renderer/logger.js'; | |||
import {TextEncoding} from '../renderer/text-encoding.js'; | |||
|
|||
/** @typedef {import('../../lighthouse-treemap/types/treemap')} */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was pleasantly surprised this worked
EDIT: except it works too well.... this pollutes the window
everywhere in lighthouse-core,cli. oops. @brendankenny any ideas, or just ts-expect-error? These files are rather temporary if the report refactor works out...
Forgot to add this folder to the tsconfig during #12690
Tests remain un-(type-)checked.