diff --git a/apps/consent/BUCK b/apps/consent/BUCK index 644ba346bec..bc012472c58 100644 --- a/apps/consent/BUCK +++ b/apps/consent/BUCK @@ -4,7 +4,8 @@ load("@toolchains//workspace-pnpm:macros.bzl", "build_node_modules", "next_build", "next_build_bin", -"eslint" +"eslint", +"audit", ) dev_pnpm_task_binary( @@ -65,6 +66,11 @@ dev_deps_srcs = { "lib/eslint-config": "//lib/eslint-config:src", } +audit( + name = "audit", + level = "critical", +) + eslint( name = "lint", srcs = [":src"] + glob([".eslint*"]), diff --git a/apps/dashboard/BUCK b/apps/dashboard/BUCK index 61f0d9d8c91..e11904e5b29 100644 --- a/apps/dashboard/BUCK +++ b/apps/dashboard/BUCK @@ -4,7 +4,8 @@ load( "build_node_modules", "next_build", "next_build_bin", - "eslint" + "eslint", + "audit", ) dev_pnpm_task_binary( @@ -55,6 +56,11 @@ dev_deps_srcs = { "lib/eslint-config": "//lib/eslint-config:src", } +audit( + name = "audit", + level = "critical", +) + eslint( name = "lint", srcs = [":src"] + glob([".eslint*"]), diff --git a/core/api/BUCK b/core/api/BUCK index be001e3423e..6badc13e25a 100644 --- a/core/api/BUCK +++ b/core/api/BUCK @@ -5,6 +5,7 @@ load( "tsc_build", "prod_tsc_build", "prod_tsc_build_bin", + "audit", "eslint", "typescript_check", "yaml_check", @@ -122,6 +123,11 @@ dev_update_file( out = "src/graphql/admin/schema.graphql" ) +audit( + name = "audit", + level = "critical", +) + eslint( name = "check-lint", srcs = [":src"] + [":test_src"] + glob([".eslint*"]),