Skip to content

Commit

Permalink
Run formatter and linter (iotaledger#280)
Browse files Browse the repository at this point in the history
* Add JSON files to prettier config

* Run Prettier

Co-authored-by: Critical <53269239+Critical94@users.noreply.github.com>
  • Loading branch information
jlvandenhout and kilianhln committed Oct 1, 2021
1 parent c13c130 commit a406b8c
Show file tree
Hide file tree
Showing 100 changed files with 610 additions and 793 deletions.
40 changes: 17 additions & 23 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
{
"env": {
"browser": true,
"node": true,
"es2021": true
"env": {
"browser": true,
"node": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"prettier"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react"
],
"settings": {
"react": {
"version": "detect"
}
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react"],
"settings": {
"react": {
"version": "detect"
}
}
}
244 changes: 111 additions & 133 deletions .github/CONTRIBUTING.md

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: feature
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/topic-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: documentation
assignees: ''

---

**Describe the solution you'd like**
Expand Down
14 changes: 3 additions & 11 deletions .github/config/search.config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"index_name": "IOTAWiki",
"start_urls": [
"https://wiki.iota.org/"
],
"sitemap_urls": [
"https://wiki.iota.org/sitemap.xml"
],
"start_urls": ["https://wiki.iota.org/"],
"sitemap_urls": ["https://wiki.iota.org/sitemap.xml"],
"stop_urls": [],
"selectors": {
"lvl0": {
Expand Down Expand Up @@ -34,11 +30,7 @@
"type",
"docusaurus_tag"
],
"attributesForFaceting" :[
"docusaurus_tag",
"language"
]
"attributesForFaceting": ["docusaurus_tag", "language"]
},
"nb_hits": "OUTPUT OF THE CRAWL"
}

2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Description of change

Please write a summary of your changes and why you made them.
Please write a summary of your changes and why you made them.

## Links to any relevant issues

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [develop]
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
- cron: '0 0 * * *'

jobs:
checks:
Expand Down Expand Up @@ -68,4 +68,3 @@ jobs:
- name: Update search indexes
run: |
docker run --env-file=./search.env -e "CONFIG=$(cat .github/config/search.config.json | jq -r tostring)" typesense/docsearch-scraper
6 changes: 3 additions & 3 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "all"
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "all"
}
6 changes: 3 additions & 3 deletions blog/2018-08-15_manufacturing_economy.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: manufacturing-economy
title: "Manufacturing Economy"
title: 'Manufacturing Economy'
authors: dtrauth
tags: [Community, IoT, IOTA LAB AACHEN]
url: https://medium.com/industrial-iota-lab-aachen-wzl-of-rwth-aachen/manufacturing-economy-e541066889ee
Expand All @@ -10,5 +10,5 @@ url: https://medium.com/industrial-iota-lab-aachen-wzl-of-rwth-aachen/manufactur

The possibilities and challenges of the Industrial Internet of Things have been investigated for years at the Laboratory for Machine Tools and Production Engineering WZL of RWTH Aachen University under the topic of Internet of Production (IoP). The IoP focuses on interdisciplinary optimization approaches along with the entire value chain, especially in the areas of data acquisition, machine learning and artificial intelligence. This article evaluates whether and how the vision of IoP can be extended to a Manufacturing Economy. Distributed ledgers in general, and IOTA in particular, were examined for this purpose. Subsequently, IoP potential use cases for the area of manufacturing technologies were outlined, but it turned out to have greater potential in manufacturing economy.

Read the article on:
[Medium](https://medium.com/industrial-iota-lab-aachen-wzl-of-rwth-aachen/manufacturing-economy-e541066889ee)
Read the article on:
[Medium](https://medium.com/industrial-iota-lab-aachen-wzl-of-rwth-aachen/manufacturing-economy-e541066889ee)
6 changes: 3 additions & 3 deletions blog/2019-03-02_finite_element_method_as_a_service.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "IILA x IOTA — Finite Element Method As A Service"
title: 'IILA x IOTA — Finite Element Method As A Service'
authors: dtrauth
tags: [Community, IoT, IOTA LAB AACHEN]
url: https://medium.com/industrial-iota-lab-aachen-wzl-of-rwth-aachen/iila-x-iota-finite-element-method-as-a-service-2a782a479516
Expand All @@ -9,5 +9,5 @@ url: https://medium.com/industrial-iota-lab-aachen-wzl-of-rwth-aachen/iila-x-iot

Imagine a scenario in which a machine would autonomously have an FE twin for each workpiece, with data that could not be physically measured. This opens up completely new possibilities for AI in mechanical engineering. That’s huge in my field of expertise.

Read the article on:
[Medium](https://medium.com/industrial-iota-lab-aachen-wzl-of-rwth-aachen/iila-x-iota-finite-element-method-as-a-service-2a782a479516)
Read the article on:
[Medium](https://medium.com/industrial-iota-lab-aachen-wzl-of-rwth-aachen/iila-x-iota-finite-element-method-as-a-service-2a782a479516)
4 changes: 2 additions & 2 deletions blog/2021-01-19_the_economic_model_of_iota.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: the-economic-model
title: "The Economic Model of IOTA"
title: 'The Economic Model of IOTA'
authors: lstanisic
tags: [Community, Economic, Mana]
url: https://luka99.medium.com/the-economic-model-of-iota-c28732143d51
Expand All @@ -11,4 +11,4 @@ url: https://luka99.medium.com/the-economic-model-of-iota-c28732143d51
I’ll try to explain the token economics of IOTA and why it will have real tangible and intrinsic value.

Read the article on:
[Medium](https://luka99.medium.com/the-economic-model-of-iota-c28732143d51)
[Medium](https://luka99.medium.com/the-economic-model-of-iota-c28732143d51)
4 changes: 2 additions & 2 deletions blog/2021-01-20_The_tech_behind_IOTA_1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: the-tech-behind-IOTA-1
title: "The Tech Behind IOTA — Part 1 (Introduction)"
title: 'The Tech Behind IOTA — Part 1 (Introduction)'
authors: lstanisic
tags: [Community, Coordicide, Mana]
url: https://luka99.medium.com/the-tech-behind-iota-part-1-introduction-b8f82775325a
Expand All @@ -13,4 +13,4 @@ There will probably be many series on this topic, each covering part of the solu
This post will try to give you the general idea how IOTA compares to other traditional blockchains.

Read the article on:
[Medium](https://luka99.medium.com/the-tech-behind-iota-part-1-introduction-b8f82775325a)
[Medium](https://luka99.medium.com/the-tech-behind-iota-part-1-introduction-b8f82775325a)
4 changes: 2 additions & 2 deletions blog/2021-01-23_why_IOTA.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: why-iota
title: "Why IOTA?"
title: 'Why IOTA?'
authors: lstanisic
tags: [Community, Ethereum, Bitcoin]
url: https://luka99.medium.com/why-iota-4f563c375afb
Expand All @@ -11,4 +11,4 @@ url: https://luka99.medium.com/why-iota-4f563c375afb
I’ll try to explain my view why I chose IOTA over all other projects in this space.

Read the article on:
[Medium](https://luka99.medium.com/why-iota-4f563c375afb)
[Medium](https://luka99.medium.com/why-iota-4f563c375afb)
6 changes: 3 additions & 3 deletions blog/2021-01-31_The_tech_behind_IOTA_2.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: the-tech-behind-IOTA-2
title: "The Tech Behind IOTA — Part 2 (Consensus)"
title: 'The Tech Behind IOTA — Part 2 (Consensus)'
authors: lstanisic
tags: [Community, Coordicide, Mana]
url: https://luka99.medium.com/the-tech-behind-iota-part-2-consensus-88c74917b993
Expand All @@ -9,7 +9,7 @@ url: https://luka99.medium.com/the-tech-behind-iota-part-2-consensus-88c74917b99
![Coordicide](https://miro.medium.com/max/1400/1*9DcgQ-EnPojAQADRUsi8Rg.png)

I’ve long thought of how to structure these tech series. It’s hard to choose a technical level of proficiency that everyone can follow, because everyone comes from a different background.
If you’re new, take a look at the first article of the series to get a general idea how the Tangle works and how it’s different from a blockchain.
If you’re new, take a look at the first article of the series to get a general idea how the Tangle works and how it’s different from a blockchain.

Read the article on:
[Medium](https://luka99.medium.com/the-tech-behind-iota-part-2-consensus-88c74917b993)
[Medium](https://luka99.medium.com/the-tech-behind-iota-part-2-consensus-88c74917b993)
6 changes: 3 additions & 3 deletions blog/2021-05-11_the_chirping_machine.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: the-chirping-machine
title: "The Chirping Machine"
title: 'The Chirping Machine'
authors: borg
tags: [Community, Distributed Ledger, Gossip]
url: https://medium.com/coinmonks/the-chirping-machine-4c73269c2871
Expand All @@ -11,7 +11,7 @@ url: https://medium.com/coinmonks/the-chirping-machine-4c73269c2871
One way you could describe a distributed ledger is a network of machines which tell each other the truth.
In a distributed ledger networked nodes send messages back and forth that look this:
`[statement] is true`
Nodes send and receive these truth statements, verify if they are true, and collect them into a list of true statements which we call the ledger...
Nodes send and receive these truth statements, verify if they are true, and collect them into a list of true statements which we call the ledger...

Read the article on:
[Medium](https://medium.com/coinmonks/the-chirping-machine-4c73269c2871)
[Medium](https://medium.com/coinmonks/the-chirping-machine-4c73269c2871)
6 changes: 3 additions & 3 deletions blog/2021-06-16_My-take-on-IOTAs-community-treasury.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
slug: my-take-community-treasury
title: "My take on IOTA’s Community Treasury"
title: 'My take on IOTA’s Community Treasury'
authors: lstanisic
tags: [Community, DAO, Commmunity Treasury]
url: https://luka99.medium.com/my-take-on-iotas-community-treasury-f40deb7b56ba
---

![Treasuries](https://miro.medium.com/max/1400/1*Ydf9L3h3ZOKJ2NbHWmPIdw.png)

We had our first meeting on Discord to discuss the community treasury. We were more or less unanimous that we want to have a treasury, but we couldn’t agree how it should look like. This is totally normal. We all come from different parts of the world, have different backgrounds and experiences. It’s hard and more or less impossible to agree on a single governance structure.
We had our first meeting on Discord to discuss the community treasury. We were more or less unanimous that we want to have a treasury, but we couldn’t agree how it should look like. This is totally normal. We all come from different parts of the world, have different backgrounds and experiences. It’s hard and more or less impossible to agree on a single governance structure.

Read the article on:
[Medium](https://luka99.medium.com/my-take-on-iotas-community-treasury-f40deb7b56ba)
[Medium](https://luka99.medium.com/my-take-on-iotas-community-treasury-f40deb7b56ba)
6 changes: 3 additions & 3 deletions blog/2021-08-06_layer_one_1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: layer_one_1
title: "Layer One—Part 1: Assimilation"
title: 'Layer One—Part 1: Assimilation'
authors: kbrennan
tags: [Community, Layer One]
url: https://iologica.substack.com/p/assimilation
Expand All @@ -12,5 +12,5 @@ Biological organisms programmed by the data structures that we call DNA have sha

Throughout this time period, all living things have battled resource scarcity in the physical environment to replicate their DNA from one generation to the next in the process of natural selection.

Read the article on:
[Medium](https://iologica.substack.com/p/assimilation)
Read the article on:
[Medium](https://iologica.substack.com/p/assimilation)
12 changes: 6 additions & 6 deletions blog/2021-08-06_layer_one_2.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
slug: layer_one_2
title: "Layer One—Part 2: Error Correction"
title: 'Layer One—Part 2: Error Correction'
authors: kbrennan
tags: [Community, Layer One]
url: https://iologica.substack.com/p/error-correction
---

![Error Correction](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F21ced77a-e1b6-4315-80c4-15f2e9223402_510x570.jpeg)

For thousands of years, the best minds have been consumed by the existential questions of the universe:
For thousands of years, the best minds have been consumed by the existential questions of the universe:

What is the meaning of it all? How did everything get here? How does it all work? How will it all end? Are we special?
What is the meaning of it all? How did everything get here? How does it all work? How will it all end? Are we special?

These rational inquiries have pushed humanity to astounding intellectual heights in philosophy, mathematics, physical science, and even the humanities.
These rational inquiries have pushed humanity to astounding intellectual heights in philosophy, mathematics, physical science, and even the humanities.

Read the article on:
[Medium](https://iologica.substack.com/p/error-correction)
Read the article on:
[Medium](https://iologica.substack.com/p/error-correction)
8 changes: 4 additions & 4 deletions blog/2021-08-06_layer_one_3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: layer_one_3
title: "Layer One—Part 3: Metamoney"
title: 'Layer One—Part 3: Metamoney'
authors: kbrennan
tags: [Community, Layer One]
url: https://iologica.substack.com/p/metamoney
Expand All @@ -10,7 +10,7 @@ url: https://iologica.substack.com/p/metamoney

What is the distributed ledger value proposition? Is the elegant distributed ledger solution even possible? What is the killer distributed ledger application?

These are the three fundamental questions that participants in the distributed ledger space have reflected on for years—all while falling far short of the answers and their inescapable consequences.
These are the three fundamental questions that participants in the distributed ledger space have reflected on for years—all while falling far short of the answers and their inescapable consequences.

Read the article on:
[Medium](https://iologica.substack.com/p/metamoney)
Read the article on:
[Medium](https://iologica.substack.com/p/metamoney)
4 changes: 2 additions & 2 deletions blog/2021-08-11_unpopular_opinion.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
slug: bitcoin-middle-man
title: "Unpopular opinion: Bitcoin did not get rid of the middle-man"
title: 'Unpopular opinion: Bitcoin did not get rid of the middle-man'
authors: lnaumann
tags: [Community, Bitcoin]
url: https://medium.com/@linus.naumann/unpopular-opinion-bitcoin-did-not-get-rid-of-the-middle-man-71aced8c5e3f
Expand All @@ -14,4 +14,4 @@ Only IOTA leaderless consensus enables Satoshis vision of peer-to-peer electroni

Read the article on:
[Reddit](https://t.co/ZjnLlfJ5dw?amp=1)
[Medium](https://medium.com/@linus.naumann/unpopular-opinion-bitcoin-did-not-get-rid-of-the-middle-man-71aced8c5e3f)
[Medium](https://medium.com/@linus.naumann/unpopular-opinion-bitcoin-did-not-get-rid-of-the-middle-man-71aced8c5e3f)
6 changes: 3 additions & 3 deletions blog/2021-08-14_A_future_day_with_IOTA_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ url: https://medium.com/@linus.naumann/a-future-day-with-iota-part-i-239c16a011f

![morning](https://miro.medium.com/max/1400/1*QBPB-rYtEpp37SPnWJ3QvA.jpeg)

New article: "A Future Day with #IOTA - Part I"
New article: "A Future Day with #IOTA - Part I"

Let´s explore how IOTA will change our everyday lives in the future in this little fun and educational scenario!
Let´s explore how IOTA will change our everyday lives in the future in this little fun and educational scenario!

Read the article on:
[Reddit](https://t.co/IHXnA8qW6y?amp=1)
[Medium](https://medium.com/@linus.naumann/a-future-day-with-iota-part-i-239c16a011f3)
[Medium](https://medium.com/@linus.naumann/a-future-day-with-iota-part-i-239c16a011f3)
6 changes: 3 additions & 3 deletions blog/2021-08-15_iota-wiki-alpha/2021-08-15.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ authors: delectron
tags: [X-Teams, IOTA-Wiki]
---

We proudly present the first alpha release of the IOTA wiki. Built by the community for the community. The wiki is at an early stage, and we would really appreciate your contribution.
[Jeroen](https://github.com/jlvandenhout) has built a great in-page editor, which makes it easy to contribute to the wiki content without being a GitHub expert. You will however need a GitHub account.
We proudly present the first alpha release of the IOTA wiki. Built by the community for the community. The wiki is at an early stage, and we would really appreciate your contribution.
[Jeroen](https://github.com/jlvandenhout) has built a great in-page editor, which makes it easy to contribute to the wiki content without being a GitHub expert. You will however need a GitHub account.

The wiki blog will also contain a collection of curated community posts in the future. The wiki will be a one-stop shop for IOTA information.. Let's BUIDL it together!

![BUIDL](./buidl-bridge.gif)
![BUIDL](./buidl-bridge.gif)
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Check out why #IOTA 2.0 is a breakthrough for the whole #Crypto space.

Read the article on:
[Reddit](https://t.co/aN3IcKaTWg?amp=1)
[Medium](https://medium.com/@linus.naumann/parallel-realities-and-iotas-multiverse-consensus-bcfbf3b12aad)
[Medium](https://medium.com/@linus.naumann/parallel-realities-and-iotas-multiverse-consensus-bcfbf3b12aad)
Loading

0 comments on commit a406b8c

Please sign in to comment.