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

rules.tslint.triple-equals.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: triple-equals

Requires === and !== in place of == and !=.

Config

Two arguments may be optionally provided:

  • "allow-null-check" allows == and != when comparing to null.
  • "allow-undefined-check" allows == and != when comparing to undefined.
Examples
"triple-equals": true
"triple-equals": [true, "allow-null-check"]
"triple-equals": [true, "allow-undefined-check"]
Schema
{
"type": "list",
"listType": {
"type": "enum",
"enumValues": [
"allow-null-check",
"allow-undefined-check"
]
}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy