diff --git a/packages/eslint-plugin-xstate/src/index.ts b/packages/eslint-plugin-xstate/src/index.ts new file mode 100644 index 00000000..197d3279 --- /dev/null +++ b/packages/eslint-plugin-xstate/src/index.ts @@ -0,0 +1,5 @@ +import rules from "./rules"; + +export = { + rules, +}; diff --git a/packages/eslint-plugin-xstate/src/rules/index.ts b/packages/eslint-plugin-xstate/src/rules/index.ts new file mode 100644 index 00000000..ba91eb16 --- /dev/null +++ b/packages/eslint-plugin-xstate/src/rules/index.ts @@ -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, +};