#How to enforce cli to use double quotes?

4 messages · Page 1 of 1 (latest)

lucid wigeon
#

When using the CLI to generate components and others, how do you force double quotes to be used instead of single quotes in the generated files? I have my editorconfig and eslint set to use double quotes. Is there any such configuration for the CLI?

fallow plinth
#

AFAIK there's no config in ng-cli for that.
But it should be an error automatically fixable by eslint --fix

lucid wigeon
#

eslint --fix or ng lint --fix?

fallow plinth
#

ng lint should execute eslint