plone / create-volto-app

Set up the Volto with a single command
MIT License
9 stars 3 forks source link

Even better eslintrc, now reuses addon-registry.js from Volto #30

Closed tiberiuichim closed 3 years ago

tiberiuichim commented 4 years ago

Another tweak to eslintrc. This one covers the case where the project loads addons with optionals loaders.

Before the eslintrc didn't treat cases like:

{ "addons": ["volto-slate:asDefault"] }

With this change, we now treat them and reuse the logic in Volto's addon-registry.js