Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf7b85da

Browse files
authored
Merge pull request #1 from atsu85/patch-1
Updated README.md - formatter options
2 parents8a78163 +351273f commitf7b85da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎README.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ var typescriptFormatter = require('gulp-typescript-formatter');
1616
gulp.task('format', function () {
1717
return gulp.src('**/*.ts')
1818
.pipe(typescriptFormatter({
19+
// see RootOptions interface for available options: https://github.com/vvakame/typescript-formatter/blob/master/lib/cli.ts#L25-L35
1920
baseDir: '.',
20-
tsfmt: true
21+
tslint: true, // use tslint.json file?
22+
tsfmt: true, // use tsfmt.json file? Overrides settings in tslint.json (at least indentSize)
23+
editorconfig: true, // use .editorconfig file? Overrides tsfmt settings (at least indentSize)
2124
})
2225
.pipe(gulp.dest('.'));
2326
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp