This repository has been 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
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3143 from TomMalbran/tom/jslint-refactor
Fix #3094: Refactor JSLint into an extension
- Loading branch information
Showing
27 changed files
with
8,604 additions
and
347 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div id="jslint-results" class="bottom-panel vert-resizable top-resizer no-focus"> | ||
<div class="toolbar simple-toolbar-layout"> | ||
<div class="title">{{JSLINT_ERRORS}}</div> | ||
</div> | ||
<div class="table-container resizable-content"></div> | ||
</div> |
11 changes: 11 additions & 0 deletions
11
src/extensions/default/JSLint/htmlContent/results-table.html
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<table class="zebra-striped condensed-table"> | ||
<tbody> | ||
{{#reportList}} | ||
<tr> | ||
<td class="line" data-character="{{character}}">{{line}}</td> | ||
<td>{{reason}}</td> | ||
<td>{{evidence}}</td> | ||
</tr> | ||
{{/reportList}} | ||
</tbody> | ||
</table> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.jslint-disabled { | ||
font-size: 1em; | ||
color: #808080; | ||
} | ||
|
||
.jslint-errors { | ||
font-size: 1em; | ||
color: #dc322f; | ||
} | ||
|
||
.jslint-valid { | ||
font-size: 1em; | ||
color: #FFC81C; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"gotoFirstError": [ | ||
{ | ||
"key": "F8" | ||
}, | ||
{ | ||
"key": "Cmd-'", | ||
"platform": "mac" | ||
} | ||
] | ||
} |
Oops, something went wrong.