@@ -148,27 +148,22 @@ export function prototyping(options) {
148
148
149
149
const extendTwig = typeof opts . twig . extend === 'function' ? opts . twig . extend : ( ) => { } ;
150
150
opts . twig . functions = {
151
- ...( opts ?. twig ?. functions || { } ) ,
152
- // eslint-disable-next-line camelcase
151
+ ...opts ?. twig ?. functions ,
153
152
html_styles ( styles ) {
154
153
return Html . renderStyleAttribute ( styles ) ;
155
154
} ,
156
- // eslint-disable-next-line camelcase
157
155
html_attributes ( attributes ) {
158
156
return Html . renderAttributes ( attributes ) ;
159
157
} ,
160
- // eslint-disable-next-line camelcase
161
158
html_classes ( classes ) {
162
159
return Html . renderClass ( classes ) ;
163
160
} ,
164
- // eslint-disable-next-line camelcase
165
161
merge_html_attributes ( attributes = { } , defaultAttributes = { } , requiredAttributes = { } ) {
166
162
return Html . mergeAttributes ( attributes , defaultAttributes , requiredAttributes ) ;
167
163
} ,
168
164
dump ( ...args ) {
169
165
return args . map ( ( arg ) => `<pre>${ JSON . stringify ( arg , null , 2 ) } </pre>` ) . join ( '\n' ) ;
170
166
} ,
171
- // eslint-disable-next-line camelcase
172
167
is_dev ( ) {
173
168
return isDev ;
174
169
} ,
@@ -298,9 +293,7 @@ export function prototyping(options) {
298
293
cache : true ,
299
294
template : `${ templatePath } ?${ params } ` ,
300
295
templateParameters : {
301
- // eslint-disable-next-line camelcase
302
296
updated_at : stats . mtime ,
303
- // eslint-disable-next-line camelcase
304
297
created_at : stats . birthtime ,
305
298
template : file ,
306
299
...Object . fromEntries ( params . entries ( ) ) ,
@@ -366,9 +359,7 @@ export function prototyping(options) {
366
359
cache : true ,
367
360
template : `${ templatePath } ?${ params } ` ,
368
361
templateParameters : {
369
- // eslint-disable-next-line camelcase
370
362
created_at : stats . birthtime ,
371
- // eslint-disable-next-line camelcase
372
363
updated_at : stats . mtime ,
373
364
template : file ,
374
365
...Object . fromEntries ( params . entries ( ) ) ,
0 commit comments