Closed jtprogru closed 1 year ago
Yes, correctly using is '0755'
– single quote – rule 207 is covered, but if I using a "0755"
– double quote – salt-lint can't find this problem.
Double quote is not a problem AFAIK.
Single and double quote string marker in yaml makes no difference IIUC (except for backslash representation of special chars which is not the case here) https://yaml.org/spec/1.2.2/#73-flow-scalar-styles
What problem are you trying to catch?
I try to standardize all code in my infrastructure repo =) Maybe change severity for this rule - 218 – to 'INFO'.
@jtprogru, thank you for the contribution! Although the wording might suggest otherwise, it's allowed to wrap the digit in double quotes in YAML.
You can always use this rule by specifying the -r RULESDIR
combined with the -R
.
In documentation is written: