Skip to content

introduce eslint-plugin-boxel package, with template-missing-invokable rule #2453

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

Merged
merged 9 commits into from
Apr 22, 2025

Conversation

lukemelia
Copy link
Contributor

@lukemelia lukemelia commented Apr 17, 2025

Once this is merged, I will update #2309 to use it

Copy link

github-actions bot commented Apr 17, 2025

Host Test Results

  1 files  ±0    1 suites  ±0   30m 49s ⏱️ -52s
943 tests ±0  938 ✅ ±0  5 💤 ±0  0 ❌ ±0 
950 runs  ±0  945 ✅ ±0  5 💤 ±0  0 ❌ ±0 

Results for commit f40b313. ± Comparison against base commit cfc25e2.

♻️ This comment has been updated with latest results.

@lukemelia lukemelia changed the title WIP introduce eslint-plugin-boxel package, with template-missing-invokable rule introduce eslint-plugin-boxel package, with template-missing-invokable rule Apr 21, 2025
@lukemelia lukemelia marked this pull request as ready for review April 21, 2025 15:44
@lukemelia lukemelia requested a review from a team April 21, 2025 15:45
@habdelra
Copy link
Contributor

What is the gist of this PR? is the idea that this adds a lint rule for missing import statements for commonly used helpers?

@lukemelia
Copy link
Contributor Author

What is the gist of this PR? is the idea that this adds a lint rule for missing import statements for commonly used helpers?

Correct, with auto-fix. We will use this plugin from our new linting endpoint in the next PR to autofix code submitted to the endpoint. And then we will use that endpoint to autofix AI-modified code in the subsequent PR.

@lukemelia lukemelia force-pushed the eslint-plugin-boxel branch from 909db19 to f40b313 Compare April 22, 2025 16:44
Copy link
Contributor

Choose a reason for hiding this comment

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

I notice there are a bunch of auto generated files that we have in source control. under what circumstances would we need to regenerate these?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only when you add a new rule or change the docs for a rule

@lukemelia lukemelia merged commit 1e5cadb into main Apr 22, 2025
5 checks passed
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