vaadin / eslint-config-vaadin

ESLint shareable config for the Vaadin JavaScript coding style
Apache License 2.0
7 stars 0 forks source link

fix: export ./index.js as ./index #21

Closed vursen closed 1 year ago

vursen commented 1 year ago

It seems that we also need to export ./index.js as ./index to get rid of the following error:

Error: Cannot read config file: /Users/serhii/vaadin/start/node_modules/eslint-config-vaadin/typescript.js
Error: Cannot find module './index'
Require stack:
- /Users/serhii/vaadin/start/node_modules/eslint-config-vaadin/utils/resolve.js