All Questions
Tagged with prettier-eslint typescript-eslint
20
questions
0
votes
1
answer
963
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-...
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 ...
0
votes
1
answer
224
views
ESlint --config option not working and still uses the same root file config
I have this in my package.json
"scripts": {
"lint": "eslint --quiet .",
"lint:prcleancode": "eslint -c ./ci/.eslint-cleancode.json
The first ...
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 ...
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 ...
1
vote
1
answer
391
views
Problem with disabling rule "lines-between-class-members" eslint
In my project (playwright + ts) I used a eslint to checking my code.
I have problem with one rule 'lines-between-class-members'.
I don't want to use it, so according to documentation in .eslintrc.json ...
0
votes
1
answer
326
views
Intellij - jsx double quotes not applied
I am using intellij and I have started a react typescript project with vite, have added eslint and prettier, as well as lint-staged. After initially having single quotes for everything I wanted to ...
1
vote
1
answer
2k
views
"@typescript-eslint" recommends the Prettier for the stylistic issues, but has the Prettier same rules and options as ESLint?
From the @typescript-eslint documentation:
Suggested Usage - Prettier
Neither typescript-eslint nor ESLint core enable any
formatting-related rules in any recommended presets. However, some
third ...
1
vote
1
answer
3k
views
prettier configuration is conflicting with eslint
Our project in company uses .js files and eslint is used for formatting. now we are transforming our app slowly to use .ts and .tsx files so I enabled prettier formatting in .ts and .tsx files only ...
0
votes
0
answers
1k
views
Is there an eslint rule for sorting things other than object keys?
Currently, I use the sort-keys rule for eslint:
"sort-keys": [
"error",
"asc",
{
...
1
vote
2
answers
2k
views
Upgrading @vue/eslint-config-prettier 7.0.0 causes compile error - Error: Failed to load config "@vue/prettier/@typescript-eslint" to extend from
Fought through a bunch of NPM dependency errors, (see below) getting a compile time error, that had very few hits when I google the error message. I'm hoping someone can give me some context on the ...
1
vote
1
answer
137
views
I got "Delete `CD`" message from eslint error
I'm writing my first lines on Nestjs but when I create my first .ts file I got this error, I don't understand what this means.
0
votes
2
answers
4k
views
Set the `meta.hasSuggestions` property to `true`. `meta.docs.suggestion` is ignored by ESLint
I am trying to build the react.js project with npm run build, I am getting following error, I have tried many solution but nothing is working for me.
**Failed to compile.**
Rules with suggestions ...
15
votes
2
answers
5k
views
How to print ESLint progress as it runs, but not everything at once when all files are processed?
When running ESLint, nothing is print out until the whole process is done. How can I see the progress as it processed different files, instead of waiting until everything is done?
2
votes
1
answer
409
views
Disable eslint disable overrides?
Is there a way to disable use of eslint disable overrides?
For example, block the use of /* eslint disable-next-line */, etc so that a specific rule is enforced always without exception