Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tinchoz49/resolve-eslint
Try to execute a local bin eslint before executing a global fallback eslint.
https://github.com/tinchoz49/resolve-eslint
cli eslint localization resolve resolver
Last synced: 23 days ago
JSON representation
Try to execute a local bin eslint before executing a global fallback eslint.
- Host: GitHub
- URL: https://github.com/tinchoz49/resolve-eslint
- Owner: tinchoz49
- License: mit
- Created: 2016-12-22T14:22:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-24T19:13:14.000Z (almost 8 years ago)
- Last Synced: 2024-10-17T01:14:43.420Z (29 days ago)
- Topics: cli, eslint, localization, resolve, resolver
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# resolve-eslint
[![Build Status](https://travis-ci.org/tinchoz49/resolve-eslint.svg?branch=master)](https://travis-ci.org/tinchoz49/resolve-eslint)
[![Build status](https://ci.appveyor.com/api/projects/status/79aukwwjushp9k9i?svg=true
)](https://ci.appveyor.com/project/tinchoz49/resolve-eslint)
> Try to execute a local bin eslint before executing a global fallback eslint.Sections |
--- |
[Why](#why) |
[Install](#install) |## Why
I have several projects using different eslints' versions and when I run syntastic + eslint in my vim it's always trying to run my global configuration. So my first issue is that I want a CLI that will check if I have an eslint in the current working directory.Other issue is that I have a project with subprojects using different eslint versions and searching an eslint bin in my current working directory is not enough.
`resolve-eslint` try to find an eslint in the directory of your current file, if is not there is going to start a recursive searching for a eslint instance and finally as a fallback is going to use an eslint bin provided by `resolve-eslint`.
> It's important that you don't have eslint installed as a global package.
```
npm install -g resolve-eslint
```## License
MIT