typescript-formatter
typescript-formatter copied to clipboard
Formatter of TypeScript code
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. Commits - [`ab73503`](https://github.com/lodash/lodash/commit/ab73503859a2d2f7f603bc8a293ce93ecc071e83) Bump to v4.5.0. - [`a4f7d4c`](https://github.com/lodash/lodash/commit/a4f7d4cc2a3b6d3a43f6c27beadbf90410eecdcd) Rebuild lodash and docs. - [`cca5ac6`](https://github.com/lodash/lodash/commit/cca5ac60d61a2f786eeafadb674d6e12fc6179c8) Fix npm-test by removing the call to test-docs. - [`9f7f9fc`](https://github.com/lodash/lodash/commit/9f7f9fc3c5f1a4db9a2134950872440c792ee8bb)...
# What I did Remove `sudo: false` setting from `travis.yml` . # Context According to the following posts, Travis-CI had two Linux infrastructures which are containers and virtual machines, but...
@vvakame Here's a fix to handle absolute paths for the settings files before the fix `tsfmt --verbose --useTsfmt ~/.tsfmt.json` would fail, because it looks for ``` specified tsfmt.json : /home/caub/dev/foo/bar/home/caub/.tsfmt.json...
when running `tsfmt --verify` within project it ignores `extends` within tsconfig.json, so user has to specify all file paths manually within terminal which is very inconvenient
In `lib/cli.ts` the following code is used to determine the value of `opts.tsfmtFile`. Note that as a result of the `path.join` call, the value of `opts.tsfmtFile` will always be an...
I have this `tslint.json`: ```json { "rules": { "semicolon": [true, "always"], "no-consecutive-blank-lines": true } } ``` And this code in `example.ts`: ```typescript if (true) var a = 1 var a...
The TS Lint [`indent` rule](https://palantir.github.io/tslint/rules/indent/) can specify the indentation size: ``` "indent": [true, "spaces"] ``` ``` "indent": [true, "spaces", 4] ``` ``` "indent": [true, "tabs", 2] ``` This patch allows...
## actual: ```js const schema = new Schema({ }, { id: false, }); ``` ## expected: ```js const schema = new Schema({ }, { id: false, }); ``` ## tslint:...
I init a tslint via https://palantir.github.io/tslint/ quick start direction Then installed typescript-formatter according to direction on github Finally tried tsfmt -r to test the package, error showed: "Error: Cannot find...
This makes calls like `tsfmt src/*.ts` work on Windows.