nrwl / precise-commits

:sparkles: Painlessly apply Prettier by only formatting lines you have modified anyway!
MIT License
471 stars 20 forks source link

Syntax Error with SASS Files #23

Open ibio opened 5 years ago

ibio commented 5 years ago

I know we've been discussing quite while at https://github.com/nrwl/precise-commits/issues/2 but I'm still having the issue with .scss files. And I don't think I can add all those .scss files into . prettierignore.

Please help, thanks!

{ SyntaxError: Unexpected token @ (1:1)
> 1 | @import "~bootstrap/dist/css/bootstrap";
    | ^
  2 | 
  3 | 
  4 | body {
alexbrbr commented 5 years ago

It is possible to add this into to avoid prettier on all .scss files .prettierignore.

*.scss