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

rules.tslint.no-var-requires.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-var-requires

Disallows the use of require statements except in import statements.

In other words, the use of forms such as var module = require("module") are banned. Instead use ES6 style imports or import foo = require('foo') imports.

Config

Not configurable.

Examples
"no-var-requires": true
Schema
{}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy