Socket
Book a DemoInstallSign in
Socket

eslint-plugin-json-schema-descriptions

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-json-schema-descriptions

ESLint Plugin to require descriptions on JSON Schema Properties

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
0
Created
Source

eslint-plugin-json-schema-descriptions Build Status

ESLint rule to mandate that JSON Schema files have description fields on properties.

Installation

npm install --save-dev eslint-plugin-json-schema-descriptions

Configuration (eslint.config.js)

For flat configuration, this plugin ships with an eslint-plugin-json-schema-descriptions/recommended config that sets up both eslint-plugin-json-schema-descriptions and jsonc-eslint-parser in one go.

Import eslint-plugin-json-schema-descriptions and add it as the last item in the configuration array in your eslint.config.js file so that eslint-plugin-json-schema-descriptions has the opportunity to override other configs:

import jsonSchemaDescriptions from "eslint-plugin-json-schema-descriptions/recommended";

export default [
  jsonSchemaDescriptions,
];

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

Keywords

JSON

FAQs

Package last updated on 22 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.