way_of_working-code_linting-hdi 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.mega-linter.yml +109 -61
- data/CHANGELOG.md +9 -1
- data/code_safety.yml +14 -14
- data/docs/way_of_working/code-linting/index.md +2 -0
- data/lib/way_of_working/code_linting/hdi/plugin.rb +12 -0
- data/lib/way_of_working/code_linting/hdi/templates/docs/way_of_working/code-linting/index.md.tt +2 -0
- data/lib/way_of_working/code_linting/hdi/version.rb +1 -1
- data/lib/way_of_working/code_linting/hdi.rb +0 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0b5505c490be707c1d82d6aa49db94edfee7b45d6ff9c0e1ddd1342d00ea1e4
|
|
4
|
+
data.tar.gz: 3fb85226ed2f3e3ea8d2131634093a0bd36b705e7a6c5a394937e77a413a82cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1be504c13400869436332a6ef4a7f4e98ee64c8df5b3eed005beb9fa68caf34fe7bcb533491ce308c7ee65c55a0c94fa6d65273591ba093e064bc7d55162434
|
|
7
|
+
data.tar.gz: 502f0e10e48072c2df0b5c075a4e4dd1bff46c96a5f6d12bce8aec44da4c28362602a3faa73035c94a31951a03c602e3d3b601abae48d8970c0cb2198b21e2ed
|
data/.mega-linter.yml
CHANGED
|
@@ -3,65 +3,127 @@
|
|
|
3
3
|
# See all available variables at https://megalinter.io/configuration/
|
|
4
4
|
# and in linters documentation
|
|
5
5
|
|
|
6
|
-
APPLY_FIXES: none
|
|
7
|
-
ENABLE_LINTERS:
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
- BASH_SHELLCHECK
|
|
13
|
-
- BASH_SHFMT
|
|
14
|
-
- BICEP_BICEP_LINTER
|
|
6
|
+
APPLY_FIXES: none # all, none, or list of linter keys
|
|
7
|
+
ENABLE_LINTERS: # All other linters will be disabled by default
|
|
8
|
+
### Languages
|
|
9
|
+
- BASH_EXEC # in Super-Linter
|
|
10
|
+
- BASH_SHELLCHECK # in Super-Linter
|
|
11
|
+
- BASH_SHFMT # in Super-Linter
|
|
15
12
|
- C_CLANG_FORMAT
|
|
16
|
-
- C_CPPCHECK
|
|
17
13
|
- C_CPPLINT
|
|
18
|
-
-
|
|
19
|
-
-
|
|
14
|
+
# - CLOJURE_CLJ_KONDO # in Super-Linter
|
|
15
|
+
# - CLOJURE_CLJSTYLE
|
|
16
|
+
- COFFEE_COFFEELINT # in Super-Linter
|
|
20
17
|
- CPP_CLANG_FORMAT
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
- JSON_ESLINT_PLUGIN_JSONC
|
|
36
|
-
- JSON_JSONLINT
|
|
37
|
-
- JSON_NPM_PACKAGE_JSON_LINT
|
|
38
|
-
- JSON_PRETTIER
|
|
39
|
-
- JSON_V8R
|
|
18
|
+
- CPP_CPPLINT # in Super-Linter
|
|
19
|
+
- CSHARP_CSHARPIER
|
|
20
|
+
- CSHARP_DOTNET_FORMAT # in Super-Linter
|
|
21
|
+
- CSHARP_ROSLYNATOR
|
|
22
|
+
- DART_DARTANALYZER # in Super-Linter
|
|
23
|
+
- GO_GOLANGCI_LINT # in Super-Linter
|
|
24
|
+
- GO_REVIVE
|
|
25
|
+
# - GROOVY_NPM_GROOVY_LINT # in Super-Linter
|
|
26
|
+
- JAVA_CHECKSTYLE # in Super-Linter
|
|
27
|
+
- JAVA_PMD
|
|
28
|
+
- JAVASCRIPT_ES # in Super-Linter
|
|
29
|
+
# - JAVASCRIPT_PRETTIER
|
|
30
|
+
- JAVASCRIPT_STANDARD # in Super-Linter
|
|
31
|
+
- JSX_ESLINT
|
|
40
32
|
- KOTLIN_DETEKT
|
|
41
|
-
- KOTLIN_KTLINT
|
|
33
|
+
- KOTLIN_KTLINT # in Super-Linter
|
|
34
|
+
# - LUA_LUACHECK # in Super-Linter
|
|
35
|
+
# - LUA_SELENE
|
|
36
|
+
# - LUA_STYLUA
|
|
42
37
|
- MAKEFILE_CHECKMAKE
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
38
|
+
# - PERL_PERLCRITIC # in Super-Linter
|
|
39
|
+
# - PHP_BUILTIN
|
|
40
|
+
# - PHP_PHPCS # in Super-Linter
|
|
41
|
+
# - PHP_PHPCSFIXER
|
|
42
|
+
# - PHP_PHPLINT # in Super-Linter
|
|
43
|
+
# - PHP_PHPSTAN # in Super-Linter
|
|
44
|
+
# - PHP_PSALM # in Super-Linter
|
|
45
|
+
# - POWERSHELL_POWERSHELL
|
|
46
|
+
# - POWERSHELL_POWERSHELL_FORMATTER
|
|
49
47
|
- PYTHON_BANDIT
|
|
50
|
-
- PYTHON_BLACK
|
|
51
|
-
- PYTHON_FLAKE8
|
|
52
|
-
- PYTHON_ISORT
|
|
48
|
+
- PYTHON_BLACK # in Super-Linter
|
|
49
|
+
- PYTHON_FLAKE8 # in Super-Linter
|
|
50
|
+
- PYTHON_ISORT # in Super-Linter
|
|
53
51
|
- PYTHON_MYPY
|
|
54
|
-
- PYTHON_PYLINT
|
|
52
|
+
- PYTHON_PYLINT # in Super-Linter
|
|
55
53
|
- PYTHON_PYRIGHT
|
|
56
54
|
- PYTHON_RUFF
|
|
57
|
-
-
|
|
58
|
-
-
|
|
55
|
+
- R_LINTR # in Super-Linter
|
|
56
|
+
# - RAKU_RAKU # in Super-Linter
|
|
57
|
+
# - RUBY_RUBOCOP # in Super-Linter
|
|
58
|
+
- RUST_CLIPPY # in Super-Linter
|
|
59
|
+
# - SALESFORCE_LIGHTNING_FLOW_SCANNER
|
|
60
|
+
# - SALESFORCE_SFDX_SCANNER_APEX
|
|
61
|
+
# - SALESFORCE_SFDX_SCANNER_AURA
|
|
62
|
+
# - SALESFORCE_SFDX_SCANNER_LWC
|
|
63
|
+
- SCALA_SCALAFIX
|
|
64
|
+
- SQL_SQLFLUFF # in Super-Linter
|
|
65
|
+
- SQL_TSQLLINT
|
|
66
|
+
- SWIFT_SWIFTLINT
|
|
67
|
+
- TSX_ESLINT
|
|
68
|
+
- TYPESCRIPT_ES # in Super-Linter
|
|
69
|
+
# - TYPESCRIPT_PRETTIER
|
|
70
|
+
- TYPESCRIPT_STANDARD # in Super-Linter
|
|
71
|
+
# - VBDOTNET_DOTNET_FORMAT
|
|
72
|
+
|
|
73
|
+
### Formats
|
|
74
|
+
- CSS_STYLELINT # in Super-Linter
|
|
75
|
+
- ENV_DOTENV_LINTER # in Super-Linter
|
|
76
|
+
# - GRAPHQL_GRAPHQL_SCHEMA_LINTER
|
|
77
|
+
# - HTML_DJLINT # Refuses to see config file
|
|
78
|
+
- HTML_HTMLHINT # in Super-Linter
|
|
79
|
+
- JSON_ESLINT_PLUGIN_JSONC # in Super-Linter
|
|
80
|
+
- JSON_JSONLINT
|
|
81
|
+
- JSON_NPM_PACKAGE_JSON_LINT
|
|
82
|
+
# - JSON_PRETTIER
|
|
83
|
+
- JSON_V8R
|
|
84
|
+
# - LATEX_CHKTEX # in Super-Linter
|
|
85
|
+
- MARKDOWN_MARKDOWNLINT # in Super-Linter
|
|
86
|
+
- MARKDOWN_MARKDOWN_LINK_CHECK
|
|
87
|
+
- MARKDOWN_MARKDOWN_TABLE_FORMATTER
|
|
88
|
+
- MARKDOWN_REMARK_LINT
|
|
89
|
+
# - PROTOBUF_PROTOLINT # in Super-Linter
|
|
90
|
+
# - RST_RSTCHECK
|
|
91
|
+
# - RST_RSTFMT
|
|
92
|
+
# - RST_RST_LINT
|
|
93
|
+
- XML_XMLLINT # in Super-Linter
|
|
94
|
+
# - YAML_PRETTIER
|
|
95
|
+
- YAML_V8R
|
|
96
|
+
- YAML_YAMLLINT # in Super-Linter
|
|
97
|
+
|
|
98
|
+
### Tooling
|
|
99
|
+
- ACTION_ACTIONLINT # in Super-Linter
|
|
100
|
+
- ANSIBLE_ANSIBLE_LINT # in Super-Linter
|
|
101
|
+
- API_SPECTRAL
|
|
102
|
+
- ARM_ARM_TTK # in Super-Linter
|
|
103
|
+
# - BICEP_BICEP_LINTER
|
|
104
|
+
- CLOUDFORMATION_CFN_LINT # in Super-Linter
|
|
105
|
+
- DOCKERFILE_HADOLINT # in Super-Linter
|
|
106
|
+
- EDITORCONFIG_EDITORCONFIG_CHECKER # in Super-Linter
|
|
107
|
+
# - GHERKIN_GHERKIN_LINT # in Super-Linter
|
|
108
|
+
- KUBERNETES_HELM
|
|
109
|
+
- KUBERNETES_KUBECONFORM
|
|
110
|
+
- KUBERNETES_KUBESCAPE
|
|
111
|
+
- PUPPET_PUPPET_LINT
|
|
112
|
+
# - SNAKEMAKE_LINT # in Super-Linter
|
|
113
|
+
# - SNAKEMAKE_SNAKEFMT # in Super-Linter
|
|
114
|
+
# - TEKTON_TEKTON_LINT # in Super-Linter
|
|
115
|
+
- TERRAFORM_TERRAFORM_FMT # in Super-Linter
|
|
116
|
+
- TERRAFORM_TERRAGRUNT # in Super-Linter
|
|
117
|
+
- TERRAFORM_TERRASCAN # in Super-Linter
|
|
118
|
+
- TERRAFORM_TFLINT # in Super-Linter
|
|
119
|
+
|
|
120
|
+
### Code quality checkers
|
|
121
|
+
- COPYPASTE_JSCPD # in Super-Linter
|
|
59
122
|
- REPOSITORY_CHECKOV
|
|
60
123
|
- REPOSITORY_DEVSKIM
|
|
61
124
|
- REPOSITORY_DUSTILOCK
|
|
62
125
|
- REPOSITORY_GIT_DIFF
|
|
63
|
-
- REPOSITORY_GITLEAKS
|
|
64
|
-
- REPOSITORY_GOODCHECK
|
|
126
|
+
- REPOSITORY_GITLEAKS # in Super-Linter
|
|
65
127
|
- REPOSITORY_GRYPE
|
|
66
128
|
- REPOSITORY_KICS
|
|
67
129
|
- REPOSITORY_LS_LINT
|
|
@@ -71,24 +133,10 @@ ENABLE_LINTERS: # All other linters will be disabled by default
|
|
|
71
133
|
- REPOSITORY_TRIVY
|
|
72
134
|
- REPOSITORY_TRIVY_SBOM
|
|
73
135
|
- REPOSITORY_TRUFFLEHOG
|
|
136
|
+
# - SPELL_CSPELL
|
|
74
137
|
- SPELL_LYCHEE
|
|
75
|
-
- SPELL_MISSPELL
|
|
76
138
|
- SPELL_PROSELINT
|
|
77
139
|
- SPELL_VALE
|
|
78
|
-
- SQL_SQL_LINT
|
|
79
|
-
- SQL_SQLFLUFF
|
|
80
|
-
- SQL_TSQLLINT
|
|
81
|
-
- SWIFT_SWIFTLINT
|
|
82
|
-
- TERRAFORM_CHECKOV
|
|
83
|
-
- TERRAFORM_KICS
|
|
84
|
-
- TERRAFORM_TERRAFORM_FMT
|
|
85
|
-
- TERRAFORM_TERRAGRUNT
|
|
86
|
-
- TERRAFORM_TERRASCAN
|
|
87
|
-
- TERRAFORM_TFLINT
|
|
88
|
-
- XML_XMLLINT
|
|
89
|
-
- YAML_PRETTIER
|
|
90
|
-
- YAML_V8R
|
|
91
|
-
- YAML_YAMLLINT
|
|
92
140
|
|
|
93
141
|
SHOW_ELAPSED_TIME: false
|
|
94
142
|
FILEIO_REPORTER: false
|
data/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [1.1.1] - 2025-11-28
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Updated GitHub rule signatures
|
|
16
|
+
- Removed Zeitwerk ignore to make it happier
|
|
17
|
+
|
|
11
18
|
## [1.1.0] - 2025-10-15
|
|
12
19
|
|
|
13
20
|
### Added
|
|
@@ -30,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
30
37
|
- Added MegaLinter for linting common file formats with generator command and rake task
|
|
31
38
|
- Added a GitHub audit rule to check that linting is used and configured correctly
|
|
32
39
|
|
|
33
|
-
[unreleased]: https://github.com/HealthDataInsight/way_of_working-code_linting-hdi/compare/v1.1.
|
|
40
|
+
[unreleased]: https://github.com/HealthDataInsight/way_of_working-code_linting-hdi/compare/v1.1.1...HEAD
|
|
41
|
+
[1.1.1]: https://github.com/HealthDataInsight/way_of_working-code_linting-hdi/compare/v1.0.0...v1.1.1
|
|
34
42
|
[1.1.0]: https://github.com/HealthDataInsight/way_of_working-code_linting-hdi/compare/v1.0.0...v1.1.0
|
|
35
43
|
[1.0.0]: https://github.com/HealthDataInsight/way_of_working-code_linting-hdi/releases/tag/v1.0.0
|
data/code_safety.yml
CHANGED
|
@@ -11,7 +11,7 @@ file safety:
|
|
|
11
11
|
".github/linters/.markdown-link-check.json":
|
|
12
12
|
comments:
|
|
13
13
|
reviewed_by: timgentry
|
|
14
|
-
safe_revision:
|
|
14
|
+
safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
|
|
15
15
|
".github/linters/rubocop_defaults.yml":
|
|
16
16
|
comments:
|
|
17
17
|
reviewed_by: shilpigoeldev
|
|
@@ -19,15 +19,15 @@ file safety:
|
|
|
19
19
|
".github/workflows/inclusive-language.yml":
|
|
20
20
|
comments:
|
|
21
21
|
reviewed_by: timgentry
|
|
22
|
-
safe_revision:
|
|
22
|
+
safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
|
|
23
23
|
".github/workflows/main.yml":
|
|
24
24
|
comments:
|
|
25
25
|
reviewed_by: timgentry
|
|
26
|
-
safe_revision:
|
|
26
|
+
safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
|
|
27
27
|
".github/workflows/mega-linter.yml":
|
|
28
28
|
comments:
|
|
29
29
|
reviewed_by: timgentry
|
|
30
|
-
safe_revision:
|
|
30
|
+
safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
|
|
31
31
|
".gitignore":
|
|
32
32
|
comments:
|
|
33
33
|
reviewed_by: timgentry
|
|
@@ -35,7 +35,7 @@ file safety:
|
|
|
35
35
|
".mega-linter.yml":
|
|
36
36
|
comments:
|
|
37
37
|
reviewed_by: timgentry
|
|
38
|
-
safe_revision:
|
|
38
|
+
safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
|
|
39
39
|
".rubocop":
|
|
40
40
|
comments:
|
|
41
41
|
reviewed_by: shilpigoeldev
|
|
@@ -43,7 +43,7 @@ file safety:
|
|
|
43
43
|
CHANGELOG.md:
|
|
44
44
|
comments:
|
|
45
45
|
reviewed_by: shilpigoeldev
|
|
46
|
-
safe_revision:
|
|
46
|
+
safe_revision: 021a64c32f5dc6541497d661b683a36bc793c091
|
|
47
47
|
Gemfile:
|
|
48
48
|
comments:
|
|
49
49
|
reviewed_by: timgentry
|
|
@@ -51,7 +51,7 @@ file safety:
|
|
|
51
51
|
Gemfile.lock:
|
|
52
52
|
comments:
|
|
53
53
|
reviewed_by: shilpigoeldev
|
|
54
|
-
safe_revision:
|
|
54
|
+
safe_revision: 021a64c32f5dc6541497d661b683a36bc793c091
|
|
55
55
|
LICENSE.txt:
|
|
56
56
|
comments:
|
|
57
57
|
reviewed_by: shilpigoeldev
|
|
@@ -75,7 +75,7 @@ file safety:
|
|
|
75
75
|
docs/way_of_working/code-linting/index.md:
|
|
76
76
|
comments:
|
|
77
77
|
reviewed_by: timgentry
|
|
78
|
-
safe_revision:
|
|
78
|
+
safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
|
|
79
79
|
docs/way_of_working/code-linting/linters.md:
|
|
80
80
|
comments:
|
|
81
81
|
reviewed_by: timgentry
|
|
@@ -83,7 +83,7 @@ file safety:
|
|
|
83
83
|
lib/way_of_working/code_linting/hdi.rb:
|
|
84
84
|
comments:
|
|
85
85
|
reviewed_by: timgentry
|
|
86
|
-
safe_revision:
|
|
86
|
+
safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
|
|
87
87
|
lib/way_of_working/code_linting/hdi/generators/concerns/github_metadata.rb:
|
|
88
88
|
comments:
|
|
89
89
|
reviewed_by: shilpigoeldev
|
|
@@ -114,8 +114,8 @@ file safety:
|
|
|
114
114
|
safe_revision: b89ef4afd67d02b6f6ff323bb9accde2dcf2686d
|
|
115
115
|
lib/way_of_working/code_linting/hdi/plugin.rb:
|
|
116
116
|
comments:
|
|
117
|
-
reviewed_by:
|
|
118
|
-
safe_revision:
|
|
117
|
+
reviewed_by: timgentry
|
|
118
|
+
safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
|
|
119
119
|
lib/way_of_working/code_linting/hdi/supported_linter.rb:
|
|
120
120
|
comments:
|
|
121
121
|
reviewed_by: shilpigoeldev
|
|
@@ -147,7 +147,7 @@ file safety:
|
|
|
147
147
|
lib/way_of_working/code_linting/hdi/templates/docs/way_of_working/code-linting/index.md.tt:
|
|
148
148
|
comments:
|
|
149
149
|
reviewed_by: timgentry
|
|
150
|
-
safe_revision:
|
|
150
|
+
safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
|
|
151
151
|
lib/way_of_working/code_linting/hdi/templates/docs/way_of_working/code-linting/linters.md.tt:
|
|
152
152
|
comments:
|
|
153
153
|
reviewed_by: shilpigoeldev
|
|
@@ -155,7 +155,7 @@ file safety:
|
|
|
155
155
|
lib/way_of_working/code_linting/hdi/version.rb:
|
|
156
156
|
comments:
|
|
157
157
|
reviewed_by: shilpigoeldev
|
|
158
|
-
safe_revision:
|
|
158
|
+
safe_revision: 021a64c32f5dc6541497d661b683a36bc793c091
|
|
159
159
|
test/resources/XcodeApp.xcodeproj/project.pbxproj:
|
|
160
160
|
comments:
|
|
161
161
|
reviewed_by: shilpigoeldev
|
|
@@ -167,7 +167,7 @@ file safety:
|
|
|
167
167
|
test/way_of_working/audit_github_stub_classes.rb:
|
|
168
168
|
comments:
|
|
169
169
|
reviewed_by: timgentry
|
|
170
|
-
safe_revision:
|
|
170
|
+
safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
|
|
171
171
|
test/way_of_working/code_linting/hdi/generators/document_linters_test.rb:
|
|
172
172
|
comments:
|
|
173
173
|
reviewed_by: shilpigoeldev
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: way_of_working-code_linting-hdi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Gentry
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: octokit
|
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
112
112
|
- !ruby/object:Gem::Version
|
|
113
113
|
version: '0'
|
|
114
114
|
requirements: []
|
|
115
|
-
rubygems_version: 3.
|
|
115
|
+
rubygems_version: 3.3.26
|
|
116
116
|
signing_key:
|
|
117
117
|
specification_version: 4
|
|
118
118
|
summary: Way of Working plugin for HDI code linting using MegaLinter and Rubocop
|