Skip to content

Conversation

@Rel1cx
Copy link
Owner

@Rel1cx Rel1cx commented Aug 28, 2025

  • Update rule implementation in no-unknown-property.ts
  • Update rule documentation in no-unknown-property.mdx
  • Update all config to include latest changes

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • Test
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • I have added a convincing reason for adding this feature, if necessary

Other information

- Update rule implementation in no-unknown-property.ts
- Update rule documentation in no-unknown-property.mdx
- Update all config to include latest changes
@vercel
Copy link

vercel bot commented Aug 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
eslint-react Building Building Preview Comment Aug 28, 2025 10:01pm

@Rel1cx Rel1cx marked this pull request as ready for review August 28, 2025 22:01
@Rel1cx Rel1cx requested a review from Copilot August 28, 2025 22:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the dom/no-unknown-property rule implementation by improving code organization, adding comprehensive TypeScript type annotations, and enhancing documentation.

  • Restructures code with clear sections and better organization
  • Adds comprehensive TypeScript types and interface definitions
  • Improves JSDoc documentation throughout the file

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
no-unknown-property.ts Complete refactor with TypeScript types, reorganized sections, and improved documentation
no-unknown-property.mdx Removes preset configuration documentation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

import { Reporter as RPT } from "@eslint-react/kit";
import type { RuleContext, RuleFeature } from "@eslint-react/kit";
import { getSettingsFromContext } from "@eslint-react/shared";
import type { JSXAttribute } from "@typescript-eslint/types/dist/ast-spec";
Copy link

Copilot AI Aug 28, 2025

Choose a reason for hiding this comment

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

The import path uses /dist/ which suggests importing from the compiled output rather than the source. Consider importing from the main entry point: @typescript-eslint/types

Suggested change
import type { JSXAttribute } from "@typescript-eslint/types/dist/ast-spec";
import type { JSXAttribute } from "@typescript-eslint/types";

Copilot uses AI. Check for mistakes.
@Rel1cx Rel1cx merged commit e65e3da into 2.0.0 Aug 28, 2025
9 of 10 checks passed
@Rel1cx Rel1cx deleted the feature/no-unknown-property-updates branch August 28, 2025 22:03
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