diff options
author | Kenny Ballou <kballou@devnulllabs.io> | 2021-02-08 11:49:22 -0700 |
---|---|---|
committer | Kenny Ballou <kballou@devnulllabs.io> | 2021-02-09 11:39:57 -0700 |
commit | 1fa8e5eb8778924c90d5eb46b2ea581a2b696023 (patch) | |
tree | c2952558048933ee41f5143803f710b6a79407de | |
parent | fca5913bff7d0f08fdf7637b6779d74f86daf6c4 (diff) | |
download | dotfiles-1fa8e5eb8778924c90d5eb46b2ea581a2b696023.tar.gz dotfiles-1fa8e5eb8778924c90d5eb46b2ea581a2b696023.tar.xz |
configure proselint
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
-rw-r--r-- | config/proselint/config.json | 85 | ||||
-rw-r--r-- | config/proselint/default.nix | 4 | ||||
-rw-r--r-- | packages.nix | 1 |
3 files changed, 90 insertions, 0 deletions
diff --git a/config/proselint/config.json b/config/proselint/config.json new file mode 100644 index 00000000..09c53dfa --- /dev/null +++ b/config/proselint/config.json @@ -0,0 +1,85 @@ +{ + "max_errors": 200, + "checks": { + "airlinese.misc" : false, + "annotations.misc" : true, + "archaism.misc" : true, + "cliches.hell" : true, + "cliches.misc" : true, + "consistency.spacing" : true, + "consistency.spelling" : true, + "corporate_speak.misc" : true, + "cursing.filth" : true, + "cursing.nfl" : true, + "cursing.nword" : true, + "dates_times.am_pm" : true, + "dates_times.dates" : true, + "hedging.misc" : true, + "hyperbole.misc" : true, + "jargon.misc" : true, + "lexical_illusions.misc" : true, + "lgbtq.offensive_terms" : true, + "lgbtq.terms" : true, + "links.broken" : true, + "malapropisms.misc" : true, + "misc.apologizing" : true, + "misc.back_formations" : true, + "misc.bureaucratese" : true, + "misc.but" : true, + "misc.capitalization" : true, + "misc.chatspeak" : true, + "misc.commercialese" : true, + "misc.composition" : true, + "misc.currency" : false, + "misc.debased" : true, + "misc.false_plurals" : true, + "misc.illogic" : true, + "misc.inferior_superior" : true, + "misc.institution_name" : true, + "misc.latin" : true, + "misc.many_a" : true, + "misc.metaconcepts" : true, + "misc.metadiscourse" : true, + "misc.narcissism" : true, + "misc.not_guilty" : true, + "misc.phrasal_adjectives" : true, + "misc.preferred_forms" : true, + "misc.pretension" : true, + "misc.professions" : true, + "misc.punctuation" : true, + "misc.scare_quotes" : true, + "misc.suddenly" : true, + "misc.tense_present" : true, + "misc.waxed" : true, + "misc.whence" : true, + "mixed_metaphors.misc" : true, + "mondegreens.misc" : true, + "needless_variants.misc" : true, + "nonwords.misc" : true, + "oxymorons.misc" : true, + "psychology.misc" : true, + "redundancy.misc" : true, + "redundancy.ras_syndrome" : true, + "skunked_terms.misc" : true, + "spelling.able_atable" : true, + "spelling.able_ible" : true, + "spelling.athletes" : false, + "spelling.em_im_en_in" : true, + "spelling.er_or" : true, + "spelling.in_un" : true, + "spelling.misc" : true, + "security.credit_card" : true, + "security.password" : true, + "sexism.misc" : true, + "terms.animal_adjectives" : true, + "terms.denizen_labels" : true, + "terms.eponymous_adjectives" : true, + "terms.venery" : true, + "typography.diacritical_marks" : true, + "typography.exclamation" : true, + "typography.symbols" : false, + "uncomparables.misc" : true, + "weasel_words.misc" : true, + "weasel_words.very" : true + } +} diff --git a/config/proselint/default.nix b/config/proselint/default.nix new file mode 100644 index 00000000..14459110 --- /dev/null +++ b/config/proselint/default.nix @@ -0,0 +1,4 @@ +{ ... }: +{ + xdg.configFile."proselint/config".source = ./config.json; +} diff --git a/packages.nix b/packages.nix index df6ed7a7..4718a940 100644 --- a/packages.nix +++ b/packages.nix @@ -99,6 +99,7 @@ with pkgs; [ pidgin-with-plugins plantuml poppler_utils + proselint pv pwgen python-environment |