eslint-plugin icon indicating copy to clipboard operation
eslint-plugin copied to clipboard

Lazy load module config

Open kanongil opened this issue 3 months ago • 0 comments

The @babel/eslint-parser module is essentially a hard dependency, since the "module" config with a require('@babel/eslint-parser') is always loaded.

This is fixed in this PR by deferring the require() until it is first accessed. This allows it to work with code bases that use the "recommended" config along with other parsers.

kanongil avatar Aug 24 '25 20:08 kanongil