File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 2
2
{
3
3
"titles": [
4
4
"{a} is already defined",
5
+ "Redefinition of '{a}' from line {b}",
5
6
"W004"
6
7
],
7
8
"slugs": [
17
18
}
18
19
-->
19
20
21
+ ### History
22
+
23
+ This warning has existed in two forms across JSLint and JSHint. It was
24
+ introduced in the original version of JSLint and has remained in both tools
25
+ ever since.
26
+
27
+ - In JSLint releases prior to May 2015 and all versions of JSHint the warning
28
+ given is * "{a} is already defined"*
29
+
30
+ - In JSLint releases from May 2015 and later the warning is * "Redefinition of
31
+ '{a}' from line {b}"
32
+
33
+ The situations that produce the warning have not changed despite changes to the
34
+ text of the warning itself.
35
+
20
36
### When do I get this error?
21
37
22
38
The "{a} is already defined" error is thrown when JSLint or JSHint encounters
You can’t perform that action at this time.
0 commit comments