Comments (7)
@WilkinWendy for this you can enable
lintDirtyModulesOnly
I’ve tried it,but not work.
from eslint-webpack-plugin.
Solving it now. =)
from eslint-webpack-plugin.
My problem is a little different. In my project, there remains a lot of errors & warnings. I only want to lint what is saved by current user in his IDE.
Now, when the project starts, all files are linted..about 100+
from eslint-webpack-plugin.
@WilkinWendy for this you can enable lintDirtyModulesOnly
https://github.com/webpack-contrib/eslint-webpack-plugin#lintdirtymodulesonly
from eslint-webpack-plugin.
@WilkinWendy for this you can enable
lintDirtyModulesOnly
I’ve tried it,but not work.
{ exclude: 'node_modules', extensions: ['.js', '.jsx', '.vue', '.ts', '.tsx'], quiet: true, cache: true, fix: true, lintDirtyModulesOnly: true, formatter: 'codeframe' }
from eslint-webpack-plugin.
@WilkinWendy for this you can enable
lintDirtyModulesOnly
I’ve tried it,but not work.
In my project, the compilation seems to be triggered in a dead loop, when fix:true
from eslint-webpack-plugin.
@WilkinWendy for this you can enable
lintDirtyModulesOnly
I’ve tried it,but not work.
In my project, the compilation seems to be triggered in a dead loop, when
fix:true
I‘ve worked out reason of this problem.
If a file is unfixable,which means the output of the fixed file is the same as the source file,
eg: no-console
rule is unfixable.
the outputFixes function will be executed in a dead loop.
from eslint-webpack-plugin.
Related Issues (20)
- Error with eslint error detection HOT 1
- in webpack-dev-server, rule `@typescript-eslint/no-unsafe-assignment` throws an error when an imported type changed HOT 5
- Error if package.json is not in parent directory to the linted code HOT 2
- Build error in ci tool. HOT 4
- Lint Errors Kill Webpack Watch HOT 2
- Add support to the new eslint.config.js format HOT 6
- Checking/validating json files HOT 4
- v4.0.0 much slower than v3.2.0, potentially due to linting cached webpack files 🤷 HOT 3
- Performance: 4.0 Hot Module Replacement build very slow HOT 5
- Enable `cache` eslint HOT 4
- Can Nuxt2 use eslint-webpack-plugin? HOT 2
- lintDirtyModulesOnly relies on a populated cache, and lints all files if cache is not present HOT 2
- Angular 15+16 compile gets stuck at "70% sealing finish module graph ESLintWebpackPlugin_1" HOT 5
- detect new file issues HOT 2
- TS files that contain only typings are not linted HOT 1
- Run ESLint only on modified files HOT 1
- Add new option `flatConfigFile` HOT 2
- Update for ESLint 9 HOT 2
- 'extensions' has been removed HOT 3
- Update the eslint version to 9 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-webpack-plugin.