@kutur-kit/oxc 0.1.0-alpha.6 → 0.1.0-alpha.7

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 +13 -13
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  Oxlint and Oxfmt presets for TypeScript, with optional Effect and `@kutur-kit/foldkit-stylex` rules.
4
4
 
5
- | Export | Required tools |
6
- | ----------------- | ---------------------------------------------- |
7
- | `/base` | `oxlint`, a type-aware backend |
8
- | `/effect` | `oxlint`, `@effect/tsgo`, a type-aware backend |
9
- | `/format` | `oxfmt` |
10
- | `/anti-slop` | `oxlint` |
11
- | `/foldkit-stylex` | `oxlint`, `@stylexjs/eslint-plugin` |
5
+ | Export | Required tools |
6
+ | ----------------- | ----------------------------------- |
7
+ | `/base` | `oxlint`, `tsrs` |
8
+ | `/effect` | `oxlint`, `@effect/tsgo`, `tsrs` |
9
+ | `/format` | `oxfmt` |
10
+ | `/anti-slop` | `oxlint` |
11
+ | `/foldkit-stylex` | `oxlint`, `@stylexjs/eslint-plugin` |
12
12
 
13
- The type-aware backend is [tsrs](https://github.com/oxc-project/tsrs) or `oxlint-tsgolint`.
13
+ Type-aware rules run on [tsrs](https://github.com/oxc-project/tsrs).
14
14
 
15
15
  ## Linting
16
16
 
@@ -29,12 +29,12 @@ export default defineConfig({
29
29
 
30
30
  Install the required tools in `devDependencies` and include linted files in your tsconfig. Run Oxlint for each preset:
31
31
 
32
- | Preset | With tsrs | With `oxlint-tsgolint` |
33
- | --------- | ----------------------------------------------------------- | ---------------------- |
34
- | `/base` | `OXLINT_TSGOLINT_PATH=node_modules/.bin/tsrs-lint oxlint .` | `oxlint .` |
35
- | `/effect` | `effect-tsgo --tsrs-lint oxlint .` | `effect-tsgo oxlint .` |
32
+ | Preset | Command |
33
+ | --------- | ---------------------------------- |
34
+ | `/base` | `oxlint .` |
35
+ | `/effect` | `effect-tsgo --tsrs-lint oxlint .` |
36
36
 
37
- `effect-tsgo` runs Oxlint with the Effect rules without patching `node_modules`. Check [supported tool versions](https://github.com/Effect-TS/tsgo#supported-package-versions) when upgrading.
37
+ Oxlint 1.92 and later finds an installed tsrs. `effect-tsgo --tsrs-lint` runs Oxlint with the Effect rules on tsrs without patching `node_modules`; plain `oxlint` cannot load them. Check [supported tool versions](https://github.com/Effect-TS/tsgo#supported-package-versions) when upgrading.
38
38
 
39
39
  `/effect` also warns where code uses a runtime global that has an Effect service, such as `console`, `Date` or `process.env`. Its rules warn, so set `maxWarnings: 0` to fail on them. Turn a rule off with `overrides` only for files where the global is the point, such as a script that prints its result.
40
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kutur-kit/oxc",
3
- "version": "0.1.0-alpha.6",
3
+ "version": "0.1.0-alpha.7",
4
4
  "description": "Oxlint and Oxfmt presets for TypeScript, with optional Effect and @kutur-kit/foldkit-stylex rules and a prose check for Markdown.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,26 +42,26 @@
42
42
  "access": "public"
43
43
  },
44
44
  "dependencies": {
45
- "@oxlint/plugins": "1.91.0",
46
- "eslint": "10.14.0",
45
+ "@oxlint/plugins": "1.94.0",
46
+ "eslint": "10.15.0",
47
47
  "eslint-plugin-sonarjs": "4.2.2"
48
48
  },
49
49
  "devDependencies": {
50
- "@effect/tsgo": "0.67.4",
51
- "@kutur-kit/foldkit-stylex": "0.1.0-alpha.2",
52
- "@kutur-kit/tsconfig": "0.1.0-alpha.1",
53
- "@stylexjs/eslint-plugin": "0.19.1",
50
+ "@effect/tsgo": "0.70.0",
51
+ "@kutur-kit/foldkit-stylex": "0.1.0-alpha.4",
52
+ "@kutur-kit/tsconfig": "0.1.0-alpha.2",
53
+ "@stylexjs/eslint-plugin": "0.19.2",
54
54
  "@types/node": "26.6.6",
55
- "oxfmt": "0.77.0",
56
- "oxlint": "1.91.0",
55
+ "oxfmt": "0.79.0",
56
+ "oxlint": "1.94.0",
57
57
  "publint": "0.3.25",
58
- "tsrs": "0.22.0-ts7.1.0-beta"
58
+ "tsrs": "0.25.0-ts7.1.0-beta"
59
59
  },
60
60
  "peerDependencies": {
61
- "@effect/tsgo": "~0.67.4",
61
+ "@effect/tsgo": "~0.70.0",
62
62
  "@stylexjs/eslint-plugin": "~0.19.1",
63
- "oxfmt": "~0.77.0",
64
- "oxlint": "~1.91.0"
63
+ "oxfmt": "~0.79.0",
64
+ "oxlint": "~1.94.0"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@effect/tsgo": {