Page MenuHomeDevCentral

Allow shellcheck linter to follow external sources
Open, NormalPublic

Description

In D3416, we can see shellcheck raises a warning a sourced file isn't followed. This warning is not about linting but about its own configuration.

We've several options here:

  • Update linter code to always follow external sources with -x, but the same code running on a laptop without /var/run/os-release existing would then fail
  • Ignore non linting messages (ie messages without references to a SC issue number)
  • Provide options to let user configure what's better

Event Timeline