1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 05:18:28 -04:00

pre-commit linting with husky and lint-staged, and spellcheck lint

[skip ci]
This commit is contained in:
Jake Jarvis 2020-02-04 15:34:41 -05:00
parent 76e98ae367
commit 21871f21ec
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
7 changed files with 1882 additions and 38 deletions

View File

@ -14,5 +14,6 @@
"no-multiple-blanks": false,
"no-trailing-punctuation": false,
"single-h1": false,
"whitespace": false
"whitespace": false,
"emphasis-style": { "style": "consistent" }
}

351
.spelling Normal file
View File

@ -0,0 +1,351 @@
# markdown-spellcheck spelling configuration file
# Format - lines beginning # are comments
# global dictionary is at the start, file overrides afterwards
# one word per line, to define a file override use ' - filename'
# where filename is relative to this configuration file
e.g.
masse
NationBuilder
VoteBuilder
gamified
bundler
Wix
tl
Archive.is
Archive.today
TLDs
Cloudflare's
Cloudflare
archive.is
subnet
nameservers
hissy
geolocation
archiver
v4
v6
IPs
cron
crontab.guru
IPv6
IPv4
dotfiles
simpip
unhide
rehide
macOS
Homebrew
repo
un-quarantine
sudo
GIFs
jQuery
emojis
CodePen
Emojipedia
toodles
Combinator
Chromebook
Chromebooks
symlinking
Dunham
MacBook
iCloud
Backblaze
subdomain
jarv.is
HackerOne
Bugcrowd
pentesters
Patrik
Hudak
subdomains
CloudFront
Heroku
Fastly
Pantheon.io
Shopify
Tumblr
Rapid7
datasets
dataset
CNAMEs
timestamp
filename
readme
xxxx
aaa.trafficmanager.net
yyyy
bbb.trafficmanager.net
zzzz
ccc.trafficmanager.net
http
poc-d4ca9e8ceb
html
CAs
penetrators
10s
2m
CircleCI
DigitalOcean
Linode
Vultr
VPSes
Restic
natively
cloud-pocalypse
writeups
32-bit
walkthrough
32-character
dotfile
ing
GitLab
Bitbucket
DevOps
VMware
resize
VMs
greyed-out
open-vm-tools
vmwarevm
disk.vmdk
vmware-vdiskmanager
defragment
defragmenting
defragmentation
24-year-old
ReleaseTheTranscripts
Maher
Geocities
FrontPage
Macromedia
Wayback
infosec
Belachew
Girma
delete_reply_submit.php
login_submit.php
pm_view.php
BBCode
functions.php
plaintext
register_submit.php
sql_submit.php
index.php
Netlify
analytics
quo
Matomo
nytimes.com
Biilmann
netizen
anonymized
AdBlock
adblock-immunity
NoScript
WordPress
Reddit
Googlebot
Bingbot
overinflating
backfilled
ggas
M.O.
eenee-meene-minie-moe
Diddy
Kanye
Lil
worshipped
CDs
pre-existing
Mathers
Seomin
20-year-old
Tegan
PDs
N.O.R.E.
Nicki
Minaj
23-year-old
Pitchfork.com
Fonzworth
Tripp
jeggings
Berlinger
Waynes_Jeggings
21-year-old
Miley
Wonton
Coachella
Talib
Kweli
fuckin
influencers
McKinnon's
McWarren
Beto
90s
Buttigeg
Bitmoji
Klobuchar
Drupal
_
Julián
Messam
Tulsi
Gabbard
Sestak
nginx
Helme
Report-URI
Shodan
facepalm-inducing
telcos
PowerPack
PlantVisor
Nordex
GaugeTech
MongoDB
phpMyAdmin
APIs
Lantronix
Citrix
Polycom
Bomgar
iLO
Lync
Iomega
LenovoEMC
TeraStation
Logitech
Plex
Tautulli
PlexPy
Yawcams
webcamXP
webcam7
HomePods
Chromecasts
Crestron
OctoPrint
Etherium
Minecraft
WarnerMedia
Laporte
G4techTV
mid-2018
i9
Radeon
Evutec
Karbon
38mm
Powerbeats
AirPods
iTerm
zsh-autosuggestions
zsh-syntax-highlighting
EditorConfig
IntelliCode
Xcode
re-evaulate
3x
BrowserStack
TablePlus
Robo
ImageOptim
add-ons
1Password
BetterTTV
whois
Decentraleyes
Mailvelope
OctoLinker
uBlock
Wappalyzer
dev
Unshaky
DaisyDisk
CleanMyMac
Unarchiver
iStat
Beamer
GeForce
iOS
Waze
Xfinity
SiriusXM
Wunderlist
Reeder
Gmail
Fastmail
Sonarr
Radarr
Synology
RT2600ac
DiskStation
Inspiron
ESXi
2x
Sonos
Alexa
Petcube
frontend
Vue
backends
backend
LinkedIn
- content/notes/presidential-candidates-404-pages/index.md
elizabethwarren.com
berniesanders.com
zxcliaosid
joebiden.com
biden
betoorourke.com
orourke
kamalaharris.org
harris
kamalaharris.com
alskdjf
peteforamerica.com
buttigeg
corybooker.com
booker
yang2020.com
alsdjfzoif
amyklobuchar.com
klobuchar
stevebullock.com
michaelbennet.com
johndelaney.com
delaney
marianne2020.com
williamson
donaldjtrump.com
julianforthefuture.com
castro
wayneforusa.com
messam
tulsi2020.com
gabbard
joesestak.com
sestak
- content/notes/shodan-search-queries/index.md
CVE-2017-5689
CVE-2017-12542
network-attached-storage-nas
- content/uses/index.md
macos
Toooo
lzy
vist
Aple
Stre
geeniusses
oonce
agin
fiix
ios
- content/_index.html
x1F44B
x1F4DD

View File

@ -8,7 +8,7 @@ Personal website of [@jakejarvis](https://github.com/jakejarvis), created and de
- [Hugo extended](https://github.com/gohugoio/hugo)
- [Netlify](https://www.netlify.com/)
- [Commento](https://gitlab.com/commento/commento)
- [Simple Analytics](https://simpleanalytics.com/) ([referral link](https://referral.simpleanalytics.com/jake-jarvis))
- [Simple Analytics](https://referral.simpleanalytics.com/jake-jarvis) (referral link)
- [...and much more.](https://jarv.is/uses/)
I keep an ongoing list of [blog post ideas](https://github.com/jakejarvis/jarv.is/issues/1) and [coding to-dos](https://github.com/jakejarvis/jarv.is/issues/11) as issues in this repo.

View File

@ -108,7 +108,7 @@ export RESTIC_PASSWORD="passw0rd123-just-kidding"
```
## 3. Initialize the backup respository
## 3. Initialize the backup repository
Now we're ready to have Restic initialize the repository. This saves a `config` file in your S3 bucket and starts the encryption process right off the bat. You only need to run this once.

View File

@ -83,7 +83,7 @@ layout: etc
## 🌎  Browsing {#browsing}
- [**Firefox Developer Editon**](https://www.mozilla.org/en-US/firefox/developer/) 🦊
- [**Firefox Developer Edition**](https://www.mozilla.org/en-US/firefox/developer/) 🦊
- [My default `user.js` settings.](https://github.com/jakejarvis/dotfiles/blob/master/firefox/user.js)
- Add-ons:
- [1Password](https://1password.com/browsers/firefox/)
@ -174,7 +174,7 @@ I've been making recent efforts to [de-Google](https://www.reddit.com/r/degoogle
- [**Synology RT2600ac**](https://www.synology.com/en-us/products/RT2600ac)
- [**Synology DiskStation DS218+**](https://www.synology.com/en-us/products/DS218+)
- [**Dell Inspiron 3647**](https://www.cnet.com/products/dell-inspiron-3647-desktop-computer-fddonp321s/) running [**VMware ESXi**](https://www.vmware.com/products/esxi-and-esx.html) as a really, _really_ crappy home server.
- [**Dell Inspiron 3647**](https://www.cnet.com/products/dell-inspiron-3647-desktop-computer-fddonp321s/) running [**VMware ESXi**](https://www.vmware.com/products/esxi-and-esx.html) as a really, *really* crappy home server.
- [**Philips Hue**](https://www2.meethue.com/en-us) — color bulbs, dimmer switches, etc.
- 2x [**Sonos One**](https://www.sonos.com/en-us/shop/one.html) (with Alexa turned off...allegedly.)
- [**Petcube Play**](https://petcube.com/play/) 😻

View File

@ -23,20 +23,24 @@
"optimize": "run-s optimize:**",
"optimize:html": "html-minifier --html5 --collapse-whitespace --collapse-boolean-attributes --preserve-line-breaks --minify-css --file-ext html --input-dir public --output-dir public **/*.html",
"optimize:img": "find public/ -type d | xargs -n1 -P8 -I{} imagemin {}/* --plugin=jpegoptim --plugin.jpegoptim.progressive --plugin.jpegoptim.stripAll --plugin=pngquant --plugin.pngquant.speed=5 --plugin.pngquant.strip --plugin=optipng --plugin.optipng.optimizationLevel=2 --plugin=svgo --plugin=gifsicle --out-dir={}",
"lint": "run-p lint:**",
"lint:markdown": "markdownlint content/**/*.md",
"lint": "run-s lint:**",
"lint:sass": "stylelint assets/sass/**/* --syntax scss",
"lint:links": "linkinator http://localhost:1313/ --recurse --silent --skip https://www.shodan.io/ --skip https://images.shodan.io/ --skip https://archive.today/ --skip https://archive.is/ --skip https://www.linkedin.com/ --skip http://localhost:1313/y2k/ --skip 'asdfasdf404/?$'",
"lint:markdown": "markdownlint --rules markdownlint-rule-emphasis-style content/**/*.md",
"lint:spellcheck": "mdspell --en-us --ignore-numbers --ignore-acronyms --report content/**/*.md content/notes/**/*.md content/_index.html",
"lint:alex": "alex content/ -q",
"debug:hugo": "hugo version && hugo env",
"debug:size": "get-folder-size --folder=public"
},
"dependencies": {},
"devDependencies": {
"alex": "^8.1.1",
"autoprefixer": "^9.7.4",
"cross-env": "^7.0.0",
"get-folder-size": "^2.0.1",
"html-minifier": "^4.0.0",
"hugo-extended": "git+https://github.com/jakejarvis/hugo-extended.git#f6b20c2deeabdc9d45f49ee9cfa3f8d7c704737a",
"husky": "^4.2.1",
"imagemin-cli": "^5.1.0",
"imagemin-gifsicle": "^7.0.0",
"imagemin-jpegoptim": "^6.0.0",
@ -45,7 +49,10 @@
"imagemin-pngquant": "^8.0.0",
"imagemin-svgo": "^7.0.0",
"linkinator": "^1.8.2",
"lint-staged": "^10.0.7",
"markdown-spellcheck": "^1.3.1",
"markdownlint-cli": "~0.21.0",
"markdownlint-rule-emphasis-style": "^1.0.1",
"npm-run-all": "^4.1.5",
"postcss-clean": "^1.1.0",
"postcss-cli": "^7.1.0",
@ -55,6 +62,19 @@
"stylelint-config-sass-guidelines": "~7.0.0",
"stylelint-scss": "~3.14.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.scss": [
"yarn lint:sass"
],
"*.md": [
"yarn lint:markdown"
]
},
"engines": {
"node": ">=12.13.0",
"npm": "^6.13.0",

1534
yarn.lock

File diff suppressed because it is too large Load Diff