-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest version not compatible with old ESLint config #54
Comments
@barelyhuman Can you help? @GorvGoyl I think we need your help too. |
Is there a specific error that's being thrown or is it not linting at all? I tried to keep the old scope helper but if that's not working then i know what's the issue, though it did work in the setups i tried the changes on |
sure, here are the logs:
eslint: {
"env": {
"browser": true,
"es2021": true
},
"overrides": [
{
"files": ["**/*.cjs"],
"env": {
"node": true
}
}
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:react-hooks/recommended",
"plugin:promise/recommended",
"plugin:valtio/recommended",
"plugin:react/jsx-runtime",
"plugin:jsx-a11y/recommended",
"plugin:regexp/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"projectService": true,
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint", "promise", "restricted-scripting", "jsx-a11y", "regexp"],
"settings": {
"react": {
"version": "detect"
}
},
}
|
Oh, the compat for export broke with the built asset. Should be an easy fix, give me a few |
Since Codesandbox builds aren't working, can you try the following package for testing instead? npm add @bhincubator/eslint-plugin-valtio@latest |
i tried but couldn't make it work
|
That’s there right… i’ll just make a pr tagged release in the morning, you can use that |
Don't mind the delay
should be usable as a package right now |
@GorvGoyl did you get time to try it out? |
not the latest version but the tag i’ve put in the previous comment, the PR release |
Ah, I missed that comment. Yes, it's building fine. |
Cool, will update the release and docs accordingly |
I've encountered an issue where the latest version of this plugin is not compatible with older ESLint configurations. Many ESLint plugins are not yet compatible with the new ESLint config, which prevents me from upgrading ESLint to the latest version. I'm sure this is a common issue for many other developers as well.
Would it be possible to make the latest version of this plugin backward compatible with older ESLint configurations?
The text was updated successfully, but these errors were encountered: