chore: move to clang-format 1.0.17.
clang-format 1.0.17 substantially improves formatting for fat arrow functions and array literal detection. It also fixes a number of minor formatting issues.
This commit is contained in:
@ -223,12 +223,8 @@ gulp.task('build/pubbuild.dart', pubbuild(gulp, gulpPlugins, {
|
||||
// formatting
|
||||
|
||||
function doCheckFormat() {
|
||||
return gulp.src(['Brocfile*.js', 'modules/**/*.ts', 'tools/**/*.ts', '!**/typings/**/*.d.ts',
|
||||
// skipped due to https://github.com/angular/clang-format/issues/4
|
||||
'!tools/broccoli/tree-differ.ts',
|
||||
// skipped due to https://github.com/angular/gulp-clang-format/issues/3
|
||||
'!tools/broccoli/broccoli-typescript.ts' ])
|
||||
.pipe(format.checkFormat('file'));
|
||||
return gulp.src(['Brocfile*.js', 'modules/**/*.ts', 'tools/**/*.ts', '!**/typings/**/*.d.ts'])
|
||||
.pipe(format.checkFormat('file'));
|
||||
}
|
||||
|
||||
gulp.task('check-format', function() {
|
||||
|
Reference in New Issue
Block a user