You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Cleanup excessive linter checks
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 <[email protected]>
* Disable rules for build template
* 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 <[email protected]>
* Cleanup of markdown files
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 <[email protected]>
* Disable shellcheck on build template
This file is modified by build.sh so it shouldn't really be linted
Signed-off-by: Morgan Davies <[email protected]>
* Linter regex exclude pointing to wrong location
* Add lang tag to Azure Readme
* Add initial checkstyle java linter config
* This allows us to exclude and configure linter rules
* Add jscpd config
* 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 <[email protected]>
* Disable the more strict java rules
* Common standards are to include a comment on why they have been disabled
Signed-off-by: Morgan Davies <[email protected]>
* Commenting the rules out didn't work, try disabling them using the xml class
* Java config file should have underscore
* Expand jscpd to cover backward paths too
* Use a suppression config file
* Missing doctype declaration and correct format
* Add filepaths
* Move suppression filter out of treewalker
* Cleanup reamaining shell errors
* Ignore tab warnings
* Tabs and spaces generally do the same thing
Signed-off-by: Morgan Davies <[email protected]>
* Fix CudaEnabled & FeatureTest lint issues
* Fix JdkPlatform & StreamUtils lint jobs
* Missing periods and final keyword
* Disable perl linting for now
* Spawned an issue to address seperatly
* Revert enable of VALIDATE_ALL_CODEBASE
* Delete java-tool
* Hasn't been touched in 3 years
* Generating lots of errors
<suppressfiles="."checks="MagicNumber" /> <!-- Disabled because magic numbers are not generally abused and are more useful being allowed -->
10
+
<suppressfiles="."checks="TodoComment" /> <!-- We shouldn't have to be reminded about todo's on every linter iteration, we have IDE"s that do that! -->
11
+
<suppressfiles="."checks="JavadocVariable" /> <!-- Disabled as we don't need comments on every single new variable -->
12
+
<suppressfiles="."checks="FileLength" /> <!-- These two are disabled as we don't care if line or file size is too big -->
13
+
<suppressfiles="."checks="LineLength" />
14
+
<suppressfiles="."checks="Header" /> <!-- Disabled as we don't use headers in our project for the test files -->
15
+
<suppressfiles="."checks="FileTabCharacter" /> <!-- Disabled as it generally doesn't matter if tabs are disabled or not -->
# TODO: Disable the perl linter as there are lots of errors that are not really understood, see https://github.com/adoptium/temurin-build/issues/2612
0 commit comments