Find and list non-compliant style classes and IDs in Chrome DevTools Console.

Latest Version

Version
1.0
Update
March 17, 2024
Size
12.85KiB
Developer
Category
Users
13
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
Scripting
See more

Non-compliant Style Finder Extension

Designed for architects and developers who prefer a straightforward approach to CSS naming conventions. This extension is perfect for those committed to creating clean, readable, and scalable stylesheets without compromise.

Simply open the Developer Console with the F12 key and click on the extension icon. Instantly, any non-compliant CSS classes and IDs are revealed as a JavaScript array. You can copy this array to facilitate further automation, such as linting processes.

Acceptable Patterns:

- Lowercase with Hyphens: Ensures a seamless blend, like `mat-mdc-input-element`.
- Double Hyphens for Variants: Distinctively marks variants, for instance, `mdc-button--raised`.
- Double Underscores for Sub-elements: Defines elements within a block, e.g., `mdc-button__ripple`.
- Compound Variants: Allows for detailed specification of variants, such as `mdc-floating-label--float-above`.

Unacceptable Patterns:

- CamelCase: Use btn-wrapper instead of btnWrapper.
- Capital Letters at Start: Opt for a lowercase start instead of BtnWrapper or Btn-wrapper.
- Mixed Separators: Prefer mdc-button__label to mdc_button-label.
- Repeated Separators: Use mdc-button instead of mdc--button or mdc__button.

Enhance your workflow and ensure your stylesheets are easily navigable, upholding the highest coding standards.

Additional Note:

This Style Checker is utilized during the development phase to detect inconsistent class and ID names within your project when you're running your projects locally or are in development mode.

Production apps undergo \"minifying\" and \"uglifying\" processes, resulting in CSS styles that naturally won't adhere to naming conventions. This extension is crafted by developers for developers, aiming to streamline and ensure consistency in coding practices before deployment.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "action": { "default_icon": { "128": "images/icon128.png", "16": "images/icon16.png", "48": "images/icon48.png" } }, "background": { "service_worker": "background.js" }, "description": "Find and list non-compliant style classes and IDs in Chrome DevTools Console.", "manifest_version": 3, "name": "Non-compliant Style Finder", "permissions": ["activeTab", "scripting"], "version": "1.0"}
Read more

Similar Extensions

icon

Perplexity AI Extension · Productivity 13 22 ★ 874KiB

icon

Gimli Tailwind Extension · Developer Tools 13 33 ★ 151KiB

icon

Element Selectors Extension · Developer Tools 13 3 ★ 318KiB

icon

Mokku Extension · Developer Tools 13 76 ★ 3.28MiB

icon

Web Component DevTools Extension · Developer Tools 13 9 ★ 1.74MiB

icon

CSS Stacking Context inspector Extension · Developer Tools 13 21 ★ 262KiB

icon

Color Finder Extension · Developer Tools 13 27 ★ 335KiB

icon

Font identifier Extension · Productivity 13 24 ★ 225KiB

icon

Hex Code Finder Extension · Developer Tools 13 5 ★ 2.1MiB

icon

GrowthBook DevTools Extension · Developer Tools 13 5 ★ 694KiB

icon

Easy Highlight - Automatic Keyword Highlight Extension · Productivity 13 11 ★ 981KiB

icon

RGB Color Picker Extension · Productivity 13 15 ★ 3.53MiB

icon

HTML Diff Check Tool Extension · Developer Tools 13 17 ★ 1.46MiB

icon

FontFinder Extension · Developer Tools 13 4 ★ 328KiB

icon

axe DevTools - Web Accessibility Testing Extension · Accessibility 13 114 ★ 2.89MiB

icon

React code finder Extension · Developer Tools 13 5 ★ 2.95MiB

icon

Code Formatter - JSON, CSS & JavaScript Extension · Developer Tools 13 15 ★ 1.38MiB

icon

Complementary Color Finder Extension · Photos 13 4 ★ 192KiB

icon

NetSuite Field Highlighter Extension · Productivity 13 3 ★ 16.34KiB

icon

Chrome Extension Builder Extension · Developer Tools 13 14 ★ 512KiB

icon

YAML Validator Extension · Developer Tools 13 2 ★ 292KiB

icon

CSS Debugger Extension · Developer Tools 13 9 ★ 13.27KiB

icon

CSS Selector Capture Pro Extension · Developer Tools 13 11 ★ 116KiB

icon

Gimli Bootstrap Extension · Developer Tools 13 1 ★ 117KiB