Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

I'm looking into using ast-grep fo linting ReScript. What rules should I investigate?

$
0
0

Thanks for helping dig into this!

I realized I had made a mistake in my top level config and didn’t have the path set correctly for where I cloned the repo, and I also needed to downgrade to 0.24.

I think I might be able to start making progress now!

(source_file [0, 0] - [0, 32]
  (let_declaration [0, 0] - [0, 32]
    (let_binding [0, 4] - [0, 32]
      pattern: (value_identifier [0, 4] - [0, 5])
      body: (function [0, 8] - [0, 32]
        parameters: (formal_parameters [0, 8] - [0, 10])
        body: (call_expression [0, 14] - [0, 32]
          function: (value_identifier_path [0, 14] - [0, 25]
            (module_identifier [0, 14] - [0, 21])
            (value_identifier [0, 22] - [0, 25]))
          arguments: (arguments [0, 25] - [0, 32]
            (string [0, 26] - [0, 31]
              (string_fragment [0, 27] - [0, 30]))))))))

Viewing all articles
Browse latest Browse all 2592

Trending Articles