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

[heft-lint-plugin] Add ESLint and TSLint fixer support #4886

Merged
merged 6 commits into from
Aug 14, 2024

Conversation

D4N14L
Copy link
Member

@D4N14L D4N14L commented Aug 14, 2024

Summary

Add fixer support for ESLint and TSLint.

Fixes #2769.

Details

Fixes can now be automatically applied when the --fix CLI flag is provided, or the alwaysFix plugin option is provided in heft.json.

How it was tested

  • Validated in-repo via TSLint- and ESLint-enabled projects

Copy link
Contributor

@dmichon-msft dmichon-msft left a comment

Choose a reason for hiding this comment

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

Just a minor nit.

heft-plugins/heft-lint-plugin/src/Eslint.ts Outdated Show resolved Hide resolved
@D4N14L D4N14L merged commit 01173c3 into microsoft:main Aug 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

[heft] Support lint auto-fix
2 participants