lab icon indicating copy to clipboard operation
lab copied to clipboard

Lint .mjs (et al)

Open dominykas opened this issue 2 years ago • 1 comments

Support plan

  • is this issue currently blocking your project? (yes/no): yeah, kind of
  • is this issue affecting a production system? (yes/no): nah

Context

  • node version: v16.x
  • module version: v25.x
  • environment (e.g. node, browser, native): node
  • used with (e.g. hapi application, another framework, standalone, ...): hapi app, kind of
  • any other relevant information:

What problem are you trying to solve?

.mjs files should be linted, as well as .js (and .cjs, I guess)

Do you have a new or modified API suggestion to solve the problem?

Pass extensions into eslint options - happy to PR...

dominykas avatar Jun 13 '22 13:06 dominykas

Or should I just stick to lintOptions?

dominykas avatar Jun 13 '22 13:06 dominykas