
rules.tslint.align.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-frontend-typescript Show documentation
Show all versions of sonar-web-frontend-typescript Show documentation
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: align
Enforces vertical alignment.
Rationale
Helps maintain a readable, consistent style in your codebase.
Config
Three arguments may be optionally provided:
"parameters"
checks alignment of function parameters.
"arguments"
checks alignment of function call arguments.
"statements"
checks alignment of statements.
Examples
"align": [true, "parameters", "statements"]
Schema
{
"type": "list",
"listType": {
"type": "enum",
"enumValues": [
"arguments",
"parameters",
"statements"
]
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy