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

fix(chips): Add an event typedef for chip interaction events #2965

Merged
merged 5 commits into from
Jun 21, 2018

Conversation

rlfriedman
Copy link
Contributor

No description provided.

@rlfriedman rlfriedman requested a review from bonniezhou June 20, 2018 01:09
@codecov-io
Copy link

codecov-io commented Jun 20, 2018

Codecov Report

Merging #2965 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2965   +/-   ##
======================================
  Coverage    98.3%   98.3%           
======================================
  Files         101     101           
  Lines        4368    4368           
  Branches      564     564           
======================================
  Hits         4294    4294           
  Misses         74      74
Impacted Files Coverage Δ
packages/mdc-chips/chip/foundation.js 98.76% <ø> (ø) ⬆️
packages/mdc-chips/chip/index.js 77.96% <ø> (ø) ⬆️
packages/mdc-chips/chip-set/foundation.js 100% <ø> (ø) ⬆️

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 32b5b9d...e8516f0. Read the comment docs.

@bonniezhou bonniezhou self-assigned this Jun 20, 2018
@@ -15,7 +15,8 @@
* limitations under the License.
*/

/* eslint no-unused-vars: [2, {"args": "none"}] */
/* eslint-disable no-unused-vars */
import {MDCChipInteractionEventType} from '../chip/foundation';
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we want to keep the no-unused-vars: [2, {"args": "none"}] rule for the rest of the file, so you can do something like this:

// eslint-disable-next-line no-unused-vars
import {MDCChipInteractionEventType} from '../chip/foundation';

/* eslint no-unused-vars: [2, {"args": "none"}] */
...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool, done!

@@ -17,7 +17,8 @@

import MDCFoundation from '@material/base/foundation';
import MDCChipSetAdapter from './adapter';
import MDCChipFoundation from '../chip/foundation';
/* eslint-disable no-unused-vars */
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, use // eslint-disable-next-line no-unused-vars

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@bonniezhou bonniezhou left a comment

Choose a reason for hiding this comment

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

LGTM!

@rlfriedman rlfriedman merged commit 153e737 into master Jun 21, 2018
@rlfriedman rlfriedman deleted the fix/chips/event-typedef branch June 21, 2018 01:42
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.

3 participants