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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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

24 hours ago