-
Notifications
You must be signed in to change notification settings - Fork 5
Install linter
automatically.
#7
Comments
Addresses AtomLinter#7 Instead of a manual requirement for linter to be preinstalled, use atom-package-deps to install 'linter' when activated (if not already installed). This allows for much simpler installation.
Can we strip this out again or make it optional? There are cases where you want more granular control over your packages and packages installing packages makes this very tiresome. Nuclide users for example use the |
@dvcrn This use case has already been handled. The Until Atom implements service dependencies this is unfortunately the best that we can do without relying on every user to install Marking this as closed as this has been implemented in #11. |
To clear up, we had a very specific usecase over at proton - dvcrn/proton#50. Proton orchestrates package installations for you. The problem was that when a sub-packge (we call them 'layers') implements linter support even though the user didn't enable the We went with lazy-loading |
Just finished reading through that issue, looks like an interesting and quite complex project. @steelbrain is currently working on splitting the linter UI out into a separate package that integrates via a service with linter. Once that is complete you guys may be interested in building your own UI to better integrate into the changes you are making. It looks like you guys are basically implementing a workaround for exactly what the service dependencies PR on atom/apm that I linked above is meant to solve. Once that gets completed a lot of these issues can be solved relatively simply but for now unfortunately we are stuck with this situation. |
By using
atom-package-deps
you are able to installlinter
automatically on activation. This will allow new Atom users to install only your package and nothing else, removing one step from the installation process.Please see AtomLinter/linter-ruby#38 for example.
The text was updated successfully, but these errors were encountered: