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

build: add eslint-plugin plugin to project's lint config #708

Conversation

michaelfaith
Copy link
Contributor

PR Checklist

Overview

This change adds the eslint-plugin-eslint-plugin recommended config to the project's lint configuration, and disables the current 25 errors, for addressing as follow-up changes.

Closes #82

This change adds the `eslint-plugin-eslint-plugin` recommended config to the project's lint configuration, and disables the current 25 errors, for addressing as follow-up changes.
Copy link

codecov bot commented Dec 27, 2024

Codecov Report

Attention: Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.85%. Comparing base (d18944a) to head (585367c).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/rules/valid-local-dependency.ts 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #708      +/-   ##
==========================================
- Coverage   98.92%   98.85%   -0.08%     
==========================================
  Files          17       17              
  Lines        1120     1135      +15     
  Branches      113      113              
==========================================
+ Hits         1108     1122      +14     
- Misses         12       13       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Real-life announcer in Mortal Kombat movie calmly and happily saying "flawless victory"

@JoshuaKGoldberg JoshuaKGoldberg merged commit 7accdba into JoshuaKGoldberg:main Dec 27, 2024
13 of 15 checks passed
@JoshuaKGoldberg
Copy link
Owner

@all-contributors please add @michaelfaith for infra.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙

Copy link
Contributor

@JoshuaKGoldberg

I've put up a pull request to add @michaelfaith! 🎉

JoshuaKGoldberg pushed a commit that referenced this pull request Dec 27, 2024
Adds @michaelfaith as a contributor for infra.

This was requested by JoshuaKGoldberg [in this
comment](#708 (comment))

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
@michaelfaith michaelfaith deleted the build/add-eslint-plugin-plugin branch December 27, 2024 09:42
michaelfaith added a commit to michaelfaith/eslint-plugin-package-json that referenced this pull request Dec 30, 2024
This change resolves all of the violations revealed by JoshuaKGoldberg#708, except for one.  The messages used to report violations in `valid-package-def` are coming from PJV and not maintained by the plugin.  So unless there's an attempt to map PJV errors to statically defined messages within the rule, that one will need to continue using `message`
JoshuaKGoldberg pushed a commit that referenced this pull request Dec 31, 2024
<!-- 👋 Hi, thanks for sending a PR to eslint-plugin-package-json! 💖.
Please fill out all fields below and make sure each item is true and [x]
checked.
Otherwise we may not be able to review your PR. -->

## PR Checklist

-   [x] Addresses an existing open issue: fixes #81 
- [x] That issue was marked as [`status: accepting
prs`](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [x] Steps in
[CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/main/.github/CONTRIBUTING.md)
were taken

## Overview

This change resolves all of the violations revealed by #708, except for
one. The messages used to report violations in `valid-package-def` are
coming from PJV and not maintained by the plugin. So, unless there's an
attempt to map PJV errors to statically defined messages within the
rule, that one will need to continue using `message`.

I took my best stab at defining the `type` property for the ones that
were missing it. Let me know if you think any of them should be
adjusted.

Closes: #81
Copy link

🎉 This is included in version v0.19.0 🎉

The release is available on:

Cheers! 📦🚀

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.

🛠 Tooling: Onboard eslint-plugin-eslint-plugin
2 participants