seaofvoices / darklua

A command line tool that transforms Lua code
https://darklua.com/
MIT License
78 stars 10 forks source link

Add rule to remove Luau types #130

Closed jeparlefrancais closed 11 months ago

jeparlefrancais commented 11 months ago

Closes #34

github-actions[bot] commented 11 months ago

Coverage after merging remove-types-rule into main will be

87.03%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/nodes
   typed_identifier.rs95.61%100%95.45%95.65%67, 74, 88
src/nodes/expressions
   function.rs91.75%100%90.24%92.12%123–125, 227–230, 41–44, 90
src/nodes/statements
   function.rs88.92%100%88.41%89.03%123–125, 174–183, 36–41, 418–419, 42, 420–426, 43
   generic_for.rs83.33%100%82.76%83.45%186–192, 50–62
   local_assign.rs95.60%100%92.98%96.02%116–119, 219, 52–53, 55–56
   local_function.rs95.79%100%92.98%96.49%117–121
   numeric_for.rs83.23%100%80%83.94%158–160, 187–192, 47–56
src/rules
   mod.rs88.53%100%76.74%90.06%101–103, 107, 117–119, 137–139, 141, 172–174, 256, 297–298, 333–335, 385–387, 62
   remove_types.rs95.56%100%90.91%97.06%