n/prettier.md: fix parser and link to documentation on those

This commit is contained in:
Aminda Suomalainen 2024-07-03 19:12:29 +03:00
parent e52881ba9b
commit 422fee5fb8
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 3 additions and 2 deletions

View File

@ -69,11 +69,11 @@ looks like:
{ "files": ".prettierrc", "options": { "parser": "json" } }, { "files": ".prettierrc", "options": { "parser": "json" } },
{ {
"files": "conf/librewolf.overrides.cfg", "files": "conf/librewolf.overrides.cfg",
"options": { "parser": ".js" } "options": { "parser": "babel" }
}, },
{ {
"files": "conf/autoconfig.js.online", "files": "conf/autoconfig.js.online",
"options": { "parser": ".js" } "options": { "parser": "babel" }
} }
] ]
} }
@ -145,5 +145,6 @@ repos:
## Further information ## Further information
- [prettier docs install](https://prettier.io/docs/en/install) - [prettier docs install](https://prettier.io/docs/en/install)
- [prettier parser options](https://github.com/prettier/prettier/blob/main/docs/options.md#parser)
- [corepack docs](https://nodejs.org/api/corepack.html) - [corepack docs](https://nodejs.org/api/corepack.html)
- [corepack readme](https://github.com/nodejs/corepack/blob/main/README.md) - [corepack readme](https://github.com/nodejs/corepack/blob/main/README.md)