-
Notifications
You must be signed in to change notification settings - Fork 467
Conversation
- Added NewJSHint Plugin
- Added plumber to all tasks - Removed.on() syntax from all tasks - Added task to fail build if errors exist - Added more functionality around tracking errors.
- Removed fake error from LESS.
- Removed testing code.
- Fixed intentional less error
- Added new utility for adding ignore flag to an array of files. - Wrapped map() in a function to prevent the pipe breaking. - Resolved less hinting errors - Resolved all jsHinting Errors.
…st and a src. - Added a new task just for ignored linting files.
…into miljo/better-error-handling # Conflicts: # src/less/Fabric.less [RESOLVED]
@@ -20,23 +20,51 @@ gulp.task('ComponentSamples-nuke', function () { | |||
// Copying Files Tasks | |||
// ---------------------------------------------------------------------------- | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add white space on Line 100.
- Added more linting options - Added and fixed the less linting task.
- Added custom error handling function for Sass - Created a task to set config on Fabric Build. - Removed scss lint due to too many dependencies (Ruby etc)
…e for our library files because of the period in the middle of the file names.
…into miljo/better-error-handling # Conflicts: # src/components/Toggle/Toggle.less [RESOLVED]
"newcap": false, | ||
"undef": true, | ||
"unused": true, | ||
"browser": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tab this over
this.addWarning = function(warning) { | ||
warnings.push(warning); | ||
return; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this space is off
@@ -168,23 +168,33 @@ | |||
overflow-y: auto; | |||
} | |||
|
|||
.ms-PersonaCard-detailChat { margin-left: 0 !important; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing all these !importants makes me a little nervous, but I tested them, and didn't see any regressions!
approved -- looks great! |
fileExtension = Config.lessExtension; | ||
} | ||
|
||
gulp.task('Fabric-buildStyles', ['Fabric-configureBuild', 'Fabric-styleHinting'], function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I put an error into a Less file and build, the console outputs the error 9 times.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which less file?
I like what you got! Nice job! Approved. |
Better error handling in our Build
This is a pretty big update to the build including fixes to all JavaScript files for linting errors. The following changes will add: