Merge pull request #147 from MMM-CalendarExt2/superlint #381
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Super-Linter | |
| # Run this workflow every time a new commit pushed to your repository | |
| on: push | |
| jobs: | |
| # Set the job key. The key is displayed as the job name | |
| # when a job name is not provided | |
| super-lint: | |
| # Name the Job | |
| name: Lint Code Base | |
| # Set the type of machine to run on | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checks out a copy of your repository on the ubuntu-latest machine | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: install modules | |
| run: | | |
| npm ci | |
| # Runs the Super-Linter action | |
| - name: Run Super-Linter | |
| uses: github/super-linter/slim@v4 | |
| env: | |
| DEFAULT_BRANCH: main | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.js | |
| YAML_CONFIG_FILE: .yamllint.yaml | |
| # the standard config conflicts heavily with the upstream config.js | |
| # hence I opted to disable it | |
| VALIDATE_JAVASCRIPT_STANDARD: false | |
| # the klaernie example k8s deployment has duplicated segments on purpose (same filter for two seperate calendars, in two config instances). | |
| # JSCPD detects these, but they are unavoidable | |
| VALIDATE_JSCPD: false |