Skip to content
This repository was archived by the owner on Dec 17, 2021. It is now read-only.

Release v1.5.0

Choose a tag to compare

@nwronski nwronski released this 14 Jun 18:16
· 13 commits to master since this release

Added

  • Added preserveCase option to allow validation of Angular 2 templates. Here is a combination of settings and configuration that appears to work well for Angular 2.

    {
      settings: {
        preserveCase: true
      },
      tags: {
        normal: [ 'template' ]
      },
      attributes: {
        '_': {
          mixed: /^((\*ng)|(^\[[\S]+\]$)|(^\([\S]+\)$))|(^\[\([\S]+\)\]$)/
        }
      }
    }