Skip to content

Conversation

@Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Feb 17, 2025

This either replaces or removes inline comments disabling ESLint rules following the configuration changes in #3107 and rule changes in @metamask/eslint-config.

Base automatically changed from mrtenz/eslint-9/update-configs to eslint-9 February 17, 2025 13:43
@Mrtenz Mrtenz force-pushed the mrtenz/eslint-9/replace-rules branch from a04dd59 to 728d0f0 Compare February 17, 2025 13:44
Comment on lines +5 to +12
"composite": false,
"module": "CommonJS",
"moduleResolution": "Node10",
"paths": {
"@metamask/snaps-sdk/jsx-dev-runtime": ["../../../snaps-sdk/src/jsx/jsx-dev-runtime.ts", "../snaps-sdk/src/jsx/jsx-dev-runtime.ts"],
"@metamask/snaps-sdk/jsx": ["../../../snaps-sdk/src/jsx", "../snaps-sdk/src/jsx"],
"@metamask/snaps-sdk": ["../../../snaps-sdk/src", "../snaps-sdk/src"],
}
Copy link
Member Author

Choose a reason for hiding this comment

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

These changes make the // eslint-disable-next-line @typescript-eslint/no-throw-literal comments in the examples unnecessary. Before, it would depend on build output whether these comments were necessary or not.

@Mrtenz Mrtenz marked this pull request as ready for review February 17, 2025 14:58
@Mrtenz Mrtenz requested a review from a team as a code owner February 17, 2025 14:58
@Mrtenz Mrtenz merged commit 8e31c45 into eslint-9 Feb 17, 2025
111 of 119 checks passed
@Mrtenz Mrtenz deleted the mrtenz/eslint-9/replace-rules branch February 17, 2025 15:46
Mrtenz added a commit that referenced this pull request Feb 19, 2025
This either replaces or removes inline comments disabling ESLint rules
following the configuration changes in #3107 and rule changes in
`@metamask/eslint-config`.
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