Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Vale spellchecker on YAML files. #680

Merged
merged 4 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
221 changes: 2 additions & 219 deletions .cspell
Original file line number Diff line number Diff line change
@@ -1,227 +1,10 @@
aarch
actiongroup
actiongroups
aggregatable
aoss
APIV
argjson
asciifolding
authc
authinfo
authtoken
autocut
autofollow
backendroles
backpressure
beider
Bobg
Boundsdouble
boxplot
Boxplot
caverphone
CBOR
charfilters
chisquared
chuhlomin
cpuacct
cuserr
daitch
dangoslen
dashboardsinfo
datarows
decompounder
Decompounder
dedup
deprovision
determinized
distilbert
DNFOF
docvalue
Downsample
downsampling
Downsampling
cbor
evals
ewma
Ewma
faiss
fielddata
Fielddata
forcemerge
Formattable
fragmenter
Fragmenter
freqs
generateonbehalfoftoken
geodistance
geohash
geohex
Geohex
geoip
geopoint
geoshape
geospatial
geotile
gsub
Gsub
haasephonetik
hashcode
heteroscedastic
hnsw
homoscedastic
hotthreads
huggingface
hybridfs
ignorecase
integ
internalusers
Intertransport
ipam
Jelinek
kibanainfo
kibanaserver
koelnerphonetik
kstem
kuromoji
Kuromoji
languageset
latlon
Léon
localstats
Lovins
lucene
Lucene
lycheeverse
marvinpinto
memlock
metaphone
mget
millis
Millis
mlockall
mmap
mmapfs
mmdb
mokotoff
Moneyball
msearch
msmarco
mtermvectors
mult
Multisearch
multitenancy
mxyz
nanos
Nanos
nbest
nfkc
ngram
nguyenvukhang
niofs
nmslib
nodeattrs
nodesdn
nonword
noops
nori
Nori
nysiis
ONNX
opendistro
opensearch
OPENSEARCH
opensearchproject
opensearchstaging
ords
OSCPU
oversample
Oversample
performanceanalyzer
permissionsinfo
pipefail
pipenv
preconfigure
preconfigured
prefilter
pretrain
pretrained
prirep
rawfile
readingform
rebalance
Rebalance
recoverysource
Refn
reindex
Reindex
relo
reloadcerts
remotestore
reprovision
rerank
Rerank
Reranker
rethrottle
Rethrottle
rolesmapping
Rolespan
rollup
Rollup
rollups
Rollups
romaji
roundtrips
Rudnick
ruleset
scriptless
securityconfig
signoff
slowlog
Slowlog
slurpfile
smartcn
Smartcn
snapshotted
softmax
softprops
Sorani
sslinfo
stoptags
stopwords
Stringifiedboolean
Stringifiedinteger
subqueries
subschemas
subword
syserr
tcnative
tdigest
tenantinfo
termvectors
tfidf
Tfidf
thomaseizinger
Tika
timeframe
tlbr
tokenfilters
translog
Translog
trbl
truststore
tubone
ulimits
Undeploys
unigrams
Unmanaged
unmatch
untriaged
updateable
upsert
urldecode
vectory
whoamiprotected
wordnet
yber
Yrtsd
جامد
جامدات
OPENSEARCH
2 changes: 1 addition & 1 deletion .vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ StylesPath = ".github/vale/styles"
Vocab = "OpenSearch"
MinAlertLevel = warning

[*]
[*.{yaml,yml}]
BasedOnStyles = Vale, OpenSearch

Vale.Spelling = NO
Expand Down
4 changes: 1 addition & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,14 @@ export default [
parser: parserYml
},
plugins: {
'yml': pluginYml,
'@cspell': pluginCspell
'yml': pluginYml
},
rules: {
'yml/no-empty-document': 'off',
'yml/quotes': ['error', { prefer: 'single', avoidEscape: true }],
'yml/plain-scalar': ['error', 'always'],
'yml/no-trailing-zeros': 'error',
'yml/no-multiple-empty-lines': 'error',
'@cspell/spellchecker': ['error', { customWordListFile: '.cspell', autoFix: true }],
'yml/sort-sequence-values': ['error', { pathPattern: '.*', order: { type: 'asc' } }]
}
}
Expand Down
Loading
Loading