eslintrc Questions

6

Solved

As the title says, would it be possible for eslint to show warnings instead of errors on ALL of the rules? I'm using Standard JS, if that information is relevant. Thanks!
Evvoia asked 5/6, 2018 at 17:9

3

I use neovim to develop TypeScript, I upgraded eslint 8.28.0 When I opened neovim it got an error, I tried many times to solve it, but still could not solve this problem, please ask for help ❴eslin...
Izard asked 2/12, 2022 at 11:37

2

Solved

ESlint does not hook the code and does not give errors when saving, but if you run the npm run lint command, then the errors are shown, I will attach screenshots with the settings "@typesc...
Grados asked 8/2, 2023 at 4:53

5

I've installed the ESlint by following these steps: https://travishorn.com/setting-up-eslint-on-vs-code-with-airbnb-javascript-style-guide-6eb78a535ba6 Now, my ESlint is working from the terminal,...

1

I have recently updated my eslint version in create-react-app project. Previously I was using eslint V7.24 and I was using .eslintrc.js file but after updating to eslint v9.0.0 I started getting er...
Boughton asked 11/4, 2024 at 6:40

0

Problem After using nx g @nx/eslint:convert-to-flat-config described here I got automatically generated config files like this (example for a library named "not-found"): const { FlatCompa...
Aikens asked 26/3, 2024 at 9:29

7

When I'm trying to build the Next.Js app then the below error is coming with a successful build. This error is showing when I deploy the app in Vercel. error - ESLint: Failed to load config "n...
Submiss asked 29/3, 2022 at 13:1

2

We have a CircleCI Pipeline. We have a older version of eslint i.e. 5.10.0 which was around three years ago installed and now client wants to upgrade node version to 16 and upgrade related packages...
Protectionism asked 22/3, 2022 at 12:41

3

While coding, I was not using eslint. Now I installed it and it has flooded my editor with prettier/prettier errors, which by no way seem like they make my code prettier. I am looking to find a way...
Eschalot asked 17/10, 2019 at 4:0

44

I am using VS Code with Prettier 1.7.2 and ESLint 1.7.0. After every newline I get: [eslint] Delete `CR` [prettier/prettier] This is the .eslintrc.json: { "extends": ["airbnb"...

25

Solved

I am an Angular Developer and new to React , This is simple react Component but not working import react , { Component} from 'react'; import { render } from 'react-dom'; class TechView extends C...
Mcwherter asked 7/3, 2017 at 5:6

5

Solved

I have a folder structure similar to this: /root .eslintrc.json package.json /someFolder /sub /sub /anotherFolder /src /containers /components /oneMoreFolder /sub /sub I'm working wi...
Finstad asked 4/1, 2018 at 0:56

1

Solved

I am using eslint, prettier, vite for a React project. I have set my VSCode workspace settings for "source.fixAll.eslint" and "source.organizeImports" to true. But it keeps chan...
Kidd asked 11/12, 2023 at 5:25

6

I am trying to get rid of the error in relation to @vue/prettier. I have tried a few things, but it seems to throw up even more errors. My .eslintrc.js is as follows: module.exports = { root: true...
Sf asked 19/2, 2021 at 21:33

4

I am trying to use ESLint in WebStrom, but it doesn't work and displays an error: ESLint: Parsing error: This experimental syntax requires enabling one of the following parser plugin(s): 'jsx, flo...

2

I am reconfiguring my project from tslint to eslint. I can run eslint manually, but webpack fails to run with this error message: Module build failed (from /path/node_modules/eslint-loader/index....
Billingsley asked 4/2, 2019 at 11:18

4

Solved

I know there are a lot of answers like this, this or this out there and some people may flag my question as duplicate, but believe me I am struggling with this because neither of them is working fo...
Woodhouse asked 17/1, 2023 at 9:44

7

Solved

I'm installing eslint and Prettier in my project and trying to get automatic code formatting to work through VSCode. When I go to a React file, I see that ESLint is in error so I open up the ESLint...
Swiercz asked 4/2, 2020 at 19:48

4

I want to use eslint command flag --fix to just fix one rule. And I tried the command: eslint --fix --config ./.eslintrcsomerules.js .. But it does not work. How to achieve the object? My .eslintr...
Bibliophage asked 15/12, 2017 at 8:44

2

Solved

Is there a way to allow for {} (an empty object) while keeping the rest as is? "object-curly-newline": [ "error", { "ObjectExpression": "always", "...
Lur asked 4/11, 2020 at 14:22

6

Solved

I'm working in an Angular 11 project. A lot of the imports in this project are using a relative path or an absolute path. I have ESLint set-up for this project, I want to prevent relative import pa...
Soninlaw asked 11/1, 2021 at 16:8

4

Solved

I am trying to import the files using custom aliases following the nextjs documentation. My current approach is from import Header from '../../../components/Header'; to import Header from '@compon...
Afghan asked 7/7, 2020 at 15:18

7

Solved

I have read about 10-15 other answers now and none of the solutions (which are all the same minus 3 or 4) have worked for me. I am using Prettier and Vetur and I have the ESLint extension in VSCode...
Minuend asked 12/10, 2020 at 11:11

3

I'm getting an error when trying to run ESLint on one of the repos I'm working on. I've boiled the issue down to that, for some reason, ESLint throws errors on a few specific files because they con...
Baldheaded asked 2/8, 2021 at 18:15

11

I am using the Vue ESLint plugin and it has a rule for not allowing single word component names. However, I am also using Nuxt, and to set a default Layout in Nuxt you need a .vue component named d...
Jefferson asked 3/1, 2022 at 20:16

© 2022 - 2025 — McMap. All rights reserved.