Package Exports
- tslint-formatters
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tslint-formatters) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
tslint-formatters
Implements various formatters for tslint.
Install
npm install --save-dev tslint-formatters
Executables
Bin - tslint-formatters-convert
Convert yaml to checkstyle. This is a walkaround for this problem https://github.com/palantir/tslint/issues/680
For more information run node bin/tslint-formatters-convert --help
Original output is YAML and it is converted to checkstyle
tslint --formatters-dir ./node_modules/tslint-formatters/lib/tslint/formatters --format yaml foo.ts | tslint-formatters-convert yaml2checkstyle
or
Original output is an incorrect checkstyle and it is fixed with a simple string replace.
tslint --formatters-dir ./node_modules/tslint-formatters/lib/tslint/formatters --format checkstyle foo.ts | tslint-formatters-convert checkstyle2checkstyle
Contributing
Contributions welcome; Please submit all pull requests against master branch. If your pull request contains TypeScript patches or features, you should include relevant unit tests.
To start run:
npm install
npm run get-started
Before `git commit` run:
npm test
To check the content of the package:
If you have added new files then run the following command and review manually the content of the tmp/package directory.
npm run unpack
Author
Andor Dávid
Release History
- v0.1.0 - 2015-12-04
- Initial release with basic functionality.
License
Available under GPL-2.0+