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

OpenSSF Best Practices Badges - Enforce coding style(s) #48

Open
FredFousPro opened this issue Jul 8, 2022 · 1 comment
Open

OpenSSF Best Practices Badges - Enforce coding style(s) #48

FredFousPro opened this issue Jul 8, 2022 · 1 comment

Comments

@FredFousPro
Copy link
Member

FredFousPro commented Jul 8, 2022

In order to fully validate the silver level of OpenSSF Best Practices Badges for our project, we have to investigate on the requirement above and see how to meet it.

Here is the requirement to meet:
The project MUST automatically enforce its selected coding style(s) if there is at least one FLOSS tool that can do so in the selected language(s). [coding_standards_enforced]
This MAY be implemented using static analysis tool(s) and/or by forcing the code through code reformatters. In many cases the tool configuration is included in the project's repository (since different projects may choose different configurations). Projects MAY allow style exceptions (and typically will); where exceptions occur, they MUST be rare and documented in the code at their locations, so that these exceptions can be reviewed and so that tools can automatically handle them in the future. Examples of such tools include ESLint (JavaScript), Rubocop (Ruby), and devtools check (R).

Here is the questionnaire :
https://bestpractices.coreinfrastructure.org/en/projects/5925?criteria_level=1

@Sander3003
Copy link
Member

Sander3003 commented Apr 17, 2023

Todo:

Background:
ESlint is already in place for the front-end.
Sonarcloud already checks the code style with best practices

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

No branches or pull requests

2 participants