From b0c3cd1ead9b9f2f3dc04387cffa8cc92ed17ff7 Mon Sep 17 00:00:00 2001 From: Scott Prutton Date: Fri, 20 Dec 2024 16:51:53 -0500 Subject: [PATCH] fix linting --- bin/lang-js/BUCK | 2 +- bin/lang-js/package.json | 4 ++-- lib/ts-lib-deno/.eslintrc.cjs | 3 --- lib/ts-lib-deno/BUCK | 19 +------------------ 4 files changed, 4 insertions(+), 24 deletions(-) delete mode 100644 lib/ts-lib-deno/.eslintrc.cjs diff --git a/bin/lang-js/BUCK b/bin/lang-js/BUCK index 18a41d2a44..a21f486c0d 100644 --- a/bin/lang-js/BUCK +++ b/bin/lang-js/BUCK @@ -30,7 +30,7 @@ filegroup( ) prod_deps_srcs = { - "lib/ts-lib": "//lib/ts-lib:src", + "lib/ts-lib-deno": "//lib/ts-lib-deno:src", } deno_compile( diff --git a/bin/lang-js/package.json b/bin/lang-js/package.json index c2abee8f77..905f99ccca 100644 --- a/bin/lang-js/package.json +++ b/bin/lang-js/package.json @@ -57,7 +57,7 @@ "vitest": "^1.0.4" }, "dependencies": { - "@si/ts-lib": "workspace:*", + "@si/ts-lib-deno": "workspace:*", "@typescript/vfs": "^1.4.0", "commander": "^9.2.0", "execa": "^5.1.1", @@ -80,7 +80,7 @@ "sourcemap": true, "clean": true, "noExternal": [ - "@si/ts-lib", + "@si/ts-lib-deno", "lodash-es" ] } diff --git a/lib/ts-lib-deno/.eslintrc.cjs b/lib/ts-lib-deno/.eslintrc.cjs deleted file mode 100644 index f979a583b4..0000000000 --- a/lib/ts-lib-deno/.eslintrc.cjs +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - extends: ["@si/eslint-config/base"], -}; diff --git a/lib/ts-lib-deno/BUCK b/lib/ts-lib-deno/BUCK index 28e1bef41d..d0bcf8674f 100644 --- a/lib/ts-lib-deno/BUCK +++ b/lib/ts-lib-deno/BUCK @@ -1,10 +1,8 @@ load( "@prelude-si//:macros.bzl", - "eslint", "export_file", "filegroup", "package_node_modules", - "typescript_check", ) export_file( @@ -13,7 +11,7 @@ export_file( package_node_modules( name = "node_modules", - package_name = "@si/ts-lib", + package_name = "@si/ts-lib-deno", ) filegroup( @@ -27,20 +25,5 @@ filegroup( prod_deps_srcs = {} dev_deps_srcs = { - "lib/eslint-config": "//lib/eslint-config:src", "lib/tsconfig": "//lib/tsconfig:src", } - -eslint( - name = "check-lint", - srcs = [":src"] + glob([".eslint*"]), - prod_deps_srcs = prod_deps_srcs, - dev_deps_srcs = dev_deps_srcs, -) - -typescript_check( - name = "check-type", - srcs = [":src"], - prod_deps_srcs = prod_deps_srcs, - dev_deps_srcs = dev_deps_srcs, -)