NDLANO / eslint-config-ndla-h5p

eslint configuration for H5P content type projects
MIT License
0 stars 0 forks source link

Add rule for object-curly-spacing #4

Closed otacke closed 1 year ago

otacke commented 1 year ago

When merged in, will add a rule for objects to always expect a spaces inside of braces (except {}). This is not specified by H5P Group, but we already are a little stricter and this would help to keep code a little more uniform. It's the preferred way of prettier for that matter. And I prefer it, too :-D