eslint-plugin-json-schema-descriptions
v1.1.1
Published
ESLint Plugin to require descriptions on JSON Schema Properties
Downloads
31
Maintainers
Readme
eslint-plugin-json-schema-descriptions
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.