Skip to content

build: replace custom lint rule with compiler option #27833

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 1 commit into from
Sep 24, 2023

Conversation

crisbeto
Copy link
Member

We currently have a lint rule that prevents dotted access in SimpleChanges objects, because it will break with property minification. These changes replace the rule with the built-in noPropertyAccessFromIndexSignature compiler option which has the same effect with the added benefit of aligning us closer with g3 and reducing the amount of code we need to maintain.

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: major This PR is targeted for the next major release labels Sep 23, 2023
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Sep 23, 2023
@crisbeto crisbeto force-pushed the property-access-rule branch from 8a0eff3 to ed8b322 Compare September 23, 2023 08:51
@crisbeto crisbeto marked this pull request as ready for review September 23, 2023 08:51
We currently have a lint rule that prevents dotted access in `SimpleChanges` objects, because it will break with property minification. These changes replace the rule with the built-in `noPropertyAccessFromIndexSignature` compiler option which has the same effect with the added benefit of aligning us closer with g3 and reducing the amount of code we need to maintain.
@crisbeto crisbeto force-pushed the property-access-rule branch from ed8b322 to 5eb3fe4 Compare September 24, 2023 16:56
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Sep 24, 2023
@crisbeto crisbeto merged commit f360257 into angular:main Sep 24, 2023
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants