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

Add license headers #25

Merged
merged 5 commits into from
Sep 17, 2023
Merged

Add license headers #25

merged 5 commits into from
Sep 17, 2023

Conversation

utarwyn
Copy link
Member

@utarwyn utarwyn commented Aug 8, 2023

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:

  • SonarQube plugin: mvn license:format
  • ESLint plugin: yarn lint:fix

This PR also adds license verification to the GitHub action.

Changes

  • Install eslint-plugin-license-header to verify and add license headers in ESLint plugin
  • Install com.mycila:license-maven-plugin to verify and add license headers in SonarQube plugin
  • Add license header in all files with source code

@utarwyn utarwyn added the 🚀 enhancement New feature or request label Aug 8, 2023
@utarwyn utarwyn self-assigned this Aug 8, 2023
@utarwyn utarwyn force-pushed the add-license-headers branch from 9b938c0 to 895beab Compare August 8, 2023 18:27
@utarwyn utarwyn marked this pull request as ready for review August 8, 2023 18:32
@utarwyn utarwyn force-pushed the add-license-headers branch from b69f37a to 604008b Compare September 10, 2023 21:07
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants