Skip to content

Commit

Permalink
fix: unknown rule
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed Jan 6, 2024
1 parent bcf522b commit 60fc3b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import type { Declaration, Root, AtRule } from 'postcss';
import stylelint, { PostcssResult, Rule } from 'stylelint';
// eslint-disable-next-line import/no-extraneous-dependencies
import shortCSS from 'shortcss';
// eslint-disable-next-line import/no-extraneous-dependencies
import list from 'shortcss/lib/list';
// eslint-disable-next-line import/no-extraneous-dependencies
import cssValues from 'css-values';

import {
Expand Down Expand Up @@ -496,4 +499,4 @@ const declarationStrictValuePlugin = stylelint.createPlugin(
);

export default declarationStrictValuePlugin;
export { ruleName, messages };
export { ruleName, messages, ruleFunction as rule };

0 comments on commit 60fc3b8

Please sign in to comment.