Open
Description
We have the repo in the nushell
org 🍾 . Now we need more structure to keep moving forward.
As we work in issues and features, we can edit the list.
⚠️ restructure the project
Because of the new-nu-parser coming, and the issue with DeclId
s we need to restructure a lot of the parser as it is today.
I don't know how long this is going to be, but we have to have some patience. Let me investigate until I can plan what to do and when 📆
❗ TODO
- ⚠ resolve all the
FlatShapes
in Checklist of format #13 (see above)- Cover flatshapes #35
- there are still some missing shapes
- with the file formatted as (
--minified
), we need to add the indentation - make configurable with
Config
struct - limit the max characters to
Config
- and endings of
;
, if they are relevant to nushell logic (delete them if they are unnecessary, like python) - option to write the files in place or output another file
- Format reports are nice. Add them!
- public the cargo package
- add the
nixpkg
auto-publish workflow - Make it available as a GitHub Action
- add some ignore comment (
# nufmt ignore
)
✅ Done:
- make
clippy
happy - accept to format a string, not just files.
- clean
/examples/
folder and move them into tests. Add benchmarks - adjust
README.md
- add the supported nu version
- add badges
- ✅ restore testing, add CI workflow and
README.md
#16
- Make the formatter keep comments #17
- check if the last line is a new line and, if false, add one.
- examine the input path: Is it a file? format it. Is it a directory? format the
.nu
files and skip the other files