Skip to content

Commit

Permalink
Add the spellr gem for automatic spell-checking
Browse files Browse the repository at this point in the history
the default wordlist may need expanding when doing rails new
  • Loading branch information
robotdana committed Jul 18, 2022
1 parent df7f46e commit 5180e2c
Show file tree
Hide file tree
Showing 12 changed files with 397 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .spellr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
excludes:
- yarn.lock
- .auditapprc.json
# add other excluded files in gitignore format
languages:
english:
locale: [US, AU]
# use language specific dictionaries for additional files
# ruby:
# includes:
# - in/gitignore-ish/format
369 changes: 369 additions & 0 deletions .spellr_wordlists/english.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,369 @@
aaaabbbbccccdddd
aabbcc
accessors
ackama
actioncable
activestorage
adduser
ajv
amazonaws
ansi
argparse
args
arial
arity
arrayish
arrify
ast
async
auditapprc
authenticable
authenticatable
autobuild
autocorrections
autoformat
autogenerated
autoprefixer
autoremove
axobject
backend
backtraces
basicdemo
baz
bbatsov
bcrypt
berksfile
binstub
binstubs
bip
bitbucket
bom
bootsnap
bootstrapdemo
brictson
browserslist
browserslistrc
bson
buildscript
byebug
callsites
camelcase
caniuse
capfile
casecmp
ccount
cdn
charset
checkin
chown
chromedriver
cli
cliui
cloudflare
cloudwatch
cmd
codeql
coffeelint
colorette
commonjs
comms
concat
config
configs
const
corejs
cosmiconfig
cov
cpp
cron
csharp
csp
csrf
cssesc
damerau
dasherize
decamelize
defs
deliv
destructuring
devisedemo
direnv
dirname
dockerfile
dockerignore
doctype
domelementtype
domhandler
domutils
dotenv
downcased
dropdown
dropdowns
dsn
editorconfig
encryptable
encryptor
env
envify
envrc
envs
eom
eot
erb
eslint
eslintcache
eslintfix
eslintrc
espree
esprima
esquery
esrecurse
estraverse
esutils
evt
excludesfile
execall
extglob
fastq
fcontext
fdescribe
fixme
flatmap
flexbugs
fromentries
frontend
fullwidth
func
funcs
gcs
gecos
gemfile
gensync
github
gitignore
globals
globjoin
gsub
guardfile
healthcheck
healthchecks
hmr
hostname
hotwire
htmlparser
https
hyphenatedbem
ico
idstepsrun
imagemagick
inflight
ini
inlined
interop
iphone
isarray
isexe
isready
javascript
javascripts
joshmcarthur
jpg
jsdom
jsesc
jshint
jslint
json
jsonapi
jsonify
jsx
keyfile
kredis
levenshtein
levn
libpq
linting
localhost
lockfile
lodash
logfiles
loggly
lograge
lru
lts
matchall
mathml
mattbrictson
maxage
mdast
memoized
micromatch
middleware
minimatch
mins
misconfiguration
mixins
mjs
mkdir
mkdirp
mongoid
mydemoapp
navbar
newline
newlines
nginx
nocov
nodejs
nodelib
noninfringement
npm
npx
nullish
num
offcanvas
okcomputer
omni
omniauth
omniauthable
opsworks
optionator
orm
otf
otherise
otp
packagejson
papertrail
passw
performant
pgdata
pghost
pgpassword
pguser
picomatch
pidfile
pids
pify
pii
plpgsql
png
popperjs
postcss
postgres
postgresql
ppa
precompilation
precompile
precompiled
precompiling
prettierignore
procfile
punycode
rabidtech
railsrc
railties
rakefile
raygun
reactdemo
readline
readme
realpath
reconfirmable
redent
regexp
regexpp
resque
reusify
rimraf
rspec
rubo
rubocop
sasslint
scandir
scss
sdk
semver
sendfile
serializer
sidekiq
sidekiqdemo
sidekiqmon
simplecov
skipsdemo
slint
smtp
spdx
sprintf
src
ssl
ssn
stdin
stdlib
stdout
stringify
stylelint
stylelintignore
stylelintrc
stylesheet
stylesheets
subtag
sudo
svg
swp
tcp
tempdir
tempfiles
tful
timeoutable
titleize
tls
tmp
todo
tooltips
trimend
trimstart
tsbuildinfo
tsc
tsconfig
tsx
ttf
tty
turbolinks
txt
typecheck
typechecking
typedarray
typescriptdemo
ujs
uncomment
uncommented
unencrypted
unherit
uniq
unist
unpatchable
usr
utf
util
utils
validatable
validator
vendored
vfc
vfile
viewport
vscode
wcag
webdriver
webdrivers
webpack
webpacker
websocket
websockets
wget
woff
wrappy
wss
xhr
xtend
yaml
yargs
yml
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable
# We also clean out system files we don't need to reduce image size:
# * /usr/share/man - manual pages
# * /usr/share/locales - we don't need to support multiple languages at the OS level
# * /var/cache/apt/arhives - we don't need to hold onto deb packages once they're installed
# * /var/cache/apt/archives - we don't need to hold onto deb packages once they're installed
RUN apt-get update -qq &&\
apt-get upgrade -y &&\
apt-get install -y google-chrome-stable libpq-dev nodejs --no-install-recommends &&\
Expand Down
1 change: 1 addition & 0 deletions Gemfile.tt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ group :development do
gem "rubocop-rails", require: false
gem "rubocop-rspec", require: false
gem "overcommit", require: false
gem "spellr", require: false
end

group :development, :test do
Expand Down
Loading

0 comments on commit 5180e2c

Please sign in to comment.