@chungwei/oxlint-plugin 0.0.0 → 0.1.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/README.md +0 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,9 +85,3 @@ Reports a ternary directly in JSX children when one branch is JSX and the other
|
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
Suggestions coerce conditions to booleans when needed so falsy numbers do not render as text. For an empty truthy branch, the suggestion negates the condition. The rule offers no suggestion if replacement would discard a comment. It does not automatically fix code, and does not check ternaries in attributes, callbacks, or ordinary return expressions.
|
|
88
|
-
|
|
89
|
-
## Development
|
|
90
|
-
|
|
91
|
-
From the repository root, run `pnpm check` for formatting, linting, and type checking, and `pnpm test` for rule tests. Both commands build the plugin first so the workspace config can load it. `pnpm build` compiles the TypeScript source into JavaScript and declarations in `dist`.
|
|
92
|
-
|
|
93
|
-
`pnpm --filter @chungwei/oxlint-plugin pack` runs the build automatically through `prepack`, which also runs when publishing. Tests live beside the modules they cover and are excluded from the build and published package.
|
package/package.json
CHANGED