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

All Questions

0 votes
0 answers
12 views

Prettier ignores tab width despite settings seem correct

I have this .prettierrc with "prettier": "^3.3.3" installed (package.json): { "printWidth": 100, "useTabs": true, "tabWidth": 2, "...
Oliver Hausler's user avatar
0 votes
1 answer
57 views

Prettier rule to break all html elements inside a block the same way

I am using default NextJS eslint rules and have prettier activated in VS Code. I am pretty sure this is a prettier configuration but basically when I am templating, I want all HTML elements inside a ...
mchl18's user avatar
  • 2,287
1 vote
1 answer
250 views

error message 'Delete `␍`eslintprettier/prettier' in nest js project

code prettier code prettierrc { "singleQuote": true, "trailingComma": "all" } eslintc.js module.exports = { parser: '@typescript-eslint/parser', ...
Marz m's user avatar
  • 11
0 votes
1 answer
961 views

Flat config file with configs from legacy eslintrc compat error

I am trying to get prettier, typescript, eslint with airbnb typescript syntax working with linting and auto formatting. The minimal node package.json file. { "name": "typescript-...
Rashiq's user avatar
  • 349
0 votes
0 answers
30 views

Code formatting not working properly in prettier-eslint

I use prettier-eslint for code formatting in vscode. All major tags formatted succesfully when save. But some tags divide the tag and it's class to another code line. I won't to get the tag and class ...
Nipun Vidarshana's user avatar
0 votes
0 answers
25 views

VSCode Saving causes code to appear on newline and adds double quotes

When saving, it automatically formats the code to appear on a newline and surrounds it with double quotes. I am not sure what setting on Prettier is causing this, how do I disable this formatting ...
Jeremy Chee's user avatar
0 votes
0 answers
163 views

Prettier plugin tailwindcss not working in the visual code

In our project we defined the configs for the prettier and eslint. the problem we facing down below so the when eslint server starting working that will not find the prettier-plugin-eslint but its ...
Shankar CJ's user avatar
0 votes
0 answers
15 views

Node_ Modules/qualifier/standalone. js 418:11

I introduced Prettier in my React project, but there was a compilation error/ Node_ Modules/qualifier/standalone. js 418:11 I would like to know how to solve it, When I commented out the code with the ...
尹皓秋's user avatar
1 vote
0 answers
43 views

VSCode producing wrong ESLint Prettier error

After saving my .tsx file in VSCode, Eslint/Prettier changes the order of the Tailwind classes. However, when I run Eslint in my terminal, it shows this reordering as an error. VSCode correct: ...
Garrett's user avatar
  • 11.6k
0 votes
0 answers
152 views

eslint ignores one specific file and doesn't show any warnings or errors

I'm making React/TS project with eslint and prettier. I installed and set up eslint and prettier following this guide. But eslint doesn't work in one specific file and logs the following in the VSCode ...
thirtythreeboas's user avatar
0 votes
1 answer
268 views

ERROR: Invalid configuration for file "/Users/hello/Documents/projects/hello_world/.eslintrc.json"

I'm getting this error message when I run the npm run format command in the root directory of my nextjs project: [error] Invalid configuration for file "/Users/hello/Documents/projects/...
r121's user avatar
  • 2,698
0 votes
0 answers
192 views

Prettier formats files specified in .prettierignore

When running the command pnpm exec prettier . --write files which supposedly should be specified to be ignored in .prettierignore are not being ignored. My .prettierignore, located in the root folder ...
Easteryard's user avatar
0 votes
0 answers
237 views

How to set blank line between imports in prettier?

I'm using prettier and Eslint, However there is a format conflict between them. My Eslint has a rule that set a blank line between imports: "padding-line-between-statements": [ &...
Ala Eddine Menai's user avatar
0 votes
0 answers
171 views

Why isn't my prettier custom plugin working?

i am creating new Vscode extention using prettier custom plugin for formatting code as requirement, my whole code work properly even extension is running properly but my plugin file that i describe ...
Mohit kavad's user avatar
0 votes
1 answer
1k views

How to get ESLint/Prettier to underline errors in code in TypeScript for VS Code

I've installed ESLint and Prettier in my project folder, along with about every add on I could find to help solve the issue. I've also installed and enabled the extensions. However, I don't get any ...
Scott-MEARN-Developer's user avatar

15 30 50 per page
1
2 3 4 5 6