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

feat: migrate to eslint 9 and add more plugins #1177

Merged
merged 109 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
6f02ef8
feat: migrate to eslint 9 and add more plugins
RebeccaStevens Mar 28, 2024
72b9a18
fix: build cjs and adjust rules some more
RebeccaStevens Mar 31, 2024
011f596
feat: more rules and fixups
RebeccaStevens Mar 31, 2024
0fae3db
fix: cleanup
RebeccaStevens Mar 31, 2024
ba379dd
feat: more adjustments
RebeccaStevens Apr 15, 2024
92a7610
ci: enable beta releases
RebeccaStevens Apr 15, 2024
b9bdffc
chore(release): 3.0.0-next.1 [skip ci]
semantic-release-bot Apr 15, 2024
91b8348
fix: npm releases
RebeccaStevens Apr 15, 2024
e2627da
chore(release): 3.0.0-next.2 [skip ci]
semantic-release-bot Apr 15, 2024
8eea9af
fix: more tweaks
RebeccaStevens Apr 16, 2024
1dfec8c
chore(release): 3.0.0-next.3 [skip ci]
semantic-release-bot Apr 16, 2024
e1071eb
fix: more tweaks
RebeccaStevens Apr 16, 2024
e5d0772
chore(release): 3.0.0-next.4 [skip ci]
semantic-release-bot Apr 16, 2024
b51004a
fix: deps update
RebeccaStevens Apr 17, 2024
9d188ec
chore(release): 3.0.0-next.5 [skip ci]
semantic-release-bot Apr 17, 2024
14d0426
fix: more tweaks
RebeccaStevens Apr 17, 2024
db9e05c
feat: more tweaks
RebeccaStevens Apr 18, 2024
4e9b7fb
chore(release): 3.0.0-next.6 [skip ci]
semantic-release-bot Apr 18, 2024
b94dd92
feat: more tweaks
RebeccaStevens Apr 21, 2024
837b3ad
chore(release): 3.0.0-next.7 [skip ci]
semantic-release-bot Apr 21, 2024
6dc7c91
feat: more tweaks
RebeccaStevens Apr 21, 2024
7a7ff84
chore(release): 3.0.0-next.8 [skip ci]
semantic-release-bot Apr 21, 2024
00a11c7
feat: more tweaks
RebeccaStevens Apr 21, 2024
1a88309
chore(release): 3.0.0-next.9 [skip ci]
semantic-release-bot Apr 21, 2024
2d5402c
feat: more tweaks
RebeccaStevens Apr 21, 2024
efda7bd
chore(release): 3.0.0-next.10 [skip ci]
semantic-release-bot Apr 21, 2024
d765f8a
feat: more tweaks
RebeccaStevens Apr 22, 2024
f8ffaca
chore(release): 3.0.0-next.11 [skip ci]
semantic-release-bot Apr 22, 2024
74a8879
feat: more tweaks
RebeccaStevens Apr 22, 2024
0b6d7b7
chore(release): 3.0.0-next.12 [skip ci]
semantic-release-bot Apr 22, 2024
c3906bb
feat: more tweaks
RebeccaStevens Apr 22, 2024
71906db
chore(release): 3.0.0-next.13 [skip ci]
semantic-release-bot Apr 22, 2024
a0a27fe
feat: more tweaks
RebeccaStevens Apr 22, 2024
c57b890
chore(release): 3.0.0-next.14 [skip ci]
semantic-release-bot Apr 22, 2024
4c1ef54
feat: more tweaks
RebeccaStevens Apr 22, 2024
09d4b64
chore(release): 3.0.0-next.15 [skip ci]
semantic-release-bot Apr 22, 2024
2567a85
feat: more tweaks
RebeccaStevens Apr 22, 2024
1f82fd7
chore(release): 3.0.0-next.16 [skip ci]
semantic-release-bot Apr 22, 2024
95c76dd
feat: more tweaks
RebeccaStevens May 3, 2024
f552624
ci: don't use node 22 for now
RebeccaStevens May 3, 2024
d5251ae
chore(release): 3.0.0-next.17 [skip ci]
semantic-release-bot May 3, 2024
4edbf3b
feat: more tweaks
RebeccaStevens May 6, 2024
8557dd8
chore(release): 3.0.0-next.18 [skip ci]
semantic-release-bot May 6, 2024
65287e6
feat: more tweaks
RebeccaStevens May 6, 2024
c878648
chore(release): 3.0.0-next.19 [skip ci]
semantic-release-bot May 6, 2024
0413e9d
feat: more tweaks
RebeccaStevens May 6, 2024
d5b51f1
chore(release): 3.0.0-next.20 [skip ci]
semantic-release-bot May 6, 2024
c4a2286
feat: more tweaks
RebeccaStevens May 6, 2024
335954c
chore(release): 3.0.0-next.21 [skip ci]
semantic-release-bot May 6, 2024
c07191c
feat: more tweaks
RebeccaStevens May 6, 2024
f1caee9
chore(release): 3.0.0-next.22 [skip ci]
semantic-release-bot May 6, 2024
aef8978
feat: more tweaks
RebeccaStevens May 10, 2024
0e8d898
chore(release): 3.0.0-next.23 [skip ci]
semantic-release-bot May 10, 2024
a747edc
feat: more tweaks
RebeccaStevens May 10, 2024
4070318
chore(release): 3.0.0-next.24 [skip ci]
semantic-release-bot May 10, 2024
ba947b2
feat: more tweaks
RebeccaStevens May 19, 2024
c2256b7
chore(release): 3.0.0-next.25 [skip ci]
semantic-release-bot May 19, 2024
ddec399
feat: more tweaks
RebeccaStevens May 19, 2024
1028427
chore(release): 3.0.0-next.26 [skip ci]
semantic-release-bot May 19, 2024
8c018ca
feat: more tweaks
RebeccaStevens May 19, 2024
2bfe1f7
chore(release): 3.0.0-next.27 [skip ci]
semantic-release-bot May 19, 2024
40ec3a1
feat: more tweaks
RebeccaStevens May 22, 2024
5e60403
chore(release): 3.0.0-next.28 [skip ci]
semantic-release-bot May 22, 2024
6533c65
feat: more tweaks
RebeccaStevens May 22, 2024
ffb6603
chore(release): 3.0.0-next.29 [skip ci]
semantic-release-bot May 22, 2024
1e20498
feat: more tweaks
RebeccaStevens May 25, 2024
9393497
chore(release): 3.0.0-next.30 [skip ci]
semantic-release-bot May 25, 2024
97e4b3e
feat: more tweaks
RebeccaStevens May 25, 2024
e4143e4
chore(release): 3.0.0-next.31 [skip ci]
semantic-release-bot May 25, 2024
4c8b3fb
feat: more tweaks
RebeccaStevens May 25, 2024
f4272d6
chore(release): 3.0.0-next.32 [skip ci]
semantic-release-bot May 25, 2024
7625895
feat: more tweaks
RebeccaStevens Jun 9, 2024
5020a6f
chore(release): 3.0.0-next.33 [skip ci]
semantic-release-bot Jun 9, 2024
40b3b6d
feat: more tweaks
RebeccaStevens Jun 9, 2024
422edf0
chore(release): 3.0.0-next.34 [skip ci]
semantic-release-bot Jun 9, 2024
e0db461
feat: more tweaks
RebeccaStevens Jun 10, 2024
61f093c
chore(release): 3.0.0-next.35 [skip ci]
semantic-release-bot Jun 10, 2024
ea4e0b1
feat: more tweaks
RebeccaStevens Jun 10, 2024
068ac99
chore(release): 3.0.0-next.36 [skip ci]
semantic-release-bot Jun 10, 2024
81678c8
feat: more tweaks
RebeccaStevens Jun 10, 2024
8af6002
chore(release): 3.0.0-next.37 [skip ci]
semantic-release-bot Jun 10, 2024
6e03da4
feat: more tweaks
RebeccaStevens Jun 19, 2024
ea80390
chore(release): 3.0.0-next.38 [skip ci]
semantic-release-bot Jun 19, 2024
0f06ca4
feat: more tweaks
RebeccaStevens Jun 24, 2024
6830465
feat: more tweaks
RebeccaStevens Jun 24, 2024
ad39829
feat: more tweaks
RebeccaStevens Jun 24, 2024
dd47cda
chore(release): 3.0.0-next.39 [skip ci]
semantic-release-bot Jun 24, 2024
4496639
feat: more tweaks
RebeccaStevens Jun 30, 2024
388d11d
chore(release): 3.0.0-next.40 [skip ci]
semantic-release-bot Jun 30, 2024
3c950b5
feat: more tweaks
RebeccaStevens Jul 1, 2024
5e76460
chore(release): 3.0.0-next.41 [skip ci]
semantic-release-bot Jul 1, 2024
1425346
feat: more tweaks
RebeccaStevens Jul 5, 2024
74360dd
chore(release): 3.0.0-next.42 [skip ci]
semantic-release-bot Jul 6, 2024
0acd33c
feat: more tweaks
RebeccaStevens Jul 11, 2024
b8b4df4
chore(release): 3.0.0-next.43 [skip ci]
semantic-release-bot Jul 11, 2024
5ba4886
feat: more tweaks
RebeccaStevens Jul 29, 2024
8dbd0ed
chore(release): 3.0.0-next.44 [skip ci]
semantic-release-bot Jul 29, 2024
2b2e26d
feat: more tweaks
RebeccaStevens Jul 29, 2024
1fb3566
chore(release): 3.0.0-next.45 [skip ci]
semantic-release-bot Jul 29, 2024
77897e2
feat: more tweaks
RebeccaStevens Jul 29, 2024
3108f62
chore(release): 3.0.0-next.46 [skip ci]
semantic-release-bot Jul 29, 2024
b3df5f8
feat: more tweaks
RebeccaStevens Aug 1, 2024
66bf7de
chore(release): 3.0.0-next.47 [skip ci]
semantic-release-bot Aug 1, 2024
b6e0b14
feat: more tweaks
RebeccaStevens Aug 3, 2024
c31a4be
feat: more tweaks
RebeccaStevens Aug 3, 2024
0933ab9
chore(release): 3.0.0-next.48 [skip ci]
semantic-release-bot Aug 3, 2024
3259394
feat: more tweaks
RebeccaStevens Aug 5, 2024
244fb2c
chore(release): 3.0.0-next.49 [skip ci]
semantic-release-bot Aug 5, 2024
cdbf29d
Merge branch 'main' into next
RebeccaStevens Aug 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .commitlintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
extends: ["@commitlint/config-conventional"],
parserPreset: {
parserOpts: {
headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/,
headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/u,
},
},
};
70 changes: 0 additions & 70 deletions .cspell.json

This file was deleted.

29 changes: 0 additions & 29 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
issuehunt: RebeccaStevens/eslint-config-rebeccastevens
ko_fi: rebeccastevens
custom: https://github.com/RebeccaStevens/eslint-config-rebeccastevens/blob/main/DONATIONS.md
8 changes: 4 additions & 4 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ inputs:
node-version:
required: false
description: "`node-version` passed to `actions/setup-node`."
default: v20
default: "20"

runs:
using: "composite"
using: composite
steps:
- name: Configure Git
run: |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name ${GITHUB_ACTOR}
shell: bash
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: "pnpm"
cache: pnpm
- run: pnpm install --frozen-lockfile --ignore-scripts
shell: bash
8 changes: 8 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
61 changes: 32 additions & 29 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Priority labels
- name: "Priority: Critical"
color: ee0701
description: "This should be dealt with ASAP. Not fixing this issue would be a serious error."
description: This should be dealt with ASAP. Not fixing this issue would be a serious error.
- name: "Priority: High"
color: b60205
description: "After critical issues are fixed, these should be dealt with before any further issues."
Expand All @@ -15,10 +15,10 @@
# Type labels
- name: "Type: Bug"
color: ee0701
description: "Inconsistencies or issues which will cause a problem for users or implementors."
description: Inconsistencies or issues which will cause a problem for users or implementors.
- name: "Type: Documentation"
color: 0052cc
description: "Solely about the documentation of the project."
description: Solely about the documentation of the project.
- name: "Type: Enhancement"
color: 1d76db
description: "Enhancement of the code, not introducing new features."
Expand All @@ -27,61 +27,61 @@
description: "Marks an idea, which might be accepted and implemented."
- name: "Type: Feature"
color: 0e8a16
description: "New features or options."
description: New features or options.
- name: "Type: Maintenance"
color: 2af79e
description: "Generic maintenance tasks, e.g., package updates."

# Additional markers
- name: "Security"
- name: Security
color: ee0701
description: "Marks an security issues that needs to be resolved asap."
- name: "Accepted"
description: Marks an security issues that needs to be resolved asap.
- name: Accepted
color: c2e0c6
description: "This issue or PR has been accepted."
- name: "Declined"
description: This issue or PR has been accepted.
- name: Declined
color: f9d0c4
description: "This issue or PR has been declined."
- name: "Breaking Change"
description: This issue or PR has been declined.
- name: Breaking Change
color: a80016
description: "This change will require a new major release."
- name: "Feature Removal"
description: This change will require a new major release.
- name: Feature Removal
color: a80016
description: "A feature is no longer wanted/needed (remove/deprecate it)"
description: A feature is no longer wanted/needed (remove/deprecate it)

# Ongoing Status labels
- name: "Status: Triage"
color: fbca04
description: "This issue needs to be triaged."
description: This issue needs to be triaged.
- name: "Status: Investigation Needed"
color: fef2c0
description: "Issue need to be investigated further."
description: Issue need to be investigated further.
- name: "Status: On Hold"
color: cccccc
description: "Issue or PR that has been placed on hold for now."
description: Issue or PR that has been placed on hold for now.
- name: "Status: In Progress"
color: fbca04
description: "Issue is currently being resolved by a developer."
description: Issue is currently being resolved by a developer.
- name: "Status: Stale"
color: fef2c0
description: "There has not been activity on this issue or PR for quite some time."
description: There has not been activity on this issue or PR for quite some time.
- name: "Status: Awaiting Response"
color: fef2c0
description: "Issue or PR awaits response from the creator."
description: Issue or PR awaits response from the creator.
- name: "Status: Awaiting Feedback"
color: fef2c0
description: "Issue or PR awaits feedback from the community."
description: Issue or PR awaits feedback from the community.
- name: "Status: Blocked"
color: fef2c0
description: "Progress on this issue is currently not possible."
description: Progress on this issue is currently not possible.

# Resolution Status labels
- name: "Resolution: By Design"
color: e6e6e6
description: "The behavior reported in the issue is actually correct."
description: The behavior reported in the issue is actually correct.
- name: "Resolution: Duplicate"
color: e6e6e6
description: "This issue or pull request already exists"
description: This issue or pull request already exists
- name: "Resolution: External"
color: e6e6e6
description: "It was a real bug, but not in the code in this repo."
Expand All @@ -90,24 +90,27 @@
description: ""
- name: "Resolution: Not Applicable"
color: e6e6e6
description: "The issue is not relevant to code in this repo and is not an external issue. (Out of scope)"
description: The issue is not relevant to code in this repo and is not an external issue. (Out of scope)
- name: "Resolution: Not Reproducible"
color: e6e6e6
description: "The bug could not be reproduced."
description: The bug could not be reproduced.
- name: "Resolution: Won't Fix"
color: e6e6e6
description: "A real bug or issue, but the issue is not impactful enough to spend time on."
- name: "Resolution: Fixed"
color: c2e0c6
description: "The issue has been fixed."
description: The issue has been fixed.
- name: "Resolution: Added"
color: c2e0c6
description: "This has been added to the project."
description: This has been added to the project.

# Bots
- name: ":blue_heart:"
color: ffffff
description: "Renovate"
description: Renovate
- name: "Status: Released"
color: c2e0c6
description: "It's now live."
- name: "Status: Beta Released"
color: fef2c0
description: "It's now live."
56 changes: 31 additions & 25 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,60 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automergeStrategy": "rebase",
"extends": [
":ignoreModulesAndTests",
"group:monorepos",
"group:recommended",
":automergeAll",
":automergePr",
":semanticCommits",
":prHourlyLimitNone",
":ignoreModulesAndTests",
":prConcurrentLimitNone",
":prHourlyLimitNone",
":semanticCommits",
"group:allNonMajor",
"group:monorepos",
"group:recommended",
"helpers:disableTypesNodeMajor",
"workarounds:typesNodeVersioning",
"schedule:weekly"
"replacements:all",
"schedule:monthly",
"workarounds:all"
],
"labels": ["Type: Maintenance", ":blue_heart:"],
"automergeStrategy": "rebase",
"postUpdateOptions": ["pnpmDedupe"],
"packageRules": [
{
"matchManagers": ["npm"],
"major": {
"semanticCommitType": "build"
},
"matchDepTypes": ["dependencies"],
"matchManagers": ["npm"],
"rangeStrategy": "update-lockfile",
"semanticCommitType": "chore",
"semanticCommitScope": "deps",
"major": {
"semanticCommitType": "build"
}
"semanticCommitType": "chore"
},
{
"matchManagers": ["npm"],
"matchDepTypes": ["devDependencies"],
"matchManagers": ["npm"],
"rangeStrategy": "pin",
"semanticCommitType": "chore",
"semanticCommitScope": "dev-deps"
"semanticCommitScope": "dev-deps",
"semanticCommitType": "chore"
},
{
"matchManagers": ["npm"],
"major": {
"semanticCommitType": "build"
},
"matchDepTypes": ["peerDependencies"],
"matchManagers": ["npm"],
"rangeStrategy": "widen",
"semanticCommitType": "chore",
"semanticCommitScope": "peer-deps",
"major": {
"semanticCommitType": "build"
}
"semanticCommitType": "chore"
},
{
"matchManagers": ["github-actions"],
"rangeStrategy": "replace",
"semanticCommitType": "ci",
"semanticCommitScope": "dev-deps"
"semanticCommitScope": "dev-deps",
"semanticCommitType": "ci"
},
{
"allowedVersions": "<5.5",
"matchPackageNames": ["typescript"]
}
]
],
"postUpdateOptions": ["pnpmDedupe"]
}
26 changes: 26 additions & 0 deletions .github/workflows/accessibility-alt-text-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Accessibility Alt Text Bot

on:
issue_comment:
types:
- created
- edited
issues:
types:
- edited
- opened
pull_request:
types:
- edited
- opened

permissions:
issues: write
pull-requests: write

jobs:
accessibility_alt_text_bot:
if: ${{ !endsWith(github.actor, '[bot]') }}
runs-on: ubuntu-latest
steps:
- uses: github/[email protected]
Loading
Loading