Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Support Linters like ESlint on Remote Projects #1475

Closed
tim-soft opened this issue Mar 2, 2018 · 4 comments
Closed

Support Linters like ESlint on Remote Projects #1475

tim-soft opened this issue Mar 2, 2018 · 4 comments

Comments

@tim-soft
Copy link

tim-soft commented Mar 2, 2018

Issue and Steps to Reproduce

A lot of linting plugins, but more specifically ESlint, do not work on remote projects.

capture

Expected Behavior

Linting integration on a project level when working on files remotely via nuclide + watchman

Actual Behavior

Linters like ESlint aren't very useful operating on only the currently opened file, which are evidently all linter plugins in atom have access to when the filesystem is remote.

Here's a follow up discussion about why linter-eslint specifically doesn't work on remote projects AtomLinter/linter-eslint#1017

Can this sort of issue be remedied in some trivial way, given the SSH connection and all of the Nuclide/flow capabilities?

Versions

  • Atom: 1.24.0
  • Nuclide: 0.268.0
  • Client OS: Win10/MacOS
  • Server OS (optional): Ubuntu 16.04

Additional Details

  • Installed packages (apm ls --installed):
Community Packages (21) C:\Users\timel\.atom\packages
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
@hansonw
Copy link
Contributor

hansonw commented Mar 2, 2018

Unfortunately, there is no straightforward remedy short of bundling an ESLint server into the Nuclide server. @wanderley is currently working on it - we should hopefully be able to open source this at some point :)

@tim-soft
Copy link
Author

tim-soft commented Mar 2, 2018

Knowing that something is in the works is very good to know! ESlint is sorely missed in these remote projects, maybe this is a good architecture question for the atom crowd.

@tim-soft tim-soft closed this as completed Mar 2, 2018
@SavePointSam
Copy link

I'm not sure why this was closed. This is still an issue. Having a solution in the works isn't the same as having a solution. This problem still pains me on a daily basis. :(

@tim-soft
Copy link
Author

I totally feel your pain. I closed the issue because ESlint is its own organization, it's ultimately up to them or create their own ide language server like Facebook has with flow.

I don't know of a more universal solution that Nuclide could facilitate. Running any linter on the remote box and reporting back the results via atom UI doesn't feel very vender agnostic

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants