@kocan-plugins/tslint
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-alpha.13 • Public • Published

@kocan-plugins/tslint

Kocan plugin for TSLint.

Usage

package.json

{
	"devDependencies": {
		"@kocan-plugins/tslint": "latest",
		"tslint": "latest"
	}
}

kocan.config.js

module.exports = {

	plugins: [

		require('@kocan-plugins/tslint')([

			new (require('tslint/lib/rules/banTsIgnoreRule').Rule)({
				ruleName: 'ban-ts-ignore',
				ruleArguments: [],
				ruleSeverity: 'warning',
			}),

			new (require('tslint/lib/rules/maxLineLengthRule').Rule)({
				ruleName: 'max-line-length',
				ruleArguments: [40],
				ruleSeverity: 'warning',
			}),
		]),
	],
};

Readme

Keywords

none

Package Sidebar

Install

npm i @kocan-plugins/tslint

Weekly Downloads

1

Version

2.0.0-alpha.13

License

MIT

Unpacked Size

5.34 kB

Total Files

4

Last publish

Collaborators

  • nkduy