Algin Maduro
9f4a208eb5
Add terraform fmt support
2023-01-04 22:44:16 -05:00
Brett Logan
d2600eb1bd
Fix shellcheck error
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-04 01:45:10 -05:00
Brett Logan
ba31e65dd4
Ignore warning in shellcheck
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-04 01:45:10 -05:00
Brett Logan
6f804d1b87
Add GITHUB_ACTIONS_COMMAND_ARGS environment variable
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-04 00:35:25 -05:00
Brett Logan
24b9c2cbb4
Revert Dart update
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-03 23:54:16 -05:00
Brett Logan
7fa037d7e8
Remove retired Dart Analyze flag
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-03 23:54:16 -05:00
Brett Logan
088b69df6f
Fix dart analyze
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-03 23:54:16 -05:00
Christoph Höger
adbf28f42d
Use git check-ignore instead of a (incomplete) list of ignored files
...
The list-based method breaks down in case of ignored folders:
If .gitignore contains foo/, foo/bar.py is still checked.
Signed-off-by: Christoph Höger <christoph.hoeger@piano.io>
2023-01-03 20:14:39 -05:00
Marco Ferrari
8607445fb4
Throw a fatal error if tflint --init fails
2022-10-09 19:31:12 -04:00
Marco Ferrari
2053621293
Use TFLINT_LOG environment variable instead of the deprecated --loglevel option ( #3414 )
2022-10-05 13:27:30 +00:00
Marco Ferrari
808436342f
Build process improvements ( #3367 )
...
* Fix issues with the container image build
* Fix asl-validator version check
* Disable filename rule when running ktlint tests
* Bump asl-validator from 2.2.1 to 3.0.8 in /dependencies
Bumps [asl-validator](https://github.com/ChristopheBougere/asl-validator ) from 2.2.1 to 3.0.8.
- [Release notes](https://github.com/ChristopheBougere/asl-validator/releases )
- [Commits](https://github.com/ChristopheBougere/asl-validator/compare/2.2.1...3.0.8 )
---
updated-dependencies:
- dependency-name: asl-validator
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Show errors when using curl to call the status API
* Make the build more reproducible
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 08:45:01 -05:00
Marco Ferrari
2d7b73b7b9
Change directory to ANSIBLE_DIRECTORY before running ansible-lint and enable autodetection ( #3350 )
...
* Change directory to ANSIBLE_DIRECTORY before running ansible-lint
* move log so we see it
* Don't pass the directory to enable autodetection
2022-09-27 07:59:15 +00:00
Brett Logan
c900dee197
Update linter.sh ( #3251 )
2022-08-18 12:22:39 -05:00
Nicolas Vuillamy
f1196a50f6
Remove npm-groovy-lint custom handling as it now accepts files as arguments ( #3250 )
2022-08-15 12:49:50 -05:00
Max Thomson
02e2e313f9
Fix secondary rules extension ( #3136 )
2022-07-13 13:20:10 -05:00
Guilhem Lettron
34cfb29962
fix(go): use --fast
golangci-lint option ( #3043 )
...
All tests can't be run agaist single files.
golangci-lint have a dedicated list of linter adapted to single file
usage.
https://github.com/golangci/golangci-lint/issues/1574
Signed-off-by: Guilhem Lettron <guilhem@barpilot.io>
2022-06-16 15:11:28 -05:00
Lukas Gravley
53ff7db7b5
Rubocop 1.30 ( #2964 )
...
* update rubocop
* adding unrec cops
* fix space
2022-05-27 15:45:59 -05:00
Lukas Gravley
bb6a68e80b
adding log level ( #2959 )
...
* adding log level
* Update lib/functions/detectFiles.sh
Co-authored-by: Tibo Delor <delor.thibault@gmail.com>
* fix space
Co-authored-by: Tibo Delor <delor.thibault@gmail.com>
2022-05-26 09:33:19 -05:00
Lukas Gravley
431ee7836e
Release 4.9.3 ( #2948 )
...
* Update action.yml
* Update action.yml
* set flag to solve local changes
* spaces
2022-05-24 13:44:12 -05:00
Lukas Gravley
6c24367c7b
dumb issue ( #2810 )
2022-04-20 09:04:58 -07:00
Lukas Gravley
cb3c5472d8
adding safe ( #2806 )
...
* adding safe
* make a var
* so dumb
* so dumber
* so dumberer
* so dumbererer
* so dumberererer
* both
2022-04-19 15:12:46 -07:00
Lukas Gravley
14eb37a88c
adding addional command ( #2711 )
...
* adding addional command
* shell format
2022-03-28 13:32:04 -05:00
Stephen Abbene
32eb1cccda
Add Perl::Critic::Community and PERL_PERLCRITIC_OPTIONS to allow passing command line options to perlcritic ( #2684 )
...
Co-authored-by: Stephen Abbene <sabbene@users.noreply.github.com>
2022-03-28 08:56:50 -05:00
Alexandre Favre
f72905b7cc
Add KOTLIN_ANDROID to LANGUAGE_ARRAY ( #2689 )
2022-03-28 08:55:45 -05:00
Alexandre Favre
edc7095b4b
Add Android support for Kotlin ( #2670 )
...
* Fix Kotlin good test case (incorrect filename)
* Add Android support for Kotlin
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-03-24 15:39:52 -05:00
Marco Ferrari
c5e5046b8b
Don't override the PATH when installing Psalm ( #2643 )
2022-03-23 11:43:28 -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
Marco Ferrari
4b16b5b473
Lint the whole Ansible directory ( #2576 )
2022-03-14 20:47:04 +01:00
Marco Ferrari
f26ace31b9
Check for kind when detecting Kubernetes files ( #2612 )
...
* Check for kind when detecting Kubernetes files
* Fix condition
* Check conditions one by one
* Formatting
* Formatting
2022-03-14 09:22:58 -05:00
Marco Ferrari
d7cefe279b
Don't populate FILE_ARRAY_JSCPD with single files when scanning the whole codebase ( #2580 )
2022-03-14 09:22:23 -05:00
Marco Ferrari
244f2daed2
Echo output only when necessary ( #2575 )
...
Co-authored-by: Brett Logan <lindluni@github.com>
2022-03-01 20:50:47 +01:00
Colwyn Fritze-Moor
58e42fe112
fix: dont print stdout from terraform get
2022-02-22 01:19:52 -05:00
Colwyn Fritze-Moor
ecb6625a21
fix: enable tflint module mode
2022-02-22 01:19:52 -05:00
Colwyn Fritze-Moor
0741c52808
fix: cd to terraform directory before running get
2022-02-22 01:19:52 -05:00
Frantisek Sumsal
e1f3ad24b3
fix: don't check the $GITHUB_TOKEN if multi-status is disabled ( #2464 )
...
Since the $GITHUB_TOKEN is required only for the multi-status feature to
work, avoid printing an error in case the feature is explicitly
disabled and we don't pass $GITHUB_TOKEN to Super-Linter.
i.e. don't print:
```
2022-02-13 14:24:13 [ERROR] Failed to get [GITHUB_TOKEN]!
2022-02-13 14:24:13 [ERROR] []
2022-02-13 14:24:13 [ERROR] Please set a [GITHUB_TOKEN] from the main workflow environment to take advantage of multiple status reports!
```
when `MULTI_STATUS=false`.
2022-02-14 09:37:53 -06:00
Colwyn Fritze-Moor
c1ded5ed7d
fix: tflint should clean up after itself ( #2459 )
...
* fix: tflint should clean up after itself
* feat: add cache for tflint
2022-02-14 09:23:17 -06:00
Colwyn Fritze-Moor
eb4aad643b
feat: add SSH key support ( #2454 )
...
* feat: add support for ssh keys and github.com connections
* refactor: allow github.com setup and update docs
* docs: add note about using ssh_key
* fix: run shfmt
* fix: add language to ssh key fence
* fix: make ssh setup script executable
* fix: gitleaks wins, openssh example removed
* notes
* docs: make the docs a little more clear
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2022-02-09 15:24:57 -06:00
Lukas Gravley
28de408b0e
adding lind command output to success ( #2399 )
2022-01-27 17:28:11 -06:00
Lukas Gravley
d92f3364de
adding flag for error on warning ( #2397 )
...
* adding flag for error on warning
* remove bug
2022-01-27 10:47:52 -06:00
Barry Pollard
19abf45423
Correct SQLFluff config filename ( #2366 )
2022-01-24 09:01:37 -06:00
Ross Smith II
ef8f202ea2
fix: Output gitleaks version ( #2363 )
2022-01-20 14:06:10 -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
Lukas Gravley
591688d57d
adding perl and python ( #2360 )
2022-01-19 11:09:26 -06:00
Colwyn Fritze-Moor
09b571b1b0
feat: add support for Terraform modules in tflint ( #2297 )
...
* fix: support tflint relative module references
* chore: add test for relative module imports
* chore: add terraform binary
* chore: move tests
* chore: add newlines to tests
* chore: add newlines to tests
* refactor: move terraform get
* refactor: put terraform get back where it was
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-01-06 11:04:10 -06:00
Brett Logan
35d23ba664
Revert "Add find-unicode-control2 ( #2286 )" ( #2299 )
...
This reverts commit 46b9e49099
.
2022-01-06 11:00:57 -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
r-bennett
be2b62efe9
Use --strict to report yaml linting warnings ( #2295 )
2022-01-05 12:08:25 -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
Iori IKEDA
2d82178aee
add protolint config ( #2252 )
2022-01-03 11:30:56 -06:00
Marco Ferrari
da61f6135a
Reduce duplication using a single Dockerfile ( #2178 )
...
* Reduce duplication using a single Dockerfile
* Remove slim Dockerfile
* Update PROD and RELEASE workflows
* Fix apk package installing
* Force link creation
* Don't check if the versions file exist
* Fix BUILD_DATE
* Fix BUILD_DATE
* Fix BUILD_DATE
* Fix BUILD_DATE
2021-12-10 10:15:12 -06:00