Skip to content

Commit c96d322

Browse files
authored
chore(lint): use external schema URLs for oxlint/oxfmt configs (#302)
Use remote schema URLs from oxc-project/oxc repository instead of local node_modules paths. This ensures schema validation works even before dependencies are installed.
1 parent 4e00d4d commit c96d322

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.oxfmtrc.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "./node_modules/oxfmt/configuration_schema.json",
2+
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxfmt/configuration_schema.json",
33
"useTabs": true,
44
"semi": true,
55
"singleQuote": true,

.oxlintrc.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "./node_modules/oxlint/configuration_schema.json",
2+
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
33
// Enable TypeScript, Unicorn, Oxc, Node, JSDoc, and Import plugins
44
"plugins": ["typescript", "unicorn", "oxc", "node", "jsdoc", "import"],
55
// Environment settings

0 commit comments

Comments
 (0)