Commit d7ce992
tools: update ESLint, fix unused vars bug
Update ESLint to 3.0.0. This includes an enhancement to `no-unused-vars`
such that it finds a few instances in our code base that it did not find
previously (fixed in previous commits readying this for landing).
PR-URL: #7601
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>1 parent 1d100f6 commit d7ce992Copy full SHA for d7ce992
File tree
Expand file treeCollapse file tree
546 files changed
+9689
-10543
lines changedOpen diff view settings
Filter options
- tools/eslint
- bin
- conf
- lib
- config
- rules
- testers
- util
- messages
- node_modules
- acorn-jsx
- acorn
- dist
- src
- loose
- walk
- ansi-styles
- argparse
- array-union
- array-uniq
- balanced-match
- bluebird
- js/browser
- brace-expansion
- callsites
- cli-cursor
- cli-width
- code-point-at
- concat-map
- core-util-is
- deep-is
- del
- doctrine
- lib
- d
- es5-ext
- array/#
- date
- object
- es6-iterator
- es6-map
- es6-symbol
- es6-weak-map
- escape-string-regexp
- escope
- espree
- lib
- esrecurse
- exit-hook
- fast-levenshtein
- figures
- file-entry-cache
- fs.realpath
- globals
- globby
- node_modules/glob
- glob
- graceful-fs
- has-ansi
- ignore
- imurmurhash
- inflight
- inherits
- is-fullwidth-code-point
- is-path-in-cwd
- is-property
- js-yaml
- bin
- dist
- jsonify
- levn
- lodash
- fp
- minimatch
- object-assign
- once
- onetime
- optionator
- path-is-absolute
- prelude-ls
- process-nextick-args
- read-json-sync
- readline2
- restore-cursor
- rimraf
- run-async
- rx-lite
- sprintf-js
- string-width
- string_decoder
- strip-ansi
- strip-bom
- strip-json-comments
- supports-color
- type-check
- util-deprecate
- wordwrap
- wrappy
- xregexp
- src
- addons
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
546 files changed
+9689
-10543
lines changedOpen diff view settings
Collapse file
-2,984Lines changed: 0 additions & 2984 deletions
This file was deleted.
Collapse file
+97-36Lines changed: 97 additions & 36 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
| 27 | + |
28 | 28 | |
29 | | - |
| 29 | + |
30 | 30 | |
31 | | - |
| 31 | + |
32 | 32 | |
33 | | - |
| 33 | + |
34 | 34 | |
35 | | - |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
36 | 54 | |
37 | | - |
| 55 | + |
38 | 56 | |
39 | | - |
| 57 | + |
| 58 | + |
| 59 | + |
40 | 60 | |
41 | | - |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
42 | 74 | |
43 | 75 | |
44 | 76 | |
| ||
55 | 87 | |
56 | 88 | |
57 | 89 | |
58 | | - |
| 90 | + |
59 | 91 | |
60 | 92 | |
61 | 93 | |
| ||
65 | 97 | |
66 | 98 | |
67 | 99 | |
68 | | - |
69 | 100 | |
70 | 101 | |
71 | 102 | |
72 | 103 | |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
93 | 134 | |
94 | 135 | |
95 | 136 | |
| ||
104 | 145 | |
105 | 146 | |
106 | 147 | |
107 | | - |
108 | | - |
109 | | - |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | + |
110 | 171 | |
111 | | - |
| 172 | + |
112 | 173 | |
113 | | - |
| 174 | + |
114 | 175 | |
115 | | - |
| 176 | + |
116 | 177 | |
117 | 178 | |
118 | 179 | |
|
Collapse file
+1-13Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
77 | 77 | |
78 | 78 | |
79 | 79 | |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
| 80 | + |
Collapse file
tools/eslint/conf/cli-options.js
Copy file name to clipboardExpand all lines: tools/eslint/conf/cli-options.js+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
9 | | - |
10 | 8 | |
11 | 9 | |
12 | 10 | |
| ||
18 | 16 | |
19 | 17 | |
20 | 18 | |
21 | | - |
| 19 | + |
22 | 20 | |
| 21 | + |
23 | 22 | |
24 | 23 | |
25 | 24 | |
|
Collapse file
tools/eslint/conf/eslint-all.js
Copy file name to clipboard+29Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 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 | + |
Collapse file
tools/eslint/conf/eslint.json
Copy file name to clipboardExpand all lines: tools/eslint/conf/eslint.json+19-11Lines changed: 19 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
| 22 | + |
22 | 23 | |
23 | 24 | |
24 | | - |
25 | 25 | |
26 | 26 | |
27 | 27 | |
| ||
55 | 55 | |
56 | 56 | |
57 | 57 | |
| 58 | + |
| 59 | + |
58 | 60 | |
59 | 61 | |
60 | | - |
61 | 62 | |
62 | 63 | |
63 | 64 | |
64 | | - |
| 65 | + |
65 | 66 | |
66 | 67 | |
67 | 68 | |
| ||
80 | 81 | |
81 | 82 | |
82 | 83 | |
| 84 | + |
83 | 85 | |
84 | 86 | |
85 | 87 | |
| ||
109 | 111 | |
110 | 112 | |
111 | 113 | |
112 | | - |
| 114 | + |
113 | 115 | |
114 | 116 | |
115 | 117 | |
| ||
119 | 121 | |
120 | 122 | |
121 | 123 | |
| 124 | + |
122 | 125 | |
123 | 126 | |
124 | 127 | |
125 | 128 | |
126 | | - |
127 | 129 | |
128 | 130 | |
129 | 131 | |
| ||
135 | 137 | |
136 | 138 | |
137 | 139 | |
138 | | - |
| 140 | + |
139 | 141 | |
140 | 142 | |
141 | | - |
| 143 | + |
142 | 144 | |
143 | 145 | |
144 | 146 | |
| ||
155 | 157 | |
156 | 158 | |
157 | 159 | |
| 160 | + |
158 | 161 | |
| 162 | + |
159 | 163 | |
160 | 164 | |
161 | 165 | |
162 | 166 | |
163 | 167 | |
| 168 | + |
164 | 169 | |
165 | 170 | |
166 | 171 | |
| 172 | + |
167 | 173 | |
168 | 174 | |
169 | 175 | |
| ||
173 | 179 | |
174 | 180 | |
175 | 181 | |
| 182 | + |
176 | 183 | |
| 184 | + |
177 | 185 | |
178 | 186 | |
179 | 187 | |
| ||
189 | 197 | |
190 | 198 | |
191 | 199 | |
192 | | - |
193 | | - |
194 | 200 | |
195 | | - |
| 201 | + |
| 202 | + |
196 | 203 | |
197 | 204 | |
198 | | - |
199 | 205 | |
| 206 | + |
200 | 207 | |
201 | 208 | |
202 | 209 | |
| ||
205 | 212 | |
206 | 213 | |
207 | 214 | |
| 215 | + |
208 | 216 | |
209 | 217 | |
210 | 218 | |
|
0 commit comments