KEMBAR78
Make `"builtinLinters": "all"` mean all linters, but... by lexidor · Pull Request #450 · hhvm/hhast · GitHub
Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Conversation

lexidor
Copy link
Contributor

@lexidor lexidor commented Apr 16, 2022

, but...

I have intentionally not added DataProviderTypesLinter. This was a well intended linter, but it does some things it shouldn't do. Its idea of isSafeAssignment is misguided.

@lexidor lexidor marked this pull request as draft April 16, 2022 13:31
@lexidor lexidor changed the title Add UnreachableCodeLinter to 'default' and 'all' Make "builtinLinters": "all" mean all linters, but... Apr 16, 2022
@lexidor lexidor marked this pull request as ready for review April 16, 2022 14:25
@lexidor
Copy link
Contributor Author

lexidor commented Apr 17, 2022

Got to figure out why hhvm-nightly takes 6 hours and gets killed by github.

@Atry Atry closed this Apr 21, 2022
@Atry Atry reopened this Apr 21, 2022
@Atry
Copy link
Contributor

Atry commented Apr 21, 2022

Close and reopen this PR to trigger the CI

@lexidor
Copy link
Contributor Author

lexidor commented Apr 21, 2022

Merge conflict requires running codegen again to fix the file hash in token-from-data.hack. I will have to do that some other day.

lexidor added 5 commits April 30, 2022 22:51
In hhast `'all'` doesn't really mean `all`. Let's fix that.
FinalOrAbstractClass and DataProviderTypesLinter are missing.
I will add FinalOrAbstractClass in the next commit.
@lexidor
Copy link
Contributor Author

lexidor commented May 2, 2022

Running CI

@lexidor lexidor closed this May 2, 2022
@lexidor lexidor reopened this May 2, 2022
@Atry
Copy link
Contributor

Atry commented May 3, 2022

Looks good to me

@Atry Atry merged commit ffd2e6e into hhvm:main May 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants