--no-configonly changes the files we have worked on in the last 3 weeks, but without it all of our files get formatted differently
<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.
Hi. I am adding prettier to a repo and would like to use
.eslintignore as ignores file. The problem is to make this frictionless for the dozens of developers working on it.
While invoking the CLI is wrapped and
--ignore-path set accordingly, providing this for editor integrations seems harder. I can’t use a symlink
.prettierignore -> .eslintignore, because we also use windows, where git symlink support depends on local configuration.
.prettierrc does not support
Is there any way to provide my team with a no-config experience? Thanks.