SAP / fosstars-rating-core

A framework for defining ratings for open source projects. In particular, the framework offers a security rating for open source projects that may be used to assess the security risk that comes with open source components.

Home Page:https://sap.github.io/fosstars-rating-core/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PoC: Presence of ESLint in JS projects

sourabhsparkala opened this issue · comments

ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code, with the goal of making code more consistent and avoiding bugs.

DoD:

  • Identify if a new feature can be extracted from here.
  • Also addition to the score.

the .eslintrc file might be available as .js, .yml or .json file...

level one would be checking if such an .eslintrc file is present.
level two would be checking if it is actually used - e.g. via husky --> pre-commit hooks / or via a github action calling - e.g. npx eslint src/example-server.js