Skip to content

Package: @state-adapt/eslint-plugin-spaghetti

Experimental: The rule and its configuration may change as we learn from real-world use.

This ESLint plugin helps minimize spaghetti code. It warns when imperative code reaches too far across functions, scopes, files, or folders.

See the no-spaghetti rule for behavior and configuration.

Configuration