adf-tslint-rules

0.0.7 • Public • Published

adf-tslint-rules

A set of TSLint rules used on ADF project.

Installation

 npm install adf-tslint-rules

Configuration

{
    "rulesDirectory": [
        "node_modules/codelyzer",
        "node_modules/adf-tslint-rules"
    ],
    "rules": {
        "adf-file-name": true,
        "adf-class-name": true,
        "adf-no-on-prefix-output-name": true
    }
}

Supported Rules

Rule Name Description
adf-file-name The name of the File should not start with ADF Alfresco or Activiti prefix
adf-class-name The name of the class should not start with ADF Alfresco or Activiti prefix
adf-no-on-prefix-output-name Angular allows for an alternative syntax on-*. If the event itself was prefixed with on this would result in an on-onEvent binding expression

Readme

Keywords

none

Package Sidebar

Install

npm i adf-tslint-rules

Weekly Downloads

76

Version

0.0.7

License

Apache-2.0

Unpacked Size

24.3 kB

Total Files

16

Last publish

Collaborators

  • alfresco