-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Ambiguous script in usage guidelines #20
Comments
Sorry that this isn't very clear. This package is intended for experienced ESLint users, so the docs don't go into very much detail. Basically, you're creating an ESLint config file that references two configurations: {
"extends": ["standard", "standard-jsx"]
} Those are shorthands for These configuration files reference rules that are part of ESLint itself, as well as rules that didn't make it into ESLint core, but that are still really useful to have. These rules live in third-party plugins. You can see a few of these rules here, for example.
I know that's a lot of things to install, but unfortunately, that's how ESLint shareable configs work. It would be great if we could include the above plugins as dependencies of the shareable configs since they really are an implementation detail, IMO. But unfortunately, the ESLint team was against this idea. Full issue with context here: eslint/eslint#3458 Maybe this will happen in a future version and we can simplify the install instructions. |
In the future, I expect to deprecate this package ( The main reason that we split these JSX rules out was because it felt weird to have everyone install However, we now bundle several plugins for Node, import, promises, etc. in the main config and not all users necessarily use Node, import statements, or promises. So, that bridge has already been crossed and there's not much reason for this package to continue to exist. |
|
@rstacruz Yeah, I think so :) |
@feross Any further progress in the plan to include it in standard package for having a singular style for both client and backend. |
https://github.com/feross/eslint-config-standard-jsx#usage
What does that even mean? It makes me feel like I should just grab stuff and run it without fully understanding it.
The text was updated successfully, but these errors were encountered: