Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

chore: add cargo spellcheck configuration and custom topic specifc dictionary #1841

Merged
merged 4 commits into from
Oct 23, 2020
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
88 changes: 88 additions & 0 deletions .config/lingua.dic
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
90
annualised/MS
Apache-2.0/M
api/SM
API/SM
APIs
async
BFT/M
bitfield/MS
blake2/MS
blockchain/MS
borked
BTC/S
CLI/MS
config/MS
crypto/MS
customizable/B
debian/M
decodable/MS
DOT/S
ed25519
enum/MS
ERC-20
ethereum/MS
externality/MS
extrinsic/MS
extrinsics
fedora/M
GiB/S
GPL/M
GPLv3/M
Handler/MS
https
inherent/MS
initialize/RG
instantiate/B
intrinsic/MS
intrinsics
io
js
keccak256/M
KSM/S
kusama/S
KYC/M
merkle/MS
misbehavior/SM
misbehaviors
MIT/M
multivalidator/SM
oneshot/MS
others'
parablock/MS
parachain/MS
parameterize/D
polkadot/MS
pov-block/MS
PoV/MS
promethius
promethius'
provisioner/MS
redhat/M
repo/MS
RPC/MS
runtime/MS
rustc/MS
sr25519
struct/MS
subsystem/MS
subsystems'
taskmanager/MS
teleport/RG
teleportation/SM
teleporter/SM
teleporters
testnet/MS
trie/MS
trustless/Y
ubuntu/M
union/MSG
unservable/B
validator/SM
w3f/MS
wasm/M
WND/S
XCM/S
XCMP/M
include/BG
isolate/BG
12 changes: 12 additions & 0 deletions .config/spellcheck.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[hunspell]
lang = "en_US"
search_dirs = ["."]
extra_dictionaries = ["lingua.dic"]

[hunspell.quirks]
# `Type`'s
# 5x
# He tagged it as 'TheGreatestOfAllTimes'
transform_regex = ["^'([^\\s])'$", "^[0-9]+(?:\\.[0-9]*)?x$", "^'s$", "^\\+$"]
allow_concatenation = true
allow_dashes = true