From 9bd3c7e409d9e7d5d464280e58e909a356916bb4 Mon Sep 17 00:00:00 2001 From: Joel Mut Date: Wed, 23 Oct 2024 16:11:52 -0300 Subject: [PATCH] Fix lint --- libraries/botbuilder-ai-luis/eslint.config.cjs | 11 ----------- libraries/botbuilder-ai-luis/package.json | 5 ++--- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 libraries/botbuilder-ai-luis/eslint.config.cjs diff --git a/libraries/botbuilder-ai-luis/eslint.config.cjs b/libraries/botbuilder-ai-luis/eslint.config.cjs deleted file mode 100644 index c56fd90ec6..0000000000 --- a/libraries/botbuilder-ai-luis/eslint.config.cjs +++ /dev/null @@ -1,11 +0,0 @@ -const onlyWarn = require("eslint-plugin-only-warn"); -const sharedConfig = require("../../eslint.config.cjs") - -module.exports = [ - ...sharedConfig, - { - plugins: { - "only-warn": onlyWarn, - }, - } -] diff --git a/libraries/botbuilder-ai-luis/package.json b/libraries/botbuilder-ai-luis/package.json index 9ea01dba9d..8cb39f9621 100644 --- a/libraries/botbuilder-ai-luis/package.json +++ b/libraries/botbuilder-ai-luis/package.json @@ -30,14 +30,13 @@ } }, "dependencies": { - "botbuilder-ai": "4.1.6", - "eslint-plugin-only-warn": "^1.1.0" + "botbuilder-ai": "4.1.6" }, "scripts": { "build": "tsc -b", "clean": "rimraf _ts3.4 lib tsconfig.tsbuildinfo", "depcheck": "depcheck --config ../../.depcheckrc", - "lint": "eslint .", + "lint": "eslint . --config ../../eslint.config.cjs", "postbuild": "downlevel-dts lib _ts3.4/lib --checksum" }, "files": [