Skip to content

[5.4.0] Update eslint target to 2017 and do initial fixes #9135

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Arlen22
Copy link
Member

@Arlen22 Arlen22 commented Jul 8, 2025

This updates the eslint target to 2017 and does a first pass on basic fixes.

I tried to break each action into separate commits. Inspect the diff of each commit.

Copy link

netlify bot commented Jul 8, 2025

Deploy Preview for tiddlywiki-previews ready!

Name Link
🔨 Latest commit a843eb9
🔍 Latest deploy log https://app.netlify.com/projects/tiddlywiki-previews/deploys/686d4a81155b8f000840a7ea
😎 Deploy Preview https://deploy-preview-9135--tiddlywiki-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

github-actions bot commented Jul 8, 2025

Confirmed: Arlen22 has already signed the Contributor License Agreement (see contributing.md)

Copy link

github-actions bot commented Jul 8, 2025

📊 Build Size Comparison: empty.html

Branch Size
Base (master) 2537.6 KB
PR 2537.6 KB

Diff: ⬆️ Increase: +0.0 KB

@Arlen22
Copy link
Member Author

Arlen22 commented Jul 8, 2025

@Jermolene this should only be merged if it targets the latest commit (should be 2137444).

  • I first ran eslint --fix-dry-run to fix all signficant errors it found.
  • Then I ran eslint --fix to fix the automated errors.

@saqimtiaz saqimtiaz moved this to Backlog in Planning for v5.4.0 Jul 8, 2025
@saqimtiaz saqimtiaz moved this from Backlog to Resolve first in Planning for v5.4.0 Jul 8, 2025
@Arlen22 Arlen22 closed this Jul 8, 2025
@Arlen22 Arlen22 force-pushed the es2017/eslint-fixes-self-es2017 branch from 371e851 to 2137444 Compare July 8, 2025 16:37
@github-project-automation github-project-automation bot moved this from Resolve first to Done in Planning for v5.4.0 Jul 8, 2025
@pmario
Copy link
Member

pmario commented Jul 8, 2025

@Arlen22 -- Why did you close the PR?

- update eslint to 2017
- add self to forbidden globals
- fix a few unfixable bugs caught by eslint
- convert newer features in twitter-archivist
@Arlen22 Arlen22 reopened this Jul 8, 2025
Copy link

github-actions bot commented Jul 8, 2025

Confirmed: Arlen22 has already signed the Contributor License Agreement (see contributing.md)

@Arlen22
Copy link
Member Author

Arlen22 commented Jul 8, 2025

@pmario, I don't have a clue.

I updated the code to retarget the latest commit.

targeted commit is now b52e9d0

Your suggestion is included.

@Arlen22 Arlen22 moved this from Done to Backlog in Planning for v5.4.0 Jul 8, 2025
@Arlen22 Arlen22 marked this pull request as ready for review July 8, 2025 16:47
@Arlen22
Copy link
Member Author

Arlen22 commented Jul 8, 2025

@Jermolene to make it easier to merge this in, I removed the automated fixes, since you can just as easily run eslint --fix on your end, and also because it's a lot of fixes that we probably have to manually review. So this PR now just includes the manual fixes.

@saqimtiaz saqimtiaz moved this from Backlog to Resolve first in Planning for v5.4.0 Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Resolve first
Development

Successfully merging this pull request may close these issues.

2 participants