int128 / int128/typescript-action

Migrate to eslint flat config

Open
#780 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
13
Forks
2
Avg merge
2h 46m
Merged PRs (30d)
37

Description

git checkout -B migrate-eslint-config
pnpm remove @typescript-eslint/eslint-plugin @typescript-eslint/parser
pnpm add -D typescript-eslint
sed -i '' -e 's|eslint \*\*/\*.ts|eslint .|' package.json
cp ../typescript-action/eslint.config.js .
rm .eslintrc.*
pnpm lint

For CJS:

mv eslint.config.js eslint.config.mjs
pnpm lint
git add .
git commit -m 'Migrate to eslint flat config'
gh pr create -f --body '- https://github.com/int128/typescript-action/issues/780'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with package.json and the existing .eslintrc.* files, then review the proposed eslint.config.js from ../typescript-action. Follow the listed pnpm dependency and configuration commands, and run pnpm lint; done means lint passes with the flat config, including the eslint.config.mjs rename for CJS.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.