Skip to content

Commit

Permalink
Add rule to plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Nov 7, 2024
1 parent 919d62b commit 5188760
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -25,6 +26,7 @@ const plugin = {
},
rules: {
"no-empty-blocks": noEmptyBlocks,
"no-duplicate-imports": noDuplicateImports,
},
configs: {},
};
Expand Down

0 comments on commit 5188760

Please sign in to comment.