@archon-research/oxlint-config 0.1.0 → 0.2.1

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 ADDED
@@ -0,0 +1,40 @@
1
+ # @archon-research/oxlint-config
2
+
3
+ Shared Oxlint configuration presets for consistent code quality across projects.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install --save-dev @archon-research/oxlint-config oxlint
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Use the configuration presets in your `oxlint.config.ts`:
14
+
15
+ ### Base configuration
16
+
17
+ ```typescript
18
+ import baseConfig from '@archon-research/oxlint-config';
19
+ import { defineConfig } from 'oxlint';
20
+
21
+ export default defineConfig({
22
+ ...baseConfig,
23
+ });
24
+ ```
25
+
26
+ ### React projects
27
+
28
+ ```typescript
29
+ import reactConfig from '@archon-research/oxlint-config/react';
30
+ import { defineConfig } from 'oxlint';
31
+
32
+ export default defineConfig({
33
+ ...reactConfig,
34
+ });
35
+ ```
36
+
37
+ ## Included presets
38
+
39
+ - **base** (default) - General linting rules
40
+ - **react** - Additional rules for React projects
package/package.json CHANGED
@@ -1,17 +1,22 @@
1
1
  {
2
2
  "name": "@archon-research/oxlint-config",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "publishConfig": {
5
- "registry": "https://npm.pkg.github.com",
6
5
  "access": "public"
7
6
  },
8
7
  "type": "module",
9
8
  "files": [
10
- "base.mjs",
11
- "react.mjs"
9
+ "base.ts",
10
+ "react.ts"
12
11
  ],
12
+ "scripts": {
13
+ "type:check": "tsgo -p tsconfig.json --noEmit"
14
+ },
13
15
  "exports": {
14
- "./base": "./base.mjs",
15
- "./react": "./react.mjs"
16
+ "./base": "./base.ts",
17
+ "./react": "./react.ts"
18
+ },
19
+ "repository": {
20
+ "url": "https://github.com/archon-research/uikit"
16
21
  }
17
22
  }
File without changes
File without changes