You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to access environment variable as integer from .swiftlint.yml file?
Every variable i use is imported as string, so setting source directory or path is no problem with ${VARIABLE} syntax. However using variables as integer for example for file_length or type_body_length doesn't work as expected. YAML format itself doesn't provide type casting, so my question is: is there work around or any plans to support that kind of feature?
The text was updated successfully, but these errors were encountered:
SimplyDanny
added
the
question
Question or doubts that needs discussion and clarification. Can become a bug or proposal.
label
Sep 4, 2024
SimplyDanny
added
enhancement
Ideas for improvements of existing features and rules.
and removed
question
Question or doubts that needs discussion and clarification. Can become a bug or proposal.
labels
Nov 17, 2024
Is it possible to access environment variable as integer from
.swiftlint.yml
file?Every variable i use is imported as string, so setting source directory or path is no problem with
${VARIABLE}
syntax. However using variables as integer for example forfile_length
ortype_body_length
doesn't work as expected. YAML format itself doesn't provide type casting, so my question is: is there work around or any plans to support that kind of feature?The text was updated successfully, but these errors were encountered: