Commit graph

155 commits

Author SHA1 Message Date
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
9869638131
Validate container image labels (#4926)
* Validate labels and avoid busting the cache

* Fix validation

* Validate non-empty labels

* Add build date back

* Don't set build date

* Simplify validation script

* Enable build cache

* Setup buildx

* Dynamically set build revision and version

* Remove leftover

* Disable cache

* Add build date back

* Add build date back

* Fix linting errors

* Add checks

* Get head SHA

* Fix linting errors

* Handle merge_group
2023-12-07 14:18:47 +00:00
Marco Ferrari
5a8805dc4f
Exit on errors when running Git (#4889)
* Exit on errors when running Git

* Skip pulling changes entirely

* Enable pipefail when generating diffs

* Cleanup

* Shallow repo check

* Echo GITHUB_SHA update

* Check if GITHUB_SHA exists before using it

* Move GITHUB_SHA validation to validation script

* Rely on cat-file return code

* Check if DEFAULT_BRANCH exists

* Change dir when checking DEFAULT_BRANCH

* Show git branches

* Don't switch branches

* Check GITHUB_SHA only when needed

* Ensure we have permissions before interacting with the repo

* Remove the DIFF_CMD variable

* Move TEST_CASE_RUN and RUN_LOCAL init up

* Validate if Git repo and if SHA exists

* Move validation function

* Change dir when getting branch names

* Move debug messages up to be less verbose

* Move branch validation in a function

* Fix linting errors
2023-12-04 09:47:49 +00:00
Marco Ferrari
b32d402762
Refactor issue templates to use forms (#4894) 2023-11-30 08:42:05 +00:00
Marco Ferrari
dfedd306f3
Use the same image tags in CI and CD (#4778)
* Use the same image tags in CI and CD

* Define image tag once per workflow

* Fix yq tag

* Don't quote yq to avoid literal interpretation

* yq version

* Fix yq tag

* Reduce duplication

* Fix workflow env var

* Don't remove an already removed container
2023-10-19 21:03:14 +00:00
Andrew Hoffmann
a6ffbef260
Fix image name in code example (#4715) 2023-10-04 00:57:27 +00:00
Zack Koppert
8761cb2691
use checkout v4 in README (#4644)
* use checkout v4 in README

* use checkout v4 in docs
2023-09-14 14:38:17 -07:00
Maciej Sobon
d8f101fcba
chore(docs): fix docker image location (#4567)
There isn't super-linter account on Docker Hub:
https://hub.docker.com/u/super-linter

I think the image should be coming from `ghcr.io/super-linter/super-linter`

Thanks
2023-08-25 18:52:20 +00:00
Zack Koppert
4ccb348339
Specify ghcr.io for docker location (#4589) 2023-08-22 15:48:39 -07: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
Henry Asa
47884a0e25 Update all super-linter v4 version references to v5 2023-04-17 15:19:54 -04:00
Marco Ferrari
ccf58d2678
Use Git to update major version and latest tags (#3376) 2022-09-30 12:55:04 -05:00
Marco Ferrari
590315aa7f
Update release instructions with details about Git tags (#3375) 2022-09-29 13:15:55 -05:00
dependabot[bot]
c266045e2b
Bump textlint-rule-terminology from 3.0.1 to 3.0.3 in /dependencies (#3247)
* Bump textlint-rule-terminology from 3.0.1 to 3.0.3 in /dependencies

Bumps [textlint-rule-terminology](https://github.com/sapegin/textlint-rule-terminology) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/sapegin/textlint-rule-terminology/releases)
- [Commits](https://github.com/sapegin/textlint-rule-terminology/compare/v3.0.1...v3.0.3)

---
updated-dependencies:
- dependency-name: textlint-rule-terminology
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Fix linting errors

* Fix linting errors

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 18:27:12 +02:00
BryanQuigley
0a551385ec
Add examples for using a shared env file and related STRTA scripts (#3351)
This adds 4 example files to the local README to do a shared env file.

This is much simpler then adding support directly that I tried in PR #3270.

Fixes: #2851
2022-09-27 19:05:38 +02:00
Chris Nicel
99bc25cbfd
Update run-linter-locally.md (#3104)
Add note about `--rm` to remove the container after execution. This should prevent a build up of stopped containers after multiple runs of the super-linter
2022-07-11 12:52:36 -05:00
Wen Zhou
582549a430
docs: Update local run docker image with flag to disable check .git (#2894)
folder

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-05-23 15:00:47 -05:00
Masaya Suzuki
fafdcd214e
Add textlint (#2021)
* Add textlint

* Fix by textlint

* Fix package-lock.json

* Fix package-lock.json
2021-10-05 08:29:05 -05:00
Zack Koppert
42ac0c1f0f
switch to main branch (#2010)
* switch to main branch

* switch from master to main

* switch default branch to main

* switch to main branch

* switch to main branch

* switch to main branch

* switch to main branch

* switch to main branch

* switch to main branch

* switch to main branch

* switch to main branch

* switch to main branch

* switch to main branch

* make comment reflect code

* switch to main branch
2021-10-01 12:57:26 -07:00
Lukas Gravley
8eb4d621d6
fixed releasedoc (#1914)
* fixed doc

* update version
2021-08-31 12:31:54 -05:00
Kurt von Laven
8227f79074
Add a template config file for ShellCheck (#1900)
* Improve wording of LINTER_RULES_PATH docs (#1634).

* Add a template config file for ShellCheck (#1633).

Instruct ShellCheck to search SCRIPTDIR, the directory that the script
being linted is in, for other scripts that are sourced. Otherwise, the
commonly-used source command results in linter error SC1091. See
https://github.com/koalaman/shellcheck/wiki/SC1091 for more details.

* fix line ending

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-08-30 11:19:56 -05:00
Gabriel Diaz
8ba80c11b9
Improve LINTER_RULES_PATH docs, about it beein relative (#1093)
* Improve LINTER_RULES_PATH docs, about it beein relative

* Update using-rules-files.md

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-01-04 11:11:35 -06:00
Sander Maijers
2a524ad1b0
Fix typo (#1000) 2020-11-16 09:50:11 -06:00
Lucas Gravley
15a63d48fa cleanup file 2020-11-10 10:35:31 -06:00
Marco Ferrari
7862654394 Fix editorconfig-checker errors 2020-11-05 23:21:41 +01:00
Marco Ferrari
888bc7524e Don't override the secondary rules file path, if available 2020-10-30 12:15:16 +01:00
Lukas Gravley
eb6c5d8309
Merge pull request #887 from github/dependabot/docker/mstruebing/editorconfig-checker-2.2.0
Bump mstruebing/editorconfig-checker from 2.1.0 to 2.2.0
2020-10-27 13:54:25 -05:00
Lucas Gravley
9b602c7314 updating doc 2020-10-27 13:52:10 -05:00
Lucas Gravley
3eec4c39e8 updating doc 2020-10-27 13:50:55 -05:00
Lucas Gravley
5da607d300 fix rule 2020-10-27 13:26:42 -05:00
Joseph Marino
a137b16ddc
Removed table
Removed table containing ENV VARS that
could be configured with LINTER_RULES_PATH
from the "Using your own rules files" section.
Added text letting users know that they should
refer to the environment variables table in
the README for a list of filename ENV VARS
2020-10-26 22:57:10 -04:00
Joseph Marino
c846cfd9ce
Added "Using your own rules files" to the README
Added a "Using your own rules files" section to the
README under the "Template rules" section.
This section may help developers new to super-linter
avoid running into issues #864 and #685.
2020-10-25 20:06:49 -04:00
Lukas Gravley
6def9c940d
Merge pull request #862 from sheeeng/docs/add-terragrunt-link-in-table-of-linters
docs: add terragrunt link in table of linters
2020-10-19 10:28:58 -05:00
Leonard Sheng Sheng Lee
f0a1605597
docs: explain markdownlint yaml configuration file 2020-10-16 19:43:04 +02:00
Leonard Sheng Sheng Lee
3e90a2d3f4
docs: add terragrunt link in table of linters 2020-10-16 19:25:39 +02:00
Lucas Gravley
d8b13b0fd8 now with files 2020-10-13 10:21:23 -05:00
Tim Jones
a8746a7159 Add support for Terragrunt files 2020-10-08 18:18:22 +02:00
Lukas Gravley
1ea66c1dd2
adding rules 2020-10-08 09:22:17 -05:00
Marco Ferrari
f24f52be11 Lint with Kubeval and fixes 2020-09-22 01:49:01 +02:00
Christian Oliff
1520729a00
Fix JavaScript capitalizaton 2020-09-16 14:11:28 +09:00
kpj
8ac1c99a2e [Snakemake] Support both formatting using 'snakefmt' and linting using 'snakemake --lint' 2020-09-08 09:38:48 +02:00
kpj
15eec55117 [Snakemake] Update documentation 2020-09-07 16:37:22 +02:00
Lucas Gravley
87cec4c11c Adding linkage 2020-09-02 09:33:46 -05:00
Josselin
f34b084586 Add support for black config file 2020-09-02 11:28:57 +02:00
Marco Ferrari
0d849cd5e0 Lint shell files with shfmt 2020-08-31 19:22:49 +02:00
Lucas Gravley
1f2c569c21 adding black 2020-08-20 09:44:11 -05:00
assignUser
8224e9e6e5 fix exit code 2020-08-19 17:51:07 +00:00
assignUser
bad32e6f53 adress review 2020-08-19 14:16:59 +00:00
assignUser
e1bc1df9e7 add latex support 2020-08-18 22:54:32 +00:00