ESLint rule to mandate that JSON Schema files have description fields on properties.
npm install --save-dev eslint-plugin-json-schema-descriptions
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,
];
Detailed changes for each release are documented in CHANGELOG.md.