* Switch from prettier to oxfmt * Make knip happy * Make knip happy * Apply suggestion from @t3chguy * Rename .oxfmtrc.json to .oxfmtrc.jsonc * Make oxfmt happier
74 lines
2.5 KiB
JSON
74 lines
2.5 KiB
JSON
{
|
|
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
|
"printWidth": 120,
|
|
"tabWidth": 4,
|
|
"quoteProps": "consistent",
|
|
"trailingComma": "all",
|
|
"sortPackageJson": false,
|
|
"ignorePatterns": [
|
|
"/build",
|
|
"/dist",
|
|
"/lib",
|
|
"node_modules",
|
|
"/apps/web/webapp",
|
|
"/*.log",
|
|
"pnpm-lock.yaml",
|
|
"electron/dist",
|
|
"electron/pub",
|
|
"**/.idea",
|
|
"/.tmp",
|
|
"webpack-stats.json",
|
|
".vscode",
|
|
".vscode/",
|
|
".env",
|
|
"coverage",
|
|
// Auto-generated files,
|
|
"*.api.md",
|
|
"/apps/web/src/modules.ts",
|
|
"/apps/web/src/modules.js",
|
|
"src/i18n/strings",
|
|
"/apps/web/build_config.yaml",
|
|
// Raises an error because it contains a template var breaking the script tag,
|
|
"/apps/web/src/vector/index.html",
|
|
"/apps/web/src/vector/modernizr.cjs",
|
|
"/docs/lib",
|
|
"/book",
|
|
"debian/tmp",
|
|
"/.npmrc",
|
|
"package-lock.json",
|
|
// This file is generated
|
|
"CHANGELOG.md",
|
|
"/docs/changelogs",
|
|
// Legacy skinning file that some people might still have,
|
|
"/apps/web/src/component-index.js",
|
|
// Downloaded and already minified,
|
|
"/apps/web/res/jitsi_external_api.min.js",
|
|
// This file is also machine-generated,
|
|
"/apps/web/playwright/e2e/crypto/test_indexeddb_cryptostore_dump/dump.json",
|
|
"/apps/web/playwright/test-results/",
|
|
"/apps/web/playwright/html-report/",
|
|
"/apps/web/playwright/logs/",
|
|
"/apps/web/playwright/snapshots/",
|
|
"/apps/desktop/.hak/",
|
|
"/apps/desktop/dist/",
|
|
"/apps/desktop/build/",
|
|
"/apps/desktop/dockerbuild/",
|
|
"/apps/desktop/deploys/",
|
|
"/apps/desktop/lib/",
|
|
"/apps/desktop/webapp",
|
|
"/apps/desktop/playwright/html-report",
|
|
"/apps/desktop/playwright/test-results",
|
|
// Shared components generated files,
|
|
"/packages/shared-components/dist/",
|
|
"/packages/shared-components/src/i18n/i18nKeys.d.ts",
|
|
"/packages/shared-components/typedoc/",
|
|
"/packages/shared-components/storybook-static/",
|
|
// These files are generated by running `pnpm -r lint:types` and do not adhere to oxfmt's requirements.
|
|
// All of them are .gitignored within their parent directory.,
|
|
"/packages/playwright-common/lib/",
|
|
"/packages/module-api/lib/",
|
|
"/packages/module-api/temp/",
|
|
"/.nx/",
|
|
],
|
|
}
|