Commit graph

166 commits

Author SHA1 Message Date
Marco Ferrari
4d9eaa5c54
build: update Dart, dart analyzer to 3.2.4 (#5065)
Recent versions of dart analyzer don't support the --options
configuration option anymore, so we cannot pass an arbitrary
configuration file. This commit removes the default dart analyzer
configuration file as well, because it's not needed anymore.
2023-12-26 22:14:57 +01:00
Marco Ferrari
11b70102c3
feat!: run linters against the workspace (#5041)
- Run jscpd, gitleaks, textlint  against the entire workspace instead of
  running them over single files, one by one.
- Implement a warning function for deprecated variables.
- Deprecate the VALIDATE_JSCPD_ALL_CODEBASE variable.
- Remove duplicate configuration files when they are the same as the
  ones we provide in TEMPLATES.
- Add a missing tests for ansible-lint.
- Move ANSIBLE_DIRECTORY configuration when running tests in
  buildFileList, where similar configs are.
- Simplify ansible-lint test cases to include only what's necessary, and
  not an entire set of roles, playbooks, and inventory.
- Write instructions about major upgrades in the upgrade guide.
2023-12-24 17:56:15 +01:00
Marco Ferrari
22564fb65c
Switch to tflint image because tflint-bundle is deprecated (#4990)
* Switch to tflint image because tflint-bundle is deprecated

* Fix version string

* Don't copy plugins

* Don't copy plugins

* Set terraform log vars globally

* Fix tflint error
2023-12-15 09:29:34 +00:00
Marco Ferrari
2c548620af
Move instructions from the wiki to docs (#4957)
* Move instructions from the wiki to docs

* Add missing code

* Fix linting errors

* Fix indentation

* Don't add deleted docs back

* Remove slim readme
2023-12-12 08:41:41 +01:00
Marco Ferrari
d465382ed5
Update documentation (#4981)
* Update documentation

* Fix typos

* Update security policy

* Remove outdated instructions

* Fix list

* Add more info to config load step

* Don't test linter.yml

* Point to the cd workflow in README

* Move badge up

* Add info about Make help

---------

Co-authored-by: Zack Koppert <zkoppert@github.com>
2023-12-11 21:35:20 +00:00
Marco Ferrari
a8150b40c8
Fix ts-standard configuration (#4932)
* Fix ts-standard configuration

* Fix default TYPESCRIPT_STANDARD_TSCONFIG_FILE assignment
2023-12-02 08:35:41 +00:00
dependabot[bot]
c819bd688b
Bump scalameta/scalafmt from 3.7.16 to v3.7.17 (#4872)
* Bump scalameta/scalafmt from 3.7.16 to v3.7.17

Bumps scalameta/scalafmt from 3.7.16 to v3.7.17.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update scala config version to match version installed

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zack Koppert <zkoppert@github.com>
2023-11-23 19:04:29 +00:00
dependabot[bot]
f3279a4414
Bump scalameta/scalafmt from 3.7.15 to v3.7.16 (#4861)
* Bump scalameta/scalafmt from 3.7.15 to v3.7.16

Bumps scalameta/scalafmt from 3.7.15 to v3.7.16.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* add write permissions to workflow

* Update scala config version to match version installed

* fix indentation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zack Koppert <zkoppert@github.com>
Co-authored-by: zkoppert <zkoppert@users.noreply.github.com>
2023-11-15 19:14:06 +00:00
dependabot[bot]
414a5e5ce0
Bump scalameta/scalafmt from 3.7.3 to v3.7.15 (#4790)
* Bump scalameta/scalafmt from 3.7.3 to v3.7.15

Bumps scalameta/scalafmt from 3.7.3 to v3.7.15.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create sync-scala-version.yaml

* checkout on branch instead of headless

* Update scala config version to match version installed

* Add yaml header

* rm EOL whitespace

* remove useless cat cmds

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zack Koppert <zkoppert@github.com>
Co-authored-by: zkoppert <zkoppert@users.noreply.github.com>
2023-10-28 01:49:31 +00:00
Zack Koppert
da4dd08cd6
Follow up with several more documentation and automation renames for the org move from github to super-linter (#4543)
* move from github org to super-linter org

* rename to super-linter org

* rename to super-linter org

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter and remove dockerhub reference

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rename org to super-linter

* rm dockerhub section link
2023-08-17 15:12:11 +00:00
Iuri Rezende Souza
e0ba2ada21
Fix typo on .markdown-lint.yml (#4538) 2023-08-08 22:43:41 +00:00
cicdguy
92f290dba4
Use non-deprecated function (#4169)
Function with_defaults was deprecated in lintr version 3.0.0. Use linters_with_defaults or modify_defaults instead.
2023-05-22 23:36:22 +00:00
Henry Asa
47884a0e25 Update all super-linter v4 version references to v5 2023-04-17 15:19:54 -04:00
Leith Caldwell
2307d9a099 Document GITHUB_TOKEN permissions
Required to support MULTI_STATUS (which is true by default)
2023-04-16 23:53:49 -04:00
Barry Pollard
d90a5dcb97 Update SQLFluff config 2023-04-16 23:53:26 -04:00
Brett Logan
a9fdf79c4a Fix template version
Signed-off-by: Brett Logan <lindluni@github.com>
2023-04-10 19:41:24 -04:00
Marco Ferrari
b03920b534 Don't ignore dotfiles when running eslint 2023-01-07 09:15:33 -05:00
Brett Logan
cedda7c156 Revert psd1 extension change and ignore PSMissingModuleManifestField
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-05 09:46:51 -05:00
Brett Logan
632231e524 Add ModuleVersion to ARM template
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-05 09:46:51 -05:00
Brett Logan
f3c9bbd0ef Use canonical PSScriptAnalyzer setting file extension
The PSScriptAnalyzer expects a text file, not a PowerShell extension
on the filename. The latest version of powershell now respects this
rule and breaks testing as the settings file doesn't meet the requirements
of the linter.

Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-05 09:46:51 -05:00
Kristjan ESPERANTO
df234010a1 actions/checkout@v3 2023-01-04 10:48:31 -05:00
Brett Logan
fb34d25145 Update .scalafmt template version
Signed-off-by: Brett Logan <lindluni@github.com>
2022-12-22 11:59:09 -05:00
Aki Kanellis
004ddc5158
Disable YAML linting in ansible-lint (#3370)
Ansible Lint's YAML linting is not needed since super-linter
already contains yamllint.
2022-09-29 11:05:04 +02:00
dependabot[bot]
7b7f581d58
Bump zricethezav/gitleaks from v8.8.12 to v8.13.0 (#3337)
* Bump zricethezav/gitleaks from v8.8.12 to v8.13.0

Bumps zricethezav/gitleaks from v8.8.12 to v8.13.0.

---
updated-dependencies:
- dependency-name: zricethezav/gitleaks
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Extend the default gitleaks configuration

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Ferrari <ferrari.marco@gmail.com>
2022-09-28 15:31:46 +00:00
dependabot[bot]
e397961bcb
Bump scalameta/scalafmt from v3.5.8 to v3.5.9 (#3235)
* Bump scalameta/scalafmt from v3.5.8 to v3.5.9

Bumps scalameta/scalafmt from v3.5.8 to v3.5.9.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update scala version in configuration

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Ferrari <ferrari.marco@gmail.com>
2022-09-27 11:19:52 +02:00
Bastian Ebeling
d47cecf31c
linebreak because yamllint complains of this template (#3317) 2022-09-24 09:42:41 +02:00
Charlie Miller
7be44d6ddb
added black profile to isort to simplify configuration (#3252)
Co-authored-by: Viridius <76791633+Viridius@users.noreply.github.com>
2022-08-18 13:18:50 -05:00
William-Luo0
e9e9743422
Update pylint disable rules (#3182)
Adds back import-error to the pylint disable rules.
2022-08-02 10:29:50 -05:00
Denis Olehov
c87d895802
Fix .gitleaks.toml template (#3036)
Use `paths` for the `[allowlist]` section instead of an invalid `files`
2022-06-16 15:12:41 -05:00
Stephen Abbene
f0a07fdc80
Remove disabled pylint checks from config file to work with pylint 2.14.1 (#3038)
* update pylint config file to work with pylint 2.14.1

* update templay pylint config file with checks removed by pylint 2.14.1

Co-authored-by: Stephen Abbene <sabbene@nvidia.com>
2022-06-16 15:12:16 -05:00
dependabot[bot]
e449e85c34
Bump scalameta/scalafmt from v3.5.7 to v3.5.8 (#3005)
* Bump scalameta/scalafmt from v3.5.7 to v3.5.8

Bumps scalameta/scalafmt from v3.5.7 to v3.5.8.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .scalafmt.conf

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-06-06 10:23:28 -05:00
dependabot[bot]
3bfd26a979
Bump scalameta/scalafmt from v3.5.3 to v3.5.7 (#2970)
* Bump scalameta/scalafmt from v3.5.3 to v3.5.7

Bumps scalameta/scalafmt from v3.5.3 to v3.5.7.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .scalafmt.conf

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-06-01 09:51:14 -05:00
Bret Fisher
422c691573
adding hadolint failure threshold to template (#2916)
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-05-23 14:53:34 -05:00
dependabot[bot]
b6e391a165
Bump scalameta/scalafmt from v3.5.2 to v3.5.3 (#2900)
* Bump scalameta/scalafmt from v3.5.2 to v3.5.3

Bumps scalameta/scalafmt from v3.5.2 to v3.5.3.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .scalafmt.conf

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-05-23 14:53:14 -05:00
github-actions[bot]
0faf83234e
Weekly Python Updates (#2922)
* Update Python dependencies

* fix it

Co-authored-by: Super-Linter Automation <noreply@github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2022-05-23 13:26:07 -05:00
dependabot[bot]
ee19e5ad28
Bump scalameta/scalafmt from v3.5.1 to v3.5.2 (#2828)
* Bump scalameta/scalafmt from v3.5.1 to v3.5.2

Bumps scalameta/scalafmt from v3.5.1 to v3.5.2.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .scalafmt.conf

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-05-02 09:56:26 -05:00
Masaya Suzuki
8129a432c7
Disable flake8 rule E203 (#2821)
* Disable flake8 rule E203

* Fix test case

* Fix test case

* Fix test case

* empty commit

* Ignore W503

* Change settings
2022-05-02 09:28:30 -05:00
Barry Pollard
d597ca4472
SQLFluff 0.12.0 upgrade (#2786) 2022-04-12 10:28:29 -05:00
dependabot[bot]
9f445e5b29
Bump scalameta/scalafmt from v3.5.0 to v3.5.1 (#2766)
* Bump scalameta/scalafmt from v3.5.0 to v3.5.1

Bumps scalameta/scalafmt from v3.5.0 to v3.5.1.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .scalafmt.conf

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-04-12 09:42:25 -05:00
dependabot[bot]
4e812b91de
Bump scalameta/scalafmt from v3.4.3 to v3.5.0 (#2732)
* Bump scalameta/scalafmt from v3.4.3 to v3.5.0

Bumps scalameta/scalafmt from v3.4.3 to v3.5.0.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .scalafmt.conf

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-04-04 09:59:09 -05:00
Masaya Suzuki
e277edca06
Use ts-standard instead of standard as TYPESCRIPT_STANDARD (#2614)
* Use ts-standard instead of standard as TYPESCRIPT_STANDARD

* Add ts-standard

* Update test case

* Update test case

* Add tsconfig.json

* Add tsconfig.json environment value

* Fix "TypeScript"

* Fix package version

* Fix package version

* Fix package version

* Fix package version

* Fix settings

* Remove config file env

* Fix version

* Fix eslintrc

* Fix project path

* Fix project path

* Fix setting

* Fix env

* Add .eslintrc.yml for ts-standard

* Fix README

* Fix settings

* Change include paths

* Change include paths

* Change include paths

* Change include paths

* Fix dependencies

* Fix dependencies

* Fix dependence versions
2022-03-16 10:21:57 -05:00
Brett Logan
ffcb973a71
update extra deps (#2498)
* update extra deps

* Update ruby lockfile

* Fix lockfile

* Update scala template

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-02-14 15:45:11 -06:00
dependabot[bot]
feb45bb035
Bump scalameta/scalafmt from v3.3.1 to v3.3.3 (#2369)
* Bump scalameta/scalafmt from v3.3.1 to v3.3.3

Bumps scalameta/scalafmt from v3.3.1 to v3.3.3.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .scalafmt.conf

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-01-25 09:43:14 -06:00
Barry Pollard
19abf45423
Correct SQLFluff config filename (#2366) 2022-01-24 09:01:37 -06:00
Barry Pollard
3d54fce1f0
Allow SQLFluff configuration file to be used from standard Super Linter location (#2361) 2022-01-20 09:02:30 -06:00
Brett Logan
35d23ba664
Revert "Add find-unicode-control2 (#2286)" (#2299)
This reverts commit 46b9e49099.
2022-01-06 11:00:57 -06:00
Brett Logan
f0e69a5a7d
Cleanup YAML Linting and Enable Rules (#2301)
* Fix yaml linting issues

* Enable yamllint rules

* Replace comment

* Address linting and set line-length longer

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-01-06 09:59:15 -06:00
Lukas Gravley
42981a4a7a
Update additional scala extensions (#2296)
* Update buildFileList.sh

add new extension

* fix space

* turn this down a hair

* update

* fix rule

* fixed dumb stuff

* fix indent

* hangry
2022-01-06 09:28:26 -06:00
Masaya Suzuki
46b9e49099
Add find-unicode-control2 (#2286)
* Add find-unicode-control2

* make version easier

* cleaner version

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-01-04 10:07:45 -06:00
dependabot[bot]
d3a4a9abe5
Bump scalameta/scalafmt from v3.2.1 to v3.3.1 (#2289)
* Bump scalameta/scalafmt from v3.2.1 to v3.3.1

Bumps scalameta/scalafmt from v3.2.1 to v3.3.1.

---
updated-dependencies:
- dependency-name: scalameta/scalafmt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* version

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2022-01-04 09:43:44 -06:00