Skip to content

Proposal: Adding 'since' attribute to rules documenation #1379

@ajmas

Description

@ajmas

Proposing the addition of a 'since' attribute to be added to the front-matter of the rules documentation. This would be used to indicate since what version of eslint-plugin-vue a given rule exists.

This proposal is in the context that not everyone has the latest version of eslint-plugin-vue (such as in a corporate environment), but may be looking at the documentation. It would give them a hint whether the rule was addd prior or after the version of eslint-plugin-vue being used in the project.

Example

---
pageClass: rule-details
sidebarDepth: 0
title: vue/no-unused-properties
description: disallow unused properties
since: v7.1.0
---
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions