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

rules.tslint.no-duplicate-key.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: no-duplicate-key

Disallows duplicate keys in object literals.

Rationale

There is no good reason to define an object literal with the same key twice. This rule is now implemented in the TypeScript compiler and does not need to be used.

Config

Not configurable.

Examples
"no-duplicate-key": true
Schema
{}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy