# tslint-rules-valorsoft

> Custom rules for tslint.

Latest version **1.0.0** (published 2017-12-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install tslint-rules-valorsoft
pnpm add tslint-rules-valorsoft
yarn add tslint-rules-valorsoft
bun add tslint-rules-valorsoft
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-12-26 |
| First published | 2017-12-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >= 4 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Dmitriy Shekhovtsov |
| Maintainers | betrozov |
| Keywords | tslint, tslint-extension, tslint-plugin, tslint-rules |

## Links

- npm: https://www.npmjs.com/package/tslint-rules-valorsoft
- Repository: https://github.com/valor-software/tslint-rules-valorsoft
- Homepage: https://github.com/valor-software/tslint-rules-valorsoft#readme
- Issues: https://github.com/valor-software/tslint-rules-valorsoft/issues
- npm.io page: https://npm.io/package/tslint-rules-valorsoft

## Dependencies (2)

- [tslib](https://npm.io/package/tslib.md) ^1.8.1
- [tsutils](https://npm.io/package/tsutils.md) ^2.12.1

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-12-26

## README

# 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:

```json
{
  "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`. <br/> 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:

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

## Development

```sh
# lint
npm run lint

# build
npm run build

# test
npm run test
```

---
_Source: https://npm.io/package/tslint-rules-valorsoft · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
