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
node version: 10.10.10 npm version: 6.4.1 ng version: 6.2.1
OS: Arch Linux
Desired functionality
I'd like --lint-fix flag for ng generate to support tslint.yaml configuration in addition to tslint.json.
Mention any other details that might be useful
My TSLint configuration is in tslint.yaml file and ng lint works fine. Still ng generate --fix-lint gives error complaining tslint.json file is not present:
$ ng generate component shared/dropdown --lint-fix
Asked to run lint fixes, but could not find a tslint.json.
This is not consistent with ng lint nor with official tslint tool, as TSLint can be configured both in JSON and in YAML. Quoting official documentation:
When using the CLI or many third-party tools, a file named tslint.json or tslint.yaml is used to configure which rules get run and each of their options.
The text was updated successfully, but these errors were encountered:
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
node
version: 10.10.10npm
version: 6.4.1ng
version: 6.2.1OS: Arch Linux
Desired functionality
I'd like
--lint-fix
flag forng generate
to supporttslint.yaml
configuration in addition totslint.json
.Mention any other details that might be useful
My TSLint configuration is in
tslint.yaml
file andng lint
works fine. Stillng generate --fix-lint
gives error complainingtslint.json
file is not present:This is not consistent with
ng lint
nor with official tslint tool, as TSLint can be configured both in JSON and in YAML. Quoting official documentation:The text was updated successfully, but these errors were encountered: