summaryrefslogtreecommitdiff
path: root/alacritty_config_derive/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_config_derive/src/lib.rs')
-rw-r--r--alacritty_config_derive/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/alacritty_config_derive/src/lib.rs b/alacritty_config_derive/src/lib.rs
index 8601d5cb..af8f2e7f 100644
--- a/alacritty_config_derive/src/lib.rs
+++ b/alacritty_config_derive/src/lib.rs
@@ -1,3 +1,6 @@
+#![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use)]
+#![cfg_attr(feature = "cargo-clippy", deny(warnings))]
+
use proc_macro::TokenStream;
use syn::{parse_macro_input, Data, DataStruct, DeriveInput, Error, Fields, Path};