You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem you want to solve.
I would like to run a small subset of fixable stylistic eslint-plugin-vue rules in addition to a Prettier run. The goal is to run only the necessary rules to ensure fast execution, particularly in a Git pre-commit hook. It should also speed up the general linting process agains the rules in shared configurations. This approach should also improve the general linting performance when using shared configurations. Additionally, it would give us the ability to skip loading rules already covered by code formatters.
Your take on the correct solution to problem.
Introduce support for lazy loading of rules, following the example set by the ESLint repository's LazyLoadingRuleMap.
Additional context
Currently, all rules are loaded eagerly, which leads to unnecessary memory usage and slower startup times, especially in configurations using only a subset of rules. Furthermore, the lack of lazy loading interferes with the ESLint core's existing lazy-loading behavior, where core rules are loaded on demand.
Tell us about your environment
The problem you want to solve.
I would like to run a small subset of fixable stylistic eslint-plugin-vue rules in addition to a Prettier run. The goal is to run only the necessary rules to ensure fast execution, particularly in a Git pre-commit hook. It should also speed up the general linting process agains the rules in shared configurations. This approach should also improve the general linting performance when using shared configurations. Additionally, it would give us the ability to skip loading rules already covered by code formatters.
Your take on the correct solution to problem.
Introduce support for lazy loading of rules, following the example set by the ESLint repository's LazyLoadingRuleMap.
Additional context
Currently, all rules are loaded eagerly, which leads to unnecessary memory usage and slower startup times, especially in configurations using only a subset of rules. Furthermore, the lack of lazy loading interferes with the ESLint core's existing lazy-loading behavior, where core rules are loaded on demand.
ESLint Config
eslint ./src/App.vue --debug
Expected Result
no eslint core rules are loaded
Actual Result
The text was updated successfully, but these errors were encountered: