An ESLint plugin for linting apidoc.json configuration files based on API style rules. Version 0.0.7 is the latest release. It provides rules to enforce base URL, contact information, and description presence for APIs and resources. Designed to integrate with ESLint, it allows developers to validate apidoc.json files as part of their linting process. The plugin is minimal, with only a few rules, and requires ESLint as a peer dependency. It is not actively maintained, with no recent updates.
npm install eslint-plugin-apidocNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows ESLint configuration to lint apidoc.json using the plugin's three rules.
Consider forking or using an alternative if issues arise.
Ensure your apiDoc configuration is in a separate JSON file.
Run 'npm install eslint-plugin-apidoc --save-dev'
Use 'apidoc/base-url' instead of 'base-url'
Ensure the file is valid JSON and exists.