tslint-max-import-line-length

TSLint rule that requires import lines to be under a certain max length and provides a fix for long lines

Usage no npm install needed!

<script type="module">
  import tslintMaxImportLineLength from 'https://cdn.skypack.dev/tslint-max-import-line-length';
</script>

README

tslint-max-import-line-length

npm version CircleCI Dependency Status devDependencies Status npm

Getting started

$ npm i tslint-max-import-line-length -D

Usage

  // tslint.json
  "extends": [
    "tslint-max-import-line-length"
  ],
  "rules": {
    "max-import-line-length": [true, 100]
    ...
  }
  ...