1.1.1 • Published 11 months ago

eslint-plugin-json-schema-descriptions v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

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.

1.1.1

11 months ago

1.1.0

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago