Skip to content

wantedly/unused-classes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unused-classes

Purpose

Finds out possibly unused class selectors (.my-class) and id selectors (#my-element) by statically analyzing the source code that generates HTML.

Currently Erb and Haml are supported.

Packages

  • unused-classes: a CLI tool to enumerate used classes and ids.
  • stylelint-unused-classes: a stylelint plugin to detect possible unused classes and ids.