-
Notifications
You must be signed in to change notification settings - Fork 26.4k
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
Can I use eslint-config-airbnb without eslint-plugin-react? #451
Comments
I think this is being discussed over at #366. |
I actually created a package for this: https://github.com/txchen/eslint-config-airbnb-lite |
Very nice, thanks for the heads-up! |
the official package now has a react-free version (as of v0.0.8)! simpy see here: https://www.npmjs.com/package/eslint-config-airbnb |
@justjake that's sweet! thanks for the information! |
@justjake @txchen Using Currently the way to avoid using It requires only |
Hi all, maybe you will know what I did wrong... @rsp |
Not sure where that error comes from; does it work on the command line? |
hello @ljharb ! |
It looks like you’re running a global eslint; try uninstalling that one and running the local one through an npm run-script (be sure any editor or IDE you’re using also uses the local one) |
hmm... I tried like this: Get the same error, not sure what I am doing wrong here.
|
Have you npm installed the config locally as well? |
|
And does eslintrc.json have a slash in it or a hyphen? |
@ljharb Add |
I am not using react, so it would be better for me to just install eslint.
Is it possible to move the jsx related configs to a separated file?
The text was updated successfully, but these errors were encountered: