{}
--no-config
only changes the files we have worked on in the last 3 weeks, but without it all of our files get formatted differently
--no-config
<span className=" text-gray-500 sm:text-sm sm:leading-5">
-> <span className="text-gray-500 sm:text-sm sm:leading-5">
Think I am seeing a prettier issue in a yaml file containing some ruby. How could I get this to pass?
SyntaxError: Nested mappings are not allowed in compact mappings (18:13)
16 | # Your application name. Renaming here affects where data displays in New
17 | # Relic. For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
> 18 | app_name: <%= ENV["SERVER_ENV"] == 'staging' ? '12vBiz (Staging)' : '12vBiz' %>
this is in the config file tor NewRelic - newrelic.yml
Sorry here is more of the error
/node_modules/prettier/index.js:13588
throw error;
^
SyntaxError: Nested mappings are not allowed in compact mappings (19:13)
17 | # Relic. For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
18 | # prettier-ignore
> 19 | app_name: <%= ENV["SERVER_ENV"] == 'staging' ? '12vBiz (Staging)' : '12vBiz' %>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 20 |
| ^
I tried adding the #prettier-ignore
per the prettier docs, but that doesn't seem to work either.