seaofvoices / darklua

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

Convert configuration format to snake case #114

Closed jeparlefrancais closed 1 year ago

jeparlefrancais commented 1 year ago

Closes #113

Convert all kebab case to snake case to normalize the configuration format.

github-actions[bot] commented 1 year ago

Coverage after merging normalize-to-snake-case into main will be

89.36%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/cli
   process.rs37.04%100%22.22%38.89%100–107, 109–111, 14, 16, 26, 36–39, 41–45, 47, 62–65, 87–99
src/frontend
   configuration.rs88.22%100%84%89.15%131–148, 179–183, 63–66
   worker.rs70.81%100%63.16%71.25%100–107, 110, 114–115, 118–121, 140–142, 162–163, 165, 188, 193–195, 197, 21, 229, 253–257, 259, 283–286, 291–296, 298–305, 326–328, 336–338, 346–348, 356–358, 360–361, 370, 406, 422–424, 439–441, 49–56, 86–87
src/rules
   rule_property.rs88.05%100%94.29%86.29%107–112, 114–117, 121–122, 28, 36, 47, 65
src/rules/bundle
   require_mode.rs89.19%100%77.78%92.86%
src/rules/convert_require
   mod.rs84.86%100%72.73%87.50%105–107, 130, 140–141, 151, 41, 52, 62–63, 88
   roblox_index_style.rs92%100%81.25%94.92%
   roblox_require_mode.rs56.35%100%62.50%55.76%105–106, 139–146, 149–157, 161, 166–170, 173, 177–182, 185–192, 205–208, 42–49, 59–61, 75–77, 87–90, 92, 95–97, 99
src/rules/require
   path_require_mode.rs81.73%100%83.33%81.25%43–45, 75, 85–93