Commit graph

363 commits

Author SHA1 Message Date
Lukas Gravley
87a442b6fe
fix slim docs (#1598)
* fix slim doc:

* Update README.md

* fix v3 refs
2021-05-26 16:50:06 -05:00
Tomer Figenblat
27235b3023
docs: added missing c# to list of slim removed langs (#1597) 2021-05-26 15:39:54 -05:00
Lukas Gravley
83badbc49c
Image 4.0 (#1565)
* adding new one...

* adding automation

* linter

* pull apart for faster builds

* maybe

* update automation

* fix that

* prime is smart

* fixed it

* quotes

* fix build image

* inpec

* typo

* forgot backslash

* fixed hairbrain logic

* this should help cleanup

* i hate r

* order

* maybe fix r

* maybe fix r

* update readme

* remove spaces

* update
2021-05-25 10:14:43 -05:00
Lukas Gravley
3e0bd7fff4
Eslint for json jsonc and json5 (#1524)
* adding it

* fix typo

* fix tests

* adding back jsonlint

* adding back jsonlint

* fix spacing

* found the typo

* add tests

* adding rules for json

* add to local
2021-05-11 10:54:58 -05:00
Lukas Gravley
5d96acadf1
remove more dead weight (#1530)
* remove more dead weight

* more cleaner

* falling into place

* tie dotnet to version

* new low
2021-05-10 09:58:30 -05:00
Lukas Gravley
5d2ea81f00
Cpp (#1492)
* adding cpp

* adding cpp

* tests

* make test better

* fix test
2021-05-04 13:24:41 -05:00
Lukas Gravley
5f5904883d
remove tap and tests (#1496)
* remove tap and tests

* fix proto

* remove dumb test
2021-04-30 12:46:24 -05:00
Lukas Gravley
80b7d1377a
fix var name (#1491) 2021-04-27 14:33:48 -05:00
Lukas Gravley
e0e4a67f3a
Certs (#1470)
* adding cert

* update readme

* typo

* make exec

* spaces

* adding better way

* adding example

* make shell happy

* fix space

* adding notes

* bad var

* duh
2021-04-26 09:00:42 -05:00
Marco Ferrari
527c5a3986
Generate a code coverage report (#1353)
* Generate a code coverage report

* make linters happy

* adding action and badge

* no report for me

* Upload the test report

* adding folders

* spaces not tabs

* makefiles love tabs

* spacing is important

* rawr

* Fix makefile

* Add diagnostic info

* Set UID and GID

* Make info

* Add docker images in diagnostic info

* Move info before testing the local action

* Add missing -C to git diff-tree

* Reset ownership

* Add missing quotes

* Sudo

* Attempt to fix ARM test

* Attempt to fix go test

Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-04-22 13:56:18 -05:00
Erik Godding Boye
a908937c78
Add new ENV VAR to set ansible-lint config file (#1424) 2021-04-11 20:24:43 -07:00
Lukas Gravley
08a586cf3b
adding Python MyPy (#1401)
* adding fun

* fix whitespace

* adding tests

* adding the array

* bug in file name

* fix tap

* makes no sense

* adding the hammer

* adding some extra protbuf
2021-03-24 14:00:23 -05:00
Andreas Fritzler
1367534603
Allow to override github api url (#1395) 2021-03-23 13:26:14 -05:00
Lukas Gravley
3d39df7f0e
adding it (#1396)
* adding it

* i kant read

* make go go away
2021-03-23 12:02:16 -05:00
Andreas Fritzler
130b6ac1a5
Added support for custom github domain for status target url (#1367) 2021-03-15 15:19:54 -05:00
Tom Pansino
7b8e3189d8
Support custom markdownlint rules (#1306)
* Support custom rules with markdownlint

* Add MARKDOWN_CUSTOM_RULE_GLOBS to README.md

* Fix shellcheck issues and use bash array for globs

* Fix shfmt issues

Co-authored-by: Gabriel Diaz <gabo.fdc@gmail.com>
2021-03-10 09:06:06 -06:00
Antonio Yang
60e2561b15
Add clippy for rust (#1277)
* Add clippy for Rust

* Update ARM test cases

- fix arm good test case
- update tap report

* Lint github workflows release config
2021-03-08 14:13:04 -06:00
Lukas Gravley
d08565c8d7
Add template (#1273)
* adding template for users to pull

* adding template
2021-02-26 14:40:21 -06:00
Antonio Yang
f47b363f71
Add rustfmt for Rust (#1250)
* Add linter for Rust

- add 2015 edition
- add 2018 edition

* Add tap reports

- add tap reports
- fix good test case

* 1 command=lesslayers

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-02-26 08:47:21 -06:00
Marco Ferrari
b6bbc88e8e
Ignore files that are ignored by Git (#1185)
* Ignore files that are ignored by Git

* Add missing continue statement

* Fix linting errors

* Fix linting errors

* like it

* like it

* Add the IGNORE_GITIGNORED_FILES variable

* Fix setting the Ansible directory when running tests

* Fix var export

* Update linter.sh

Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-18 12:15:50 -06:00
JonZeolla
7c36dcdc1a
Fix the default hadolint rule name in the documentation (#1179)
* Fix default hadolint rule name

* Rename github actions hadolint config in line with the default
2021-02-03 09:13:02 -06:00
Marco Ferrari
ab8780a58f
Install, configure, and run jscpd. Add missing tests (#1032)
Co-authored-by: Gabo <gabo.fdc@gmail.com>
Co-authored-by: Matt Desmond <beardofedu@github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-01-27 20:47:34 +01:00
Lukas Gravley
e11786a54c
Adding Flag for Possum (#1149)
* adding a bad feature

* fix hadolint
2021-01-19 11:03:14 -06:00
Aaron Sky
328b17bbc8
Improved ANSIBLE_DIRECTORY validation to support the repository root (#1111)
* Improved ANSIBLE_DIRECTORY validation to support the repository root

Fixes #1110, which prevents linting playbooks at the root of the repository from being supported.

* Trim whitespace

* Remove undesired extra validation condition

Addressing review feedback from @ ferrarimarco

* Avoid mutating ANSIBLE_DIRECTORY beyond the extent that was already in place

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-01-04 13:38:46 -06: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
Lukas Gravley
193de39afd
Adding support for Prettier (#1118)
* adding it

* fix spaces

* vars were backwards

* remove prettier from function test
2021-01-04 11:07:57 -06:00
Darwin
1bf782815d
An additional GitLab example (#1065)
Co-authored-by: Darwin Sanoy <dsanoy@gitlab.com>
Co-authored-by: Gabriel Diaz <gabo.fdc@gmail.com>
2020-12-24 10:59:22 -05:00
Adam Ralph
74f4b9bd1d
fix typo in README.md (#1023) 2020-11-23 09:03:21 -06:00
Lukas Gravley
cf19607c3c
Gherkin (#1011)
* adding gherkin

* adding to array

* fix space

* Update Dockerfile

* adding rules

* adding rules

Co-authored-by: SVN Migrator <someone@somewhere.com>
2020-11-19 09:54:20 -06:00
Christian Oliff
48be2ed961
Mention that the default branch is usually master or main
Since 'main' is the now the default for new repos moving forward.
2020-11-09 16:16:07 +09:00
Joseph Marino
b3c947067e
Fixed dead PHPStan link in README
Changed https://phpstan.org/n to https://phpstan.org.
This should close issue #958
2020-11-04 15:23:31 -05:00
Gabo
26fb7bf8d3 update readme 2020-10-28 19:07:35 -05:00
Lucas Gravley
dbffb46526 adding tests 2020-10-28 10:22:55 -05: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
Lucas Gravley
d8b13b0fd8 now with files 2020-10-13 10:21:23 -05:00
Lukas Gravley
6bde44e755
Merge pull request #824 from mshimokura/ecrc_file
editorconfig-checker - Use .ecrc Files
2020-10-12 10:24:00 -05:00
Michael Shimokura
a5cada70f8 Revert "rename the variable to EDITORCONFIG_CHECKER_FILE_NAME for clarity"
This reverts commit 23a463867d.
2020-10-09 09:13:37 -04:00
Michael Shimokura
23a463867d rename the variable to EDITORCONFIG_CHECKER_FILE_NAME for clarity 2020-10-09 09:02:12 -04:00
Andrei Artemov
56b32c3704 Fetch full git history to get a proper list of changed files within super-linter 2020-10-09 14:17:56 +03:00
Michael Shimokura
6271f5f350 fix README link 2020-10-08 16:10:44 -04:00
Michael Shimokura
1312a3a3e4 use the .ecrc file 2020-10-08 15:27:47 -04:00
Tim Jones
a8746a7159 Add support for Terragrunt files 2020-10-08 18:18:22 +02:00
Lukas Gravley
c713278cb8
Merge pull request #814 from omusavi/doc-fix
Fix documentation error with VALIDATE_MD being renamed
2020-10-07 11:18:16 -05:00
Marco Ferrari
68e15659b8 Centralize file list building logic in buildFileList.sh 2020-10-07 16:36:49 +02:00
Omeed Musavi
b69b2b124b Fix documentation error with VALIDATE_MD being renamed to VALIDATE_MARKDOWN 2020-10-06 15:05:15 -04:00
kpj
9e7c84fbbb Fix various Snakemake related variable names 2020-09-24 16:06:12 +02:00
Marco Ferrari
f24f52be11 Lint with Kubeval and fixes 2020-09-22 01:49:01 +02:00
Theo Beers
c1b2ccce03
Use YAML syntax in FILTER_REGEX examples
I think it probably makes more sense for the examples in this README to follow YAML syntax, assuming that people will be running super-linter as a GitHub Action. There's a separate doc covering the process for running the linter locally, in which case, of course, environment variables would be set with an equals sign. It's not a big deal, but I thought I would make the suggestion.
2020-09-17 13:31:50 +02:00
Marco Ferrari
5cefb9209f Make bash-exec errors or warnings configurable 2020-09-15 22:40:12 +02:00
Joseph Marino
82d1204e7b
Added https links to domains that support SSL/TLS.
Some links in this README link to domains that support https
but https was not used in the link.
2020-09-10 17:20:41 -04:00
NicolasVuillamy
3a7bae504e Make Super-Linter more famous with badge links on repos using it :) 2020-09-10 10:10:03 +02:00
NicolasVuillamy
f072bc5c8d Merge remote-tracking branch 'github/master' 2020-09-09 20:18:21 +02:00
Lucas Gravley
a6c9656015 fixing vars 2020-09-08 09:47:57 -05: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
NicolasVuillamy
0dba19167d Fix readme 2020-09-05 13:08:35 +02:00
NicolasVuillamy
17d09ffc02 Add README index 2020-09-05 12:55:55 +02:00
NicolasVuillamy
cdfa861984 Documentation 2020-09-05 12:43:30 +02:00
Lucas Gravley
f5e39e5aad fix typo and add check 2020-09-02 09:26:01 -05:00
Josselin
f34b084586 Add support for black config file 2020-09-02 11:28:57 +02:00
Marco Ferrari
7ecf9a132c Add details about bash-exec in README 2020-08-31 23:45:27 +02:00
Marco Ferrari
0d849cd5e0 Lint shell files with shfmt 2020-08-31 19:22:49 +02:00
Lucas Gravley
9be83e0166 merge master 2020-08-28 11:46:11 -05:00
Lucas Gravley
0404c39203 adding exec 2020-08-28 09:56:53 -05:00
Cesar Rodriguez
38983e59d8 rebase with upstream 2020-08-26 22:51:26 -04:00
Lukas Gravley
c2e207f643
Merge branch 'master' into feature/csharp-lint 2020-08-25 13:09:51 -05:00
Lucas Gravley
076fd8a881 adding docs 2020-08-25 13:02:30 -05:00
Lukas Gravley
fb70f94bd3
Merge branch 'master' into hadolintLinter 2020-08-25 10:06:43 -05:00
Lucas Gravley
ee3200654a adding hadolint configuration 2020-08-25 09:55:30 -05:00
Lucas Gravley
cb41ae47fa adding feature 2020-08-25 09:05:23 -05:00
Muescha
dec0d0cd3e
typo 2020-08-25 13:32:13 +02:00
Lucas Gravley
1f2c569c21 adding black 2020-08-20 09:44:11 -05:00
Mark Bond
52872bbafe Fix minor typo in HTML language name 2020-08-19 22:58:14 +01:00
Lucas Gravley
8f653be432 some simple cleanup 2020-08-19 15:26:57 -05:00
Lukas Gravley
5970f28f6b
Merge pull request #588 from assignUser/chktex
Add LaTeX support
2020-08-19 13:12:11 -05:00
assignUser
e1bc1df9e7 add latex support 2020-08-18 22:54:32 +00:00
Lukas Gravley
308c1fd5aa
Merge pull request #569 from assignUser/master
Add lintr support to super-lint
2020-08-18 16:08:35 -05:00
Ahmad Nassri
0744055595
docs: remove note about using docker://
it seems GitHub Actions now respects `actions.yml` directives when using docker actions, thus making this note redundant
2020-08-17 12:55:11 -04:00
Julie Garrone
1022ad20f5 Fix indentation in comment and table 2020-08-17 09:59:09 +02:00
assignUser
d4f4bbd255 everything except linter.sh 2020-08-15 18:21:57 +00:00
Julie Garrone
c043e87ef1 Fix VALIDATE variables name for Dockerfile linters 2020-08-14 10:38:26 +02:00
Gabo
13e50cc32e Update documentation about VALIDATE_[LANGUAGE] vars 2020-08-11 21:16:36 -05:00
Barry
44e48abb43 Bit more explanation 2020-08-10 23:41:32 +01:00
Barry
b65cf4a256 More explanation of GITHUB_TOKEN 2020-08-10 23:38:53 +01:00
Lukas Gravley
1746012dab
Merge pull request #534 from marghidanu/master
PerlCritic basic implementation
2020-08-07 11:56:09 -05:00
Tudor Marghidanu
523b14a2df PerlCritic basic implementation 2020-08-07 14:58:40 +02:00
Gabo
9dc7afd67f Allow to set markdownlint config file 2020-08-07 00:51:59 -05:00
Lucas Gravley
c9ef1fcb66 Saving it 2020-08-06 12:01:36 -05:00
Lucas Gravley
4c1ec55a00 fixing my mistakes 2020-08-05 13:41:49 -05:00
Lucas Gravley
e638e3d8ac Fix shell errors 2020-08-05 13:16:49 -05:00
Ishan Goel
f327a4dc5f
Merge branch 'master' into quackduck-pr 2020-08-05 20:10:30 +04:00
Lucas Gravley
862bcd59e9 hadolint... 2020-08-04 13:53:32 -05:00
Lucas Gravley
786c6fda03 fixed merge conflicts 2020-08-04 12:45:15 -05:00
Filip Š
db2dc2cea2 Add docs and backward compatibility 2020-08-03 22:07:31 +02:00
Ishan Goel
c0626d00fa Change spotless to checkstyle 2020-08-03 14:48:32 +04:00
Eric Nemchik
a03fd743f1 Document new variables 2020-07-30 15:26:01 -05:00
Cees-Jan Kiewiet
76775d29b3
Add basic PHPStan support 2020-07-28 19:50:00 +02:00
Gabo
5f3ae40c9b Add VALIDATE_PYTHON back to the readme 2020-07-27 18:01:38 -05:00
Gabo
b2569d3735 Add python config file vars in readme 2020-07-27 17:56:12 -05:00
Gabo
107bd8eea4 Update docs 2020-07-27 17:56:12 -05:00
Lukas Gravley
85209cfb5d
Merge pull request #476 from github/lua
add lua/luacheck to super-linter
2020-07-27 12:13:39 -05:00
Gabo
1c11a23fd3 Allo to pass yamllint config file 2020-07-24 14:03:26 -05:00
Casey Vega
5fa6aca5c2
add lua to super-linter 2020-07-24 11:34:52 -07:00
Cesar Rodriguez
de8574565d Adds the VALIDATE_TERRAFORM_TERRASCAN variable 2020-07-23 23:49:27 -04:00
Lucas Gravley
d2bb1dd6c1 Fix spacing 2020-07-23 13:01:04 -05:00
Lukas Gravley
40dc32f670
Merge branch 'master' into Groovy 2020-07-22 11:44:20 -05:00
Ishan Goel
16985c1cdb Small formatting change 2020-07-22 11:47:33 +04:00
Ishan Goel
1a0dff9d7a
Merge branch 'master' into quackduck-pr 2020-07-22 11:10:19 +04:00
Ishan Goel
5b7cbb36eb Work on adding Java 2020-07-22 09:49:31 +04:00
Eric Nemchik
c1c3547e29 Markdown
getdown
2020-07-21 14:43:22 -05:00
Lukas Gravley
c03ad1866e
Merge branch 'master' into stateLinter 2020-07-21 14:21:05 -05:00
Lucas Gravley
1971c8359e Adding states linter 2020-07-21 13:50:04 -05:00
Eric Nemchik
b44083c6db Fix code links 2020-07-21 13:25:46 -05:00
Eric Nemchik
1d91e2604f Format Markdown 2020-07-21 12:08:05 -05:00
Lucas Gravley
3d8c51f768 adding the code 2020-07-20 14:07:56 -05:00
Lucas Gravley
93dec38ebf Merge branch 'master' into dart 2020-07-15 15:42:02 -05:00
Zack Koppert
7069ceeef2
Add Azure and Gitlab options 2020-07-14 17:14:01 -07:00
Lukas Gravley
3bc689af42
Merge pull request #252 from v1v/feature/tap-format
Support TAP reporting format
2020-07-14 14:59:14 -05:00
Lucas Gravley
afe4f087cb Adding groovy 2020-07-14 09:28:58 -05:00
Victor Martinez
fdfa61e6a0
Update README.md 2020-07-14 08:51:53 +01:00
Victor Martinez
0e9439d9a0
Apply suggestions from code review
Co-authored-by: Zack Koppert <zkoppert@github.com>
2020-07-14 08:50:31 +01:00
Matthias Meyer
8bae8dd0b9
Added support for jsx and tsx files 2020-07-07 15:15:20 +02:00
Victor Martinez
7bf7ecdbd3
Merge remote-tracking branch 'upstream/master' into feature/tap-format
* upstream/master: (149 commits)
  rm dupe end brackets
  fix botched merge
  fixed docker bug
  fixing insta;;
  hunting a bug
  adding some small cleanup
  Bump Actions-R-Us/actions-tagger from v2.0.0 to v2.0.1
  Bump actions/github-script from v2.3.1 to v2
  Add HTML support to super-linter
  Remove ARM_TTK_VERSION from ENV in Dockerfile
  Remove noise from ARG in Dockerfile
  Minor fix(1) for TestCodebase [ARM]
  Minor fix for TestCodebase [ARM]
  Update ARM Test Cases readme
  Minor updates following merge from upstream/master
  Minor bugfixes
  Test case updates
  Add `editorconfig-checker`
  Typo
  Use full version numbers for GHA Dependabot will update these automatically
  ...
2020-07-07 07:37:41 +01:00
Casey Vega
00bcbfb897
Merge branch 'master' into dart 2020-07-06 22:03:31 -07:00
Casey Vega
4ea4aef02e
update documentation for dart 2020-07-06 15:06:56 -07:00
Casey Vega
7680d58cd5
merge with master 2020-07-06 11:11:35 -07:00
Victor Martinez
9a909c5d1d
Output transformation (with error messages or simpler) (#1)
* Output transformation (with error messages or simpler)
* colon causes issues when transforming TAP to XUnit
2020-07-06 18:06:58 +01:00
Lukas Gravley
04f39392e8
Merge branch 'master' into add-raku-support 2020-07-06 11:52:53 -05:00
Zack Koppert
2bf3e5a8f6
Merge branch 'master' into addEditorconfigChecker 2020-07-06 08:19:23 -07:00
Lukas Gravley
a0d4a72341
Merge branch 'master' into add-htmlhint 2020-07-06 09:00:52 -05:00
Casey Vega
407f411e21
adding dart support 2020-07-06 01:17:20 -07:00
nbrown
f58111f220 add Raku support 2020-07-05 22:21:13 -04:00
Terence Dignon
40ca4c5f96 Add HTML support to super-linter 2020-07-04 18:14:27 -04:00
Kevin Rowlandson
4cbda27751
Merge remote-tracking branch 'upstream/master' into arm-ttk 2020-07-03 13:28:08 +01:00
Max Strübing
9a838766cb
Add editorconfig-checker
see: https://github.com/editorconfig-checker/editorconfig-checker/
2020-07-03 09:19:55 +02:00
Kevin Rowlandson
801ae0bec6
Add arm-ttk Linter 2020-07-02 22:31:16 +01:00
Eric Nemchik
a9d8d7998c
Update README.md 2020-07-01 18:34:44 -05:00
Eric Nemchik
1b6938fdb2
Update README.md 2020-07-01 18:29:23 -05:00
Zack Koppert
97e64a47e9
Merge pull request #343 from github/MinorFixGrabBag
Were going to fix it all
2020-07-01 13:29:18 -07:00
Zack Koppert
dc40453848
replace gif with tutorial link 2020-07-01 09:38:15 -07:00
Lucas Gravley
c3bb133a88 better example of usage 2020-07-01 08:29:22 -05:00
Zack Koppert
97900b20a0
remove align and bump size from @iamhughes
Co-authored-by: Thomas Hughes <iamhughes@github.com>
2020-06-30 16:51:22 -07:00
Zack Koppert
35a0a7a26d
Add gif to readme 2020-06-30 16:45:08 -07:00
Zack Koppert
f7b1f6b67c
format into steps 2020-06-30 16:27:52 -07:00
Gianmarco
f1129d1881
Fixes typo in README 2020-06-30 16:40:23 +02:00
Lucas Gravley
ad079f6505 make easier to read 2020-06-30 09:17:32 -05:00
Lucas Gravley
24d5a77532 put in order to mack the Z happy 2020-06-29 15:25:05 -05:00
Lukas Gravley
3e895e123b
Merge branch 'master' into cfn-lint 2020-06-29 14:24:00 -05:00
Mark Bond
03b6b69c40 Fix checkout action version 2020-06-29 19:13:22 +01:00
Thomas Hughes
42124d0736
Update to v3 2020-06-29 11:42:18 -05:00