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

rules.tslint.max-line-length.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: max-line-length

Requires lines to be under a certain max length.

Rationale

Limiting the length of a line of code improves code readability. It also makes comparing code side-by-side easier and improves compatibility with various editors, IDEs, and diff viewers.

Config

An integer indicating the max length of lines.

Examples
"max-line-length": [true, 120]
Schema
{
"type": "number"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy