-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Conversation
Why do you prefer eslint over jshint for use with brackets? |
got it! |
@abose I added ESLint because I thought was the preferred one by the Brackets community. As pointed out by @petetnt I saw in some issues / forum that was the preferred choice. |
@ficristo You may want to consider adding |
@@ -20,7 +20,7 @@ | |||
"extension_url": "https://s3.amazonaws.com/extend.brackets/{0}/{0}-{1}.zip", | |||
"linting.enabled_by_default": true, | |||
"build_timestamp": "", | |||
"healthDataServerURL" : "https://healthdev.brackets.io/healthDataLog" | |||
"healthDataServerURL": "https://health.brackets.io/healthDataLog" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line shouldn't have changed I guess
@IanVS I tried I would like to land the patch as is and file followup to enable (or remove) the current set of rule. |
Moved to milestone 1.6 so that we could work on comprehensive support of es6 related pr's. |
Just chiming in here to say a while back I began rewriting the JSHint rules for ESLint (+ incorporating the style guide wiki page). If it helps any, here are set of rules I had already implemented. The Brackets source failed heavily against them (partially from incomplete rule porting) but it was working. |
hi @le717 , how does |
@zaggino ESLint didn't get indendation support until version 0.14 so the plugin was neccessary. It can safely be replaced by native |
yes but eslint is now pass 1.0 and has indent support so we should use that one instead of a plugin |
@zaggino Yes, it would be best to use native indent support. :) |
to lint Brackets core code.
Is there a way I can help to move forward this? |
tagging @swmitra |
the PR seems good, is there any reason not to merge this? |
LGTM 👍 |
Verified build works. Merging. |
Thanks @ficristo |
@abose Yes, I believe so |
@abose That would @zaggino has the great ESLint extension so I think he has the most insight on how much work it would require. Personally I would love it 💐 |
It's easy to get eslint integrated direclty into Brackets core, I can do a PR for this if you want guys. |
+1 for ESLint in default extensions in core. |
I agree to switch from JSLint to ESLint as default linter in core. |
one part of #11644 will also be addressed by the switch. |
I created #11984 to track the remaining steps of the ESLint integration |
I added support for ESLint in grunt and removed JSHint.
I need to remove all the JSLint comments from the source files.
While I tried to preserve the old behavior (actually I want some more rules),
I need to fix some rules (the one with 0 in the eslintrc file).
And to decide what to do with the default linter in Brackets.
Personally I am in favor to remove it completely, people can use the extensions instead.
What you all think?