clinyong / vscode-css-modules

https://marketplace.visualstudio.com/items?itemName=clinyong.vscode-css-modules
MIT License
143 stars 39 forks source link

chore: add kebab-case classname bracket notation support #48

Closed iChenLei closed 3 years ago

iChenLei commented 3 years ago

If user not set camelCase config as true, we need add bracket notation support.

2021-08-28 13 01 27

<div className={styles.ke} >@</div>

/**
 * after user select the kebab-case classname
 * we will use bracket notation as [property accessors]
 */

<div className={styles['kebab-case']} >@</div>

cc @clinyong