Commit graph

4672 commits

Author SHA1 Message Date
David McCabe
16320c9f15
Add linting for .tsx files 2024-09-07 09:02:58 -04:00
Marco Ferrari
e0d8b4fb2f
feat: implement a linter to check git conflicts (#6113)
Implement a linter to check if files contain Git conflict
markers or whitespace errors.
2024-09-05 08:02:36 +02:00
Marco Ferrari
94920ffcc7
feat: optionally remove color codes from output (#6095)
If REMOVE_ANSI_COLOR_CODES_FROM_OUTPUT is set to true, remove ANSI color
codes from linters stdout and stderr files, and from the Super-linter
log file.

Close #5540
2024-08-31 19:50:00 +02:00
Marco Ferrari
05d4d4e128
feat: allow passing custom options to rust clippy (#6094)
Define the RUST_CLIPPY_COMMAND_OPTIONS variable to allow passing
arbitrary options to the command that runs RUST_CLIPPY.

Fix the ARM test case that just failed because of its apiVersion just
expired.

Close #4001
2024-08-31 14:51:28 +02:00
Marco Ferrari
dd33b476f8
chore: configure terraform formatting (#6092)
in the devcontainer.
2024-08-30 19:33:46 +02:00
Marco Ferrari
ad0ff68c52
fix: correctly load custom linter commands (#6085)
Linters affected:

- actionlint
- Kubeconform
- Perlcritic

Also:

- Update package-lock.json to update some vulnerable dependencies.
- Mount dependency files to where the dependency manager expects them so
  it's easier to update vulnerable dependencies.

Fix #6084
2024-08-30 12:03:08 +02:00
github-actions[bot]
b92721f792
chore(main): release 7.1.0 (#6040)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-28 07:32:57 +00:00
Nito Buendia
5b13acee46
feat: add pyink as a Python formatter (#6083) 2024-08-27 15:00:51 +00:00
dependabot[bot]
202d47fa8c
deps(npm): bump renovate from 38.27.0 to 38.55.1 in /dependencies (#6082)
Bumps [renovate](https://github.com/renovatebot/renovate) from 38.27.0 to 38.55.1.
- [Release notes](https://github.com/renovatebot/renovate/releases)
- [Changelog](https://github.com/renovatebot/renovate/blob/main/.releaserc.json)
- [Commits](https://github.com/renovatebot/renovate/compare/38.27.0...38.55.1)

---
updated-dependencies:
- dependency-name: renovate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 12:12:27 +00:00
dependabot[bot]
1b48fe5551
deps(docker): bump alpine/helm from 3.15.3 to 3.15.4 (#6053)
Bumps alpine/helm from 3.15.3 to 3.15.4.

---
updated-dependencies:
- dependency-name: alpine/helm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 19:58:20 +00:00
dependabot[bot]
1974944ac3
deps(docker): bump tenable/terrascan from 1.18.11 to 1.19.2 (#6054)
Bumps tenable/terrascan from 1.18.11 to 1.19.2.

---
updated-dependencies:
- dependency-name: tenable/terrascan
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 19:58:03 +00:00
dependabot[bot]
4d4214ccf7
deps(docker): bump dotnet/sdk (#6055)
Bumps dotnet/sdk from 8.0.303-alpine3.20 to 8.0.401-alpine3.20.

---
updated-dependencies:
- dependency-name: dotnet/sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 19:58:03 +00:00
dependabot[bot]
544c685659
deps(docker): bump golangci/golangci-lint from v1.60.1 to v1.60.3 (#6078)
Bumps golangci/golangci-lint from v1.60.1 to v1.60.3.

---
updated-dependencies:
- dependency-name: golangci/golangci-lint
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 19:17:32 +00:00
dependabot[bot]
74111d2761
deps(npm): bump @react-native/eslint-config in /dependencies (#6070)
Bumps [@react-native/eslint-config](https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native) from 0.74.87 to 0.75.2.
- [Release notes](https://github.com/facebook/react-native/releases)
- [Changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react-native/commits/v0.75.2/packages/eslint-config-react-native)

---
updated-dependencies:
- dependency-name: "@react-native/eslint-config"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:37:54 +00:00
dependabot[bot]
57e9914dda
deps(python): bump snakemake in /dependencies/python (#6067)
Bumps [snakemake](https://github.com/snakemake/snakemake) from 8.16.0 to 8.18.2.
- [Release notes](https://github.com/snakemake/snakemake/releases)
- [Changelog](https://github.com/snakemake/snakemake/blob/main/CHANGELOG.md)
- [Commits](https://github.com/snakemake/snakemake/compare/v8.16.0...v8.18.2)

---
updated-dependencies:
- dependency-name: snakemake
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:37:29 +00:00
dependabot[bot]
e5d15d0ac6
deps(python): bump ruff from 0.5.7 to 0.6.2 in /dependencies/python (#6066)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.7 to 0.6.2.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.7...0.6.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:37:09 +00:00
dependabot[bot]
acd4264922
deps(npm): bump react-router-dom from 6.26.0 to 6.26.1 in /dependencies (#6045)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.26.0 to 6.26.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.26.1/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:35:56 +00:00
dependabot[bot]
012548dfe5
deps(npm): bump textlint from 14.0.5 to 14.2.0 in /dependencies (#6047)
Bumps [textlint](https://github.com/textlint/textlint) from 14.0.5 to 14.2.0.
- [Release notes](https://github.com/textlint/textlint/releases)
- [Commits](https://github.com/textlint/textlint/compare/v14.0.5...v14.2.0)

---
updated-dependencies:
- dependency-name: textlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:35:33 +00:00
dependabot[bot]
a03c956aef
deps(python): bump cfn-lint from 1.9.7 to 1.10.3 in /dependencies/python (#6048)
Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.9.7 to 1.10.3.
- [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases)
- [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-cloudformation/cfn-lint/compare/v1.9.7...v1.10.3)

---
updated-dependencies:
- dependency-name: cfn-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:35:08 +00:00
dependabot[bot]
1a05fcab77
deps(docker): bump terraform-linters/tflint from v0.52.0 to v0.53.0 (#6056)
Bumps [terraform-linters/tflint](https://github.com/terraform-linters/tflint) from v0.52.0 to v0.53.0.
- [Release notes](https://github.com/terraform-linters/tflint/releases)
- [Changelog](https://github.com/terraform-linters/tflint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terraform-linters/tflint/compare/v0.52.0...v0.53.0)

---
updated-dependencies:
- dependency-name: terraform-linters/tflint
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:32:58 +00:00
dependabot[bot]
8442590ec5
deps(python): bump mypy from 1.11.1 to 1.11.2 in /dependencies/python (#6064)
Bumps [mypy](https://github.com/python/mypy) from 1.11.1 to 1.11.2.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.11.1...v1.11.2)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:32:36 +00:00
dependabot[bot]
d9ac3cbdfb
deps(python): bump sqlfluff from 3.1.0 to 3.1.1 in /dependencies/python (#6065)
Bumps [sqlfluff](https://github.com/sqlfluff/sqlfluff) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/sqlfluff/sqlfluff/releases)
- [Changelog](https://github.com/sqlfluff/sqlfluff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sqlfluff/sqlfluff/compare/3.1.0...3.1.1)

---
updated-dependencies:
- dependency-name: sqlfluff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:32:21 +00:00
dependabot[bot]
cf58fd2773
deps(python): bump checkov in /dependencies/python (#6068)
Bumps [checkov](https://github.com/bridgecrewio/checkov) from 3.2.220 to 3.2.236.
- [Release notes](https://github.com/bridgecrewio/checkov/releases)
- [Changelog](https://github.com/bridgecrewio/checkov/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bridgecrewio/checkov/compare/3.2.220...3.2.236)

---
updated-dependencies:
- dependency-name: checkov
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:31:35 +00:00
dependabot[bot]
b9ae2888b7
deps(java): bump com.puppycrawl.tools:checkstyle (#6069)
Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.17.0 to 10.18.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.17.0...checkstyle-10.18.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:31:08 +00:00
dependabot[bot]
1cd74eb0b1
deps(npm): bump next from 14.2.5 to 14.2.6 in /dependencies (#6072)
Bumps [next](https://github.com/vercel/next.js) from 14.2.5 to 14.2.6.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.5...v14.2.6)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:30:34 +00:00
dependabot[bot]
149cc2099c
deps(npm): bump asl-validator from 3.8.2 to 3.8.3 in /dependencies (#6073)
Bumps [asl-validator](https://github.com/ChristopheBougere/asl-validator) from 3.8.2 to 3.8.3.
- [Release notes](https://github.com/ChristopheBougere/asl-validator/releases)
- [Commits](https://github.com/ChristopheBougere/asl-validator/compare/3.8.2...3.8.3)

---
updated-dependencies:
- dependency-name: asl-validator
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:30:19 +00:00
dependabot[bot]
ae7abe15e2
ci(dev-docker): bump node in /dev-dependencies (#6074)
Bumps node from 22.6.0-bookworm to 22.7.0-bookworm.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:29:56 +00:00
dependabot[bot]
e54ad635a6
deps(bundler): bump rubocop-rails from 2.25.1 to 2.26.0 in /dependencies (#6075)
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.25.1 to 2.26.0.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.25.1...v2.26.0)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:29:39 +00:00
dependabot[bot]
1d0a32ee91
deps(docker): bump alpine/terragrunt from 1.9.4 to 1.9.5 (#6076)
Bumps alpine/terragrunt from 1.9.4 to 1.9.5.

---
updated-dependencies:
- dependency-name: alpine/terragrunt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:28:58 +00:00
dependabot[bot]
accbadac09
deps(docker): bump dart from 3.5.0-sdk to 3.5.1-sdk (#6077)
Bumps dart from 3.5.0-sdk to 3.5.1-sdk.

---
updated-dependencies:
- dependency-name: dart
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:28:40 +00:00
dependabot[bot]
f788b4d833
deps(docker): bump hashicorp/terraform from 1.9.4 to 1.9.5 (#6079)
Bumps hashicorp/terraform from 1.9.4 to 1.9.5.

---
updated-dependencies:
- dependency-name: hashicorp/terraform
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:25:26 +00:00
dependabot[bot]
29a297388c
deps(docker): bump goreleaser/goreleaser from v2.1.0 to v2.2.0 (#6031)
Bumps goreleaser/goreleaser from v2.1.0 to v2.2.0.

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:23:06 +00:00
Marco Ferrari
6b2ef057ca
chore: new ignore example and set word wrap (#6080)
- Add a new example about ignoring more than one file.
- Disable word wrap in the editor configured by the devcontainer.
2024-08-26 18:19:43 +02:00
Marco Ferrari
11d4aac68c
chore: format super-linter summaries (#6063)
Run Prettier to format the Super-linter summary file to produce
summaries with consistent formatting.
2024-08-25 19:43:33 +02:00
Marco Ferrari
a5c0cf27db
docs: add an example about fix mode on gh actions (#6060) 2024-08-25 14:47:45 +02:00
Marco Ferrari
75aedaafeb
chore: update micromatch dependency (#6061)
To resolve a security vulnerability.
2024-08-25 13:50:41 +02:00
dependabot[bot]
74e31d7807
deps(docker): bump mvdan/shfmt from v3.8.0 to v3.9.0 (#6052)
Bumps mvdan/shfmt from v3.8.0 to v3.9.0.

---
updated-dependencies:
- dependency-name: mvdan/shfmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-24 10:20:03 +00:00
dependabot[bot]
0ddf7d39d9
deps(docker): bump golang from 1.22.6-alpine to 1.23.0-alpine (#6035)
Bumps golang from 1.22.6-alpine to 1.23.0-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-24 10:17:55 +00:00
Marco Ferrari
d311e54fda
docs: add details about how jscpd, checkov ignore (#6059)
Close #6014
2024-08-24 09:48:28 +02:00
dependabot[bot]
7e1832349f
deps(docker): bump golangci/golangci-lint from v1.59.1 to v1.60.1 (#6030)
Bumps golangci/golangci-lint from v1.59.1 to v1.60.1.

---
updated-dependencies:
- dependency-name: golangci/golangci-lint
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-23 16:42:16 +00:00
Marco Ferrari
0aa20740a5
chore: configure prettier in the devcontainer (#6042) 2024-08-17 14:19:02 +02:00
Marco Ferrari
9f193cc3c0
feat: format JSONC and JSON5 with prettier (#6041) 2024-08-16 17:15:05 +02:00
Marco Ferrari
8ceae0f304
feat: lint and format dotnet solutions (#6039)
Close #736
2024-08-16 16:23:52 +02:00
Marco Ferrari
39052094ff
docs: update supported linters table (#6038) 2024-08-16 10:28:38 +02:00
github-actions[bot]
02a1172d27
chore(main): release 7.0.0 (#6026)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-15 10:58:55 +00:00
Marco Ferrari
1d12a31fce
feat: prettier for additional languages (#6025)
- CSS, Sass, SCSS
- HTML
- JSON
- JSX
- GraphQL
- Vue
- YAML
2024-08-15 11:46:02 +02:00
Marco Ferrari
1080af3933
build: run npm audit when installing dependencies (#5990) 2024-08-15 10:53:25 +02:00
Marco Ferrari
2664cb3b19
chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00
Marco Ferrari
2f0ac20566
fix: avoid concurrent edits to the same file (#6027)
Reduce the number of processes to 1 if at least one FIX_xxxx variable is
set to true. This avoids that Parallel runs multiple processes that
might edit the same file at the same time.
2024-08-14 22:20:56 +02:00
Marco Ferrari
9131ef7278
fix!: remove undocumented secondary extension case (#5983)
Remove an undocumented corner case that might cause Super-linter to
consider a configuration value for a configuration file that points to a
non-existing YAML file as valid. Before this change, Super-linter falls
back to a yml (yaml) extension if the configuration value points to a
non-existing file with a yaml (yml) extension. This workaround dates
back to when Super-linter didn't support customizing configuration file
names.

Now, if the configuration file doesn't exist, Super-linter throws a
fatal error so users can fix their configuration instead.
2024-08-14 18:50:27 +02:00