Skip to content

🚀 Feature: Require schema to be present #935

Closed as not planned
Closed as not planned
@DaniFoldi

Description

@DaniFoldi

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Overview

Hi 👋,

While this tool does a pretty good job of keeping package.json free of typos by validating the contents, for manual editing a $schema is sometimes useful. Most of my package.json files contain a "$schema": "https://json.schemastore.org/package.json", line so that they can be validated in CI. What do you think about adding a rule that adds $schema to package.json?

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: in discussionNot yet ready for implementation or a pull requesttype: featureNew enhancement or request 🚀

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions