Skip to content

Commit

Permalink
fix: update compatible eslint version
Browse files Browse the repository at this point in the history
closes #14
  • Loading branch information
Portugal, Marcelo authored and mportuga committed May 2, 2019
1 parent 495ddab commit ee6fcf8
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 33 deletions.
112 changes: 80 additions & 32 deletions example/example-report.html
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ <h1>ESLint Report - <small class="text-error">error</small></h1>
<div class="container">
<div id="summary">
<h2 class="page-header">Summary</h2>
<div>27 problems (15 errors, 12 warnings)</div>
<div>31 problems (15 errors, 16 warnings)</div>
<div class="row"><div class="column">
<h3 class="text-error">Top errors</h3>
<table class="summary-table"><thead>
Expand Down Expand Up @@ -396,7 +396,7 @@ <h3 class="text-warning">Top warnings</h3>
</thead><tbody>
<tr>
<td><a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a></td>
<td>6</td>
<td>10</td>
</tr>
<tr>
<td><a href="http://eslint.org/docs/rules/semi" target="_blank">semi</a></td>
Expand All @@ -421,7 +421,7 @@ <h3>Most Problems</h3>
<tr>
<td><a href="#usersMarceloPortugalWebstormProjectsEslintDetailedReporterFixtureOrangeFileJs">/fixture/orange_file.js</a></td>
<td>5</td>
<td>6</td>
<td>8</td>
</tr>
<tr>
<td><a href="#usersMarceloPortugalWebstormProjectsEslintDetailedReporterFixtureAngularRulesGreetUserDirectiveJs">/fixture/angular-rules/greetUserDirective.js</a></td>
Expand All @@ -436,7 +436,7 @@ <h3>Most Problems</h3>
<tr>
<td><a href="#usersMarceloPortugalWebstormProjectsEslintDetailedReporterFixtureYellowFileJs">/fixture/yellow_file.js</a></td>
<td>0</td>
<td>6</td>
<td>8</td>
</tr>
</tbody></table>
</div>
Expand Down Expand Up @@ -715,15 +715,15 @@ <h3 class="page-header">All Rules</h3>
</th>
</tr>

<tr id="usersMarceloPortugalWebstormProjectsEslintDetailedReporterFixtureOrangeFileJs" class="lint-result bg-error" data-group="f-3" data-problem-count="11" tabindex="0">
<tr id="usersMarceloPortugalWebstormProjectsEslintDetailedReporterFixtureOrangeFileJs" class="lint-result bg-error" data-group="f-3" data-problem-count="13" tabindex="0">
<th class="icon-box" colspan="1">
<span class="caret"></span>
</th>
<th>
/fixture/orange_file.js
</th>
<th class="result-summary">
11 problems (5 errors, 6 warnings)
13 problems (5 errors, 8 warnings)
</th>
</tr>
<tr class="f-3 hidden">
Expand Down Expand Up @@ -791,7 +791,7 @@ <h3 class="text-warning">Top warnings</h3>
</thead><tbody>
<tr>
<td><a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a></td>
<td>3</td>
<td>5</td>
</tr>
<tr>
<td><a href="http://eslint.org/docs/rules/semi" target="_blank">semi</a></td>
Expand Down Expand Up @@ -823,7 +823,7 @@ <h3 class="page-header">All Rules</h3>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 4, Column 3: "Expected indentation of 4 spaces but found 2."
Row 4, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
Expand All @@ -835,7 +835,7 @@ <h3 class="page-header">All Rules</h3>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 5, Column 5: "Expected indentation of 6 spaces but found 4."
Row 5, Column 1: "Expected indentation of 8 spaces but found 4."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
Expand All @@ -850,12 +850,24 @@ <h3 class="page-header">All Rules</h3>
Row 5, Column 16: "Missing semicolon."
<a href="http://eslint.org/docs/rules/semi" target="_blank">semi</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 6, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 6, Column 10: "Unnecessary 'else' after 'return'."
<a href="http://eslint.org/docs/rules/no-else-return" target="_blank">no-else-return</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 7, Column 1: "Expected indentation of 8 spaces but found 4."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
<td><strong class="text-error">Error<strong></td>
<td>
Expand All @@ -865,14 +877,14 @@ <h3 class="page-header">All Rules</h3>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 7, Column 5: "Expected indentation of 6 spaces but found 4."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
Row 7, Column 11: "Missing semicolon."
<a href="http://eslint.org/docs/rules/semi" target="_blank">semi</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 7, Column 11: "Missing semicolon."
<a href="http://eslint.org/docs/rules/semi" target="_blank">semi</a>
Row 8, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
<td><strong class="text-error">Error<strong></td>
Expand Down Expand Up @@ -918,7 +930,7 @@ <h3 class="page-header">All Rules</h3>
<tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 4, Column 3: "Expected indentation of 4 spaces but found 2."
Row 4, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
Expand All @@ -935,7 +947,7 @@ <h3 class="page-header">All Rules</h3>
<tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 5, Column 5: "Expected indentation of 6 spaces but found 4."
Row 5, Column 1: "Expected indentation of 8 spaces but found 4."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
Expand All @@ -956,6 +968,12 @@ <h3 class="page-header">All Rules</h3>
</tr>

<tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 6, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 6, Column 10: "Unnecessary 'else' after 'return'."
Expand All @@ -967,29 +985,35 @@ <h3 class="page-header">All Rules</h3>
</tr>

<tr class="issue">
<td><strong class="text-error">Error<strong></td>
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 7, Column 5: "Function 'addOne' expected a return value."
<a href="http://eslint.org/docs/rules/consistent-return" target="_blank">consistent-return</a>
Row 7, Column 1: "Expected indentation of 8 spaces but found 4."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td><strong class="text-error">Error<strong></td>
<td>
Row 7, Column 5: "Expected indentation of 6 spaces but found 4."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
Row 7, Column 5: "Function 'addOne' expected a return value."
<a href="http://eslint.org/docs/rules/consistent-return" target="_blank">consistent-return</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 7, Column 11: "Missing semicolon."
<a href="http://eslint.org/docs/rules/semi" target="_blank">semi</a>
</td>
</tr><tr class="hit bg-error">
</tr><tr class="hit bg-warning">
<td class="line">7</td>
<td class="source"><code> return</code></td>
</tr>

<tr class="hit bg-success">
<tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 8, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="hit bg-warning">
<td class="line">8</td>
<td class="source"><code> }</code></td>
</tr>
Expand Down Expand Up @@ -1192,15 +1216,15 @@ <h3 class="page-header">All Rules</h3>
</td>
</tr>

<tr id="usersMarceloPortugalWebstormProjectsEslintDetailedReporterFixtureYellowFileJs" class="lint-result bg-warning" data-group="f-5" data-problem-count="6" tabindex="0">
<tr id="usersMarceloPortugalWebstormProjectsEslintDetailedReporterFixtureYellowFileJs" class="lint-result bg-warning" data-group="f-5" data-problem-count="8" tabindex="0">
<th class="icon-box" colspan="1">
<span class="caret"></span>
</th>
<th>
/fixture/yellow_file.js
</th>
<th class="result-summary">
6 problems (0 errors, 6 warnings)
8 problems (0 errors, 8 warnings)
</th>
</tr>
<tr class="f-5 hidden">
Expand Down Expand Up @@ -1242,13 +1266,13 @@ <h3 class="page-header">All Rules</h3>
<tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 4, Column 3: "Expected indentation of 4 spaces but found 2."
Row 4, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 5, Column 5: "Expected indentation of 6 spaces but found 4."
Row 5, Column 1: "Expected indentation of 8 spaces but found 4."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
Expand All @@ -1257,6 +1281,12 @@ <h3 class="page-header">All Rules</h3>
Row 5, Column 15: "Missing semicolon."
<a href="http://eslint.org/docs/rules/semi" target="_blank">semi</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 6, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Expand All @@ -1266,7 +1296,7 @@ <h3 class="page-header">All Rules</h3>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 7, Column 5: "Expected indentation of 6 spaces but found 4."
Row 7, Column 1: "Expected indentation of 8 spaces but found 4."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
Expand All @@ -1275,6 +1305,12 @@ <h3 class="page-header">All Rules</h3>
Row 7, Column 15: "Missing semicolon."
<a href="http://eslint.org/docs/rules/semi" target="_blank">semi</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 8, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -1307,7 +1343,7 @@ <h3 class="page-header">All Rules</h3>
<tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 4, Column 3: "Expected indentation of 4 spaces but found 2."
Row 4, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="hit bg-warning">
Expand All @@ -1318,7 +1354,7 @@ <h3 class="page-header">All Rules</h3>
<tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 5, Column 5: "Expected indentation of 6 spaces but found 4."
Row 5, Column 1: "Expected indentation of 8 spaces but found 4."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
Expand All @@ -1333,6 +1369,12 @@ <h3 class="page-header">All Rules</h3>
</tr>

<tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 6, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 6, Column 10: "Unnecessary 'else' after 'return'."
Expand All @@ -1346,7 +1388,7 @@ <h3 class="page-header">All Rules</h3>
<tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 7, Column 5: "Expected indentation of 6 spaces but found 4."
Row 7, Column 1: "Expected indentation of 8 spaces but found 4."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="issue">
Expand All @@ -1360,7 +1402,13 @@ <h3 class="page-header">All Rules</h3>
<td class="source"><code> return NaN</code></td>
</tr>

<tr class="hit bg-success">
<tr class="issue">
<td><strong class="text-warning">Warning<strong></td>
<td>
Row 8, Column 1: "Expected indentation of 4 spaces but found 2."
<a href="http://eslint.org/docs/rules/indent" target="_blank">indent</a>
</td>
</tr><tr class="hit bg-warning">
<td class="line">8</td>
<td class="source"><code> }</code></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"homepage": "https://github.com/mportuga/eslint-detailed-reporter",
"bugs": "https://github.com/mportuga/eslint-detailed-reporter/issues",
"peerDependencies": {
"eslint": "3.0.0 - 4.9999.9999"
"eslint": "3.0.0 - 5.9999.9999"
},
"dependencies": {
"lodash": "^4.17.11"
Expand Down

0 comments on commit ee6fcf8

Please sign in to comment.