treewide: add and apply typos pre-commit hook
Link: https://github.com/danth/stylix/pull/519
This commit is contained in:
parent
2b85a56235
commit
5ab7d0345a
5 changed files with 5 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ applications that don't fit into any of the groups below. In this case it is up
|
|||
to the committer to make sure said application fits in stylistically with the
|
||||
rest of the themed applications.
|
||||
|
||||
It is also importent to note that this is a growing theming guide and when theming an application and you find the guide to be lacking in any way in
|
||||
It is also important to note that this is a growing theming guide and when theming an application and you find the guide to be lacking in any way in
|
||||
terms of direction, you are encouraged to open an issue regarding what you would like to see added to the style guide.
|
||||
|
||||
## Terms
|
||||
|
|
|
|||
|
|
@ -101,6 +101,7 @@
|
|||
hooks = {
|
||||
deadnix.enable = true;
|
||||
statix.enable = true;
|
||||
typos.enable = true;
|
||||
};
|
||||
|
||||
src = ./.;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ toHexNum :: Double -> Word8
|
|||
toHexNum = truncate
|
||||
|
||||
{- |
|
||||
Convert a colour to a hexdecimal string.
|
||||
Convert a colour to a hexadecimal string.
|
||||
|
||||
>>> toHex (RGB 255 255 255)
|
||||
"ffffff"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import Data.Vector ( (//) )
|
|||
import qualified Data.Vector as V
|
||||
import System.Random ( randomRIO )
|
||||
|
||||
-- | Extract the primary scale from a pallete.
|
||||
-- | Extract the primary scale from a palette.
|
||||
primary :: V.Vector a -> V.Vector a
|
||||
primary = V.take 8
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ let
|
|||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
# The state version can safely track the latest release because the disk
|
||||
# image is ephermal.
|
||||
# image is ephemeral.
|
||||
system.stateVersion = config.system.nixos.release;
|
||||
home-manager.users.${username}.home.stateVersion = config.system.nixos.release;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue