Comments (2)
Running the nixf-tidy command seems to run a process that never exits and does not provide output.
For now it reads the standard input as the source file. You may use it like:
cat somefile.nix | nixf-tidy
The result is JSON format and may not suitable for human reading. And currently it does not have a command line UI. The tooling itself is designed to be invoked by some "UI" tools, e.g. a language server, or github action, or github bot.
I want to use nixf-tidy to lint my project, both locally and in GitHub Actions.
For locally usage nixf-tidy
shares the frontend of nixd
, using nixd
is effectively using nixf-tidy
locally.
But I couldn't find any documentation for this.
Yes, there should be some documentation.
from nixd.
Thank you!
from nixd.
Related Issues (20)
- real world example HOT 4
- example of usage and configuration without flakes HOT 2
- support completions for lib HOT 1
- Option to use Flake's `outputs.formatter.${system}` for formatting HOT 5
- nixd dies on shutdown but not in the way eglot expects? HOT 2
- unnecessary "definition is not used warning" HOT 3
- Anything after the first expression in one file is ignored HOT 1
- [bug] nixd uses too much RAM when opening large files HOT 2
- autocomplete for builtins HOT 3
- Complete outputs: (dev out) for `package_name.` HOT 1
- `nixd.options` with `$NIX_PATH` import expressions HOT 4
- auto-complete default value for option HOT 4
- Wrong suggestions for rec keyword. HOT 3
- Somehow group the multipart suggestions in Neovim.
- support & auto complete nixvim options HOT 4
- vendor: enable written regression tests in derivations HOT 3
- documentation for nixvim modules
- completion pops up in comment context HOT 1
- Invalid range when going to package definition HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixd.