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

Add ESLint meta object with description and category #61

Closed
wants to merge 1 commit into from

Conversation

lolgab
Copy link

@lolgab lolgab commented Feb 28, 2020

Hi team,
We use your plugin at Codacy for automated code reviews :)
We use ESLint's meta object field to add descriptions to the rules in our wrapper
This PR adds the descriptions to all the rules taken from the comments in the source files.

Hope this will be accepted.
Lorenzo

@lolgab
Copy link
Author

lolgab commented Feb 28, 2020

In the changes you see most of them are changes in indentation.
I removed some unused variables too.

@lolgab lolgab changed the title Add ESLint meta object with description and category [WIP] Add ESLint meta object with description and category Feb 28, 2020
@lolgab lolgab changed the title [WIP] Add ESLint meta object with description and category Add ESLint meta object with description and category Feb 28, 2020
@lolgab
Copy link
Author

lolgab commented Mar 9, 2020

Can I have a review here? :)

@brettz9
Copy link
Contributor

brettz9 commented May 13, 2020

It'd be great to have meta.type too, so that formatters (like my https://github.com/brettz9/eslint-formatter-badger ) can include that information automatically in its summarizing of linting results (e.g., number of "problem" failures vs. "layout" or "suggestion").

As an organization, is anyone still active here to review this or the other PRs, @evilpacket ? @nlf ?

MarkKragerup added a commit to MarkKragerup/eslint-plugin-security that referenced this pull request Mar 28, 2022
@MarkKragerup
Copy link
Contributor

MarkKragerup commented Mar 28, 2022

I made a PR to replace this one as part of the new maintenance kickoff. The differences are outlined in the description: #79

@lolgab
Copy link
Author

lolgab commented Mar 28, 2022

@MarkKragerup Thank you for taking over! I forgot about this PR!
I'm closing this since it's superseded by #79

@lolgab lolgab closed this Mar 28, 2022
@lolgab lolgab deleted the add-meta-documentation branch March 28, 2022 13:49
@MarkKragerup
Copy link
Contributor

MarkKragerup commented Mar 28, 2022

@lolgab you are welcome. Happy to help. And thank you for raising the issue!

nzakas added a commit that referenced this pull request Mar 30, 2022
* Update .gitignore

* Closes #61
* Closes #48 

* Update README.md

Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>

* Update README.md

Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>

* Update README.md

Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>

* docs: changed meta urls to rule docs and shortened descriptions to one, markdownfree sentence.

* docs: corrected snyk description

* docs: updated to link on main

Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
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

Successfully merging this pull request may close these issues.

None yet

3 participants