Giter VIP home page Giter VIP logo

Comments (10)

kumarharsh avatar kumarharsh commented on August 16, 2024 1

Yes, I realised later that I had to necessarily add the jsconfig.json alongside each of my .eslintrc file, then it started picking it up. But yes it's not picking up the local eslint package itself. Will this be fixed by the proposed move to revive the javascript.validate.enable setting?

from vscode-eslint.

dbaeumer avatar dbaeumer commented on August 16, 2024

I tested the .eslintrc that it is correctly picked up in my use case. However what is not working is to use the local eslint (e.g.JSProject1, JSProject2).

from vscode-eslint.

dbaeumer avatar dbaeumer commented on August 16, 2024

No, the 'javascript.validate.enable' setting is a VSCode core setting and has nothing to do with the eslint extension.

This issue actually dups #32

from vscode-eslint.

qin20 avatar qin20 commented on August 16, 2024

I have the same problem too, and it works before I update "vscode-eslint" ext, now I have tried some ways but none is working. By the way, when I run "eslint" in the command line, error shows correctly, What is happening? Any help would be appreciated.

from vscode-eslint.

dbaeumer avatar dbaeumer commented on August 16, 2024

@QinerShi could you share a workspace that shows the behavior ?

from vscode-eslint.

qin20 avatar qin20 commented on August 16, 2024

@dbaeumer I don't kown what to share, everything seems normal :(
Here is my project, see if it helps

| project
---| web
    ---| js
    ---| css
    ---| html
    --- server.py
--- .eslintrc
--- .gitignore

by the way, my project is not using npm, so I don't have a local node_moduels with eslint, I use the global one

from vscode-eslint.

dbaeumer avatar dbaeumer commented on August 16, 2024

@QinerShi now I am a little puzzled. From this statement #37 (comment) I had the impression it is not working. Could I clone your project from GitHub to see if I can reproduce this. In my examples eslint correctly refers to the correct .eslintrc files.

from vscode-eslint.

qin20 avatar qin20 commented on August 16, 2024

@dbaeumer It works after I reinstall the vscode and eslint ext, thanks all the same

from vscode-eslint.

dbaeumer avatar dbaeumer commented on August 16, 2024

OK. I will close the issue then.

from vscode-eslint.

dbaeumer avatar dbaeumer commented on August 16, 2024

Issue was closed.

from vscode-eslint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.