Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
darioalessandro committed Sep 1, 2024
1 parent 313fe4d commit aa2593b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ fmt:
check:
docker compose -f docker/docker-compose.yaml run websocket-api bash -c "cd /app/actix-api && cargo clippy --all -- --deny warnings && cargo fmt --check"
docker compose -f docker/docker-compose.yaml run yew-ui bash -c "cd /app/yew-ui && cargo clippy --all -- --deny warnings && cargo fmt --check"
docker compose -f docker/docker-compose.yaml run yew-ui bash -c "cd /app/leptos-website && cargo check"
docker compose -f docker/docker-compose.yaml run yew-ui bash -c "cd /app/leptos-website && cargo clippy --features ssr --all -- --deny warnings"
2 changes: 2 additions & 0 deletions leptos-website/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "nightly-2023-12-01"
2 changes: 2 additions & 0 deletions leptos-website/src/components/HeroHeader.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(dead_code)]

use crate::components::SphereLogo::*;
use leptos::*;
use leptos_meta::Style;
Expand Down
1 change: 0 additions & 1 deletion leptos-website/src/error_template.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::errors::TodoAppError;
use cfg_if::cfg_if;
use leptos::{Errors, *};
#[cfg(feature = "ssr")]
use leptos_axum::ResponseOptions;
Expand Down
6 changes: 0 additions & 6 deletions leptos-website/src/pages/Home.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
use crate::components::CodeExample::*;
use crate::components::ExampleServerFunction::*;
use crate::components::ExampleTailwind::*;
use crate::components::FeatureList::*;
use crate::components::HeroHeader::*;
use crate::components::InteractiveCodeExample::*;
use crate::components::Page::*;
use crate::components::SpeedStats::*;
use leptos::*;
use leptos_meta::*;

Expand Down

0 comments on commit aa2593b

Please sign in to comment.