Angular TSLint Preset

  Web   Angular  Tslint  Preset  Dreamoztech  
A preset with TSLint rules for development of Angular applications. The preset contains both, tslint core rules, and codelyzer rules, which are going to perform Angular specific linting.
Angular Tslint Preset
Angular Tslint Preset

tslint-angular

A preset with TSLint rules for development of Angular applications. The preset contains both, tslint core rules, and codelyzer rules, which are going to perform Angular specific linting.

This package is based on the tslint configuration of Angular CLI and aligns with the Angular style guide.

Note: there are few more rules added on top of the Angular CLI configuration.


How to use?

npm i tslint-angular --save-dev
After that configure tslint.json to use the preset:

{
  "extends": ["tslint-angular"],
  "rules": {
    "directive-selector": [true, "attribute", "foo", "camelCase"],
    "component-selector": [true, "element", "foo", "kebab-case"]
  }
}

Notice that directive-selector and component-selector are configurable so you need to add them manually in the rules section of tslint.json.


DreamozTech an online seo platform where you can build optimized seo contents. Sign up now to start building your search engine optimized contents. DreamozTech is your answer to promote your business online. Bring more traffic, use our tools and thrive in the digital world. By creating your free profile, you are one step closer to get the best results.

We provide you with solutions for making an engaging website, with SEO boosting, help in mobile support and much more! Dreamoz is dedicated to high quality SEO management and much more, with several success stories with our clients. Not sure what you need? Scroll through our blog for advice, or send us a message!

“Hesitating to act because the whole vision might not be achieved, or because others do not yet share it, is an attitude that hinders progress”. Bring more traffic, use our tools and thrive in the digital world. By creating your free profile, you are one step closer to get the best results. Sign up now!

Leave a message

Full Name
Email
Mobile
Description