eslint-plugin icon indicating copy to clipboard operation
eslint-plugin copied to clipboard

Temporary files are stored next to source file

Open AndyOGo opened this issue 8 years ago • 6 comments
trafficstars

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?

AndyOGo avatar Feb 17 '17 14:02 AndyOGo

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.

nodeworks avatar Oct 05 '17 21:10 nodeworks

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 '.'

arthur5005 avatar Nov 17 '17 01:11 arthur5005

Any update on this?

owlishDeveloper avatar Oct 04 '18 21:10 owlishDeveloper

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.

AndyOGo avatar Oct 05 '18 06:10 AndyOGo

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

idok avatar Oct 07 '18 06:10 idok

@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

AndyOGo avatar Oct 07 '18 08:10 AndyOGo