
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
eslint-plugin-haskellish-effect
Advanced tools
ESLint plugin enforcing Haskell-like discipline in TypeScript via Effect-TS
Part of haskellish-effect-ts — Haskell-like discipline for TypeScript, enforced by tooling. For motivation, full documentation, and quick setup, see the main repository.
ESLint plugin that enforces Haskell-style purity discipline in TypeScript via Effect-TS.
bun add -d eslint-plugin-haskellish-effect eslint
For a one-import setup with pre-configured rule sets, use
haskellish-effect-configinstead.
| Rule | What it enforces | recommended | strict |
|---|---|---|---|
only-allowed-imports | Blocks direct effect imports and unknown packages | error | error |
no-global-access | Blocks fetch, console, Date, Math, etc. | error | error |
no-implicit-globalthis | Blocks globalThis, window, document, self | error | error |
capability-enforcement | Closed-world rule — all bindings must be traceable to imports | warn | error |
no-promise | Blocks async/await and new Promise() — use Effect | warn | error |
no-explicit-any | Blocks any type annotations | warn | error |
no-throw | Blocks throw — use Effect.fail or Effect.die | warn | error |
no-mutation | Blocks let/var, reassignment, ++/-- — use const and Effect's Ref | warn | error |
effect-boundary | Exported functions should return Effect | — | error |
// eslint.config.js
import haskellishPlugin, { recommended } from 'eslint-plugin-haskellish-effect'
export default [
recommended,
// or use `strict` for all rules as errors
]
For manual rule configuration:
// eslint.config.js
import haskellishPlugin from 'eslint-plugin-haskellish-effect'
export default [
{
plugins: { 'haskellish-effect': haskellishPlugin },
rules: {
'haskellish-effect/no-global-access': 'error',
'haskellish-effect/no-promise': 'warn',
// ...
},
},
]
MIT
FAQs
ESLint plugin enforcing Haskell-like discipline in TypeScript via Effect-TS
We found that eslint-plugin-haskellish-effect demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.