-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nf-core pipeline lint gives cryptic prettier error message #3262
Comments
Hi @marrip, We usually set prettier to skip these json files as they can not be linted by prettier. The
I guess you ticked off the feature of code linters? And that's why you don't have this file. When are you seeing this error? Because we don't run prettier with the |
Hey @mirpedrol! Yes, I ticked off all features so I think the |
I added the |
What is the content of your |
bump_version: null
lint:
base_config: false
files_exist:
- .github/ISSUE_TEMPLATE/bug_report.yml
- .github/ISSUE_TEMPLATE/feature_request.yml
- .github/PULL_REQUEST_TEMPLATE.md
- .github/CONTRIBUTING.md
- .github/.dockstore.yml
- .github/workflows/branch.yml
- .github/workflows/ci.yml
- .github/workflows/linting_comment.yml
- .github/workflows/linting.yml
- conf/igenomes.config
- conf/igenomes_ignored.config
- conf/igenomes.config
- .editorconfig
- .prettierignore
- .prettierrc.yml
- CITATIONS.md
- assets/multiqc_config.yml
- conf/base.config
- conf/modules.config
- modules.json
- CHANGELOG.md
- nextflow_schema.json
- LICENSE
- assets/email_template.html
- assets/sendmail_template.txt
- assets/email_template.txt
- docs/output.md
- docs/README.md
- docs/usage.md
- conf/test.config
- conf/test_full.config
- .gitattributes
- .github/workflows/ci.yml
- .github/ISSUE_TEMPLATE/bug_report.yml
- .github/ISSUE_TEMPLATE/feature_request.yml
- .github/PULL_REQUEST_TEMPLATE.md
- .github/CONTRIBUTING.md
- .github/.dockstore.yml
- .github/workflows/branch.yml
- .github/workflows/ci.yml
- .github/workflows/linting_comment.yml
- .github/workflows/linting.yml
- conf/igenomes.config
- conf/igenomes_ignored.config
- .editorconfig
- .prettierignore
- .prettierrc.yml
- CITATIONS.md
- assets/multiqc_config.yml
- conf/base.config
- conf/modules.config
- modules.json
- CHANGELOG.md
- nextflow_schema.json
- LICENSE
- assets/email_template.html
- assets/sendmail_template.txt
- assets/email_template.txt
- docs/output.md
- docs/README.md
- docs/usage.md
- conf/test.config
- conf/test_full.config
- .github/workflows/ci.yml
- CODE_OF_CONDUCT.md
- assets/nf-core-nextflow_logo_light.png
- docs/images/nf-core-nextflow_logo_light.png
- docs/images/nf-core-nextflow_logo_dark.png
- .github/ISSUE_TEMPLATE/config.yml
- .github/workflows/awstest.yml
- .github/workflows/awsfulltest.yml
files_unchanged:
- .github/ISSUE_TEMPLATE/bug_report.yml
- .github/ISSUE_TEMPLATE/config.yml
- .github/ISSUE_TEMPLATE/feature_request.yml
- .github/PULL_REQUEST_TEMPLATE.md
- .github/workflows/branch.yml
- .github/workflows/linting_comment.yml
- .github/workflows/linting.yml
- .github/CONTRIBUTING.md
- .github/.dockstore.yml
- .github/CONTRIBUTING.md
- .github/CONTRIBUTING.md
- assets/sendmail_template.txt
- LICENSE
- .prettierignore
- .prettierignore
- .prettierignore
- .github/CONTRIBUTING.md
- .github/PULL_REQUEST_TEMPLATE.md
- .github/ISSUE_TEMPLATE/bug_report.yml
- .github/ISSUE_TEMPLATE/config.yml
- .github/ISSUE_TEMPLATE/feature_request.yml
- .github/PULL_REQUEST_TEMPLATE.md
- .github/workflows/branch.yml
- .github/workflows/linting_comment.yml
- .github/workflows/linting.yml
- .github/CONTRIBUTING.md
- .github/.dockstore.yml
- .github/CONTRIBUTING.md
- .github/CONTRIBUTING.md
- assets/sendmail_template.txt
- LICENSE
- .prettierignore
- .prettierignore
- .prettierignore
- .github/CONTRIBUTING.md
- .github/PULL_REQUEST_TEMPLATE.md
- CODE_OF_CONDUCT.md
- assets/nf-core-nextflow_logo_light.png
- docs/images/nf-core-nextflow_logo_light.png
- docs/images/nf-core-nextflow_logo_dark.png
- .github/ISSUE_TEMPLATE/bug_report.yml
modules_config: false
modules_json: false
multiqc_config: false
nextflow_config: false
nfcore_components: false
readme:
- nextflow_badge
- nextflow_badge
- nextflow_badge
schema_description: false
schema_lint: false
schema_params: false
nf_core_version: 3.0.2
org_path: null
repository_type: pipeline
template:
author: "@marrip"
description: this is a mock pipeline
force: true
is_nfcore: false
name: nextflow
org: nf-core
outdir: .
skip_features:
- github
- ci
- igenomes
- github_badges
- nf_core_configs
- code_linters
- citations
- gitpod
- codespaces
- multiqc
- fastqc
- modules
- changelog
- nf_schema
- license
- email
- adaptivecard
- slackreport
- documentation
- test_config
- seqera_platform
version: 1.0.0dev
update: null |
I am able to recreate this issue. |
thanks for identifying this @awgymer 🙏 Then I will wait for a fix. |
Description of the bug
I created a custom pipeline with nf-core tools with minimal features and tried linting it. There were some issues with tests which were easy to fix, however, prettier fails and gives some cryptic error message (see below). I am not sure where this
tmp
folder comes from and what prettier is actually complaining about. Is it possible to turn it off for the nf-core lint process?Command used and terminal output
System information
No response
The text was updated successfully, but these errors were encountered: