Skip to content

Commit a569b53

Browse files
committed
chore: add tsl.config.ts files and update linting scripts to use tsl
1 parent 9a7a546 commit a569b53

File tree

10 files changed

+9
-9
lines changed

10 files changed

+9
-9
lines changed

.pkgs/tsl-local/tsl.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "../../tsl.config";

packages/eff/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"build": "tsdown",
2727
"build:docs": "typedoc",
2828
"lint:publish": "publint",
29-
"lint:ts": "tsc --noEmit",
29+
"lint:ts": "tsl",
3030
"publish": "pnpm run build && pnpm run lint:publish"
3131
}
3232
}

packages/eff/tsl.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "../../tsl.config";

packages/eslint-plugin-function-rule/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"build": "tsdown --dts-resolve",
3333
"build:docs": "typedoc",
3434
"lint:publish": "publint",
35-
"lint:ts": "tsc --noEmit",
35+
"lint:ts": "tsl",
3636
"publish": "pnpm run build && pnpm run lint:publish"
3737
},
3838
"peerDependencies": {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "../../tsl.config";

packages/eslint-plugin-function/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build": "tsdown",
3131
"build:docs": "typedoc",
3232
"lint:publish": "publint",
33-
"lint:ts": "tsc --noEmit",
33+
"lint:ts": "tsl",
3434
"publish": "pnpm run build && pnpm run lint:publish"
3535
},
3636
"dependencies": {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "../../tsl.config";

packages/tsl-module/tsl.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "../../tsl.config";

scripts/update-version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function processPackageJson(filename: string) {
3636
version: newVersion,
3737
};
3838
yield* fs.writeFileString(filename, `${JSON.stringify(packageJsonUpdated, null, 2)}\n`);
39-
yield* Effect.log(`Updated ${filename} to version ${packageJsonUpdated.version}`);
39+
yield* Effect.log(`Updated ${filename} to version ${newVersion}`);
4040
return true;
4141
});
4242
}

tsconfig.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
"noEmit": true,
1919
"types": [
2020
"@types/node"
21-
],
22-
"plugins": [
23-
{
24-
"name": "@effect/language-service"
25-
}
2621
]
2722
},
2823
"include": [

0 commit comments

Comments
 (0)