Skip to content

Commit

Permalink
add spell checking action
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jan 22, 2024
1 parent d791c73 commit a8f45ba
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: spellcheck
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master

jobs:
check-spelling:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check Spelling
uses: rojopolis/[email protected]
with:
config_path: .spellcheck.yml
task_name: Markdown
55 changes: 55 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
Acknowledgement
andy
backends
bjd
bjdata
BJData
bool
BSON
CBOR
ce
delim
ECMA
Endian
Endianness
fe
findable
github
googlegroups
imagedata
International
interoperable
Javascript
jdata
JData
json
JSON
Kalla
len
MarkDown
md
MessagePack
NaN
Ndim
neurojson
NeuroJSON
noop
num
nx
Nx
Ny
Nz
OpenJData
passcode
pre
Qianqian
Riyad
rolecode
SHTFTN
sizeof
UBJSON
UBJSON's
uint
UiuImLMLhdDC
UTF
whitespaces
4 changes: 2 additions & 2 deletions Binary_JData_Specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ integers are written in Big-Endian order).

#### Float
All float types (`half`, `single`, `double` are written in **Little-Endian order**
(this is different from UBJSON which does not specify the endianness of floats).
(this is different from UBJSON which does not specify the Endianness of floats).

- `float16` or half-precision values are written in [IEEE 754 half precision floating point
format](https://en.wikipedia.org/wiki/IEEE_754-2008_revision), which has the following
Expand Down Expand Up @@ -462,7 +462,7 @@ are qualified. All zero-length types (`T,F,Z,N`), variable-length types(`S, H`)
and container types (`[,{`) shall not be used in an optimized _type_ header.
This restriction is set to reduce the security risks due to potentials of
buffer-overflow attacks using [zero-length markers](https://github.com/nlohmann/json/issues/2793),
hampered readability and dimished benefit using variable/container
hampered readability and diminished benefit using variable/container
types in an optimized format.

The requirements for _type_ are
Expand Down

0 comments on commit a8f45ba

Please sign in to comment.