Skip to content

[eslint-plugin] eslint plugin doesn't specify eslint version compat #1248

@MoOx

Description

@MoOx

Current 0.16.0 doesn't specify eslint as a peer dep, so we have no idea with which version of eslint this plugin is compatible with

"dependencies": {
"css-shorthand-expand": "^1.2.0",
"micromatch": "^4.0.5",
"postcss-value-parser": "^4.2.0"
},

Could this be added?

I was trying to make a plugin for RSD (ref facebook/react-strict-dom#304 (reply in thread)) and wanted to reused this plugin to avoid redoing the same work, and I tried latest eslint v9 but it seems it's not compatible because I got something like this

Oops! Something went wrong! :(

ESLint: 9.36.0

Error: ESLint context does not provide source code access. Please update ESLint to v>=8.40.0. See: https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/

Would be nice to know for sure :)

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