Comments (3)
OK, let's have our own configuration.
I'm happy with all default config for now (https://github.com/rust-lang-nursery/rustfmt/blob/master/Configurations.md), but please define the rustfmt.toml
file to specify your preference.
Because all the utilities are included dynamically using macros, cargo fmt only formats the stuff like src/setup.rs and src/util.rs.
Do you mean that we should specify files we'd like to format? Like cargo fmt -- `find libmesabox -iname "*.rs"`
?
from mesabox.
Yeah, we need to do something like that probably. I'm not sure if running cargo fmt
will work or if we need to use rustfmt
directly.
from mesabox.
Fixed in: 679459a
We don't enforce fmt and clippy for now, but it will be tested in the CI. Once we have a clear style, fmt is necessary for collaboration.
from mesabox.
Related Issues (20)
- init: Is init a POSIX utility? HOT 2
- Possibility to replace self-maintained test utility with `assert_cli` HOT 7
- Better format for error messages HOT 4
- Issues with using the utils as shell built-ins
- sleep: not consistent with the POSIX standard HOT 3
- Do we have a guideline for handling error? HOT 8
- sh: escape sequences in bare words parsed incorrectly HOT 1
- Differences between shells
- Drop actual_path? HOT 5
- sh: switch to LALRPOP? HOT 4
- posix/sh: pipeline_subshell test fails in interactive shell HOT 1
- Remove build targets HOT 3
- posix/sh: parser accepts invalid input HOT 1
- Add a wrapper for splice() HOT 2
- The first two tests are blocking for over 60 seconds in Travis HOT 4
- Write testcases HOT 3
- Test coverage is not accurate HOT 6
- NonZero types
- Bindings for calling from C
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 mesabox.