Skip to content
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

Cleanup excessive linter checks #2609

Merged
merged 24 commits into from May 5, 2021
Merged

Cleanup excessive linter checks #2609

merged 24 commits into from May 5, 2021

Conversation

M-Davies
Copy link
Contributor

Commiters have identified that the super linter checks are excessively strict, so this pr attempts to summarise and eliminate checks that appear non-blocking to the Adoptium community

Fixes: #2581
Signed-off-by: Morgan Davies morgandavies2020@gmail.com

Commiters have identified that the super linter checks are excessively strict, so this pr attempts to summarise and eliminate checks that appear non-blocking to the Adoptium community

Signed-off-by: Morgan Davies <morgandavies2020@gmail.com>
@M-Davies M-Davies added bug Issues that are problems in the code as reported by the community testing Issues that enhance or fix our test suites labels Apr 30, 2021
@M-Davies M-Davies added this to the April 2021 milestone Apr 30, 2021
@M-Davies M-Davies self-assigned this Apr 30, 2021
@M-Davies M-Davies added this to In Progress in temurin-build via automation Apr 30, 2021
* They're mostly to do with how the build template is lain out which doesn't matter as values get replaced when it is executed

Signed-off-by: Morgan Davies <morgandavies2020@gmail.com>
A lot of these are simple changes but the rules that were flagged are valid issues  imo (the only one not being so is MD029 which is handled automatically by github so there is no need to enforce it)

Signed-off-by: Morgan Davies <morgandavies2020@gmail.com>
This file is modified by build.sh so it shouldn't really be linted

Signed-off-by: Morgan Davies <morgandavies2020@gmail.com>
* This allows us to exclude and configure linter rules
* This is warning us about code clones in the test files which are not actually clones as they implement different parameters

Signed-off-by: Morgan Davies <morgandavies2020@gmail.com>
* Common standards are to include a comment on why they have been disabled

Signed-off-by: Morgan Davies <morgandavies2020@gmail.com>
* Spawned an issue to address seperatly
@M-Davies M-Davies marked this pull request as ready for review May 4, 2021 15:27
* Hasn't been touched in 3 years
* Generating lots of errors
Copy link
Contributor

@karianna karianna left a comment

Choose a reason for hiding this comment

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

LGTM - we can look at enabling more linting as time goes by.

Copy link
Contributor

@andrew-m-leonard andrew-m-leonard left a comment

Choose a reason for hiding this comment

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

good

temurin-build automation moved this from In Progress to Review/QA May 5, 2021
@M-Davies
Copy link
Contributor Author

M-Davies commented May 5, 2021

@karianna Can you merge?

Copy link
Contributor

@smlambert smlambert left a comment

Choose a reason for hiding this comment

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

thanks @M-Davies !

@smlambert smlambert merged commit 0d358c4 into adoptium:master May 5, 2021
temurin-build automation moved this from Review/QA to Done May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that are problems in the code as reported by the community testing Issues that enhance or fix our test suites
Projects
No open projects
temurin-build
  
Done
Development

Successfully merging this pull request may close these issues.

Revisit and relax some of the linter checks that seem excessively strict
4 participants