Open jdforrester opened 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
6f5cc33
) to head (aff0669
).
How have you decided which rules are recommended?
How have you decided which rules are recommended?
Gut feeling / commonality in practice of changes, mostly. Very happy to change any of them.
Is the boolean used for anything? I'm hesitant to include this in the release without thinking about it a bit more.
Is the boolean used for anything? I'm hesitant to include this in the release without thinking about it a bit more.
The next commit in the stack requires this commit.
[Edit: Oh, never mind, you just opted out for now. Sure.] Wait, now you've squash-merged a different version of this commit in 8acaa2e2a26a5fdcab1d74485d74b551f265c254 instead?
According to the docs:
recommended: (boolean) For core rules, this specifies whether the rule is enabled by the recommended config from @eslint/js.
We also have a recommended
config that only applies variable-pattern. If we do use the flag it should match the list. I'm not sure why you would specify that a rule is recommended in two places though...
Not also in general for the parent property docs
:
docs: (object) Properties often used for documentation generation and tooling. Required for core rules and optional for custom rules. Custom rules can include additional properties here as needed.
Now-recommended rules:
Fixes #249.