Prettier doesnt seem to care whats in .prettierrc

I am not sure why, but all of a sudden prettier does not see to care whats in my .prettierrc file.

It currently contains this:

{
  "arrowParens": "always",
  "bracketSpacing": true,
  "semi": true,
  "singleQuote": true,
  "printWidth": 120
}

Now  when I manually run prettier it doesnt change double quotes to single quotes.

Its weird as it seemed to work fine, and what I also notice is another project thats exactly the same works fine.

1
1 comment

Ok found the issue:

I had a directory called /build and that i guess somehow causes issues. Weird but can understand it given “build" is used a lot internally i guess.

Solved by just renaming it.

1

Please sign in to leave a comment.