borela / naomi

Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Other
558 stars 18 forks source link

Add official Prettier meta_scope for styled-components (#196) #212

Closed mvllow closed 5 years ago

mvllow commented 5 years ago

Use proper scoping when inside of styled component blocks within js[x] files. Previously JsPrettier would throw an error if attempting to format while inside one of these blocks.

borela commented 5 years ago

Thank you!