All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rules.tslint.ban.html Maven / Gradle / Ivy

Go to download

Consume reports generated by tslint for code quality. Also consume reports for code duplication (either simian or cpd). Consumes the unit/integration tests reports (generated by Jasmin) coverage report (lcov generated by Istanbul). The information generated by reports are added in Sonar

The newest version!

Details

Rule: ban

Bans the use of specific functions.

At this time, there is no way to disable global methods with this rule.

Config

A list of ['object', 'method'] pairs which ban object.method().

Examples
"ban": [true, ["console", "log"], ["someObject", "someFunction"]]
Schema
{
"type": "list",
"listType": {
"type": "array",
"arrayMembers": [
{
"type": "string"
},
{
"type": "string"
}
]
}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy