npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

tslint-rules-valorsoft

1.0.0 • Public • Published

tslint-rules-valorsoft

Install

Install the package using NPM:

npm install tslint-rules-valorsoft --save-dev

Update your tslint.json file to extend this package:

{
  "rulesDirectory": [
    "tslint-rules-valorsoft"
  ],
  "rules": {
    "no-cross-dependencies": [true, "path/to/module"]
  }
}

Rules

The package includes the following rules:

Rule Description Options
no-cross-dependencies Disallows import of data from these modules to that module directly via import or require.
Instead only internal may be imported from that module.
See below

Options

no-cross-dependencies

The no-cross-dependencies rule takes an array of paths. This is the path of the module - relative to the root of the project.

For example:

"rules"{
  "no-cross-dependencies": [true, "path/to/module1", "path/to/module2"]
}

Development

# lint 
npm run lint
 
# build 
npm run build
 
# test 
npm run test

install

npm i tslint-rules-valorsoft

Downloadsweekly downloads

0

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability