Skip to content

chore(linting): restore some ESLint rules#9123

Merged
jcfranco merged 6 commits intomainfrom
jcfranco/restore-stencil-eslint-rules
Apr 13, 2024
Merged

chore(linting): restore some ESLint rules#9123
jcfranco merged 6 commits intomainfrom
jcfranco/restore-stencil-eslint-rules

Conversation

@jcfranco
Copy link
Copy Markdown
Member

@jcfranco jcfranco commented Apr 12, 2024

Related Issue: N/A

Summary

Restores the following rules:

  • @jest/expect-expect
  • @stencil-community/decorators-context
  • @stencil-community/strict-boolean-conditions
  • @stencil-community/reserved-member-names
  • @stencil-community/ban-exported-const-enums
  • @typescript-eslint/no-duplicate-enum-values

Disables the following:

  • @esri/calcite-components/strict-boolean-attributes (replaced by @stencil-community/ban-default-true)

@jcfranco jcfranco requested review from a team, benelan, driskull and geospatialem as code owners April 12, 2024 19:41
@github-actions github-actions Bot added the chore Issues with changes that don't modify src or test files. label Apr 12, 2024
@jcfranco jcfranco added the skip visual snapshots Pull requests that do not need visual regression testing. label Apr 12, 2024
Copy link
Copy Markdown
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

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

👍

@jcfranco jcfranco changed the title chore(linting): restore some @stencil-community ESLint rules chore(linting): restore some ESLint rules Apr 12, 2024
@jcfranco jcfranco merged commit 13ba953 into main Apr 13, 2024
@jcfranco jcfranco deleted the jcfranco/restore-stencil-eslint-rules branch April 13, 2024 00:20
@github-actions github-actions Bot added this to the 2024-04-30 - Apr Release milestone Apr 13, 2024
jcfranco added a commit that referenced this pull request May 3, 2024
…-mode` and `input-mode` attributes (#9245)

**Related Issue:** #9235

## Summary

This fixes the following issues introduced by #9123 when component props
that shadowed global attributes were removed:

* the kebab-cased attribute names of those props would no longer work
(namely, `enter-key-mode`, `input-mode`)
* `autofocus` was missing from component types as Stencil does not
include it in the base `HTMLAttribute` type (see
stenciljs/core#5726).
jcfranco added a commit that referenced this pull request May 10, 2024
…-mode` and `input-mode` attributes (#9245)

**Related Issue:** #9235

## Summary

This fixes the following issues introduced by #9123 when component props
that shadowed global attributes were removed:

* the kebab-cased attribute names of those props would no longer work
(namely, `enter-key-mode`, `input-mode`)
* `autofocus` was missing from component types as Stencil does not
include it in the base `HTMLAttribute` type (see
stenciljs/core#5726).
jcfranco added a commit that referenced this pull request May 10, 2024
…-mode` and `input-mode` attributes (#9245) (#9306)

**Related Issue:** #9235

## Summary

This fixes the following issues introduced by #9123 when component props
that shadowed global attributes were removed:

* the kebab-cased attribute names of those props would no longer work
(namely, `enter-key-mode`, `input-mode`)
* `autofocus` was missing from component types as Stencil does not
include it in the base `HTMLAttribute` type (see
stenciljs/core#5726).

Co-authored-by: Ben Elan <no-reply@benelan.dev>
jcfranco added a commit that referenced this pull request Jul 11, 2024
**Related Issue:** #9740

## Summary

Restores `decimal` default for the internal input's `inputmode`, which
was unintentionally removed in
#9123.
calcite-admin pushed a commit that referenced this pull request Jul 30, 2024
**Related Issue:** #9740

## Summary

Restores `decimal` default for the internal input's `inputmode`, which
was unintentionally removed in
#9123.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Issues with changes that don't modify src or test files. skip visual snapshots Pull requests that do not need visual regression testing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants