Comments (6)
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.
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.
@mantoni thanks for the update! Looks like it works for me 👍
How eslint_d resolve eslint
now?
from eslint_d.js.
The resolve mechanics didn't change.
from eslint_d.js.
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.
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)
- Node v18 compatibility HOT 1
- eslint_d causes an error because I have spaces in my windows username. HOT 2
- Memory used by background process increases endlessly. HOT 6
- Using eslint flat mod config with eslint_d HOT 1
- The process doesn't terminate HOT 1
- PSA: ESLINT_USE_FLAT_CONFIG is only evaluated when the daemon starts/restarts HOT 6
- eslint_d fails with latest eslint due to the reportUnusedDisableDirectives option removal HOT 1
- Environment key "es2024" is unknown HOT 2
- Failed to load plugin using Turborepo HOT 4
- Unknown options: extensions, useEslintrc HOT 6
- Solved switching between projects with and without flat config HOT 3
- eslint_d doesn't seem to show import/order warnings HOT 4
- eslint_d is not able to detect eslint configuration HOT 2
- Cannot read config file HOT 6
- Absence of --fix-to-stdout HOT 6
- Can't use eslint_d in multiple projects HOT 7
- Testimony on the quality of the code HOT 1
- eslint_d foramtting in none-ls not working on newest version HOT 2
- When mix of fixable and in-fixable error, `stdout` will throw error. HOT 7
- [nvim none-ls] No ESLint configuration found HOT 2
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_d.js.