Skip to content

Conversation

@connorjclark
Copy link
Collaborator

@connorjclark connorjclark commented Jul 22, 2021

Forgot to add this folder to the tsconfig during #12690

Tests remain un-(type-)checked.

@connorjclark connorjclark requested a review from a team as a code owner July 22, 2021 23:15
@connorjclark connorjclark requested review from adamraine and removed request for a team July 22, 2021 23:15
@google-cla google-cla bot added the cla: yes label Jul 22, 2021
@@ -1,6 +1,5 @@
**/node_modules/**
**/third_party/**
**/generated/**
Copy link
Collaborator Author

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

Copy link
Contributor

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?

import {Logger} from '../renderer/logger.js';
import {TextEncoding} from '../renderer/text-encoding.js';

/** @typedef {import('../../lighthouse-treemap/types/treemap')} */
Copy link
Collaborator Author

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants