You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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?
got it! @ficristo did you do a grunt build to see if there are any build failures due to eslint problems? There would be jslint annotations listed all over the code base. Is it compatible with eslint annotations?
@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.
If you use JSHint and still want stylistic checks you should use JSCS too.
I run grunt eslint with the set of rules I written and it passes. As I written in the first post there are some rule disabled.
I tried grunt build too and I didn't noticed any problem with JSLint.
I didn't try inline comments, but personally I want to remove all of them.
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.
@zaggino I believe @petetnt is correct. IIRC, ESLint did not have native intent support, so I added that plugin to enforce it (as it is not already being done and manually checking it on code reviews when it could be automatic is not the wisest idea).
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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?