minocoko/rollup-plugin-tslint(新しいタブで開きます)
主要言語: JavaScript
Rollup plugin to verify entry point and all imported files with TSLint.
- star 数
- 9
- watcher 数
- 1
- fork 数
- 2
- issue 数
- 4
- 最終更新
- 2019/01/22
主要言語: JavaScript
Rollup plugin to verify entry point and all imported files with TSLint.
This project is deprecated, please use rollup-plugin-eslint instead, due to typescript team decided using eslint, https://eslint.org/blog/2019/01/future-typescript-eslint
Rollup plugin to verify entry point and all imported files with TSLint.
yarn add rollup-plugin-tslint -D
or
npm i rollup-plugin-tslint -D
import typescript from 'rollup-plugin-typescript'; import tslint from "rollup-plugin-tslint"; export default { input: "src/index.ts", output: { file: "dist/main.js", format: "cjs" }, plugins: [ tslint({}), typescript({ }) ] };
See more options here tslint-config.
Type: boolean
Default: false
If true, will throw an error if any errors were found.
Type: boolean
Default: false
If true, will throw an error if any warnings were found.
Type: array or string
Default: []
A single file, or array of files, to include when linting.
Type: array or string
Default: node_modules/**
A single file, or array of files, to exclude when linting.
Type: function or string
Default: stylish
Custom error formatter or the name of a built-in formatter.
### configuration
Type: object or string
Default: null
Full configuration can be provided either as a path to a tsconfig.json or a configuration object.
MIT © Minocoko
Initially this plugin were inspired by rollup-plugin-eslint, thanks a lot.