File tree 1 file changed +33
-31
lines changed
1 file changed +33
-31
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module.exports = {
31
31
} ,
32
32
fixable : 'code' ,
33
33
34
- schema : [ {
34
+ schema : {
35
35
definitions : {
36
36
basicConfig : {
37
37
type : 'object' ,
@@ -60,41 +60,43 @@ module.exports = {
60
60
} ]
61
61
}
62
62
} ,
63
-
64
- oneOf : [ {
65
- allOf : [ {
66
- $ref : '#/definitions/basicConfig'
67
- } , {
68
- type : 'object' ,
69
- properties : {
70
- attributes : {
71
- $ref : '#/definitions/basicConfigOrBoolean'
72
- } ,
73
- children : {
74
- $ref : '#/definitions/basicConfigOrBoolean'
63
+ type : 'array' ,
64
+ items : [ {
65
+ oneOf : [ {
66
+ allOf : [ {
67
+ $ref : '#/definitions/basicConfig'
68
+ } , {
69
+ type : 'object' ,
70
+ properties : {
71
+ attributes : {
72
+ $ref : '#/definitions/basicConfigOrBoolean'
73
+ } ,
74
+ children : {
75
+ $ref : '#/definitions/basicConfigOrBoolean'
76
+ }
75
77
}
76
- }
78
+ } ]
79
+ } , {
80
+ enum : SPACING_VALUES
77
81
} ]
78
82
} , {
79
- enum : SPACING_VALUES
80
- } ]
81
- } , {
82
- type : 'object' ,
83
- properties : {
84
- allowMultiline : {
85
- type : 'boolean'
86
- } ,
87
- spacing : {
88
- type : 'object' ,
89
- properties : {
90
- objectLiterals : {
91
- enum : SPACING_VALUES
83
+ type : 'object' ,
84
+ properties : {
85
+ allowMultiline : {
86
+ type : 'boolean'
87
+ } ,
88
+ spacing : {
89
+ type : 'object' ,
90
+ properties : {
91
+ objectLiterals : {
92
+ enum : SPACING_VALUES
93
+ }
92
94
}
93
95
}
94
- }
95
- } ,
96
- additionalProperties : false
97
- } ]
96
+ } ,
97
+ additionalProperties : false
98
+ } ]
99
+ }
98
100
} ,
99
101
100
102
create : function ( context ) {
You can’t perform that action at this time.
0 commit comments