# blyss

> A preset JavaScript linter that leaves style rules to be handled by Prettier.

Latest version **11.0.1** (published 2018-03-20) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install blyss
pnpm add blyss
yarn add blyss
bun add blyss
```

Provides the command `blyss`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 11.0.1 |
| Published | 2018-03-20 |
| First published | 2017-04-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 9 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Saad Quadri |
| Maintainers | saadq |

## Links

- npm: https://www.npmjs.com/package/blyss
- Homepage: https://github.com/saadq/blyss
- Issues: https://github.com/saadq/blyss/issues
- npm.io page: https://npm.io/package/blyss

## Dependencies (9)

- [eslint](https://npm.io/package/eslint.md) ^4.6.1
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^8.1.2
- [blyss-engine](https://npm.io/package/blyss-engine.md) ^9.0.1
- [eslint-plugin-node](https://npm.io/package/eslint-plugin-node.md) ^5.1.1
- [eslint-config-blyss](https://npm.io/package/eslint-config-blyss.md) ^11.0.1
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.3.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.7.0
- [eslint-plugin-flowtype](https://npm.io/package/eslint-plugin-flowtype.md) ^2.35.1
- [eslint-plugin-prefer-let](https://npm.io/package/eslint-plugin-prefer-let.md) ^1.0.1

## Recent versions

- 11.0.1 (latest) — 2018-03-20
- 11.0.0 — 2018-03-14
- 10.1.0 — 2018-01-18
- 10.0.0 — 2018-01-11
- 9.0.7 — 2017-12-26
- 9.0.6 — 2017-12-26
- 9.0.5 — 2017-12-26
- 9.0.4 — 2017-12-26
- 9.0.3 — 2017-12-26
- 9.0.2 — 2017-12-26
- 9.0.1 — 2017-12-18
- 9.0.0 — 2017-12-10
- 8.1.0 — 2017-11-21
- 8.0.2 — 2017-10-19
- 8.0.1 — 2017-09-12
- … 19 more at https://npm.io/package/blyss/versions

## README

# JavaScript Blyss Style

A preset linter without any style rules. Focus on the errors and let [Prettier](https://prettier.io) handle your styling.

**Features**:

* Strict ES6 Rules
* Flowtype support out-of-the-box
* Compatibility with [`prettier`](https://github.com/prettier/prettier)
* No style rules! Let your `prettier` config handle whitespace, quotes, semicolons, tabs/spaces, trailing commas, etc

## Installation

```bash
$ npm install -g blyss
```

## Usage

```
$ blyss
Error: Blyss Linter
  lib/index.js:15:11: Expected '===' and instead saw '=='.
```

### What you might do if you're clever

1. Install `blyss` as a `devDependency` for your project by running `npm install -D blyss`
2. Add a line in your `scripts` field to use the linter

  ```json
  {
    "name": "my-cool-package",
    "devDependencies": {
      "blyss": "*"
    },
    "scripts": {
      "lint": "blyss"
    }
  }
  ```

3. Run your script by doing `npm run lint` whenever you want to lint your code.

### Make it look `snazzy`
If you want prettier output, just install the [`snazzy`](https://github.com/feross/snazzy) package and pipe `blyss` to it:

```bash
$ blyss --verbose | snazzy
```

### Ignoring files

Just like in `standard`, The paths `node_modules/**`, `*.min.js`, `bundle.js`, `coverage/**`, hidden files/folders
(beginning with `.`), and all patterns in a project's root `.gitignore` file are
automatically excluded when looking for `.js` files to check.

Sometimes you need to ignore additional folders or specific minfied files. To do that, add
a `blyss.ignore` property to `package.json`:

```json
"blyss": {
  "ignore": [
    "**/out/",
    "/lib/select2/",
    "/lib/ckeditor/",
    "tmp.js"
  ]
}
```

## Credits
Thanks to @feross and @flet for creating `standard-engine` which is what this project is built on.

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