Skip to content

Enable implicit this warnings for shared packs #13173

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

kaspersv
Copy link
Contributor

@kaspersv kaspersv commented May 16, 2023

Enable implicit this warnings for shared QL packs

@kaspersv kaspersv added the no-change-note-required This PR does not need a change note label May 16, 2023
@kaspersv kaspersv marked this pull request as ready for review May 16, 2023 07:11
@kaspersv kaspersv requested a review from aschackmull May 16, 2023 07:11
@@ -1,4 +1,5 @@
name: codeql/ssa
version: 0.0.17-dev
groups: shared
warnOnImplicitThis: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we be a little more consistent with the ordering of the lines in these files? In some of these you add the line before library: true and in some you add it after. And for the language packs, I think you've added these lines after dependencies, so maybe do that as well here (depending on whether the ordering in the language packs are consistent - I haven't checked).

Copy link
Contributor Author

@kaspersv kaspersv May 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ordering in language packs is not consistent, not even within each language. For language packs I added the warnOnImplicitThis option as the last line. I've updated this PR to add the option as the last line as well.

@kaspersv kaspersv force-pushed the kaspersv/enable-implicit-this-warnings-shared-packs branch from ef3369f to bea3779 Compare May 16, 2023 07:19
@kaspersv kaspersv force-pushed the kaspersv/enable-implicit-this-warnings-shared-packs branch from bea3779 to bfb098c Compare May 16, 2023 07:22
@kaspersv kaspersv merged commit 843640c into github:main May 16, 2023
@kaspersv kaspersv deleted the kaspersv/enable-implicit-this-warnings-shared-packs branch June 20, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants