I’m not sure exactly what’s going on there, but if it’s what I think, then check out the rule:

The ES Lint rule is called “import/extensions”. You can Google it, but the syntax is hopefully as you can see there, except I would use double quotes inside the JSON file :)

--

--

--

I prefer to work near ES6+, node.js, microservices, Neo4j, React, React Native; I compose functions and avoid classes unless private state is desired.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Mackintosh

Adam Mackintosh

I prefer to work near ES6+, node.js, microservices, Neo4j, React, React Native; I compose functions and avoid classes unless private state is desired.

More from Medium

Taking a different route

Motivation

How Does It Feel To Be Someone’s Muse?