openscad-format
openscad-format copied to clipboard
Default installation doesn't seem to work on macOS
$ cat .openscad-format
---
BasedOnStyle: Mozilla
ColumnLimit: 80
# SortIncludes: true
IndentWidth: 4
AccessModifierOffset: -4
ContinuationIndentWidth: 4
TabWidth: 4
UseTab: Never
$ npm install openscad-format
+ [email protected]
added 191 packages from 177 contributors and audited 191 packages in 6.211s
4 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
$ ./node_modules/.bin/openscad-format --version
1.0.0
$ clang-format --version
clang-format version 11.1.0
$ echo 'cube(1);' > test.scad
$ ./node_modules/.bin/openscad-format < test.scad
The above outputs nothing. 🤔