mizdra / eslint-interactive

The CLI tool to fix huge number of ESLint errors
MIT License
363 stars 9 forks source link

Remove source map in production as it does not make debugging easier #363

Closed mizdra closed 1 month ago

mizdra commented 1 month ago

The source map is useful when developing eslint-interactive. However, it is not useful in production.

mizdra commented 1 month ago

At https://github.com/mizdra/eslint-interactive/issues/360#issue-2454968019, node_modules/eslint-interactive/src/eslint/linter.ts:53:8 is included in the stack trace.

That may seem useful, but it is not. We really need to check *.js to find out what code was executed and why the error was thrown.