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

whitespace/tab fixes - fixes 728 #987

Merged
merged 1 commit into from
Jul 15, 2013

Conversation

patrickkettner
Copy link
Member

This fixes the reported issue in 728.
The good news is the amount of mixed tabs and trailing whitespace is much
smaller than it was at the time the initial report. The only outstanding
files are from caniuse, and node_modules.

@ryanseddon
Copy link
Member

Thanks, this should really be a check added to jshint can you please modify the jshint task to enable trailing: true and for jshint to include sub folders in the feature-detects folder. We'll hit the issue with the use of new Boolean() but I have a fix for that once this has landed.

@patrickkettner
Copy link
Member Author

great idea, thanks @ryanseddon.
regarding the new Bool, I just used the same fix from the other files ( /* jshint -W053 */)

@ryanseddon
Copy link
Member

Yep that's exactly what i was going to do. Cool.

Can you get those changes in and I'll merge.

I see you've already done that, heh. Can you squash your commits.

@patrickkettner
Copy link
Member Author

=D!

force pushed in 3e90a35

@@ -105,7 +106,8 @@ module.exports = function( grunt ) {
files: [
'Gruntfile.js',
'src/*.js',
'feature-detects/*.js'
'feature-detects/*.js',
Copy link
Member

Choose a reason for hiding this comment

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

This one isn't needed as the **/*.js will recursively grab every file in feature-detects

Copy link
Member Author

Choose a reason for hiding this comment

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

removed

On Mon, Jul 15, 2013 at 12:01 AM, Ryan Seddon notifications@github.comwrote:

In Gruntfile.js:

@@ -105,7 +106,8 @@ module.exports = function( grunt ) {
files: [
'Gruntfile.js',
'src/*.js',

  •    'feature-detects/*.js'
    
  •    'feature-detects/*.js',
    

This one isn't needed as the */.js will recursively grab every file in
feature-detects


Reply to this email directly or view it on GitHubhttps://github.com//pull/987/files#r5183930
.

patrick

add whitespace check to jshint config, and make jshint scan subfolders
ryanseddon added a commit that referenced this pull request Jul 15, 2013
@ryanseddon ryanseddon merged commit 62f170e into Modernizr:master Jul 15, 2013
@ryanseddon
Copy link
Member

Thanks @patrickkettner this should stop any more whitespace PRs \o/

@stucox
Copy link
Member

stucox commented Jul 16, 2013

Can we close #728 now then?

@patrickkettner patrickkettner deleted the whitespace-fixes branch November 20, 2013 07:13
patrickkettner pushed a commit to patrickkettner/Modernizr that referenced this pull request Feb 22, 2015
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.

3 participants