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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2ac32bc142da97f31d1f82eaf8ff6c096b791c3637b20c28cf3b569cdcfc255
4
- data.tar.gz: ee921d9e21413fd2ad5135d8dfbb5f0ec5266e18c85e3921354f7a9c98a56c68
3
+ metadata.gz: b0b5505c490be707c1d82d6aa49db94edfee7b45d6ff9c0e1ddd1342d00ea1e4
4
+ data.tar.gz: 3fb85226ed2f3e3ea8d2131634093a0bd36b705e7a6c5a394937e77a413a82cc
5
5
  SHA512:
6
- metadata.gz: a3dc141e6ce6b4c5fd7bbfcf0e5f9436ca789aa1020a1c173d56b994d0ec68ee7f54b3872a3cbd8e510368f2355d30bdbbe348eb5f8dddf5f33fb169928b3e5f
7
- data.tar.gz: 84aed381dde77584a9f63e352c948fac64d587729c09575fded054726c5d4a69fd4c3fc6cd91bbcf5223947d054d83a0327267dfe7d0db1b3489a3b04119574c
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 # all, none, or list of linter keys
7
- ENABLE_LINTERS: # All other linters will be disabled by default
8
- - ACTION_ACTIONLINT
9
- - API_SPECTRAL
10
- - ARM_ARM_TTK
11
- - BASH_EXEC
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
- - CLOUDFORMATION_CFN_LINT
19
- - COPYPASTE_JSCPD
14
+ # - CLOJURE_CLJ_KONDO # in Super-Linter
15
+ # - CLOJURE_CLJSTYLE
16
+ - COFFEE_COFFEELINT # in Super-Linter
20
17
  - CPP_CLANG_FORMAT
21
- - CPP_CPPCHECK
22
- - CPP_CPPLINT
23
- - CREDENTIALS_SECRETLINT
24
- - CSS_SCSSLINT
25
- - CSS_STYLELINT
26
- - DOCKERFILE_DOCKERFILELINT
27
- - DOCKERFILE_HADOLINT
28
- - ENV_DOTENV_LINTER
29
- - GHERKIN_GHERKIN_LINT
30
- - GIT_GIT_DIFF
31
- - GRAPHQL_GRAPHQL_SCHEMA_LINTER
32
- - HTML_DJLINT
33
- - HTML_HTMLHINT
34
- - JAVASCRIPT_ES
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
- - MARKDOWN_MARKDOWN_LINK_CHECK
44
- - MARKDOWN_MARKDOWN_TABLE_FORMATTER
45
- - MARKDOWN_MARKDOWNLINT
46
- - MARKDOWN_REMARK_LINT
47
- - OPENAPI_SPECTRAL
48
- - PROTOBUF_PROTOLINT
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
- - PYTHON_RUFF_FORMAT
58
- - R_LINTR
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.0...HEAD
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: 2af6973c231a711ae512dc2d3bd3280b11382d6c
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: 2af6973c231a711ae512dc2d3bd3280b11382d6c
22
+ safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
23
23
  ".github/workflows/main.yml":
24
24
  comments:
25
25
  reviewed_by: timgentry
26
- safe_revision: 2af6973c231a711ae512dc2d3bd3280b11382d6c
26
+ safe_revision: 9c246b038991ac78d79effd5f960e90a6a3e4547
27
27
  ".github/workflows/mega-linter.yml":
28
28
  comments:
29
29
  reviewed_by: timgentry
30
- safe_revision: 82687366222b885cbc41449f5bbd30fe9440cd4c
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: 82687366222b885cbc41449f5bbd30fe9440cd4c
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: a7cb816f5ea6c60b8050a8f15eb906dff0e7be72
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: a7cb816f5ea6c60b8050a8f15eb906dff0e7be72
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: 82687366222b885cbc41449f5bbd30fe9440cd4c
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: 82687366222b885cbc41449f5bbd30fe9440cd4c
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: shilpigoeldev
118
- safe_revision: 0c7aeda9a9a90b16cea0f1921e29b21d4f27e5ac
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: 82687366222b885cbc41449f5bbd30fe9440cd4c
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: a7cb816f5ea6c60b8050a8f15eb906dff0e7be72
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: 82687366222b885cbc41449f5bbd30fe9440cd4c
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
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  has_children: true
3
3
  layout: page
4
+ status: REQUIRED
5
+ enforcement: manual
4
6
  ---
5
7
 
6
8
  # Code Linting
@@ -1 +1,13 @@
1
1
  require 'way_of_working/code_linting/hdi'
2
+
3
+ # Add any plug specific code here
4
+
5
+ module WayOfWorking
6
+ module CodeLinting
7
+ module Hdi
8
+ # This makes zeitwerk happy, which makes us happy too
9
+ module Plugin
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  has_children: true
3
3
  layout: page
4
+ status: REQUIRED
5
+ enforcement: manual
4
6
  ---
5
7
 
6
8
  # Code Linting
@@ -3,7 +3,7 @@
3
3
  module WayOfWorking
4
4
  module CodeLinting
5
5
  module Hdi
6
- VERSION = '1.1.0'
6
+ VERSION = '1.1.1'
7
7
  end
8
8
  end
9
9
  end
@@ -13,7 +13,6 @@ end
13
13
 
14
14
  loader = Zeitwerk::Loader.for_gem_extension(WayOfWorking::CodeLinting)
15
15
  loader.collapse("#{__dir__}/hdi/generators/concerns")
16
- loader.ignore("#{__dir__}/hdi/plugin.rb")
17
16
  loader.setup
18
17
 
19
18
  module WayOfWorking
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.0
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-10-15 00:00:00.000000000 Z
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.5.22
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