This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@infinumjs/tslint-config-angular

10.3.0 • Public • Published

Install

npm install --save-dev @infinumjs/tslint-config-angular

Configure

tslint.json:

{
  "extends": "@infinumjs/tslint-config-angular",
  "rules": {
    "directive-selector": [true, "attribute", "my-app", "camelCase"],
    "component-selector": [true, "element", "my-app", "kebab-case"]
  }
}

tsconfig recommendations

We recommend setting some additional tsconfig options which might not be set by default.

Since no-unused-variable tslint rule was deprecated, we recommend setting noUnusedLocals and noUnusedParameters.

Set fullTemplateTypeCheck to true to enable 3rd phase of AOT compilation - template type checking.

Set preserveWhitespaces to false to remove potentially superfluous whitespace characters from the compiled template.

{
  "compilerOptions": {
    "noUnusedLocals": true,
    "noUnusedParameters": true
  },
  "angularCompilerOptions": {
    "fullTemplateTypeCheck": true,
    "preserveWhitespaces": false
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @infinumjs/tslint-config-angular

Weekly Downloads

18

Version

10.3.0

License

MIT

Unpacked Size

7.91 kB

Total Files

4

Last publish

Collaborators

  • infinumcom
  • jjanus
  • danipavic
  • safo6m
  • fvoska
  • darkokukovec