@coara/ng-tslint

Some TSLint rules for Angular projects

Usage no npm install needed!

<script type="module">
  import coaraNgTslint from 'https://cdn.skypack.dev/@coara/ng-tslint';
</script>

README

ng-tslint

This is a NPM package with some custom rules for your tslint configuration. The focus of this configuration is on angluar projects and extend the codelizer package.

How Install it

Install like a dev dependency the package via npm or yarn:

NPM command

npm i @coara/ng-tslint -D

or Yarn conmand

yarn add @coara/ng-tslint -D

Configuration

Then you should extend your current tslint.json with this new configuration:

{
  "extends": "@coara/ng-tslint/tslint-config",
  "linterOptions": {
    "exclude": ["**/some_folder/**"]
  },
  "rules": {
      ...
  }
}

Package powered by coara TM