warpnet / salt-lint

A command-line utility that checks for best practices in SaltStack.
https://salt-lint.readthedocs.io/en/latest/
MIT License
152 stars 39 forks source link

[210] False positives when looking for numbers starting with '0' #301

Open roaldnefs opened 1 year ago

roaldnefs commented 1 year ago

The false positives fixed in #293 where introduced again by reverting the changes in c16a4f339f8c4db81b21f56f0618f444f71d8dba to address the false positives discovered in #299.

Related information:

roaldnefs commented 1 year ago

The example in https://github.com/warpnet/salt-lint/discussions/297#discussioncomment-4700366 shows a possible solution to interpret the SLS file as YAML to look for numbers in de scalar tokens.