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 = {
135135 'playwright/valid-describe-callback' : 'error' ,
136136 'playwright/valid-expect' : 'error' ,
137137 'playwright/valid-expect-in-promise' : 'error' ,
138+ 'playwright/valid-test-tags' : 'error' ,
138139 'playwright/valid-title' : 'error' ,
139140 } ,
140141} as const
Original file line number Diff line number Diff line change @@ -142,7 +142,11 @@ export default createRule({
142142 items : {
143143 oneOf : [
144144 { type : 'string' } ,
145- { properties : { source : { type : 'string' } } , type : 'object' } ,
145+ {
146+ additionalProperties : false ,
147+ properties : { source : { type : 'string' } } ,
148+ type : 'object' ,
149+ } ,
146150 ] ,
147151 } ,
148152 type : 'array' ,
@@ -151,7 +155,11 @@ export default createRule({
151155 items : {
152156 oneOf : [
153157 { type : 'string' } ,
154- { properties : { source : { type : 'string' } } , type : 'object' } ,
158+ {
159+ additionalProperties : false ,
160+ properties : { source : { type : 'string' } } ,
161+ type : 'object' ,
162+ } ,
155163 ] ,
156164 } ,
157165 type : 'array' ,
You can’t perform that action at this time.
0 commit comments