From 2f8abbda73314d038ce3af65ab75b35709a4976c Mon Sep 17 00:00:00 2001 From: Dimi Kot Date: Sat, 13 Jan 2024 22:51:11 -0800 Subject: [PATCH] Reuse common file in open-source packages --- .eslintrc.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 91512e2..a175c7d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,5 @@ "use strict"; -const config = require("../../.eslintrc.base.js")(__dirname); -config.rules["import/no-extraneous-dependencies"] = "error"; -config.rules["lodash/import-scope"] = ["error", "method"]; -module.exports = config; +module.exports = require("../../.eslintrc.base.js")(__dirname, { + "import/no-extraneous-dependencies": "error", + "lodash/import-scope": ["error", "method"], +});