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

add the missing option to let user exclude dot files #57

Conversation

maboiteaspam
Copy link
Contributor

see #31

@@ -59,7 +59,7 @@ module.exports = function(grunt) {
files = fs.readdirSync(startDir);
for (i = 0; i < files.length; i++) {
currFile = startDir + path.sep + files[i];
if (!file.isMatch({matchBase: true}, exclusions, currFile)) {
if (!file.isMatch({matchBase: true,dot:true}, exclusions, currFile)) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a nitpick that there should be a space after the comma.

@thrashr888
Copy link
Owner

I think that some users might want to transfer their hidden files. This is probably better as an option rather than forcing it for all uploads.

@maboiteaspam
Copy link
Contributor Author

So old. I totally forgot about this. Indeed, i agree an option would be better. For syntax i suggest eslint for code style check.

@thrashr888
Copy link
Owner

good idea to add a jshint config file. thanks.

@maboiteaspam
Copy link
Contributor Author

eslint much better in my mind : ) Have an example here https://github.com/cozy-labs/cozy-light/blob/master/.eslintrc and have the website there http://eslint.org/docs/rules/

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

Successfully merging this pull request may close these issues.

2 participants