@systemfsoftware/oxlint-plugin-effect-platform 1.1.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.
@@ -0,0 +1,24 @@
1
+ import { Rule } from '@oxlint/plugins';
2
+
3
+ declare const _default: {
4
+ meta: {
5
+ name: string;
6
+ };
7
+ rules: {
8
+ 'entrypoint-interprets-once': Rule;
9
+ 'entrypoint-no-exports': Rule;
10
+ 'entrypoint-not-imported': Rule;
11
+ 'entrypoint-no-promise-wrapper': Rule;
12
+ 'runtime-construction-placement': Rule;
13
+ };
14
+ configs: {
15
+ recommended: {
16
+ rules: {
17
+ readonly [x: string]: "error";
18
+ };
19
+ };
20
+ };
21
+ };
22
+ export default _default;
23
+
24
+ export { }
@@ -0,0 +1,24 @@
1
+ import { Rule } from '@oxlint/plugins';
2
+
3
+ declare const _default: {
4
+ meta: {
5
+ name: string;
6
+ };
7
+ rules: {
8
+ 'entrypoint-interprets-once': Rule;
9
+ 'entrypoint-no-exports': Rule;
10
+ 'entrypoint-not-imported': Rule;
11
+ 'entrypoint-no-promise-wrapper': Rule;
12
+ 'runtime-construction-placement': Rule;
13
+ };
14
+ configs: {
15
+ recommended: {
16
+ rules: {
17
+ readonly [x: string]: "error";
18
+ };
19
+ };
20
+ };
21
+ };
22
+ export default _default;
23
+
24
+ export { }
@@ -0,0 +1,32 @@
1
+ import { OxlintOverride } from 'oxlint';
2
+ import { Rule } from '@oxlint/plugins';
3
+
4
+ declare const _default: {
5
+ meta: {
6
+ name: string;
7
+ };
8
+ rules: {
9
+ 'entrypoint-interprets-once': Rule;
10
+ 'entrypoint-no-exports': Rule;
11
+ 'entrypoint-not-imported': Rule;
12
+ 'entrypoint-no-promise-wrapper': Rule;
13
+ 'runtime-construction-placement': Rule;
14
+ 'no-logging-in-catch': Rule;
15
+ 'no-native-map-in-effect': Rule;
16
+ 'no-native-set-in-effect': Rule;
17
+ 'no-new-worker-with-wasm-import': Rule;
18
+ };
19
+ configs: {
20
+ recommended: {
21
+ rules: {
22
+ readonly [x: string]: "error";
23
+ };
24
+ overrides: OxlintOverride[];
25
+ };
26
+ };
27
+ };
28
+ export default _default;
29
+
30
+ export declare const noNodeBuiltinImports: NonNullable<OxlintOverride['rules']>['no-restricted-imports'];
31
+
32
+ export { }
@@ -0,0 +1,32 @@
1
+ import { OxlintOverride } from 'oxlint';
2
+ import { Rule } from '@oxlint/plugins';
3
+
4
+ declare const _default: {
5
+ meta: {
6
+ name: string;
7
+ };
8
+ rules: {
9
+ 'entrypoint-interprets-once': Rule;
10
+ 'entrypoint-no-exports': Rule;
11
+ 'entrypoint-not-imported': Rule;
12
+ 'entrypoint-no-promise-wrapper': Rule;
13
+ 'runtime-construction-placement': Rule;
14
+ 'no-logging-in-catch': Rule;
15
+ 'no-native-map-in-effect': Rule;
16
+ 'no-native-set-in-effect': Rule;
17
+ 'no-new-worker-with-wasm-import': Rule;
18
+ };
19
+ configs: {
20
+ recommended: {
21
+ rules: {
22
+ readonly [x: string]: "error";
23
+ };
24
+ overrides: OxlintOverride[];
25
+ };
26
+ };
27
+ };
28
+ export default _default;
29
+
30
+ export declare const noNodeBuiltinImports: NonNullable<OxlintOverride['rules']>['no-restricted-imports'];
31
+
32
+ export { }
package/package.json ADDED
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "@systemfsoftware/oxlint-plugin-effect-platform",
3
+ "license": "Apache-2.0",
4
+ "version": "1.1.1",
5
+ "author": "Ryan Lee <drdgvhbh@gmail.com>",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
9
+ "directory": "packages/oxlint-plugin/oxlint-plugin-effect-platform"
10
+ },
11
+ "homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/oxlint-plugin/oxlint-plugin-effect-platform#readme",
12
+ "bugs": "https://github.com/systemfsoftware/systemfsoftware/issues",
13
+ "description": "Oxlint rules enforcing Effect Platform runtime entrypoint semantics, I/O boundaries, and native global bans.",
14
+ "keywords": [
15
+ "oxlint",
16
+ "oxlint-plugin",
17
+ "oxc",
18
+ "lint",
19
+ "linter",
20
+ "lint-rules",
21
+ "effect",
22
+ "effect-ts",
23
+ "entrypoint",
24
+ "runmain",
25
+ "composition-root",
26
+ "typescript"
27
+ ],
28
+ "type": "module",
29
+ "files": [
30
+ "dist"
31
+ ],
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/oxlint-plugin-effect-platform.d.ts",
35
+ "default": "./dist/index.mjs"
36
+ },
37
+ "./package.json": "./package.json"
38
+ },
39
+ "dependencies": {
40
+ "@oxc-project/types": "^0.150.0",
41
+ "@oxlint/plugins": "~1.82.0",
42
+ "oxlint": "~1.82.0"
43
+ },
44
+ "devDependencies": {
45
+ "@microsoft/api-extractor": "^7.59.1",
46
+ "@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
47
+ "@systemfsoftware/stryker-ignorer-effect-schema-declarations": "^0.1.0",
48
+ "@systemfsoftware/stryker-ignorer-in-source-vitest-block": "^0.1.0",
49
+ "@systemfsoftware/stryker-js": "^10.0.1",
50
+ "@systemfsoftware/stryker-js-typescript-checker": "^7.0.4",
51
+ "@systemfsoftware/stryker-js-vitest-runner": "^7.0.1",
52
+ "@systemfsoftware/stryker-test-contribution": "^3.0.3",
53
+ "@types/node": "^26",
54
+ "@vitest/coverage-v8": "^5",
55
+ "effect": "4.0.0-rc.116",
56
+ "fast-check": "^4",
57
+ "oxlint": "~1.82.0",
58
+ "rimraf": "^6.1.3",
59
+ "tsdown": "^0.23.0",
60
+ "typescript": "^7",
61
+ "vitest": "^5",
62
+ "@systemfsoftware/oxlint-import-origin": "^0.1.0",
63
+ "@systemfsoftware/stryker-config": "^0.1.0",
64
+ "@systemfsoftware/tsconfig": "^1.3.6",
65
+ "@systemfsoftware/vitest-config": "^0.1.0",
66
+ "@systemfsoftware/tsdown-config": "^0.1.0"
67
+ },
68
+ "peerDependencies": {
69
+ "effect": "4.0.0-rc.116",
70
+ "typescript": ">=5.0.0"
71
+ },
72
+ "publishConfig": {
73
+ "provenance": true
74
+ },
75
+ "scripts": {
76
+ "build": "tsdown -l warn && pnpm api:check",
77
+ "clean": "rimraf dist",
78
+ "typecheck": "tsc --noEmit --incremental",
79
+ "test": "vitest run",
80
+ "mutation": "stryker run",
81
+ "mutation:full": "stryker run --force",
82
+ "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}",
83
+ "attw": "attw --pack .",
84
+ "api:check": "api-extractor-quiet run",
85
+ "api:update": "api-extractor run --local"
86
+ }
87
+ }