To properly apply the license in all files of ecoCode JavaScript, I've updated the headers. Also, in order to avoid complicating development and PR review, two tools have been added and allow headers to be inserted using a single command for each plugin.
Commands to apply the appropriate license header in files:
SonarQube plugin: mvn license:format
ESLint plugin: yarn lint:fix
This PR also adds license verification to the GitHub action.
Changes
[x] Install eslint-plugin-license-header to verify and add license headers in ESLint plugin
[x] Install com.mycila:license-maven-plugin to verify and add license headers in SonarQube plugin
[x] Add license header in all files with source code
Description
To properly apply the license in all files of ecoCode JavaScript, I've updated the headers. Also, in order to avoid complicating development and PR review, two tools have been added and allow headers to be inserted using a single command for each plugin.
Commands to apply the appropriate license header in files:
mvn license:format
yarn lint:fix
This PR also adds license verification to the GitHub action.
Changes
eslint-plugin-license-header
to verify and add license headers in ESLint plugincom.mycila:license-maven-plugin
to verify and add license headers in SonarQube plugin