Giter VIP home page Giter VIP logo

Comments (6)

mantoni avatar mantoni commented on August 28, 2024

The issue you referred to is now resolved and there is the cwd option support is eslint now. It's intentional to load the local eslint install and fall back to a global one. This makes it possible to have different eslint versions in two projects.

I'm wondering whether the issue can be solved by feeding the cwd option to eslint. Would you be able to investigate?

from eslint_d.js.

mantoni avatar mantoni commented on August 28, 2024

eslint_d 3.0.0 now passes on the cwd option to eslint. Can you please check if it's working for you now?

from eslint_d.js.

ruanyl avatar ruanyl commented on August 28, 2024

@mantoni thanks for the update! Looks like it works for me 👍

How eslint_d resolve eslint now?

from eslint_d.js.

mantoni avatar mantoni commented on August 28, 2024

The resolve mechanics didn't change.

from eslint_d.js.

jstejada avatar jstejada commented on August 28, 2024

Hi @mantoni , the cwd option is not working for me. When I try to run it I get:

Error: Invalid option '--cwd' - perhaps you meant '-c'?

Am I missing something?
Thanks!

from eslint_d.js.

mantoni avatar mantoni commented on August 28, 2024

The cwd option is set to your current directory and passed to the eslint API. It's not a command line option.

from eslint_d.js.

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.