Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
707 views

Tslint to ESLint Migration Error : unknown option '--remove-tslint-if-no-more-tslint-targets'

I am using the below option to convert from TSLint to ESLint on Angular 11 and getting the below error ng g @angular-eslint/schematics:convert-tslint-to-eslint --remove-tslint-if-no-more-tslint-...
jslover2020's user avatar
1 vote
0 answers
305 views

Adding plugin:prettier/recommended to the eslintrc.json the ng lint goes infinite

If I use plugin:prettier/recommended to the exlintrc.json the ng lint goes infinite. .eslintrc.json { "root": true, "ignorePatterns": [ "projects/**/*" ], &...
San Jaisy's user avatar
  • 16.5k
9 votes
1 answer
14k views

Failed to load config "prettier" to extend from

I am using Prettier as a formatter, so I configured eslint-plugin-prettier. I did everything from this guide but when I try to run ng lint I get this error: An unhandled exception occurred: Failed to ...
NeNaD's user avatar
  • 19.8k
1 vote
1 answer
569 views

WebStorm change single quotes to double when there is an apostrophe when commit

After I commit a file, my IDE WebStorm changes the string 'We can\’t' to "We can’t" How can I prevent this ? I already do Preferences -> Editor -> Code Style -> TypeScript -> ...
Ursule Maffo's user avatar