Git Product home page Git Product logo

Comments (7)

TheSavior avatar TheSavior commented on May 19, 2024

What do you get when running which eslint from your command line?

from eslint-formatter.

TheSavior avatar TheSavior commented on May 19, 2024

Closed due to inactivity. Feel free to provide more information if this is still a problem.

from eslint-formatter.

insin avatar insin commented on May 19, 2024

The use case for this is not requiring ESLint to be installed globally at all, and even if it is installed globally, using a locally-available version first if present. This allows you to have different projects managing their own version of ESLint rather than being tied to the same global version.

This is how SublimeLinter does it, for reference: https://github.com/SublimeLinter/SublimeLinter3/blob/7bca95fb79edd038acfa17982495745245af4d7f/lint/node_linter.py#L104

from eslint-formatter.

TheSavior avatar TheSavior commented on May 19, 2024

That looks great. I'd happily accept a pull request adding this. That should also enable it to work with locally installed eslint plugins. I've been using the project specific plugin settings to set the path to my node_modules version.

from eslint-formatter.

xwartz avatar xwartz commented on May 19, 2024

This pull fix it.

#13

from eslint-formatter.

platinumazure avatar platinumazure commented on May 19, 2024

@TheSavior Looks like the pull request didn't close this issue.

from eslint-formatter.

TheSavior avatar TheSavior commented on May 19, 2024

Should be fixed in 2.1.0 per #13

from eslint-formatter.

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.