# no-svelte-ignore

> A simple CLI that checks for the existence of "svelte-ignore" in a project. If found, it fails and lists all occurrences. In most occurrences, these are likely svelte ignore comments. Use the `exclude` argument to ignore occurrences in specific glob patte

Latest version **0.1.1** (published 2023-05-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install no-svelte-ignore
pnpm add no-svelte-ignore
yarn add no-svelte-ignore
bun add no-svelte-ignore
```

Provides the command `no-svelte-ignore`.

## Health

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

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2023-05-12 |
| First published | 2023-05-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 34.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | andyasberry |

## Links

- npm: https://www.npmjs.com/package/no-svelte-ignore
- npm.io page: https://npm.io/package/no-svelte-ignore

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [gluegun](https://npm.io/package/gluegun.md) latest
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.4
- [fast-find-in-files](https://npm.io/package/fast-find-in-files.md) ^0.1.1

## Recent versions

- 0.1.1 (latest) — 2023-05-12

## README

# no-svelte-ignore

A simple CLI that checks for the existence of "svelte-ignore" in a project. If found, it fails and lists all occurrences. In most occurrences, these are likely svelte ignore comments. Use the `exclude` argument to ignore occurrences in specific glob patterns.

Great for keeping your code clean and free of "disable" comments; discourages deviations from your linting configuration.

## Installation

You may not need to install it as a dependency (see "Usage" below), but if you do:

### npm

```
npm install --save-dev no-svelte-ignore
```

### yarn

```
yarn add -D no-svelte-ignore
```

## Usage

```
npx no-svelte-ignore <dir> [--exclude=glob]
```

[minimatch](https://www.npmjs.com/package/minimatch) is used for glob patterns.

## Examples

Checking your `src` directory, excluding JS config files:

```
npx no-svelte-ignore src --exclude="*.config.js"
```

# License

MIT - see LICENSE

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