mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-09 00:18:26 +01:00
chore: ignore website docs generated in biome (#9168)
https://linear.app/unleash/issue/2-3208/add-website-docs-generated-folder-to-biome-ignore-lists Noticed when running `yarn lint` locally that we get this error: ``` ./website/docs/generated/openapi.json format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✖ Size of ./website/docs/generated/openapi.json is 1.7 MiB which exceeds configured maximum of 1.0 MiB for this project. The file size limit exists to prevent us inadvertently slowing down and loading large files that we shouldn't. Use the `files.maxSize` configuration to change the maximum size of files processed. ``` To overcome this, this PR adds `website/docs/generated` to the ignore list of both the linter and formatter in our Biome settings.
This commit is contained in:
parent
55652ec39a
commit
b870333990
@ -49,6 +49,7 @@
|
|||||||
"docker",
|
"docker",
|
||||||
"bundle.js",
|
"bundle.js",
|
||||||
"website/build",
|
"website/build",
|
||||||
|
"website/docs/generated",
|
||||||
"website/global.js",
|
"website/global.js",
|
||||||
"setupJest.js",
|
"setupJest.js",
|
||||||
"dist",
|
"dist",
|
||||||
@ -79,6 +80,7 @@
|
|||||||
"src/test/examples/*.json",
|
"src/test/examples/*.json",
|
||||||
"coverage",
|
"coverage",
|
||||||
"website/build",
|
"website/build",
|
||||||
|
"website/docs/generated",
|
||||||
"website/global.js",
|
"website/global.js",
|
||||||
".docusaurus",
|
".docusaurus",
|
||||||
"./package.json",
|
"./package.json",
|
||||||
|
Loading…
Reference in New Issue
Block a user