From 51887606dc92a04d2beef86609007b1aacaf981e Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Thu, 7 Nov 2024 17:14:47 -0500 Subject: [PATCH] Add rule to plugin --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index a8d697b..5c150e5 100644 --- a/src/index.js +++ b/src/index.js @@ -10,6 +10,7 @@ import { CSSLanguage } from "./languages/css-language.js"; import { CSSSourceCode } from "./languages/css-source-code.js"; import noEmptyBlocks from "./rules/no-empty-blocks.js"; +import noDuplicateImports from "./rules/no-duplicate-imports.js"; //----------------------------------------------------------------------------- // Plugin @@ -25,6 +26,7 @@ const plugin = { }, rules: { "no-empty-blocks": noEmptyBlocks, + "no-duplicate-imports": noDuplicateImports, }, configs: {}, };