2.0.0-alpha.13 • Published 2 years ago

@kocan-plugins/tslint v2.0.0-alpha.13

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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',
			}),
		]),
	],
};
2.0.0-alpha.13

2 years ago

2.0.0-alpha.0

2 years ago