diff --git a/.vale.ini b/.vale.ini index 952429c..f8a6250 100644 --- a/.vale.ini +++ b/.vale.ini @@ -4,7 +4,8 @@ MinAlertLevel = suggestion Vocab = General -Packages = RedHat, proselint, write-good, alex, Joblint +# https://vale.sh/explorer +Packages = RedHat, proselint, write-good, alex [*.{md}] -BasedOnStyles = Vale, RedHat, proselint, write-good, alex, Joblint +BasedOnStyles = Vale, RedHat, proselint, write-good, alex diff --git a/.vale/styles/Joblint/Acronyms.yml b/.vale/styles/Joblint/Acronyms.yml deleted file mode 100644 index 5937dcd..0000000 --- a/.vale/styles/Joblint/Acronyms.yml +++ /dev/null @@ -1,10 +0,0 @@ -extends: substitution -message: Use '%s' instead of '%s' -description: "Tech people know their acronyms; you come across as not very tech-savvy if you expand them." -ignorecase: true -level: warning -action: - name: replace -swap: - 'cascading[ -]?style[ -]?sheets': CSS - 'hyper[ -]?text(?:[ -]?mark[ -]?up(?:[ -]?language)?)?': HTML diff --git a/.vale/styles/Joblint/Benefits.yml b/.vale/styles/Joblint/Benefits.yml deleted file mode 100644 index 142aefb..0000000 --- a/.vale/styles/Joblint/Benefits.yml +++ /dev/null @@ -1,26 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "Benefits such as '%s' are not bad in themselves, but their appearance in a job post often disguises the fact that there are few real benefits to working for a company." -ignorecase: true -level: warning -tokens: - - 'ales?' - - 'beers?' - - 'brewskis?' - - 'coffee' - - '(?:foos|fuss)[ -]*ball' - - 'happy[ -]*hours?' - - 'keg(erator)?s?' - - 'lagers?' - - 'nerf[ -]*guns?' - - 'ping[ -]*pong?' - - 'pints?' - - 'pizzas?' - - 'play\\s*stations?' - - 'pool[ -]*table|pool' - - 'rock[ -]*walls?' - - 'table[ -]*football' - - 'table[ -]*tennis' - - 'wiis?' - - 'xbox(?:es|s)?' - - 'massages?' diff --git a/.vale/styles/Joblint/Bro.yml b/.vale/styles/Joblint/Bro.yml deleted file mode 100644 index 83279ad..0000000 --- a/.vale/styles/Joblint/Bro.yml +++ /dev/null @@ -1,13 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "Bro culture terminology can really reduce the number of people likely to show interest." -ignorecase: true -level: error -tokens: - - 'brogramm(?:er|ers|ing)' - - 'crank' - - 'crush' - - 'hard[ -]*core' - - 'hella' - - 'mak(?:e|ing) it rain' - - 'skillz' diff --git a/.vale/styles/Joblint/Competitive.yml b/.vale/styles/Joblint/Competitive.yml deleted file mode 100644 index e597976..0000000 --- a/.vale/styles/Joblint/Competitive.yml +++ /dev/null @@ -1,17 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "Competition can be healthy, but for a lot of people a heavily competitive environment can be a strain." -ignorecase: true -level: suggestion -tokens: - - 'compete' - - 'competition' - - 'competitive' - - 'cutting[ -]edge' - - 'fail' - - 'fore[ -]*front' - - 'super[ -]*stars?' - - 'the best' - - 'reach the top' - - 'top of .{2,8} (?:game|class)' - - 'win' diff --git a/.vale/styles/Joblint/Derogatory.yml b/.vale/styles/Joblint/Derogatory.yml deleted file mode 100644 index f64452f..0000000 --- a/.vale/styles/Joblint/Derogatory.yml +++ /dev/null @@ -1,15 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "When you use '%s,' you're being discriminatory." -ignorecase: true -level: error -tokens: - - 'bia?tch(?:es)?' - - 'bimbos?' - - 'hoes?' - - 'hunks?' - - 'milfs?' - - 'slags?' - - 'sluts?' - - 'stallions?' - - 'studs?' diff --git a/.vale/styles/Joblint/DevEnv.yml b/.vale/styles/Joblint/DevEnv.yml deleted file mode 100644 index 6dd2085..0000000 --- a/.vale/styles/Joblint/DevEnv.yml +++ /dev/null @@ -1,17 +0,0 @@ -extends: existence -message: "Don't specify a development environment unless absolutely necessary." -ignorecase: true -level: suggestion -tokens: - - 'atom' - - 'bb[ -]*edit' - - 'dream[ -]*weaver' - - 'eclipse' - - 'emacs' - - 'net[ -]*beans' - - 'note[ -]*pad' - - 'sublime[ -]*text' - - 'text[ -]*wrangler' - - 'text[ -]*mate' - - 'vim?' - - 'visual[ -]*studio' diff --git a/.vale/styles/Joblint/DumbTitles.yml b/.vale/styles/Joblint/DumbTitles.yml deleted file mode 100644 index f6a99af..0000000 --- a/.vale/styles/Joblint/DumbTitles.yml +++ /dev/null @@ -1,13 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "Referring to tech people as '%s' devalues the work that they do and shows a lack of respect and professionalism." -ignorecase: true -level: warning -tokens: - - 'gurus?' - - 'hero(?:es|ic)?' - - 'ninjas?' - - 'rock[ -]*stars?' - - 'super[ -]*stars?' - - 'badass(?:es)?' - - 'BAMF' diff --git a/.vale/styles/Joblint/Gendered.yml b/.vale/styles/Joblint/Gendered.yml deleted file mode 100644 index f6c2a8e..0000000 --- a/.vale/styles/Joblint/Gendered.yml +++ /dev/null @@ -1,40 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "Use of '%s' could indicate that you're discriminating in favour of a certain gender." -ignorecase: true -level: error -tokens: - - 'boys?' - - 'bros?' - - 'broth(?:a|er)s?' - - 'chicks?' - - 'dads?' - - 'dudes?' - - 'fathers?' - - 'females?' - - 'gentlem[ae]n' - - 'girls?' - - 'grandfathers?' - - 'grandmas?' - - 'grandmothers?' - - 'grandpas?' - - 'gran' - - 'grann(?:y|ies)' - - 'guys?' - - 'husbands?' - - 'lad(y|ies)?' - - 'm[ae]n' - - 'm[ou]ms?' - - 'males?' - - 'momm(?:y|ies)' - - 'mommas?' - - 'mothers?' - - 'papas?' - - 'sist(?:a|er)s?' - - 'wi(?:fe|ves)' - - 'wom[ae]n' - - he - - her - - him - - his - - she diff --git a/.vale/styles/Joblint/Hair.yml b/.vale/styles/Joblint/Hair.yml deleted file mode 100644 index 44cdad9..0000000 --- a/.vale/styles/Joblint/Hair.yml +++ /dev/null @@ -1,8 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "The use of '%s' indicates that you're only looking for male developers." -ignorecase: true -level: error -tokens: - - 'beard(?:ed|s|y)?' - - 'grizzl(?:ed|y)' diff --git a/.vale/styles/Joblint/LegacyTech.yml b/.vale/styles/Joblint/LegacyTech.yml deleted file mode 100644 index 9e2a368..0000000 --- a/.vale/styles/Joblint/LegacyTech.yml +++ /dev/null @@ -1,15 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "Legacy technologies can reduce the number of people interested in a job." -ignorecase: true -level: suggestion -tokens: - - 'cobol' - - 'cvs' - - 'front[ -]*page' - - 'rcs' - - 'sccs' - - 'source[ -]*safe' - - 'vb\\s*6' - - 'visual[ -]*basic\\s*6' - - 'vbscript' diff --git a/.vale/styles/Joblint/Meritocracy.yml b/.vale/styles/Joblint/Meritocracy.yml deleted file mode 100644 index ca4ecbd..0000000 --- a/.vale/styles/Joblint/Meritocracy.yml +++ /dev/null @@ -1,6 +0,0 @@ -extends: existence -message: "Reevaluate the use of '%s'" -ignorecase: true -level: suggestion -tokens: - - 'meritocra(?:cy|cies|tic)' diff --git a/.vale/styles/Joblint/Profanity.yml b/.vale/styles/Joblint/Profanity.yml deleted file mode 100644 index 7db0c1e..0000000 --- a/.vale/styles/Joblint/Profanity.yml +++ /dev/null @@ -1,13 +0,0 @@ -extends: existence -message: "Remove '%s'" -ignorecase: true -level: warning -tokens: - - 'bloody' - - 'bugger' - - 'cunt' - - 'damn' - - 'fuck(?:er|ing)?' - - 'piss(?:ing)?' - - 'shit' - - 'motherfuck(?:ers?|ing)' diff --git a/.vale/styles/Joblint/README.md b/.vale/styles/Joblint/README.md deleted file mode 100644 index 3352ff8..0000000 --- a/.vale/styles/Joblint/README.md +++ /dev/null @@ -1,25 +0,0 @@ -Based on [Joblint](https://github.com/rowanmanning/joblint). - -> Test tech job posts for issues with sexism, culture, expectations, and recruiter fails. - -``` -Copyright (c) 2015, Rowan Manning - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -``` diff --git a/.vale/styles/Joblint/Reassure.yml b/.vale/styles/Joblint/Reassure.yml deleted file mode 100644 index daa54e3..0000000 --- a/.vale/styles/Joblint/Reassure.yml +++ /dev/null @@ -1,8 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "Something feels off when you need to reassure someone of something that should definitely not be an issue in any workplace." -ignorecase: true -level: suggestion -tokens: - - 'drama[ -]*free' - - 'stress[ -]*free' diff --git a/.vale/styles/Joblint/Sexualised.yml b/.vale/styles/Joblint/Sexualised.yml deleted file mode 100644 index 3afec1b..0000000 --- a/.vale/styles/Joblint/Sexualised.yml +++ /dev/null @@ -1,10 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "Terms like '%s' are often used if the person writing a post doesn't know what they are talking about." -ignorecase: true -level: warning -tokens: - - gay for - - sexy - - hawt - - phat diff --git a/.vale/styles/Joblint/Starter.yml b/.vale/styles/Joblint/Starter.yml deleted file mode 100644 index 3303dec..0000000 --- a/.vale/styles/Joblint/Starter.yml +++ /dev/null @@ -1,9 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "Terms like '%s' and others can indicate that the person writing a job post is unaware of the time and effort involved in preparing a new starter for work." -ignorecase: true -level: suggestion -tokens: - - 'hit[ -]the[ -]ground[ -]running' - - 'juggle' - - 'tight deadlines?' diff --git a/.vale/styles/Joblint/TechTerms.yml b/.vale/styles/Joblint/TechTerms.yml deleted file mode 100644 index 1b267d8..0000000 --- a/.vale/styles/Joblint/TechTerms.yml +++ /dev/null @@ -1,9 +0,0 @@ -extends: substitution -message: Use '%s' instead of '%s' -ignorecase: true -level: error -action: - name: replace -swap: - 'java[ -]?scripts?': JavaScript - ruby on rail: Ruby on Rails diff --git a/.vale/styles/Joblint/Visionary.yml b/.vale/styles/Joblint/Visionary.yml deleted file mode 100644 index 1ddbc2a..0000000 --- a/.vale/styles/Joblint/Visionary.yml +++ /dev/null @@ -1,15 +0,0 @@ -extends: existence -message: "Avoid using '%s'" -description: "Terms like '%s' often indicate that a non technical person (perhaps a CEO or stakeholder) has been involved in writing the post." -ignorecase: true -level: warning -tokens: - - 'blue[ -]*sk(?:y|ies)' - - 'enlighten(?:ed|ing)?' - - 'green[ -]*fields?' - - 'incentivi[sz]e' - - 'paradigm' - - 'producti[sz]e' - - 'reach(?:ed|ing)? out' - - 'synerg(?:y|ize|ise)' - - 'visionar(?:y|ies)' diff --git a/.vale/styles/Joblint/meta.json b/.vale/styles/Joblint/meta.json deleted file mode 100644 index 6c00cb6..0000000 --- a/.vale/styles/Joblint/meta.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "feed": "https://github.com/errata-ai/Joblint/releases.atom", - "vale_version": ">=1.0.0" -} diff --git a/flake.nix b/flake.nix index ca9b3f0..ececfb5 100644 --- a/flake.nix +++ b/flake.nix @@ -180,70 +180,55 @@ help = "`home-manager switch` for asahi"; name = "switch-asahi"; command = "${pkgs.home-manager}/bin/home-manager switch --flake .#asahi"; - package = pkgs.home-manager; } { help = "`home-manager switch` for asahi with backup"; name = "switch-asahi-backup"; command = "${pkgs.home-manager}/bin/home-manager switch --flake .#asahi -b backup"; - package = pkgs.home-manager; } { help = "update dependencies"; name = "update"; command = "${pkgs.lix}/bin/nix flake update"; - package = pkgs.lix; } { help = "show home-manager documentation"; name = "man-home"; command = "${pkgs.man}/bin/man home-configuration.nix"; - package = pkgs.man; } { help = "generate Helix grammars"; name = "_helix-grammars"; command = "${pkgs.helix}/bin/hx --grammar fetch && hx --grammar build"; - package = pkgs.helix; } { help = "sync vale configuration"; name = "vale-sync"; command = "${pkgs.vale}/bin/vale sync"; - package = pkgs.vale; } { help = "generate age key"; name = "_age-generate-key"; command = "${pkgs.uutils-coreutils-noprefix}/bin/mkdir -p ~/.config/sops/age && ${pkgs.age}/bin/age-keygen -o ~/.config/sops/age/keys.txt && ${pkgs.uutils-coreutils-noprefix}/bin/cat ~/.config/sops/age/keys.txt"; - package = pkgs.age; } { help = "edit secrets.yaml"; name = "sops-edit"; command = "${pkgs.sops}/bin/sops edit ./home/secrets/secrets.yaml"; - package = pkgs.sops; } ]; packages = [ - # pkgs.age + pkgs.age pkgs.forgejo-cli pkgs.git - # pkgs.harper pkgs.helix - # pkgs.home-manager + pkgs.home-manager pkgs.jujutsu pkgs.lix - # pkgs.ltex-ls-plus pkgs.man - # pkgs.marksman - # pkgs.nil - # pkgs.sops - # pkgs.taplo + pkgs.sops pkgs.uutils-coreutils-noprefix - # pkgs.vale - # pkgs.vale-ls - # pkgs.yaml-language-server + pkgs.vale ]; devshell = { motd = ''