0.1.3 • Published 8 years ago

tslint-formatters v0.1.3

Weekly downloads
10
License
GPL-2.0+
Repository
github
Last release
8 years ago

tslint-formatters

Build Status Dependency Status devDependency Status Coverage Status

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+