Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

style: Add explanations to tslint:disable comments #4448

Merged
merged 2 commits into from
Feb 26, 2019

Conversation

acdvorak
Copy link
Contributor

All tslint:disable:object-literal-sort-keys comments now include a description that explains why the linter rule needs to be disabled. For the most part, it's to ensure consistent ordering of methods between adapter interfaces and their implementations in the foundation and component.

This PR also reorders a few properties in MDCCheckbox and MDCRadio for consistency.

Refs #4225

All `tslint:disable:object-literal-sort-keys` comments now include a description that explains why the linter rule needs to be disabled. For the most part, it's to ensure consistent ordering of methods between adapter interfaces and their implementations in the foundation and component.

This PR also reorders a few properties in `MDCCheckbox` and `MDCRadio` for consistency.
@codecov-io
Copy link

codecov-io commented Feb 25, 2019

Codecov Report

Merging #4448 into feat/typescript will not change coverage.
The diff coverage is 94.44%.

Impacted file tree graph

@@               Coverage Diff                @@
##           feat/typescript    #4448   +/-   ##
================================================
  Coverage            99.05%   99.05%           
================================================
  Files                  130      130           
  Lines                 6238     6238           
  Branches               813      813           
================================================
  Hits                  6179     6179           
  Misses                  58       58           
  Partials                 1        1
Impacted Files Coverage Δ
packages/mdc-select/component.ts 98.38% <ø> (ø) ⬆️
packages/mdc-tabs/tab/foundation.ts 100% <ø> (ø) ⬆️
packages/mdc-tabs/tab-bar/component.ts 100% <ø> (ø) ⬆️
packages/mdc-top-app-bar/foundation.ts 100% <ø> (ø) ⬆️
packages/mdc-textfield/helper-text/component.ts 100% <ø> (ø) ⬆️
packages/mdc-drawer/component.ts 100% <ø> (ø) ⬆️
packages/mdc-tabs/tab-bar-scroller/foundation.ts 100% <ø> (ø) ⬆️
packages/mdc-tab-scroller/component.ts 100% <ø> (ø) ⬆️
packages/mdc-select/foundation.ts 97.6% <ø> (ø) ⬆️
packages/mdc-textfield/foundation.ts 100% <ø> (ø) ⬆️
... and 38 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2bbcfea...e02c5cf. Read the comment docs.

@mdc-web-bot
Copy link
Collaborator

All 624 screenshot tests passed for commit 1b27079 vs. feat/typescript! 💯🎉

@acdvorak acdvorak requested review from kfranqueiro and removed request for patrickrodee February 26, 2019 19:38
@acdvorak acdvorak assigned kfranqueiro and unassigned patrickrodee Feb 26, 2019
Copy link
Contributor

@kfranqueiro kfranqueiro left a comment

Choose a reason for hiding this comment

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

One comment, otherwise LGTM

@mdc-web-bot
Copy link
Collaborator

All 624 screenshot tests passed for commit e02c5cf vs. feat/typescript! 💯🎉

@acdvorak acdvorak merged commit ad96947 into feat/typescript Feb 26, 2019
@acdvorak acdvorak deleted the feat/typescript--sort-keys-comment branch February 26, 2019 22:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants