-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make JSLint pre-installed extension instead of default #13012
Comments
Comment by spocke I second this since since this is the config I'm now forced to add to all installations of Brackets: "language": {
"javascript": {
"linting.prefer": ["JSHint", "ESLint", "JSCS"],
"linting.usePreferredOnly": true
}
} So if you are using all kinds of linters except "jslint" you need to manually add them to the prefer list to skip the internal JSLint package. I suggest not having any linting in there what so ever by and let the user manually install the linter packages they prefer. |
Comment by MarcelGerber Probably the biggest problem with a pre-installed extension is that it auto-updates on first start of a new Brackets version. Normally, that's a great thing, but AFAICT it will make deinstallation unnecessarily hard. Take this as an example:
|
Comment by redmunds
It should not work that way. Once you uninstall an "bundled" extension, Brackets should not install a newer version. But I'd like to avoid adding extensions to the bundle if possible as this is extra work when building the installers.
|
Comment by busykai
Anyways, if removing it from the repo would take long time, we should probably go for disabling. |
Comment by cfjedimaster +1 to the idea of making it 'not special' and just like any other extension (although I do think it is nice to keep it pre-installed). |
Comment by zeet2020 +1 its good idea, to have jsLint pre-installed. |
Issue by busykai
Monday Jan 05, 2015 at 20:10 GMT
Originally opened as adobe/brackets#10317
With landing of support for multiple linters, the developers seem to struggle with sudden appearance of JSLint in their linting results. Special care should be made (such as cfjedimaster/brackets-jshint#68) to suppress JSLint.
A normal workflow for a linter is
For JSLint, being default extension, item 3 (as well as item 1) is not an option, but it should be to make it on par with any other
CodeInspection
providers.A most reasonable solution is to make JSLint a pre-installed extension (also available via Brackets registry). It would then come by default to any Brackets developer and could be installed/uninstalled by any other developer at will.
The text was updated successfully, but these errors were encountered: