Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

adf-tslint-rules

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adf-tslint-rules

Custom Rules for the ADF project

latest
npmnpm
Version
0.0.7
Version published
Weekly downloads
112
12%
Maintainers
1
Weekly downloads
 
Created
Source

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 NameDescription
adf-file-nameThe name of the File should not start with ADF Alfresco or Activiti prefix
adf-class-nameThe name of the class should not start with ADF Alfresco or Activiti prefix
adf-no-on-prefix-output-nameAngular allows for an alternative syntax on-*. If the event itself was prefixed with on this would result in an on-onEvent binding expression

FAQs

Package last updated on 08 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts