-
Notifications
You must be signed in to change notification settings - Fork 0
/
report.html
88 lines (84 loc) · 4.12 KB
/
report.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<title>JSHint Report</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<style>
/* Fix to prevent horizontal overflow when there are long lines of code included in the evidence column */
code {
word-break: break-all;
}
</style>
</head>
<body>
<div class="container-fluid">
<table class="table table-hover">
<tr>
<th class="text-center">Code</th>
<th class="text-center">Line</th>
<th class="text-center">Column</th>
<th>Evidence</th>
<th>Reason</th>
</tr>
<tr><td colspan="5"><b>main.js</b></td></tr><tr class="warning">
<td class="text-center">W104</td>
<td class="text-center">1</td>
<td class="text-center">1</td>
<td><code>const electron = require('electron');</code></td>
<td>'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).</td>
</tr><tr class="warning">
<td class="text-center">W104</td>
<td class="text-center">2</td>
<td class="text-center">1</td>
<td><code>const ImageReceiver = require('./assets/image-receiver');</code></td>
<td>'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).</td>
</tr><tr class="warning">
<td class="text-center">W104</td>
<td class="text-center">3</td>
<td class="text-center">1</td>
<td><code>const CommandHandler = require('./assets/command-handler');</code></td>
<td>'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).</td>
</tr><tr class="warning">
<td class="text-center">W104</td>
<td class="text-center">4</td>
<td class="text-center">1</td>
<td><code>const { app, BrowserWindow, ipcMain } = electron;</code></td>
<td>'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).</td>
</tr><tr class="warning">
<td class="text-center">W104</td>
<td class="text-center">4</td>
<td class="text-center">1</td>
<td><code>const { app, BrowserWindow, ipcMain } = electron;</code></td>
<td>'destructuring binding' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).</td>
</tr><tr class="warning">
<td class="text-center">W104</td>
<td class="text-center">6</td>
<td class="text-center">1</td>
<td><code>let mainWindow = null;</code></td>
<td>'let' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).</td>
</tr><tr class="warning">
<td class="text-center">W104</td>
<td class="text-center">7</td>
<td class="text-center">1</td>
<td><code>let imageReceiver = null;</code></td>
<td>'let' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).</td>
</tr><tr class="warning">
<td class="text-center">W104</td>
<td class="text-center">8</td>
<td class="text-center">1</td>
<td><code>let commandHandler = null;</code></td>
<td>'let' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).</td>
</tr><tr class="warning">
<td class="text-center">W119</td>
<td class="text-center">30</td>
<td class="text-center">43</td>
<td><code>ipcMain.on('connect:request', (event, host)=>{</code></td>
<td>'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').</td>
</tr>
</table>
<div class="well">
Found <span class="label label-default">9</span> failures - <span class="label label-danger">0 errors</span> & <span class="label label-warning">9 warnings</span>
</div>
</div>
</body>
</html>