Comments (4)
Not just nightly, 1.74 which is going to beta
in a week has that feature stabilized.
from cargo-cranky.
Good point, it never occurred to me to put the configuration in Cargo.toml
.
Do guidelines exist for how third-party tools should organize their configuration data? Should a tool called cargo-cranky
keep its config data under package.metadata.cranky
?
from cargo-cranky.
nightly now supports a top level lints
in Cargo.toml
, c.f. rust-lang/cargo#12115
The usefulness of cargo-cranky will steeply diminish soon, unless cranky decides to add more features not found in nightly.
Do guidelines exist for how third-party tools should organize their configuration data? Should a tool called cargo-cranky keep its config data under package.metadata.cranky?
IMO package.metadata.cranky
would be better, but package.metadata.lints
also makes sense, and it isnt going to have clashes any time soon because most people will be using the new nightly lints
table soon.
from cargo-cranky.
That's great news! I'll update the README when 1.74 comes out.
from cargo-cranky.
Related Issues (12)
- idea: cargo cranky should allow CLI adding of lints
- idea: smart handling of new lints
- idea: support for multiple config files HOT 3
- Non-clippy lints HOT 3
- Override global rules from in-source attributes? HOT 4
- Somehow specify rules for #![doc(test(attr( ... )))] ?
- Support `rustdoc::` lints HOT 4
- Support `forbid` lint level
- RA VSCode settings changed? HOT 2
- Can not run on only a single member of a workspace
- A thank you HOT 2
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 cargo-cranky.