diff --git a/CHANGELOG.md b/CHANGELOG.md index 40a25cba0..da7f58511 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,8 +12,9 @@ - Add linting for ifEmpty(null) ([#3411](https://github.com/nf-core/tools/pull/3411)) - Fix arbitrarily nested params schema linting ([#3443](https://github.com/nf-core/tools/pull/3443)) -- fix: linting with comments after the input directive ([#3458](https://github.com/nf-core/tools/pull/3458)) +- Fix: linting with comments after the input directive ([#3458](https://github.com/nf-core/tools/pull/3458)) - EDAM ontology fixes ([#3460](https://github.com/nf-core/tools/pull/3460)) +- Fix default linting of nf-core components when `nf-core pipelines lint` is ran ([#3480](https://github.com/nf-core/tools/pull/3480)) ### Modules diff --git a/nf_core/pipelines/lint/__init__.py b/nf_core/pipelines/lint/__init__.py index add22ef7c..c0bb61d3e 100644 --- a/nf_core/pipelines/lint/__init__.py +++ b/nf_core/pipelines/lint/__init__.py @@ -599,7 +599,7 @@ def run_linting( lint_obj._load_lint_config() lint_obj.load_pipeline_config() - if lint_obj.lint_config and not lint_obj.lint_config["nfcore_components"]: + if lint_obj.lint_config and lint_obj.lint_config["nfcore_components"] is not None: module_lint_obj = None subworkflow_lint_obj = None else: