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

rules.tslint.interface-name.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: interface-name

Requires interface names to begin with a capital ‘I’

Rationale

Makes it easy to differentitate interfaces from regular classes at a glance.

Config

One of the following two options must be provided:

  • "always-prefix" requires interface names to start with an “I”
  • "never-prefix" requires interface names to not have an “I” prefix
Examples
"interface-name": [true, "always-prefix"]
"interface-name": [true, "never-prefix"]
Schema
{
"type": "enum",
"enumValues": [
"always-prefix",
"never-prefix"
]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy