Skip to content

Commit

Permalink
add package export
Browse files Browse the repository at this point in the history
  • Loading branch information
with-heart committed Sep 21, 2022
1 parent 47dc8a5 commit f4a3066
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-plugin-xstate/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import rules from "./rules";

export = {
rules,
};
17 changes: 17 additions & 0 deletions packages/eslint-plugin-xstate/src/rules/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import avoidContextSpread from "./avoid-context-spread";
import noCond from "./no-cond";
import noEmittedFrom from "./no-emitted-from";
import noFactoryContextArg from "./no-factory-context-arg";
import requireObjectContext from "./require-object-context";
import requireParameterizedActionsParams from "./require-parameterized-actions-params";
import requireParameterizedGuardsParams from "./require-parameterized-guards-params";

export default {
"avoid-context-spread": avoidContextSpread,
"no-cond": noCond,
"no-emitted-from": noEmittedFrom,
"no-factory-context-arg": noFactoryContextArg,
"require-object-context": requireObjectContext,
"require-parameterized-actions-params": requireParameterizedActionsParams,
"require-parameterized-guards-params": requireParameterizedGuardsParams,
};

0 comments on commit f4a3066

Please sign in to comment.