eslint-plugin-oxfmt 0.0.5 → 0.0.6
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/README.md +8 -8
- package/dist/index.mjs +1 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
## Installation
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npm install -D eslint-plugin-oxfmt
|
|
29
|
+
npm install -D oxfmt eslint-plugin-oxfmt
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
yarn add -D eslint-plugin-oxfmt
|
|
33
|
+
yarn add -D oxfmt eslint-plugin-oxfmt
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
pnpm add -D eslint-plugin-oxfmt
|
|
37
|
+
pnpm add -D oxfmt eslint-plugin-oxfmt
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Usage
|
|
@@ -150,11 +150,11 @@ All options are optional and default to sensible values.
|
|
|
150
150
|
|
|
151
151
|
### Advanced Options
|
|
152
152
|
|
|
153
|
-
| Option | Type | Default | Description
|
|
154
|
-
| ----------------------------- | ----------------- | -------- |
|
|
155
|
-
| `embeddedLanguageFormatting` | `'auto' \| 'off'` | `'auto'` | Control formatting of quoted code
|
|
156
|
-
| `experimentalSortImports` | `object` | - | Experimental import sorting configuration
|
|
157
|
-
| `experimentalSortPackageJson` | `boolean` | - | Experimental package.json sorting
|
|
153
|
+
| Option | Type | Default | Description |
|
|
154
|
+
| ----------------------------- | ----------------- | -------- | ----------------------------------------------------------------------- |
|
|
155
|
+
| `embeddedLanguageFormatting` | `'auto' \| 'off'` | `'auto'` | Control formatting of quoted code |
|
|
156
|
+
| `experimentalSortImports` | `object` | - | Experimental import sorting configuration |
|
|
157
|
+
| `experimentalSortPackageJson` | `boolean` | - | Experimental package.json sorting |
|
|
158
158
|
| `experimentalTailwindcss` | `object` | - | Experimental Tailwind CSS class sorting (enable with `{}` for defaults) |
|
|
159
159
|
|
|
160
160
|
#### Tailwind CSS class sorting
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-oxfmt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"description": "An ESLint plugin for formatting code with oxfmt.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
},
|
|
44
44
|
"sideEffects": false,
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"eslint": "^9.5.0"
|
|
46
|
+
"eslint": "^9.5.0",
|
|
47
|
+
"oxfmt": "^0.22.0"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
50
|
"generate-differences": "^0.1.1",
|
|
50
51
|
"load-oxfmt-config": "^0.0.4",
|
|
51
|
-
"oxfmt": "^0.22.0",
|
|
52
52
|
"synckit": "^0.11.11"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
@@ -64,10 +64,11 @@
|
|
|
64
64
|
"husky": "^9.1.7",
|
|
65
65
|
"nano-staged": "^0.9.0",
|
|
66
66
|
"npm-run-all2": "^8.0.4",
|
|
67
|
+
"oxfmt": "^0.22.0",
|
|
67
68
|
"prettier": "^3.7.4",
|
|
68
69
|
"show-invisibles": "^0.0.2",
|
|
69
70
|
"tinyglobby": "^0.2.15",
|
|
70
|
-
"tsdown": "^0.19.0-beta.
|
|
71
|
+
"tsdown": "^0.19.0-beta.3",
|
|
71
72
|
"tsx": "^4.21.0",
|
|
72
73
|
"typescript": "^5.9.3",
|
|
73
74
|
"vitest": "^4.0.16"
|