Repository navigation
Feat: Added Spell-Checker and fixed spellings #208
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
Open
GunterSchmidt
wants to merge
5
commits into
uutils:main
Choose a base branch
from
GunterSchmidt:add_cspell_project_dictionaries
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+969
−12
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
2646457
Feat: Added Spell-Checker and fixed spellings
1c0efe8
Merge branch 'uutils:main' into add_cspell_project_dictionaries
GunterSchmidt 99e8cb8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 541e733
added diffutilslib to wordlist, commented on clippy issue
c8fd560
Merge branch 'main' into add_cspell_project_dictionaries
GunterSchmidt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| // `cspell` settings | ||
| // spell-checker:ignore oranda | ||
| { | ||
| // version of the setting file | ||
| "version": "0.2", | ||
| // spelling language | ||
| "language": "en", | ||
| // custom dictionaries | ||
| "dictionaries": [ | ||
| "acronyms+names", | ||
| "jargon", | ||
| "people", | ||
| "shell", | ||
| "workspace" | ||
| ], | ||
| "dictionaryDefinitions": [ | ||
| { | ||
| "name": "acronyms+names", | ||
| "path": "./cspell.dictionaries/acronyms+names.wordlist.txt" | ||
| }, | ||
| { | ||
| "name": "jargon", | ||
| "path": "./cspell.dictionaries/jargon.wordlist.txt" | ||
| }, | ||
| { | ||
| "name": "people", | ||
| "path": "./cspell.dictionaries/people.wordlist.txt" | ||
| }, | ||
| { | ||
| "name": "shell", | ||
| "path": "./cspell.dictionaries/shell.wordlist.txt" | ||
| }, | ||
| { | ||
| "name": "workspace", | ||
| "path": "./cspell.dictionaries/workspace.wordlist.txt" | ||
| } | ||
| ], | ||
| // files to ignore (globs supported) | ||
| "ignorePaths": [ | ||
| ".git/**", | ||
| "Cargo.lock", | ||
| "oranda.json", | ||
| "target/**", | ||
| "tests/**/fixtures/**", | ||
| "src/uu/dd/test-resources/**", | ||
| "vendor/**", | ||
| "**/*.svg", | ||
| "src/uu/*/locales/*.ftl", | ||
| "src/uudiff/locales/*.ftl", | ||
| ".devcontainer/**", | ||
| "util/gnu-patches/**", | ||
| "docs/src/release-notes/**", | ||
| "src/uu/*/benches/*.rs", | ||
| "src/uudiff/src/lib/features/benchmark.rs", | ||
| "util/check-safe-traversal.sh", | ||
| ], | ||
| "enableGlobDot": true, | ||
| // words to ignore (even if they are in the flagWords) | ||
| "ignoreWords": [], | ||
| // words to always consider correct | ||
| "words": [] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| # * diffutils project | ||
|
|
||
|
|
||
| # *** the following part is a copy of coreutils *** | ||
| # * abbreviations / acronyms | ||
| aarch | ||
| AIX | ||
| ASLR # address space layout randomization | ||
| AST # abstract syntax tree | ||
| CATN # busybox cat -n feature flag | ||
| CATV # busybox cat -v feature flag | ||
| CICD # continuous integration/deployment | ||
| CPU | ||
| CPUs | ||
| DevOps | ||
| Ext3 | ||
| FIFO | ||
| FIFOs | ||
| flac | ||
| FQDN # fully qualified domain name | ||
| GID # group ID | ||
| GIDs | ||
| GNU | ||
| GNUEABI | ||
| GNUEABIhf | ||
| impls | ||
| JFS | ||
| loongarch | ||
| lzma | ||
| MSRV # minimum supported rust version | ||
| MSVC | ||
| NixOS | ||
| POSIX | ||
| POSIXLY | ||
| ReiserFS | ||
| RISC | ||
| RISCV | ||
| RNG # random number generator | ||
| RNGs | ||
| Solaris | ||
| TOCTOU # time-of-check time-of-use | ||
| UID # user ID | ||
| UIDs | ||
| UUID # universally unique identifier | ||
| WASI | ||
| WASM | ||
| XFS | ||
|
|
||
| # * names | ||
| BusyBox | ||
| BusyTest | ||
| Codacy | ||
| Cygwin | ||
| Deno | ||
| EditorConfig | ||
| EPEL | ||
| FreeBSD | ||
| genric | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is a typo, it should not be whitelisted |
||
| Gmail | ||
| Illumos | ||
| Irix | ||
| libfuzzer | ||
| MacOS | ||
| MinGW | ||
| Minix | ||
| MS-DOS | ||
| MSDOS | ||
| NetBSD | ||
| Novell | ||
| Nushell | ||
| OpenBSD | ||
| PowerPC | ||
| SELinux | ||
| SkyPack | ||
| SysV | ||
| Xenix | ||
| Yargs | ||
|
|
||
| # Product | ||
| codspeed | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,249 @@ | ||
| # * diffutils project | ||
|
|
||
|
|
||
| # *** the following part is a copy of coreutils *** | ||
| AFAICT | ||
| asimd | ||
| ASIMD | ||
| alloc | ||
| arity | ||
| autogenerate | ||
| autogenerated | ||
| autogenerates | ||
| bitmask | ||
| bitwise | ||
| bufferram | ||
| bytewise | ||
| canonicalization | ||
| canonicalize | ||
| canonicalizing | ||
| capget | ||
| codepoint | ||
| codepoints | ||
| codeready | ||
| codegen | ||
| colorizable | ||
| colorize | ||
| coprime | ||
| consts | ||
| conv | ||
| cyclomatic | ||
| dedup | ||
| deduplication | ||
| demangle | ||
| denoland | ||
| deque | ||
| dequeue | ||
| dev | ||
| EINTR | ||
| eintr | ||
| nextest | ||
| SIGUSR | ||
| nonprinting | ||
| multibyte | ||
| devs | ||
| discoverability | ||
| duplicative | ||
| dsync | ||
| endianness | ||
| enqueue | ||
| ERANGE | ||
| errored | ||
| executable | ||
| executables | ||
| exponentiate | ||
| eval | ||
| esac | ||
| falsey | ||
| fileio | ||
| filesystem | ||
| filesystems | ||
| flamegraph | ||
| footgun | ||
| freeram | ||
| fsxattr | ||
| fullblock | ||
| getfacl | ||
| getfattr | ||
| getopt | ||
| gibi | ||
| gibibytes | ||
| glob | ||
| globbing | ||
| hardcode | ||
| hardcoded | ||
| hardcoding | ||
| hardfloat | ||
| hardlink | ||
| hardlinks | ||
| hasher | ||
| hwcaps | ||
| infile | ||
| iflag | ||
| iflags | ||
| kibi | ||
| kibibytes | ||
| langinfo | ||
| libacl | ||
| lcase | ||
| listxattr | ||
| llistxattr | ||
| lossily | ||
| lstat | ||
| makedev | ||
| mebi | ||
| mebibytes | ||
| mergeable | ||
| microbenchmark | ||
| microbenchmarks | ||
| microbenchmarking | ||
| monomorphized | ||
| multibyte | ||
| multicall | ||
| nmerge | ||
| noatime | ||
| nocache | ||
| nocreat | ||
| noctty | ||
| noerror | ||
| noexec | ||
| nofollow | ||
| nolinks | ||
| nonblock | ||
| nonportable | ||
| nonprinting | ||
| nonrepeating | ||
| nonseekable | ||
| notrunc | ||
| nowrite | ||
| noxfer | ||
| ofile | ||
| oflag | ||
| oflags | ||
| openat | ||
| pdeathsig | ||
| peekable | ||
| performant | ||
| prctl | ||
| precompiled | ||
| precompute | ||
| preload | ||
| prepend | ||
| prepended | ||
| primality | ||
| pseudoprime | ||
| pseudoprimes | ||
| quantiles | ||
| readonly | ||
| ROOTFS | ||
| reparse | ||
| rposition | ||
| seedable | ||
| semver | ||
| semiprime | ||
| semiprimes | ||
| setcap | ||
| setfacl | ||
| setfattr | ||
| SETFL | ||
| setlocale | ||
| shortcode | ||
| shortcodes | ||
| setpgid | ||
| sigaction | ||
| CHLD | ||
| chld | ||
| SIGCHLD | ||
| sigchld | ||
| siginfo | ||
| SIGTTIN | ||
| sigttin | ||
| SIGTTOU | ||
| sigttou | ||
| sigusr | ||
| strcasecmp | ||
| subcommand | ||
| subexpression | ||
| submodule | ||
| sync | ||
| symlink | ||
| symlinks | ||
| syscall | ||
| syscalls | ||
| sysconf | ||
| tokenize | ||
| toolchain | ||
| totalram | ||
| truthy | ||
| tunables | ||
| TUNABLES | ||
| ucase | ||
| unbuffered | ||
| udeps | ||
| unescape | ||
| unintuitive | ||
| unprefixed | ||
| unportable | ||
| unsync | ||
| urand | ||
| whitespace | ||
| wordlist | ||
| wordlists | ||
| xattrs | ||
| xpass | ||
|
|
||
| # * abbreviations | ||
| AMPM | ||
| ampm | ||
| consts | ||
| deps | ||
| dev | ||
| fdlimit | ||
| inacc | ||
| maint | ||
| proc | ||
| procs | ||
| TOCTOU | ||
|
|
||
| # * constants | ||
| xffff | ||
|
|
||
| # * variables | ||
| delim | ||
| errno | ||
| progname | ||
| retval | ||
| subdir | ||
| val | ||
| vals | ||
| inval | ||
| nofield | ||
|
|
||
| # * clippy | ||
| uninlined | ||
| nonminimal | ||
| rposition | ||
|
|
||
| # * CPU/hardware features | ||
| ASIMD | ||
| asimd | ||
| hwcaps | ||
| PCLMUL | ||
| pclmul | ||
| PCLMULQDQ | ||
| pclmulqdq | ||
| PMULL | ||
| pmull | ||
| TUNABLES | ||
| tunables | ||
| VMULL | ||
| vmull | ||
| ENOTSUP | ||
| enotsup | ||
| SETFL | ||
| tmpfs | ||
|
|
||
| Hijri | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here, Hijri/Nowruz have nothing to do with diffutils :) |
||
| Nowruz | ||
| charmap | ||
| hijri | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most of these paths don't exist in diffutils (src/uu/dd, gnu-patches, release-notes, check-safe-traversal.sh...)
could you please only keep what is relevant here?