Skip to content

Commit 63c9159

Browse files
committed
update test file
1 parent 8d821df commit 63c9159

File tree

1 file changed

+36
-36
lines changed
  • test/validator/samples/security-anchor-rel-noreferrer

1 file changed

+36
-36
lines changed

test/validator/samples/security-anchor-rel-noreferrer/warnings.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
3-
"code": "security-anchor-rel-noreferrer",
4-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
3+
"code": "security-anchor-rel-noopener",
4+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
55
"end": {
66
"character": 73,
77
"column": 73,
@@ -15,8 +15,8 @@
1515
}
1616
},
1717
{
18-
"code": "security-anchor-rel-noreferrer",
19-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
18+
"code": "security-anchor-rel-noopener",
19+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
2020
"end": {
2121
"character": 154,
2222
"column": 80,
@@ -30,8 +30,8 @@
3030
}
3131
},
3232
{
33-
"code": "security-anchor-rel-noreferrer",
34-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
33+
"code": "security-anchor-rel-noopener",
34+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
3535
"end": {
3636
"character": 243,
3737
"column": 88,
@@ -45,8 +45,8 @@
4545
}
4646
},
4747
{
48-
"code": "security-anchor-rel-noreferrer",
49-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
48+
"code": "security-anchor-rel-noopener",
49+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
5050
"end": {
5151
"character": 319,
5252
"column": 75,
@@ -60,8 +60,8 @@
6060
}
6161
},
6262
{
63-
"code": "security-anchor-rel-noreferrer",
64-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
63+
"code": "security-anchor-rel-noopener",
64+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
6565
"end": {
6666
"character": 402,
6767
"column": 82,
@@ -75,8 +75,8 @@
7575
}
7676
},
7777
{
78-
"code": "security-anchor-rel-noreferrer",
79-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
78+
"code": "security-anchor-rel-noopener",
79+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
8080
"end": {
8181
"character": 493,
8282
"column": 90,
@@ -90,8 +90,8 @@
9090
}
9191
},
9292
{
93-
"code": "security-anchor-rel-noreferrer",
94-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
93+
"code": "security-anchor-rel-noopener",
94+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
9595
"end": {
9696
"character": 561,
9797
"column": 67,
@@ -105,8 +105,8 @@
105105
}
106106
},
107107
{
108-
"code": "security-anchor-rel-noreferrer",
109-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
108+
"code": "security-anchor-rel-noopener",
109+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
110110
"end": {
111111
"character": 636,
112112
"column": 74,
@@ -120,8 +120,8 @@
120120
}
121121
},
122122
{
123-
"code": "security-anchor-rel-noreferrer",
124-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
123+
"code": "security-anchor-rel-noopener",
124+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
125125
"end": {
126126
"character": 719,
127127
"column": 82,
@@ -135,8 +135,8 @@
135135
}
136136
},
137137
{
138-
"code": "security-anchor-rel-noreferrer",
139-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
138+
"code": "security-anchor-rel-noopener",
139+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
140140
"end": {
141141
"character": 792,
142142
"column": 72,
@@ -150,8 +150,8 @@
150150
}
151151
},
152152
{
153-
"code": "security-anchor-rel-noreferrer",
154-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
153+
"code": "security-anchor-rel-noopener",
154+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
155155
"end": {
156156
"character": 872,
157157
"column": 79,
@@ -165,8 +165,8 @@
165165
}
166166
},
167167
{
168-
"code": "security-anchor-rel-noreferrer",
169-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
168+
"code": "security-anchor-rel-noopener",
169+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
170170
"end": {
171171
"character": 960,
172172
"column": 87,
@@ -180,8 +180,8 @@
180180
}
181181
},
182182
{
183-
"code": "security-anchor-rel-noreferrer",
184-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
183+
"code": "security-anchor-rel-noopener",
184+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
185185
"end": {
186186
"character": 1033,
187187
"column": 72,
@@ -195,8 +195,8 @@
195195
}
196196
},
197197
{
198-
"code": "security-anchor-rel-noreferrer",
199-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
198+
"code": "security-anchor-rel-noopener",
199+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
200200
"end": {
201201
"character": 1113,
202202
"column": 79,
@@ -210,8 +210,8 @@
210210
}
211211
},
212212
{
213-
"code": "security-anchor-rel-noreferrer",
214-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
213+
"code": "security-anchor-rel-noopener",
214+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
215215
"end": {
216216
"character": 1201,
217217
"column": 87,
@@ -225,8 +225,8 @@
225225
}
226226
},
227227
{
228-
"code": "security-anchor-rel-noreferrer",
229-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
228+
"code": "security-anchor-rel-noopener",
229+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
230230
"end": {
231231
"character": 1277,
232232
"column": 75,
@@ -240,8 +240,8 @@
240240
}
241241
},
242242
{
243-
"code": "security-anchor-rel-noreferrer",
244-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
243+
"code": "security-anchor-rel-noopener",
244+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
245245
"end": {
246246
"character": 1360,
247247
"column": 82,
@@ -255,8 +255,8 @@
255255
}
256256
},
257257
{
258-
"code": "security-anchor-rel-noreferrer",
259-
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noreferrer\"",
258+
"code": "security-anchor-rel-noopener",
259+
"message": "Security: Anchor with \"target=_blank\" should have rel attribute containing the value \"noopener\" or \"noreferrer\"",
260260
"end": {
261261
"character": 1451,
262262
"column": 90,

0 commit comments

Comments
 (0)