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

reasonable defaults #5

Open
jasonkarns opened this issue Feb 12, 2014 · 3 comments
Open

reasonable defaults #5

jasonkarns opened this issue Feb 12, 2014 · 3 comments

Comments

@jasonkarns
Copy link

Related to #2, wouldn't it make sense to make most of these options true by default? I could understand making certain options default to false (specifically those which might be considered a bit extreme). But to have all options default to false makes the grunt task completely ineffectual out of the box.

@yaniswang
Copy link
Contributor

Use default ruleset when options is undefined:

htmlhint: {
  all: {
    src: ['*.html']
  }
}

What do you think?

@jasonkarns
Copy link
Author

Grunt has built-in facilities for setting defaults. Would you rather I submit a PR?

@yaniswang
Copy link
Contributor

Ok, please submit PR.

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

No branches or pull requests

2 participants