webpack-contrib / eslint-loader

[DEPRECATED] A ESlint loader for webpack
MIT License
1.06k stars 121 forks source link

Plugin "import" was conflicted #333

Closed yoyo837 closed 4 years ago

yoyo837 commented 4 years ago

Expected Behavior

Actual Behavior

Module Warning (from ./node_modules/eslint-loader/dist/cjs.js):
Plugin "import" was conflicted between "src/commons/.eslintrc.js » eslint-config-standard" and ".eslintrc.js".

src/commons/ is a git submodule.

rodrigogs commented 4 years ago

Having the same issue in a mono repo. How can I work with different eslint configs inside the same repo? Is it possible?

rodrigogs commented 4 years ago

Solved it by using root: true in my eslintrc.js