@powerlines/plugin-oxlint 0.7.682 → 0.7.683

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.
Files changed (2) hide show
  1. package/README.md +32 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -74,6 +74,38 @@ A package containing a Powerlines plugin that integrates Oxlint into the Powerli
74
74
 
75
75
  <!-- END doctoc -->
76
76
 
77
+ ## Features
78
+
79
+ - Runs Oxlint on the codebase through the Powerlines linting process.
80
+ - Supports `deny` and `warn` rule lists; denied rules fail the lint run.
81
+ - Lints TypeScript source automatically once registered.
82
+
83
+ ## Usage
84
+
85
+ Install the package:
86
+
87
+ ```bash
88
+ pnpm add @powerlines/plugin-oxlint
89
+ ```
90
+
91
+ Register the plugin in `powerlines.config.ts`:
92
+
93
+ ```ts
94
+ import { defineConfig } from "powerlines/config";
95
+ import { plugin as oxlint } from "@powerlines/plugin-oxlint";
96
+
97
+ export default defineConfig({
98
+ plugins: [oxlint({ deny: ["no-debugger"] })],
99
+ oxlint: { deny: ["no-debugger"], warn: ["no-console"] }
100
+ });
101
+ ```
102
+
103
+ Then run the linter:
104
+
105
+ ```bash
106
+ powerlines lint
107
+ ```
108
+
77
109
  ## Installing
78
110
 
79
111
  Using [pnpm](http://pnpm.io):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-oxlint",
3
- "version": "0.7.682",
3
+ "version": "0.7.683",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running Oxlint on the codebase.",
6
6
  "repository": {
@@ -114,7 +114,7 @@
114
114
  "files": ["dist"],
115
115
  "keywords": ["oxlint", "powerlines", "storm-software", "powerlines-plugin"],
116
116
  "dependencies": {
117
- "@storm-software/config-tools": "^1.190.151",
117
+ "@storm-software/config-tools": "^1.190.154",
118
118
  "@stryke/cli": "^0.13.90",
119
119
  "@stryke/convert": "^0.7.47",
120
120
  "@stryke/fs": "^0.33.118",
@@ -122,15 +122,15 @@
122
122
  "defu": "^6.1.7",
123
123
  "oxlint": "^1.89.0",
124
124
  "oxlint-tsgolint": "^0.14.2",
125
- "powerlines": "^0.47.216"
125
+ "powerlines": "^0.47.217"
126
126
  },
127
127
  "devDependencies": {
128
- "@powerlines/plugin-plugin": "^0.12.629",
128
+ "@powerlines/plugin-plugin": "^0.12.630",
129
129
  "@types/node": "^25.9.9"
130
130
  },
131
131
  "publishConfig": { "access": "public" },
132
132
  "main": "./dist/index.cjs",
133
133
  "module": "./dist/index.mjs",
134
134
  "types": "./dist/index.d.cts",
135
- "gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
135
+ "gitHead": "bb4e1f2b32a8bb9d20559ca7c3df3a2f30a0d14e"
136
136
  }