Skip to content

Commit

Permalink
splits industry vocab into ignore and accept files to cut down on fal…
Browse files Browse the repository at this point in the history
…se positives and double flagging, adds words to swap (#16)
  • Loading branch information
dawnkelly09 authored Sep 20, 2024
1 parent 8a5b878 commit e4bcf21
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .github/styles/Papermoon/CustomDictionary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ ignore:
# Reference file location relative to styles/config/ignore directory
# custom dictionary of cyrpto brands and token names/symbols
- brand-token-ignore.txt
# case insensitive list of polkadot related words
- polkadot-ignore.txt


4 changes: 3 additions & 1 deletion .github/styles/Papermoon/WordSwapList.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ swap:
in order to: to
Nginx: nginx|NGINX
open-source: open source
OpenGov: Polkadot OpenGov
"(?:Polkadot JS|Polkadot.Js|Polkadot.JS)": Polkadot.js
"(?:PolkadotSDK|Polkadot-SDK|Polkadot sdk)": Polkadot SDK
"(?:repo|repos)": repository|repositories
rpc: RPC
stylesheet: style sheet
tablename: table name
url: URL
vs\.: versus
whitelist: allowlist
wasm: Wasm
"(?:wasm|WASM|WebAssembly)": Wasm


32 changes: 32 additions & 0 deletions .github/styles/config/ignore/industry-ignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
application
blockchain
blockchains
burnable
certhash
codec
daemon
daemonless
enum
href
keystore
keystores
mintable
multisig
namespace
namespaces
npm
npx
offboarded
offboarding
offchain
onboarded
onboarding
picosecond
snake_case
subcommand
subkeys
toolchain
tooltip
trie
validator
validators
8 changes: 0 additions & 8 deletions .github/styles/config/vocabularies/Industry/accept.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
API
application
[Bb]lockchain
[Bb]lockchains
burnable
certhash
CronJobs
daemon
daemonless
[Dd]App
enum
ERC-\d+
Etherscan
EVM
Expand Down

0 comments on commit e4bcf21

Please sign in to comment.