Comments (7)
What do you get when running which eslint
from your command line?
from eslint-formatter.
Closed due to inactivity. Feel free to provide more information if this is still a problem.
from eslint-formatter.
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.
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.
This pull fix it.
from eslint-formatter.
@TheSavior Looks like the pull request didn't close this issue.
from eslint-formatter.
Should be fixed in 2.1.0 per #13
from eslint-formatter.
Related Issues (20)
- Programmatically find Node and ESLint directory HOT 2
- Default eslint_path for Windows 10 Pro 64bit on Sublime Text 3 does not seem to work when there is a "whitespace" (aka a "space") inside profile user name. HOT 2
- Feature request - Exclude folders from formatting
- Files with starting dot in the name are ignored
- Support package.json eslintConfig
- Vue SFC doesn't format missing commas HOT 1
- reload on fix HOT 1
- Jumps to top of file randomly HOT 1
- eslint command-line options support HOT 2
- How to set NODE_ENV or BABEL_ENV in formatter config
- Global name 'data' is not defined HOT 5
- Error panel popping on save HOT 4
- Vue SFC Error HOT 1
- Performance HOT 4
- How to selectively run Eslint-Formatter ("On save" mode) on particular files HOT 1
- Babel 7 upgrade HOT 1
- Slow performance creating new file?
- `eslint_d` instance per Sublime Window causing performance issues
- spawn node ENOENT HOT 1
- Error: Failed to load plugin 'import'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-formatter.