File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 101101 "@putout/plugin-apply-starts-with" : " ^2.0.0" ,
102102 "@putout/plugin-apply-template-literals" : " ^5.0.0" ,
103103 "@putout/plugin-arguments" : " ^2.0.0" ,
104+ "@putout/plugin-docker" : " ^1.0.0" ,
104105 "@putout/plugin-assignment" : " ^2.0.0" ,
105106 "@putout/plugin-browserlist" : " ^2.0.0" ,
106107 "@putout/plugin-conditions" : " ^9.0.0" ,
177178 "@putout/plugin-variables" : " ^2.0.0" ,
178179 "@putout/plugin-webpack" : " ^4.0.0" ,
179180 "@putout/processor-css" : " ^12.0.0" ,
181+ "@putout/processor-docker" : " ^1.0.0" ,
180182 "@putout/processor-filesystem" : " ^8.0.0" ,
181183 "@putout/processor-ignore" : " ^7.0.0" ,
182184 "@putout/processor-javascript" : " ^5.0.0" ,
Original file line number Diff line number Diff line change 1212 " yaml" ,
1313 " toml" ,
1414 " css" ,
15+ " docker" ,
1516 " filesystem"
1617 ],
1718 "match" : {
163164 },
164165 "*.d.ts" : {
165166 "declare" : " off"
167+ },
168+ "Dockerfile*" : {
169+ "docker" : " on"
166170 }
167171 },
168172 "ignore" : [
200204 "nodejs/remove-useless-strict-mode" : " off" ,
201205 "browserlist" : " off" ,
202206 "filesystem" : " off" ,
207+ "docker" : " off" ,
203208 "remove-duplicate-elements" : " off"
204209 },
205210 "plugins" : [
216221 " arguments" ,
217222 " assignment" ,
218223 " destructuring" ,
224+ " docker" ,
219225 " extract-sequence-expressions" ,
220226 " madrun" ,
221227 " maybe" ,
Original file line number Diff line number Diff line change @@ -280,3 +280,15 @@ test('putout: config: spec', (t) => {
280280 t . deepEqual ( result , expected ) ;
281281 t . end ( ) ;
282282} ) ;
283+
284+ test ( 'putout: config: Dockerfile' , ( t ) => {
285+ const { match} = putoutConfig ;
286+ const result = match [ 'Dockerfile*' ] ;
287+
288+ const expected = {
289+ docker : 'on' ,
290+ } ;
291+
292+ t . deepEqual ( result , expected ) ;
293+ t . end ( ) ;
294+ } ) ;
You can’t perform that action at this time.
0 commit comments