File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ const sharedConfig = {
135
135
'playwright/valid-describe-callback' : 'error' ,
136
136
'playwright/valid-expect' : 'error' ,
137
137
'playwright/valid-expect-in-promise' : 'error' ,
138
+ 'playwright/valid-test-tags' : 'error' ,
138
139
'playwright/valid-title' : 'error' ,
139
140
} ,
140
141
} as const
Original file line number Diff line number Diff line change @@ -142,7 +142,11 @@ export default createRule({
142
142
items : {
143
143
oneOf : [
144
144
{ type : 'string' } ,
145
- { properties : { source : { type : 'string' } } , type : 'object' } ,
145
+ {
146
+ additionalProperties : false ,
147
+ properties : { source : { type : 'string' } } ,
148
+ type : 'object' ,
149
+ } ,
146
150
] ,
147
151
} ,
148
152
type : 'array' ,
@@ -151,7 +155,11 @@ export default createRule({
151
155
items : {
152
156
oneOf : [
153
157
{ type : 'string' } ,
154
- { properties : { source : { type : 'string' } } , type : 'object' } ,
158
+ {
159
+ additionalProperties : false ,
160
+ properties : { source : { type : 'string' } } ,
161
+ type : 'object' ,
162
+ } ,
155
163
] ,
156
164
} ,
157
165
type : 'array' ,
You can’t perform that action at this time.
0 commit comments