idok / eslint-plugin

ESLint plugin for intellij
http://plugins.jetbrains.com/plugin/7494
MIT License
151 stars 18 forks source link

Temporary files are stored next to source file #62

Open AndyOGo opened 7 years ago

AndyOGo commented 7 years ago

My source folders inside my IDE get spammed by temporary files generated by ESLint directly next to source files, instead of in their own tmp directory.

I get files in the following format {filename}_scsslint_tmp{hash}.js, like: index_scsslint_tmp2346377100393217516.js index_scsslint_tmp5187871302336676985.js

btw. why scsslint? ecmascript is not scss?

nodeworks commented 7 years ago

Looks like eslint-plugin depends on the scss-lint-plugin repo code. Not sure why but this is also an issue for me. I have to disable both SCSS lint and ESLint to be able to get webpack to compile correctly without errors. These scsslint_tmp files are causing big problems with webpack hot reloading. I have to kill it and rebuild everytime I make a change to a react component that has css styles in the component.

arthur5005 commented 7 years ago

This is a major pain for any project that has a watcher. For instance, our Ember project uses Facebook's Watchman to recompile, and there's no way for the watcher to ignore these specific files.

Would be best if these files lived outside the source directories in their own namespace, or perhaps if they were hidden files preceeded by a '.'

owlishDeveloper commented 6 years ago

Any update on this?

AndyOGo commented 6 years ago

Nope, zero activity 😞 No aswers from @idok .

In the readme idok/scss-lint-plugin is linked as a dependency. I guess this causes the bug.

idok commented 6 years ago

Hi, Since version 14 of Intellij, the ESLint plugin is bundled with the ide, please use the bundled version.

AndyOGo commented 6 years ago

@idok Thanks for your reply, I'm really happy to get in touch. I have created already an issue at jetbrain's issue tracks a year ago. https://youtrack.jetbrains.com/issue/WEB-28440

@owlishDeveloper @arthur5005 @nodeworks Please contribute to the issue and provide jetbrains with debugging information from your IDEs