Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Dima <alexdima@microsoft.com>2015-11-19 14:56:08 +0300
committerAlex Dima <alexdima@microsoft.com>2015-11-19 14:56:08 +0300
commit8883fcd03b7afd2eba21ea845bdd2dfbaf3d4c38 (patch)
treec38c4a537a7ad55111a41e3e5b92385b864f73e2 /gulpfile.js
parentf4d81bc7e1d1b019de6cfbaabdf864d69b4fed14 (diff)
Leading whitespace fixes
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js25
1 files changed, 22 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 4dcae303a70..86b46346b6a 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -134,13 +134,32 @@ gulp.task('fix-eol-style', function() {
return gulp.src(LINE_FEED_FILES, { base: '.' }).pipe(style({})).pipe(gulp.dest('.'));
});
var WHITESPACE_FILES = LINE_FEED_FILES.concat([
- '!**/lib/**'
+ '!**/lib/**',
+ '!**/*.d.ts',
+ '!extensions/typescript/server/**',
+ '!test/assert.js',
+ '!**/octicons/**',
+ '!**/vs/languages/sass/test/common/example.scss',
+ '!**/vs/languages/less/common/parser/less.grammar.txt',
+ '!**/vs/languages/css/common/buildscripts/css-schema.xml',
+ '!**/vs/languages/markdown/common/raw.marked.js',
+ '!**/vs/base/common/winjs.base.raw.js',
+ '!**/vs/base/node/terminateProcess.sh',
+ '!extensions/csharp-o/gulpfile.js',
+ '!**/vs/base/node/terminateProcess.sh',
+ '!**/vs/text.js',
+ '!**/vs/nls.js',
+ '!**/vs/css.js',
+ '!**/vs/loader.js',
+ '!extensions/**/snippets/**',
+ '!extensions/**/syntaxes/**',
+ '!extensions/**/themes/**',
]);
gulp.task('whitespace-style', function() {
- return gulp.src(LINE_FEED_FILES).pipe(style({complain:true, whitespace:true}));
+ return gulp.src(WHITESPACE_FILES).pipe(style({complain:true, whitespace:true}));
});
gulp.task('fix-whitespace-style', function() {
- return gulp.src(LINE_FEED_FILES, { base: '.' }).pipe(style({whitespace:true})).pipe(gulp.dest('.'));
+ return gulp.src(WHITESPACE_FILES, { base: '.' }).pipe(style({whitespace:true})).pipe(gulp.dest('.'));
});
gulp.task('copyrights', function() {