From 3bc6f8e6e2240b6a6e123e4a38eecd486baf6a55 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 29 Jun 2022 19:44:17 +0800 Subject: [PATCH] + Add `.editorconfig` to avoid pointless diff like missing a final newline (#218) * + Add `.editorconfig` to avoid pointless diff like missing a final newline * ~ Update files to have final newline --- .editorconfig | 16 ++++++++++++++++ assetmantle/README.md | 2 +- bandchain/README.md | 2 +- bitcanna/README.md | 2 +- cerberus/README.md | 2 +- chihuahua/README.md | 2 +- comdex/README.md | 2 +- cosmoshub/README.md | 2 +- cronos/README.md | 2 +- cryptoorgchain/README.md | 2 +- decentr/README.md | 2 +- defund/README.md | 2 +- evmos/README.md | 2 +- fetchhub/README.md | 2 +- generic/README.md | 2 +- gravitybridge/README.md | 2 +- juno/README.md | 2 +- kava/README.md | 2 +- kichain/README.md | 2 +- konstellation/README.md | 2 +- kujira/README.md | 2 +- lumnetwork/README.md | 2 +- osmosis/README.md | 2 +- sentinel/README.md | 2 +- shentu/README.md | 2 +- sifchain/README.md | 2 +- sommelier/README.md | 2 +- stargaze/README.md | 2 +- umee/README.md | 2 +- vidulum/README.md | 2 +- 30 files changed, 45 insertions(+), 29 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..255bf68c4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# default configuration +[*] +insert_final_newline = true +trim_trailing_whitespace = true + +# Unix-style newlines with a newline ending every file +end_of_line = lf + +# Set default charset +charset = utf-8 + +# Trailing spaces are useful in Markdown +[*.{md,markdown}] +trim_trailing_whitespace = false diff --git a/assetmantle/README.md b/assetmantle/README.md index 909c5235f..a8b4b2675 100644 --- a/assetmantle/README.md +++ b/assetmantle/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/bandchain/README.md b/bandchain/README.md index 9aa3efa7c..debe7f981 100644 --- a/bandchain/README.md +++ b/bandchain/README.md @@ -29,4 +29,4 @@ ChainLayer provide snapshots for Bandchain as part of their [Quicksync service]( |Variable|Value| |---|---| |`SNAPSHOT_QUICKSYNC`|`https://quicksync.io/band.json`| -|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.band.json`| \ No newline at end of file +|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.band.json`| diff --git a/bitcanna/README.md b/bitcanna/README.md index 7df25e457..5195c73eb 100644 --- a/bitcanna/README.md +++ b/bitcanna/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/cerberus/README.md b/cerberus/README.md index d6d1d8f23..203eab4fe 100644 --- a/cerberus/README.md +++ b/cerberus/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/chihuahua/README.md b/chihuahua/README.md index 9bc517f29..7e12e4744 100644 --- a/chihuahua/README.md +++ b/chihuahua/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/comdex/README.md b/comdex/README.md index ca42bb63f..4c918734a 100644 --- a/comdex/README.md +++ b/comdex/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/cosmoshub/README.md b/cosmoshub/README.md index d44a02b0f..09dad8c49 100644 --- a/cosmoshub/README.md +++ b/cosmoshub/README.md @@ -41,4 +41,4 @@ ChainLayer provide snapshots for Cosmos Hub as part of their [Quicksync service] |Variable|Value| |---|---| |`SNAPSHOT_QUICKSYNC`|`https://quicksync.io/cosmos.json`| -|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.cosmos.json`| \ No newline at end of file +|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.cosmos.json`| diff --git a/cronos/README.md b/cronos/README.md index cb9c060fb..d6f6513cc 100644 --- a/cronos/README.md +++ b/cronos/README.md @@ -20,4 +20,4 @@ The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes |Variable|Value| |---|---| -|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/cronos/chain.json`| \ No newline at end of file +|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/cronos/chain.json`| diff --git a/cryptoorgchain/README.md b/cryptoorgchain/README.md index a2c612d9a..00b67c947 100644 --- a/cryptoorgchain/README.md +++ b/cryptoorgchain/README.md @@ -29,4 +29,4 @@ ChainLayer provide snapshots for Cryptoorgchain as part of their [Quicksync serv |Variable|Value| |---|---| |`SNAPSHOT_QUICKSYNC`|`https://quicksync.io/crypto.json`| -|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.crypto.json`| \ No newline at end of file +|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.crypto.json`| diff --git a/decentr/README.md b/decentr/README.md index 92ce405d1..7538f70cc 100644 --- a/decentr/README.md +++ b/decentr/README.md @@ -20,4 +20,4 @@ The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes |Variable|Value| |---|---| -|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/decentr/chain.json`| \ No newline at end of file +|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/decentr/chain.json`| diff --git a/defund/README.md b/defund/README.md index 97475c41b..474245efc 100644 --- a/defund/README.md +++ b/defund/README.md @@ -12,4 +12,4 @@ ## Examples - Run on Akash with the [example deploy.yml](./deploy.yml) -- Run locally using the [example docker-compose.yml](./docker-compose.yml) \ No newline at end of file +- Run locally using the [example docker-compose.yml](./docker-compose.yml) diff --git a/evmos/README.md b/evmos/README.md index b75d37a58..fc206db9f 100644 --- a/evmos/README.md +++ b/evmos/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/fetchhub/README.md b/fetchhub/README.md index 250e4cd32..b9b65af6f 100644 --- a/fetchhub/README.md +++ b/fetchhub/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/generic/README.md b/generic/README.md index 41422b5e7..337f60ebf 100644 --- a/generic/README.md +++ b/generic/README.md @@ -19,4 +19,4 @@ The node binary can be downloaded at runtime when using the [Generic image](#gen |`BINARY_ZIP_PATH`|Path to the binary in the archive. Can be left blank if correctly named in root| | | |`PROJECT`|Name of the project, informs other variables| | | |`PROJECT_BIN`|Binary name|`$PROJECT`|`osmosisd`| -|`PROJECT_DIR`|Name of project directory|`.$PROJECT_BIN`|`.osmosisd`| \ No newline at end of file +|`PROJECT_DIR`|Name of project directory|`.$PROJECT_BIN`|`.osmosisd`| diff --git a/gravitybridge/README.md b/gravitybridge/README.md index d06da59bc..236e266d2 100644 --- a/gravitybridge/README.md +++ b/gravitybridge/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/juno/README.md b/juno/README.md index 392a7a150..dfafe712e 100644 --- a/juno/README.md +++ b/juno/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/kava/README.md b/kava/README.md index bd0142591..75e6ef1bd 100644 --- a/kava/README.md +++ b/kava/README.md @@ -41,4 +41,4 @@ ChainLayer provide snapshots for Kava as part of their [Quicksync service](https |Variable|Value| |---|---| |`SNAPSHOT_QUICKSYNC`|`https://quicksync.io/kava.json`| -|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.kava.json`| \ No newline at end of file +|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.kava.json`| diff --git a/kichain/README.md b/kichain/README.md index 5919acfc1..340278edc 100644 --- a/kichain/README.md +++ b/kichain/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/konstellation/README.md b/konstellation/README.md index 465afa19d..d55ec19ed 100644 --- a/konstellation/README.md +++ b/konstellation/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/kujira/README.md b/kujira/README.md index b70f03828..9aaeafb48 100644 --- a/kujira/README.md +++ b/kujira/README.md @@ -12,4 +12,4 @@ ## Examples - Run on Akash with the [example deploy.yml](./deploy.yml) -- Run locally using the [example docker-compose.yml](./docker-compose.yml) \ No newline at end of file +- Run locally using the [example docker-compose.yml](./docker-compose.yml) diff --git a/lumnetwork/README.md b/lumnetwork/README.md index ee893bffc..63d0cd196 100644 --- a/lumnetwork/README.md +++ b/lumnetwork/README.md @@ -29,4 +29,4 @@ ChainLayer provide snapshots for Lum Network as part of their [Quicksync service |Variable|Value| |---|---| |`SNAPSHOT_QUICKSYNC`|`https://quicksync.io/lum.json`| -|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.lum.json`| \ No newline at end of file +|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.lum.json`| diff --git a/osmosis/README.md b/osmosis/README.md index 2cda2ef48..455b31e53 100644 --- a/osmosis/README.md +++ b/osmosis/README.md @@ -41,4 +41,4 @@ ChainLayer provide snapshots for Osmosis as part of their [Quicksync service](ht |Variable|Value| |---|---| |`SNAPSHOT_QUICKSYNC`|`https://quicksync.io/osmosis.json`| -|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.osmosis.json`| \ No newline at end of file +|`ADDRBOOK_URL`|`https://quicksync.io/addrbook.osmosis.json`| diff --git a/sentinel/README.md b/sentinel/README.md index 7ba305de9..3901cb2f1 100644 --- a/sentinel/README.md +++ b/sentinel/README.md @@ -20,4 +20,4 @@ The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes |Variable|Value| |---|---| -|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/sentinel/chain.json`| \ No newline at end of file +|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/sentinel/chain.json`| diff --git a/shentu/README.md b/shentu/README.md index 22759fe15..ec55c06d6 100644 --- a/shentu/README.md +++ b/shentu/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/sifchain/README.md b/sifchain/README.md index ae9130c25..a67a28fdb 100644 --- a/sifchain/README.md +++ b/sifchain/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/sommelier/README.md b/sommelier/README.md index b5ef156f2..e0bcfe8e1 100644 --- a/sommelier/README.md +++ b/sommelier/README.md @@ -20,4 +20,4 @@ The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes |Variable|Value| |---|---| -|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/sommelier/chain.json`| \ No newline at end of file +|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/sommelier/chain.json`| diff --git a/stargaze/README.md b/stargaze/README.md index 90aadca72..dcc01b5b6 100644 --- a/stargaze/README.md +++ b/stargaze/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/umee/README.md b/umee/README.md index 15c4c5bda..f4dece7fe 100644 --- a/umee/README.md +++ b/umee/README.md @@ -32,4 +32,4 @@ Note you should choose between statesync and snapshot bootstrapping, snapshot wi |---|---| |`P2P_POLKACHU`|`1`| |`SNAPSHOT_POLKACHU`|`1`| -|`STATESYNC_POLKACHU`|`1`| \ No newline at end of file +|`STATESYNC_POLKACHU`|`1`| diff --git a/vidulum/README.md b/vidulum/README.md index afca076d9..69fc0cea0 100644 --- a/vidulum/README.md +++ b/vidulum/README.md @@ -20,4 +20,4 @@ The [Cosmos Chain Registry](https://github.com/cosmos/chain-registry) publishes |Variable|Value| |---|---| -|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/vidulum/chain.json`| \ No newline at end of file +|`CHAIN_JSON`|`https://raw.githubusercontent.com/cosmos/chain-registry/master/vidulum/chain.json`|