# @locomote/eslint-plugin-json-light

> Light ESLint plugin for JSON validating

Latest version **1.0.5** (published 2019-02-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install @locomote/eslint-plugin-json-light
pnpm add @locomote/eslint-plugin-json-light
yarn add @locomote/eslint-plugin-json-light
bun add @locomote/eslint-plugin-json-light
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-02-12 |
| First published | 2018-09-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Locomote IP Pty Ltd |
| Maintainers | damsonn, dxg, travelport-locomote, welikoiwanenko |
| Keywords | eslint, eslintplugin, eslint-plugin, json, eslint-plugin-json, eslint-plugin-json-light |

## Links

- npm: https://www.npmjs.com/package/@locomote/eslint-plugin-json-light
- Repository: https://github.com/locomote/eslint-plugin-json-light
- Homepage: https://github.com/locomote/eslint-plugin-json-light#readme
- Issues: https://github.com/locomote/eslint-plugin-json-light/issues
- npm.io page: https://npm.io/package/@locomote/eslint-plugin-json-light

## Dependencies (1)

- [jsonlint](https://npm.io/package/jsonlint.md) ^1.6.3

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-02-12
- 1.0.4 — 2018-09-26

## README

# eslint-plugin-json-light
Because eslint-plugin-json install is too heavy (phantomjs download, ~22MB) 😒

## Installation

#### ESLint
```bash
npm i eslint --save-dev
```

```bash
npm i eslint-plugin-json-light --save-dev
```

If you installed ESLint package globally - you should also install this plugin globally

## Usage

`.eslintrc.js` (or other ESLint config)
```json
{
   "plugins": [
      "json-light"
   ]
}
```
If you are using `lint-staged` don't forget about `.json` extension:

```json
{
   "lint-staged": {
      "*.{js,json}": [
         "eslint"
      ]
   }
}
```

Also you can  run ESLint on individual JSON files or through --ext flag to add JSON files to the list.
```bash
eslint . --ext .json --ext .js
eslint fixture.json
```

---
_Source: https://npm.io/package/@locomote/eslint-plugin-json-light · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
