axonweb3 / axon

Axon is a Layer 2 framework of CKB with native cross-chain and interoperability.
https://axonweb3.io
MIT License
65 stars 39 forks source link

:coffin: Welcome to attend the funeral of a friend :clown_face: of us. #1600

Open yangby-cryptape opened 10 months ago

yangby-cryptape commented 10 months ago

[!NOTE]

Coding is hard, let's make some fun. Take it easy, don't be serious.

Sensational headlines and funny stories would attract more readers.

Opening

Ladies and gentlemen, we are here to attend the funeral of a friend of us. I'm sad to announce the death of him here, today.

When I found his body, he had been dead for a long time. He was born to be expected to be hero :superhero:, but died like a :clown_face:.

The world became brighter on the day that he was born. He sadly passed after a short and non-happy life, and he won't be sorely missed.

Ok, let's pay homage to the remains.

Pay homage to the remains.

Heterosis: tabs and whitespaces.

:secret: The murder scene. - In a same Rust file: -
These lines use tabs to indent. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/core/executor/src/tests/mod.rs#L79-L86
  • These lines use whitespaces to indent. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/core/executor/src/tests/mod.rs#L87-L95
  • In a same Markdown file: https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/core/api/README.md?plain=1#L734-L743 - Line 735 to 739 use whitespaces to indent. - Line 740 to 741 use tabs to indent. - Line 742 uses whitespaces to indent.

p.s. There are many, but "mais la marge est trop étroite pour la contenir."[^1]

:point_right: Body of :clown_face: is here. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/.editorconfig#L12

Lines only contain whitespaces or tabs.

:secret: The murder scene. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/.changelog/v0.2.0-beta.2/summary.md?plain=1#L6 https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/CHANGELOG.md?plain=1#L10 https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/devtools/docker/health_check.sh#L13 _p.s. There are many, but "mais la marge est trop étroite pour la contenir."[^1]_
:point_right: Body of :clown_face: is here. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/.editorconfig#L10

Whitespaces at the end of the lines.

:secret: The murder scene. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/common/apm/README.md?plain=1#L117 https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/core/api/README.md?plain=1#L2 https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/devtools/chain/quick-start.md?plain=1#L61 _p.s. There are many, but "mais la marge est trop étroite pour la contenir."[^1]_
:point_right: Body of :clown_face: is here. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/.editorconfig#L10

Blank lines at the end of files.

:secret: The murder scene. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/SECURITY.md?plain=1#L32 https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/builtin-contract/crosschain/.gitignore#L12 https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/devtools/axon-tools/README.md?plain=1#L3 _p.s. There are many, but "mais la marge est trop étroite pour la contenir."[^1]_
:point_right: Body of :clown_face: is here. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/.editorconfig#L11

DOS-style line endings.

:secret: The murder scene. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/tests/e2e/src/create_test_data/ERC20.json#L1
:point_right: Body of :clown_face: is here. https://github.com/axonweb3/axon/blob/527ccdfed76e1fd24b508fbda6be5594ff10c190/.editorconfig#L8

Ending

Had I forgotten to say whose funeral we joined? .editorconfig's.

Since everyone is here, before you leave, we will give out an award of last month.

p.s. This issue is created via GitHub CLI.

[^1]: Fermat's Conjecture [^2]: The Best Comment of Month.