All Questions
Tagged with prettier-eslint angular
4
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-...
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/**/*"
],
&...
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 ...
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 -> ...