Questions tagged [super-linter]

13 questions
2
votes
0 answers

Github Super linter - Typescript Standard linting broken

I upgraded Super Linter from version 4.9.0 to version 5.0.0. Since then the TS Standard Linting fails. On each file it processes it prints the following error message: ------ ts-standard: Standard for TypeScript!…
Gunar Maiwald
  • 141
  • 1
  • 4
2
votes
1 answer

How to check for Super-Linter errors before pushing to the remote branch?

When I push code for a new feature, Super-Linter checks the entire code. If there are any violations, I need to check the GitHub PR page, which can be quite annoying. I want to be able to know about these violations before pushing to the remote…
2
votes
0 answers

Super-Linter: Pass python modules as arguments to Pylint in Azure DevOps

I am trying to add a python linting step to an Azure DevOps pipeline using Super-Linter. I followed the instruction here to add the following step in my pipeline: jobs: - job: PythonLint displayName: Python Lint pool: vmImage: ubuntu-latest …
Connell.O'Donnell
  • 3,603
  • 11
  • 27
  • 61
1
vote
2 answers

Super Linter Exclude not working on MD files on github actions workflow

I am trying to exclude .md files from my super linter because it gets caught every time but can't seem to figure it out can someone help? jobs: super-linter: name: Lint code and merge runs-on: ubuntu-latest steps: - name:…
1
vote
1 answer

Running Stylelint (SCSS) within github/super-linter ignores configuration

hope someone can help me out with a weird bug/issue i've been having with styleling + github/super-linter. I've also added a issue to the repo as I think I've tried many things and it seems to be a bug but perhaps it's a configuration issue on my…
0
votes
0 answers

Github Super Linter - C# Linter is not doing any style checks

I have set up Github super linter to lint C# files in my project. I added the rules in a .editorconfig file. But when I run the linter, I only get a bunch of whitespace errors and none of the styling or other errors. For e.g., I added a rule for…
bitsandgates
  • 315
  • 1
  • 3
  • 7
0
votes
1 answer

Github Super linter - How to customize the rules for C# linter?

I am trying to integrate GitHub super linter as an Action. Their documentation provided environment variables for other languages if we want to provide a custom rule file. For C#, that provision is not there. How can I add custom rules for super…
bitsandgates
  • 315
  • 1
  • 3
  • 7
0
votes
0 answers

How to configure super-linter to not lint MD files on github actions

Doing a github actions workflow right now but can't seem to figure out how to exclude specific files from being linted. Any help would be appreciated thank you!
0
votes
0 answers

JSCPD code duplication linter giving a false positive in next.js project

I recently found out about GitHub actions superlinter which uses JSCPD to check for code duplication. It worked initially but I'm running into one specific false positive and I can't figure it out. JSCPD also has a package on npm and I tested it…
Nugget
  • 81
  • 1
  • 6
  • 23
0
votes
1 answer

Lint only the pushed commit file on azure pipeline

I am trying to lint only the pushed files but the following yaml file only validates the whole codebase not the pushed file. trigger: - development-test pool: vmImage: ubuntu-latest stages: - stage: PreDeployment jobs: - job:…
0
votes
1 answer

How to conditionally add "checked" using a django template tag without causing htmlhint to throw an error?

I have 8 lines in my template where I have checkbox inputs. I save their checked state in a cookie and use a template tag to insert checked if it should be checked when the page initially loads. The code works just fine. It looks like…
hepcat72
  • 890
  • 4
  • 22
0
votes
1 answer

Super linter : Terrascan s3 bucket issue

I am facing the issue while adding super linter in the git actions for my terraform files. The terrascan present in the super linter is giving the following error results: violations: rule_name: s3EnforceUserACL …
0
votes
1 answer

Linter shows error SC1036 for correct powershell script

In my Github project I have this snippet in my powershell script: param ( [string]$f, [string]$l ) The Super-linter shows me this error: SC1036: '(' is invalid here. Did you forget to escape it? but the code itself works. I also tried a…
Joergi
  • 1,527
  • 3
  • 39
  • 82