Anti-slop is an opinionated Oxlint rule set for rejecting low-evidence TypeScript and JavaScript patterns. It is designed to be copied into a repository and customized rather than consumed as a fixed npm dependency. Its rules target practices such as chained type assertions, unsafe dictionary types, broad object parameters, ad hoc runtime type checks, module mocking, and contracts that return unknown. Type assertions can be required to include a safety comment explaining the checked invariant. An included agent skill can copy the plugin, install Oxlint dependencies, merge configuration, and validate the setup. Optional Effect-specific rules add architecture checks without affecting projects that do not use Effect.

Features

  • Opinionated TypeScript and JavaScript linting
  • Unsafe type assertion detection
  • Unknown and broad type restrictions
  • Module mocking prevention
  • Required safety comments for assertions
  • Optional Effect architecture rules

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow anti-slop

anti-slop Web Site

Other Useful Business Software
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of anti-slop!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Libraries

Registered

1 day ago