Skip to content

fix: Remediate eslint + ts smells#148

Open
justlevine wants to merge 2 commits intoscaffold-php-fixesfrom
scaffold-eslint-fixes
Open

fix: Remediate eslint + ts smells#148
justlevine wants to merge 2 commits intoscaffold-php-fixesfrom
scaffold-eslint-fixes

Conversation

@justlevine
Copy link
Collaborator

@justlevine justlevine commented Mar 5, 2026

Description

Fixes All eslint and typescript smells in the repo.

Important

This PR is based on #147, which should be merged first

Technical Details

OpenCode Prompt:

Review and remediate all ESLINT errors in this repo: npm run lint:js

Run npm run lint:js to see all the smells.
1. Choose smell and review it and study the relevant code causing the smell.
2. Make a plan and fix the relevant smells.
3. Validate your fix by running npm run lint:js and confirming the smell is gone.
4. Choose another smell, and repeat steps 2-5 until there are no more smells.
5. Run npm run format.
ulw

When completed and reviewed:

Great now fix the typescript errors: npm run lint:js:types

Checklist

Screenshots

To-do

Fixes/Covers issue

Fixes #

@justlevine justlevine force-pushed the scaffold-eslint-fixes branch from da0921a to ba88c35 Compare March 6, 2026 01:14
@justlevine justlevine requested review from Copilot and removed request for Copilot March 6, 2026 02:03
@justlevine justlevine changed the base branch from develop to scaffold-php-fixes March 6, 2026 02:03
@justlevine justlevine requested a review from up1512001 March 6, 2026 02:08
process.cwd(),
'tests/_output'
);
const artifactsPath = path.join( process.cwd(), 'tests/_output/e2e' );
Copy link
Member

Choose a reason for hiding this comment

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

Just curious to know what benefit this path change will give us??

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

so it doesn't clobber or conflict with the other things in test/_output. other logs, but more annoyingly the .gitkeep.

Copy link
Member

@up1512001 up1512001 left a comment

Choose a reason for hiding this comment

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

@justlevine overall looks good just one question about path change.

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.

2 participants