lib/tasks/tw.rake
TODO found Open
Open
# TODO: Use Current
- Exclude checks
TODO found Open
Open
# TODO: update "database_user" to something more specific and reflective of what we see in Kubernetes by default?
- Exclude checks
TODO found Open
Open
# TODO: Use Dir.exist? and fix tasks that are treating data_directory as a file parameter
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
.execute("SELECT EXISTS(SELECT * FROM information_schema.tables " \
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"