Enable clippy lints on a workspace level

This enables a lot more lints than before in some crates, so this fixed a lot of warnings as well.
This commit is contained in:
Quentin Gliech
2023-12-05 16:45:40 +01:00
parent 253495e8bd
commit a7ff6b00aa
88 changed files with 567 additions and 236 deletions

View File

@@ -7,6 +7,9 @@ edition.workspace = true
homepage.workspace = true
repository.workspace = true
[lints]
workspace = true
[dependencies]
camino.workspace = true
icu_list = { version = "1.4.0", features = ["compiled_data", "std"] }

View File

@@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![warn(clippy::pedantic)]
#![deny(clippy::all)]
pub mod sprintf;
pub mod translations;
mod translator;