cats-oss / eslint-config-abema

This project is presets of eslint configurations which we used in our some internal projects.
MIT License
4 stars 1 forks source link

ES Module should require file extension on importing others #260

Closed tetsuharuohzeki closed 3 years ago

tetsuharuohzeki commented 4 years ago

ES Module (.mjs) requires file extension on import other files. It will be a runtime error if you lack them. https://nodejs.org/dist/latest-v13.x/docs/api/esm.html