This repository was archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Fix #6661. Configurable multiple linters. #7362
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
6c017c4
Fix #6661. Configurable multiple linters.
busykai 87ec908
Add testcase for non-existance provider.
busykai be33f39
Add test case for when prefer is not specified.
busykai a6d4601
Merge remote-tracking branch 'upstream/master' into kai/fix-6661-mult…
busykai 19bdc3b
Merge remote-tracking branch 'upstream/kai/fix-6558-language-layer' i…
busykai f1e4c90
Merge remote-tracking branch 'upstream/kai/fix-6558-language-layer' i…
busykai 87d59dd
Merge remote-tracking branch 'upstream/kai/fix-6558-language-layer' i…
busykai f43a3e4
Use preferences with context.
busykai 2eb9f5d
Fix tests.
busykai 5d0dafe
Do not unregister JSLint on another JS provider registration.
busykai 5af3533
Configure Brackets to use JSLint and JSHint.
busykai 8ae613a
Merge remote-tracking branch 'upstream/master' into kai/fix-6661-mult…
busykai 720d1fb
Merge remote-tracking branch 'upstream/master' into kai/fix-6661-mult…
busykai 49c8dbe
Fix JSON syntax error.
busykai 5fcb3b9
Improve readability of var declarations.
busykai 0b003f5
Nicer reduce.
busykai 47399b6
Switch to array for 'prefer' pref.
busykai 4232b7e
Allow specifying both string and array in `prefer`
busykai 6389919
Fix testing left-over.
busykai d005def
Use variables for pref names.
busykai 509417c
Switch to native reduce.
busykai fb0183f
Address review comments.
busykai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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.
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.
Is it nicer to use
!Array.isArray(prefPreferredProviderNames)
?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.
typeof is faster. otherwise, there's no difference.