Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
222 views

I have a folder with this structure: root |- folderA |- folderB |- folderC I want to apply two sets of rules to eslint to each folderA and folderB and completely skip folderC. so I have this: export ...
0 votes
0 answers
47 views

How do I turn this off in prettier? error Replace `'foo \'n bar'` with `"foo 'n bar"` prettier/prettier In my eslint.config.ts, I already have this line: 'prettier/prettier': ['error', { ...
0 votes
1 answer
189 views

I'm encountering a formatting issue between Prettier and Angular's template parser. Specifically, Prettier reformats my inline Angular template in a way that introduces an NG5002 parser error during ...
0 votes
0 answers
86 views

I'm using the eslint-plugin-prettier in a Next.js project. This is what my eslint config looks like: import { FlatCompat } from "@eslint/eslintrc"; import eslintPluginPrettierRecommended ...
0 votes
1 answer
159 views

Previously I got my projects configured this way by using the extend attribute: { "root": true, "ignorePatterns": ["**/*"], "plugins": ["@nx"...
0 votes
1 answer
1k views

I'm trying to convert my .eslintrc.cjs to eslint.config.js with migration of ESLint. My current config file has extends: ['eslint:recommended', 'plugin:vue/vue3-recommended', 'plugin:@...
0 votes
0 answers
677 views

I have a Vite+React project and everything was working fine. I haven't opened it for a month and now when I do open it, I see an error like this in all the components. Also, Prettier doesn't fix or ...
1 vote
1 answer
146 views

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,366
1 vote
1 answer
2k views

code prettier code prettierrc { "singleQuote": true, "trailingComma": "all" } eslintc.js module.exports = { parser: '@typescript-eslint/parser', ...
0 votes
1 answer
3k views

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-...
31 votes
1 answer
53k views

node version: 20.11.0 pnpm version: 8.15.0 os: Windows I was following the instructions in https://prettier.io/docs/en/install.html I ran the second command pnpm exec husky install and cmd gives me ...
-1 votes
1 answer
70 views

i installed the pritter extension and it doesn't work not in any language like javaScript and not in the react js project...? Every time when i select the prettier to formate the code it doesn't do ...
M.Zubair's user avatar
1 vote
1 answer
428 views

I have this in my package.json "scripts": { "lint": "eslint --quiet .", "lint:prcleancode": "eslint -c ./ci/.eslint-cleancode.json The first ...
1 vote
0 answers
96 views

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: ...
7 votes
3 answers
22k views

Is there a quick guide / tutorial for how to easily set up auto-code-formatting, eslint/prettier, etc. in vscode? (Specifically for code formatting of React, React-Native projects). Simply downloading ...

15 30 50 per page
1
2 3 4 5
...
10

AltStyle によって変換されたページ (->オリジナル) /