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
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
If I put "single" after true in the config array, then it works. I tested rearranging the other possible config options like "jsx-double", and those all seem to work regardless of order, but as soon as "single" is not the first config option, the entire rule stops working.
Is this by design or a bug? I couldn't see any documentation on the ordering of config options mattering. Could this be affecting other rules too? I ordered all of my config options alphabetically because I assumed order wouldn't matter.
The text was updated successfully, but these errors were encountered:
I would have seen the error too if I was not using tslint-language-service, but Typescript doesn't yet support logging from plugins for end users. Although, this should probably be mentioned in the rule documentation.
Would it be better if we searched through argument list to find OPTION_SINGLE or OPTION_DOUBLE and throw error if no such argument provided? This way, argument order is irrelevant.
Bug Report
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
no error
Expected behavior
" should be ' (quotemark)
errorIf I put
"single"
aftertrue
in the config array, then it works. I tested rearranging the other possible config options like"jsx-double"
, and those all seem to work regardless of order, but as soon as"single"
is not the first config option, the entire rule stops working.Is this by design or a bug? I couldn't see any documentation on the ordering of config options mattering. Could this be affecting other rules too? I ordered all of my config options alphabetically because I assumed order wouldn't matter.
The text was updated successfully, but these errors were encountered: