Skip to content
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

extends does not work anymore #18

Open
markusguenther opened this issue Jan 7, 2018 · 0 comments
Open

extends does not work anymore #18

markusguenther opened this issue Jan 7, 2018 · 0 comments

Comments

@markusguenther
Copy link

markusguenther commented Jan 7, 2018

Hello,

I used

{
	"extends": ["xo-space/esnext", "xo-react/space"]
}

and it worked well until I upgraded eslint to version 4.x and the eslint-config-xo-react to the latest version. Since then I always get the the error that the config is invalid.

	Configuration for rule "react/require-default-props" is invalid:
	Value [{"forbidDefaultForRequired":true}] should NOT have more than 0 items.

I am using the following versions:

    "eslint-config-xo-react": "^0.15.0",
    "eslint-config-xo-space": "^0.17.0",
    "eslint-plugin-babel": "^4.1.2",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
    "eslint-plugin-react": "^7.5.1",
    "eslint": "^4.15.0",

If I am removing "xo-react/space" in the extend array, everything is fine :(
Hopefully someone has a hint for me.

markusguenther added a commit to markusguenther/eslint-config-neos that referenced this issue Jan 7, 2018
Since the upgrade the extend leads to an unexpected error.
I create an issue for that.

xojs/eslint-config-xo-react#18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant