Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automated Angular 2 Style Checking with Codelyzer

Automated Angular 2 Style Checking with Codelyzer

Following best practices is essential for the final success of any projects. Although Angular 2 is still in beta there are established practices and styles which help us create better software. Unfortunately, the process of enforcing them is manual and error-prone - through code reviews. In the talk I will demonstrate how to automatically encourage best practices and verify common style by using static code analysis with Codelyzer.

Minko Gechev

May 06, 2016
Tweet

More Decks by Minko Gechev

Other Decks in Programming

Transcript

  1. Enforcing common style • Fork the official style guide •

    Modify the styles according to your needs • Introduce the style guide to your team • Verify that each individual code change follows it
  2. Enforcing common style • Fork the official style guide •

    Modify the styles according to your needs • Introduce the style guide to your team • Verify that each individual code change follows it
  3. Enforcing common style • Fork the official style guide •

    Modify the styles according to your needs • Introduce the style guide to the rest of your team • Verify that each individual code change follows it
  4. Enforcing common style • Fork the official style guide •

    Modify the styles according to your needs • Introduce the style guide to the rest of your team • Verify that each individual code change follows it
  5. codelyzer “codelyzer is a project which aims to enforce common

    style, verify quality of your program”
  6. Future plans • Advanced static code analysis • Analysis of

    templates • Auto-correct suggestions • Analysis of lazy-loading boundaries • More!
  7. Future plans • Advanced static code analysis • Analysis of

    templates • Auto-correct suggestions • Analysis of lazy-loading boundaries • More!
  8. Future plans • Advanced static code analysis • Analysis of

    templates • Auto-correct suggestions • Analysis of lazy-loading boundaries • More!
  9. Future plans • Advanced static code analysis • Analysis of

    templates • Auto-correct suggestions • Analysis of lazy-loading boundaries • More!
  10. Future plans • Advanced static code analysis • Analysis of

    templates • Auto-correct suggestions • Analysis of lazy-loading boundaries • More!
  11. Future plans • Advanced static code analysis • Analysis of

    templates • Auto-correct suggestions • Analysis of lazy-loading boundaries • More!