Skip to content

Range linter: Disallow ranged values after 2020-01-01 #23991

Open
@Elchi3

Description

@Elchi3

What type of issue is this?

Linter issue

What is the issue?

Ranged values are currently allowed for browser versions released two years or earlier.

What behavior were you expecting?

If you set the linter to four years or earlier, it still passes. We should enforce that, so that we can make the guarantee that BCD will always report a real (non-ranged) version for as many years as possible.

What version(s) of BCD is the issue present in?

  • The current BCD release
  • The current version of the main branch

Do you have anything more you want to share?

It doesn't pass for:

  • 5 years: 832 errors (≤79 for Edge, ≤83 for Chrome, ≤72 for Firefox, and ≤13.1 for Safari would no longer be allowed)
  • 6 years: 913 errors (≤18 for Edge would no longer be allowed)
  • 7 years: 930 errors
  • 8 years: 953 errors
  • 9 years: 957 errors
  • 10 years: 1793 errors (≤37 for WebView Android would no longer be allowed)

cc @foolip @ddbeck

Metadata

Metadata

Assignees

No one assigned

    Labels

    linterIssues or pull requests regarding the tests / linter of the JSON files.meeting agendaIssues or pull requests in need of discussion in a project meeting.

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions