Google added a section on canonicalization best practices for JavaScript to the JavaScript SEO best practices document.
This package contains a plugin that allows you to natively lint CSS files using ESLint. Important: This plugin requires ESLint v9.15.0 or higher and you must be using the new configuration system.