Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp files created during linting are problematic for globbed watchers #595

Closed
SpenceDiNicolantonio opened this issue Sep 20, 2015 · 4 comments
Labels

Comments

@SpenceDiNicolantonio
Copy link

When files are linted, temp files are created in the same directory, with the same extension. This is problematic for globbed file watchers (e.g gulp.watch), which can end up triggering when these temp files are created/deleted. These temp files should probably be created within the system's temp directory.

See juanfran/gulp-scss-lint#36 for more info.

@sds sds added the question label Sep 20, 2015
@sds
Copy link
Owner

sds commented Sep 20, 2015

Hey @SpenceDiNicolantonio,

scss-lint does not create temporary files as part of a lint run. Notice that in the issue you reference the files have the substring scsslint in their name—if you grep the scss-lint codebase for scsslint, you will not find it anywhere.

Thus a downstream tool is creating the temporary file, not scss-lint. Hope this helps.

@sds sds closed this as completed Sep 20, 2015
@SpenceDiNicolantonio
Copy link
Author

It looks like the temp files were created by the scss linter in WebStorm.

@AndyOGo
Copy link

AndyOGo commented Sep 16, 2016

I use PHPStorm, but I have the same issue with the newest version.
It's horrible it creates those tmp files inside source dir, and scsslint for js files does not make any sense...

tasks/docs-scripts_scsslint_tmp1537225672253761620.js
tasks/scripts-bundle_scsslint_tmp4377624646903046346.js

@AndyOGo
Copy link

AndyOGo commented Sep 16, 2016

I created an issue at the scss-lint inteliJ plugin
idok/scss-lint-plugin#45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants