Skip to content

Nikkimk/testing caseyisontit linting#6022

Closed
nikkimk wants to merge 67 commits intomainfrom
nikkimk/testing-caseyisontit-linting
Closed

Nikkimk/testing caseyisontit linting#6022
nikkimk wants to merge 67 commits intomainfrom
nikkimk/testing-caseyisontit-linting

Conversation

@nikkimk
Copy link
Copy Markdown
Contributor

@nikkimk nikkimk commented Feb 12, 2026

Description

Motivation and context

Related issue(s)

  • fixes [Issue Number]

Screenshots (if appropriate)


Author's checklist

  • I have read the CONTRIBUTING and PULL_REQUESTS documents.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices
  • I have added automated tests to cover my changes.
  • I have included a well-written changeset if my change needs to be published.
  • I have included updated documentation if my change required it.

Reviewer's checklist

  • Includes a Github Issue with appropriate flag or Jira ticket number without a link
  • Includes thoughtfully written changeset if changes suggested include patch, minor, or major features
  • Automated tests cover all use cases and follow best practices for writing
  • Validated on all supported browsers
  • All VRTs are approved before the author can update Golden Hash

Manual review test cases

  • Descriptive Test Statement

    1. Go here
    2. Do this action
    3. Expect this result
  • Descriptive Test Statement

    1. Go here
    2. Do this action
    3. Expect this result

Device review

  • Did it pass in Desktop?
  • Did it pass in (emulated) Mobile?
  • Did it pass in (emulated) iPad?

Accessibility testing checklist

Required: Complete each applicable item and document your testing steps (replace the placeholders with your component-specific instructions).

  • Keyboard (required — document steps below) — What to test for: Focus order is logical; Tab reaches the component and all interactive descendants; Enter/Space activate where appropriate; arrow keys work for tabs, menus, sliders, etc.; no focus traps; Escape dismisses when applicable; focus indicator is visible.

    1. Go here
    2. Do this action
    3. Expect this result
  • Screen reader (required — document steps below) — What to test for: Role and name are announced correctly; state changes (e.g. expanded, selected) are announced; labels and relationships are clear; no unnecessary or duplicate announcements.

    1. Go here
    2. Do this action
    3. Expect this result

caseyisonit and others added 30 commits November 7, 2025 10:00
- Add ESLint 9.x and related plugins to root package.json
- Remove ESLint dependencies from 1st-gen/package.json
- Remove ESLint dependencies from 2nd-gen/package.json
- Remove ESLint dependencies from example-project-rollup
- All linting dependencies now managed at root level
- Add eslint-plugin-mdx for linting .md and .mdx files
- Remove CONTRIBUTOR-DOCS from ESLint ignore list
- Disable code block linting (docs contain partial code snippets)
- Update research doc with markdown/MDX linting recommendations
- Align css-custom-vars-viewer with root typescript-eslint version
- Add eslint-plugin-lit@2.1.1 with 15 rules for Lit template validation
- Add eslint-plugin-wc@3.0.1 with 9 rules for Web Component correctness
- Add documented browser globals for DOM, events, observers, network APIs
- Remove unused eslint-formatter-pretty dependency
- Pin all ESLint dependencies to exact versions (no carets)
- Update all packages to latest stable versions:
  - @eslint/js: 9.39.2
  - @typescript-eslint/*: 8.54.0
  - eslint: 9.39.2
  - eslint-config-prettier: 10.1.8
  - eslint-plugin-jsonc: 2.21.0
  - eslint-plugin-lit-a11y: 4.1.4
  - eslint-plugin-mdx: 3.6.2
  - eslint-plugin-simple-import-sort: 12.1.1
  - eslint-plugin-storybook: 10.2.1
  - jsonc-eslint-parser: 2.4.2
- Add eslint-plugin-jsdoc@62.5.0 with minimal rule set
- Configure custom tags for Custom Elements Manifest (CEM):
  @element, @slot, @csspart, @cssproperty, @fires, @attr, @Attribute, @internal
- Add additional browser globals for HTML element types:
  HTMLSlotElement, HTMLInputElement, HTMLButtonElement, etc.
- Rules focus on consistency, not requiring docs everywhere:
  - check-alignment (error): Consistent asterisk alignment
  - check-indentation (warn): Consistent description indentation
  - check-param-names (error): Param names match function signature
  - check-tag-names (error): Only valid JSDoc/CEM tags
  - check-types (warn): Prefer lowercase primitives
  - require-param-description (warn): Encourage param descriptions
  - require-returns-description (warn): Encourage return descriptions
  - valid-types (warn): Valid type expressions
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 12, 2026

⚠️ No Changeset found

Latest commit: 5240ae6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@@ -66,120 +67,120 @@ const chevronIcon: Record<string, () => TemplateResult> = {
* @fires sp-accordion-item-toggle - Announce that an accordion item has been toggled while allowing the event to be cancelled.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] <jsdoc/valid-types> reported by reviewdog 🐶
Syntax error in namepath: sp-accordion-item-toggle

@github-actions
Copy link
Copy Markdown
Contributor

📚 Branch Preview Links

🔍 First Generation Visual Regression Test Results

When a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:

Deployed to Azure Blob Storage: pr-6022

If the changes are expected, update the current_golden_images_cache hash in the circleci config to accept the new images. Instructions are included in that file.
If the changes are unexpected, you can investigate the cause of the differences and update the code accordingly.

@nikkimk nikkimk closed this Feb 18, 2026
@nikkimk nikkimk deleted the nikkimk/testing-caseyisontit-linting branch February 18, 2026 20:57
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.

2 participants