Socket
Socket
Sign inDemoInstall

generator-tslint

Package Overview
Dependencies
184
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generator-tslint

Yeoman generator to get tslint up and running in your project with your favorite preset (and with plugins if you want)


Version published
Weekly downloads
1
Maintainers
1
Install size
18.0 MB
Created
Weekly downloads
 

Readme

Source

generator-tslint

NPM version Build Status Coveralls Status Dependency Status DevDependency Status

Yeoman generator to get tslint up and running in your project with your favorite preset

Install

npm install --global yo generator-tslint

Usage

# nope, it will do nothing, just install tslint into your project
yo tslint

# install tslint with your favorite preset
yo tslint tslint-microsoft-contrib

# you can select some presets for tslint
yo tslint tslint-microsoft-contrib,tslint-eslint-rules

For now supporting only (in accordance with http://palantir.github.io/tslint/usage/custom-rules/)

Composability

Composability is a way to combine smaller parts to make one large thing. Sort of like Voltron®

— Yeoman docs

Just plug in tslint into your generator and let it setup your tslint.json and install required devDependencies for you. Everybody wins.

Install

npm install --save generator-tslint

Compose

this.composeWith('tslint', { options:  {
    'skip-install': this.options['skip-install'],
    config: {
        rulesDirectory: [
            'tslint-microsoft-contrib'
            , 'tslint-eslint-rules'
            , 'codelyzer'
        ]
}}}, {
  local: require.resolve('generator-tslint')
});

License

MIT © Aleksandr Filatov alfilatov.com

Keywords

FAQs

Last updated on 16 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc