# More linter adventures

**URL:** <https://community.seqera.io/t/more-linter-adventures/2245>\
**Category:** Ask for help\
**Created:** [June 30, 2025, 11:10am UTC](https://community.seqera.io/t/more-linter-adventures/2245 "2025-06-30T11:10:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Poshi](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/poshi/32/1126_2.png) [@Poshi](https://community.seqera.io/u/Poshi)\
**Post date:** [June 30, 2025, 11:10am UTC](https://community.seqera.io/t/more-linter-adventures/2245/1 "2025-06-30T11:10:32Z")

</div>

In a previously fine `nextflow.config` file, a set of linting issues suddenly appeared.  
In

```auto
params {
    // Timestamps config
    raw_timestamp = java.time.LocalDateTime.now()
    timestamp = String.format('%tFT%<tH:%<tM', raw_timestamp)
    month_folder = String.format('/%tY/%<tm', raw_timestamp)
}

```

the linter complains about `raw_timestamp` is not defined` in the two lines where it is used.

* * *

In

```auto
profiles {
    standard {
        process {
            executor = 'local'
            resourceLimits = [cpus: params.max_cpus, memory: params.max_memory, time: params.max_time]
        }
    }

    cluster {
        process {
            executor = 'slurm'
            resourceLimits = [cpus: params.max_cpus, memory: params.max_memory, time: params.max_time]
        }
        executor {
            jobName = { "PipelineName-${task.name.replaceAll(" ", "_")}" }
            queueSize = 20000
        }
    }
}

```

the definition of `jobName` in `profiles.cluster.executor` complains about `Dynamic config options are only allowed in the 'process' scope`. It also tells me that `'task' is not defined`. Should I move that definition to the process scope above?

* * *

Finally, in

```auto
process {
    ...
    withName: 'PROCESS_NAME' {
        publishDir = [
            path: {
                meta.Name ?
                    "$params.outdir/$meta.Name"
                    : "$params.outdir/$meta.OtherName"
                },
            pattern: "*.report.json",
            mode: "link"
        ]
    }
    ...
}

```

it complains about `'meta' is not defined`. How could I solve this?

* * *

All the definitions work flawlessly, so despite some things “not being defined”, the runtime finds it in place.
