Commit graph

83 commits

Author SHA1 Message Date
Marco Ferrari
93b5ede1e8
ci: configure release-please (#5016)
- Configure release-please to automatically create pull requests and
  releases.
- Run release-please and tag update in the CD workflow.
- Update Git tags pointing to latest, major.minor, and major versions as
  part of the CD workflow.
- Remove workflows (draft-release, release) that are not necessary
  anymore, and related configuration files.
- Handle automatic updates to README.md, action.yml, and action.yaml
- Mount .github to /tmp/lint/.github so super-linter finds config files,
  and the GitHub Actions to lint.
2023-12-20 14:58:25 +01:00
Marco Ferrari
117318f55c
ci: don't validate dependabot commits (#5026)
Dependabot doesn't allow configuring the max commit message line length
until https://github.com/dependabot/dependabot-core/issues/2445 is
resolved, so we cannot validate Dependabot commits at this time.
2023-12-20 09:12:02 +01:00
Marco Ferrari
9db632f0e1
ci: configure commitlint (#5014)
- Check if the PR contains a single commit, and fail otherwise.
- Enable commitlint to check if commits adhere to the
  conventialcommits.org spec.
- Update the the pull request template to point to the conventional
  commit spec.
- Update the dependabot configuration to add the "build(...)" prefix to
  commits.
2023-12-19 19:37:16 +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
e6cf8d3845
Move tests to the test directory (#4985)
* Move tests to the test directory

* Fix linting errors

* Add states back

* Add xml back
2023-12-15 08:50:35 +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
Zack Koppert
071f051633
Update google java format and JDK (#4848)
* Update google java format and JDK

* update to use non-deprecated function

* update jdk to v18

* update to jdk v18

* try v17 jdk

* try v17 jdk
2023-11-10 22:46:25 -08:00
Zack Koppert
102cb5dc38
Add exception for type-linting (#4470)
* Add exception for type-linting

since we are linting file by file to avoid running into https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file

* Update tsconfig.json

* remove trailing commas for last entries
2023-09-17 12:35:36 +00:00
Barry Pollard
d90a5dcb97 Update SQLFluff config 2023-04-16 23:53:26 -04:00
Marco Ferrari
81c370a611
Validate if we the test suite runs both good and bad tests (#3811)
Also, remove the ansible-lint configuration file because we can rely on the default one
2023-01-11 17:24:48 +01:00
Marco Ferrari
9bcd243020 Remove unneeded eslint configuration files 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
5a6cf6864c Add actionlint.yaml
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-05 09:46:51 -05:00
dependabot[bot]
718f2d6dfd
Bump cljkondo/clj-kondo from 2022.03.09-alpine to 2022.09.08-alpine (#3305)
* Bump cljkondo/clj-kondo from 2022.03.09-alpine to 2022.09.08-alpine

Bumps cljkondo/clj-kondo from 2022.03.09-alpine to 2022.09.08-alpine.

---
updated-dependencies:
- dependency-name: cljkondo/clj-kondo
  dependency-type: direct:production
...

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

* Disable name mismatch to avoid refactoring our test logic

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-29 11:57:36 +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
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
Admiral Awkbar
f46ec83ec0 fix our rule 2022-05-23 13:27:57 -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
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
Colwyn Fritze-Moor
ecb6625a21 fix: enable tflint module mode 2022-02-22 01:19:52 -05: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
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
Marco Ferrari
f90bf96db8
Install R directly and don't report npm-groovy-lint usage stats (#2202)
* Install R directly

* Don't install zip

* Copy etc/R

* Move back to /home/r-library

* Copy directory contents

* Copy files

* mkdir

* recursive copy

* copy -r

* Revert R etc

* Don't create etc dir

* Disable ClassNameSameAsFilename rule

* insight kills

Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-12-07 12:10:26 -06: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
Masaya Suzuki
3472ac360c
Add textlint (#2006)
* Add textlint

* Add new final newline

* Validate only markdown files

* txt -> md
2021-09-30 13:40:44 -05:00
Lukas Gravley
695dd0832a
fixed go issues (#1890)
* fixed

* govet

* ughhh
2021-08-25 09:21:26 -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
dependabot[bot]
141a09cdbf
Bump yoheimuta/protolint from v0.28.2 to v0.29.0 (#1261)
* Bump yoheimuta/protolint from v0.28.2 to v0.29.0

Bumps yoheimuta/protolint from v0.28.2 to v0.29.0.

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

* fixed it

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-25 12:36:23 -06:00
Jeremiah
00c70f4b2c
Update snakefmt to 0.3.0 and black to 20.3 (now supported by snakefmt). (#1212)
* Update snakefmt to 0.3.0 and black to 20.3 (now suppored by snakefmt).

* Update pipfile for ansible 5.0

* Align pipfile python with Docker alpine image

* Explicitly pin python minor version in dockerfile

* Ansible updates

* Add missing cryptography dependencies

* Eliminate deprecated ansible syntax

* Update expected output for ansible

* Try to add regex to handle test run length

* Yaml doc syntax fixes

* Flailing attempt at tap wildcard

* Catch dynamic output from ansible-lint

* Update regex

* Fix regex statement

* Fix tap output

* Update go error message (issue from master branch)

* Fix regex

* Ansible strikes back

* Fix tap output

* Fix json tap

* Update r tap
2021-02-17 07:32:40 -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
Thad Craft
32b3cde716
Enable @SuppressWarnings annotation support by default for Java (#1052)
* Enable @SuppressWarnings annotation support by default for Java checkstyle

* Ensure that args is used

* Add updates to the sun_checks in .github/linters

* Comment out Javadoc linter to remove need for package-info

* Fix expected-JAVA.tap to match new test cases

* Fix expected-JAVA.tap to match output

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2020-12-04 08:46:42 -06:00
Marco Ferrari
7862654394 Fix editorconfig-checker errors 2020-11-05 23:21:41 +01:00
Lucas Gravley
68d629d461 fix pip 2020-10-08 09:14:31 -05:00
Lucas Gravley
08c1113afc fix it 2020-10-08 09:11:26 -05:00
Lucas Gravley
2bec091dbb adding rules 2020-10-08 09:05:32 -05:00
kpj
1e453be7fa [Snakemake] Update codebase 2020-09-07 16:49:07 +02:00
Josselin
f34b084586 Add support for black config file 2020-09-02 11:28:57 +02:00
assignUser
8224e9e6e5 fix exit code 2020-08-19 17:51:07 +00:00
assignUser
e1bc1df9e7 add latex support 2020-08-18 22:54:32 +00:00
assignUser
0f47f68445 add .lintr detection 2020-08-17 12:01:25 +00:00
assignUser
f6fcfb7922 adjust .lintr 2020-08-16 00:20:06 +00:00
assignUser
d4f4bbd255 everything except linter.sh 2020-08-15 18:21:57 +00:00
Lucas Gravley
fb791083fb fix config 2020-08-11 13:40:38 -05:00
Lucas Gravley
9856082087 add sql goods 2020-08-11 12:30:00 -05:00
Tudor Marghidanu
523b14a2df PerlCritic basic implementation 2020-08-07 14:58:40 +02:00
Lucas Gravley
5ffa5518db fixed it real good 2020-08-06 10:56:06 -05:00