• Hacker News
  • new|
  • comments|
  • show|
  • ask|
  • jobs|
  • OffsideFence 2 hours

    [flagged]

  • navs 3 minutes

    oxlint and some general ast-grep rules have pretty much been an absolute necessity for any of my LLM based code generation. I started down this path after looking at what coderabbit suggested in https://github.com/coderabbitai/ast-grep-essentials

  • aleksiy123 1 hours

    I really believe having good rules like this can make a big difference in llm quality. So this is awesome thanks.

    I’m personally using both oxlint for typescript and my own vibe coded tool for doing cross language rules ast rules and llm hook outputs.

    And recently added vale as well.

    maharshi365 1 hours

    Awesome. Feel free to make a pr for any rules that you think are important. I've started adding to my friends sloppy codebases and its great!

  • SSchick 1 hours

    I work on a project where we recently heavily pivoted into AI assisted feature development and without a extremely defensive/aggressive lint config and test coverage near ~80% most of these developments would be quiet impossible.

    `no-reflect-get` is definitely one I'd adopt, claude LOVES `Reflect.get` for some reason

    A lot of the lint rules in this repo remind me of https://github.com/sindresorhus/eslint-plugin-unicorn, I can't wait until oxlint has plugin support so I can move over to it.

    maharshi365 57 minutes

    I think oxlint ships unicorn as a plugin to enable --> check into that

    But if any others, let me know, and feel free to make a pr!