oxfmt 0.43.0 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configuration_schema.json +8 -8
- package/dist/{acorn-BnWlLI9w.js → acorn-DazAYFEC.js} +1 -1
- package/dist/{angular-BS7_jn7o.js → angular-Aph8b0ut.js} +1303 -1197
- package/dist/{apis-mHnrEtPz.js → apis-rMlkuPw1.js} +3 -3
- package/dist/{babel-Fkr5EfJ9.js → babel-9g4Z1xEA.js} +1 -1
- package/dist/{bindings-mh4tfrCL.js → bindings-CBKV8AbA.js} +26 -26
- package/dist/{chunk-DSjvVL_1-BYdvZw3N.js → chunk-DSjvVL_1-CHQFAj82.js} +1 -1
- package/dist/cli-worker.d.ts +2 -2
- package/dist/cli-worker.js +1 -1
- package/dist/cli.js +69 -25
- package/dist/{dist-D4weCFEt.js → dist-CKaxC7ER.js} +16 -16
- package/dist/{estree-BdH1ynKb.js → estree-ClUlOUIs.js} +2 -2
- package/dist/{flow-JTvJzd2b.js → flow-QdRUnlQt.js} +1 -1
- package/dist/{glimmer-Dj-rhc3H.js → glimmer-C693tJkh.js} +1 -1
- package/dist/{graphql-BTqRh-7l.js → graphql-za2YLVGc.js} +1 -1
- package/dist/{html-cr_GTtzg.js → html-B2VMTsz7.js} +1113 -1011
- package/dist/index.d.ts +4 -2
- package/dist/index.js +2 -2
- package/dist/{jiti-Bb1dT6Cw-CnTrJOrf.js → jiti-Bb1dT6Cw-DzTewG1l.js} +2 -2
- package/dist/{markdown-4I9EsAQD.js → markdown-BOatMac3.js} +1 -1
- package/dist/{meriyah-Dyll-d_f.js → meriyah-zZMvz4-D.js} +1 -1
- package/dist/{migrate-prettier-CpiJRvlG.js → migrate-prettier-B19hw9Dn.js} +1 -1
- package/dist/{postcss-k2aCwkzC.js → postcss-CBTRJb4w.js} +1 -1
- package/dist/{prettier-Dwwk1Fyx.js → prettier-CU6WrYtk.js} +17 -17
- package/dist/{resolve-pWjAK-4f-ColMfOaZ.js → resolve-pWjAK-4f-Uu3Cl5SX.js} +2 -2
- package/dist/{sorter-BZkvDMjt-BJdi7rG8.js → sorter-BZkvDMjt-ChoLEMxn.js} +7 -7
- package/dist/{sorter-DNWmw8Iu.js → sorter-QhZPi-JI.js} +2 -2
- package/dist/{typescript-G7g7T3yt.js → typescript-4s6b9-t0.js} +1 -1
- package/dist/{utils-D8dQkKEd-BtAa7w-M.js → utils-D8dQkKEd-BAc2jbyI.js} +1 -1
- package/dist/{v3-D-mr2VVh-CisVsFM0.js → v3-D-mr2VVh-D0Hfzxl7.js} +5 -5
- package/dist/{v4-C-HWEQJm-CbHL6UrB.js → v4-C-HWEQJm-BMcGKt4s.js} +5 -5
- package/dist/{yaml-BID5Twob.js → yaml-DNtivWD8.js} +1 -1
- package/package.json +27 -20
|
@@ -130,9 +130,9 @@
|
|
|
130
130
|
"markdownDescription": "Enforce single attribute per line in HTML, Vue, and JSX.\n\n- Default: `false`"
|
|
131
131
|
},
|
|
132
132
|
"singleQuote": {
|
|
133
|
-
"description": "Use single quotes instead of double quotes.\n\nFor JSX, you can set the `jsxSingleQuote` option.\n\n- Default: `false`",
|
|
133
|
+
"description": "Use single quotes instead of double quotes.\n\nFor JSX, you can set the `jsxSingleQuote` option.\n\n- Default: `false`\n- Overrides `.editorconfig.quote_type`",
|
|
134
134
|
"type": "boolean",
|
|
135
|
-
"markdownDescription": "Use single quotes instead of double quotes.\n\nFor JSX, you can set the `jsxSingleQuote` option.\n\n- Default: `false`"
|
|
135
|
+
"markdownDescription": "Use single quotes instead of double quotes.\n\nFor JSX, you can set the `jsxSingleQuote` option.\n\n- Default: `false`\n- Overrides `.editorconfig.quote_type`"
|
|
136
136
|
},
|
|
137
137
|
"sortImports": {
|
|
138
138
|
"description": "Sort import statements.\n\nUsing the similar algorithm as [eslint-plugin-perfectionist/sort-imports](https://perfectionist.dev/rules/sort-imports).\nFor details, see each field's documentation.\n\nPass `true` or an object to enable with defaults, or omit/set `false` to disable.\n\n- Default: Disabled",
|
|
@@ -162,11 +162,11 @@
|
|
|
162
162
|
"markdownDescription": "Sort Tailwind CSS classes.\n\nUsing the same algorithm as [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss).\nOption names omit the `tailwind` prefix used in the original plugin (e.g., `config` instead of `tailwindConfig`).\nFor details, see each field's documentation.\n\nPass `true` or an object to enable with defaults, or omit/set `false` to disable.\n\n- Default: Disabled"
|
|
163
163
|
},
|
|
164
164
|
"tabWidth": {
|
|
165
|
-
"description": "Specify the number of spaces per indentation-level.\n\n- Default: `2`\n- Overrides `.editorconfig.indent_size`",
|
|
165
|
+
"description": "Specify the number of spaces per indentation-level.\n\n- Default: `2`\n- Overrides `.editorconfig.indent_size` (falls back to `.editorconfig.tab_width`)",
|
|
166
166
|
"type": "integer",
|
|
167
167
|
"format": "uint8",
|
|
168
168
|
"minimum": 0.0,
|
|
169
|
-
"markdownDescription": "Specify the number of spaces per indentation-level.\n\n- Default: `2`\n- Overrides `.editorconfig.indent_size`"
|
|
169
|
+
"markdownDescription": "Specify the number of spaces per indentation-level.\n\n- Default: `2`\n- Overrides `.editorconfig.indent_size` (falls back to `.editorconfig.tab_width`)"
|
|
170
170
|
},
|
|
171
171
|
"trailingComma": {
|
|
172
172
|
"description": "Print trailing commas wherever possible in multi-line comma-separated syntactic structures.\n\nA single-line array, for example, never gets trailing commas.\n\n- Default: `\"all\"`",
|
|
@@ -359,9 +359,9 @@
|
|
|
359
359
|
"markdownDescription": "Enforce single attribute per line in HTML, Vue, and JSX.\n\n- Default: `false`"
|
|
360
360
|
},
|
|
361
361
|
"singleQuote": {
|
|
362
|
-
"description": "Use single quotes instead of double quotes.\n\nFor JSX, you can set the `jsxSingleQuote` option.\n\n- Default: `false`",
|
|
362
|
+
"description": "Use single quotes instead of double quotes.\n\nFor JSX, you can set the `jsxSingleQuote` option.\n\n- Default: `false`\n- Overrides `.editorconfig.quote_type`",
|
|
363
363
|
"type": "boolean",
|
|
364
|
-
"markdownDescription": "Use single quotes instead of double quotes.\n\nFor JSX, you can set the `jsxSingleQuote` option.\n\n- Default: `false`"
|
|
364
|
+
"markdownDescription": "Use single quotes instead of double quotes.\n\nFor JSX, you can set the `jsxSingleQuote` option.\n\n- Default: `false`\n- Overrides `.editorconfig.quote_type`"
|
|
365
365
|
},
|
|
366
366
|
"sortImports": {
|
|
367
367
|
"description": "Sort import statements.\n\nUsing the similar algorithm as [eslint-plugin-perfectionist/sort-imports](https://perfectionist.dev/rules/sort-imports).\nFor details, see each field's documentation.\n\nPass `true` or an object to enable with defaults, or omit/set `false` to disable.\n\n- Default: Disabled",
|
|
@@ -391,11 +391,11 @@
|
|
|
391
391
|
"markdownDescription": "Sort Tailwind CSS classes.\n\nUsing the same algorithm as [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss).\nOption names omit the `tailwind` prefix used in the original plugin (e.g., `config` instead of `tailwindConfig`).\nFor details, see each field's documentation.\n\nPass `true` or an object to enable with defaults, or omit/set `false` to disable.\n\n- Default: Disabled"
|
|
392
392
|
},
|
|
393
393
|
"tabWidth": {
|
|
394
|
-
"description": "Specify the number of spaces per indentation-level.\n\n- Default: `2`\n- Overrides `.editorconfig.indent_size`",
|
|
394
|
+
"description": "Specify the number of spaces per indentation-level.\n\n- Default: `2`\n- Overrides `.editorconfig.indent_size` (falls back to `.editorconfig.tab_width`)",
|
|
395
395
|
"type": "integer",
|
|
396
396
|
"format": "uint8",
|
|
397
397
|
"minimum": 0.0,
|
|
398
|
-
"markdownDescription": "Specify the number of spaces per indentation-level.\n\n- Default: `2`\n- Overrides `.editorconfig.indent_size`"
|
|
398
|
+
"markdownDescription": "Specify the number of spaces per indentation-level.\n\n- Default: `2`\n- Overrides `.editorconfig.indent_size` (falls back to `.editorconfig.tab_width`)"
|
|
399
399
|
},
|
|
400
400
|
"trailingComma": {
|
|
401
401
|
"description": "Print trailing commas wherever possible in multi-line comma-separated syntactic structures.\n\nA single-line array, for example, never gets trailing commas.\n\n- Default: `\"all\"`",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/prettier@3.8.
|
|
1
|
+
//#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/acorn.mjs
|
|
2
2
|
var Ii = Object.create;
|
|
3
3
|
var Be = Object.defineProperty;
|
|
4
4
|
var Ni = Object.getOwnPropertyDescriptor;
|