Remove some formatters from the core #14277
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
breaking
This change is backwards-incompatible
core
Relates to ESLint's core APIs and features
enhancement
This change enhances an existing feature of ESLint
The version of ESLint you are using.
v7.x
The problem you want to solve.
We ship a lot of formatters with the core, and some of them require dependencies that aren't necessary elsewhere in ESLint. If we remove these formatters, we reduce the overall size of ESLint by removing these dependencies.
Spawned from #14098.
Your take on the correct solution to problem.
Remove these formatters:
codeframe
- depends on@babel/code-frame
table
- depends ontable
Note that @fregante has already packaged all of the built-in formatters into separate packages on npm: https://github.com/fregante/eslint-formatters. So we would be able to tell people, for example, to install
eslint-formatter-table
if they are using the table formatter.Are you willing to submit a pull request to implement this change?
Yes.
The text was updated successfully, but these errors were encountered: