Skip to content

Commit c4e0035

Browse files
authored
Merge pull request #3249 from davidekete/fix-linting-issues
Fix linting issues
2 parents 6e36420 + 16a8365 commit c4e0035

22 files changed

+98
-93
lines changed

docs/FAQ.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# FAQ
22

3-
### Supported devices & Browsers
3+
## Supported devices & Browsers
44

55
**Q:** What browsers will Remix work on?
66

@@ -10,7 +10,7 @@
1010

1111
**A:** We do not support the use of Remix on tablets or mobile phones.
1212

13-
### General
13+
## General
1414

1515
**Q:** Are there keyboard shortcuts in Remix?
1616

@@ -26,7 +26,7 @@
2626

2727
`Ctrl+Shift+A` : Opens the Plugin Manager
2828

29-
### Solidity compiler
29+
## Solidity Compiler
3030

3131
**Q:** Error: compiler might be in a non-sane state
3232

@@ -36,20 +36,20 @@ The compiler might be in a non-sane state, please be careful and do not use furt
3636
It is heavily recommended to use another browser not affected by this issue (Firefox is known to not be affected)."
3737
```
3838

39-
**A:** Old versions of solidity compiler had this problem with chrome.
39+
**A:** Old versions of Solidity Compiler had this problem with chrome.
4040
Please change the compiler version in Solidity Plugin to the newer one or use another browser.
4141

4242
**Q:** I’m getting an issue with Maximum call stack exceed and various other errors, can't compile.
4343

44-
**A:** Try a different browser or a newer solidity compiler version.
44+
**A:** Try a different browser or a newer Solidity Compiler version.
4545

4646
**Q:** How to verify a contract that imports other contracts?
4747

4848
**A:** The verification tool does not recursively go through the import statements in a contract. So can only verify a 'flattened' contract.
4949

5050
A contract can be 'flattened' by right-clicking on it in the File Explorer and choosing the `Flatten` option. This will assemble all the original code as well as the imported code into a single file.
5151

52-
### Deploy & Run
52+
## Deploy & Run
5353

5454
**Q:** I am using an Infura endpoint in my app, but when I try to deploy against that endpoint in Remix IDE selecting "External HTTP Provider" and putting my endpoint in, it's telling me that it can't connect
5555

@@ -104,13 +104,13 @@ contract daPeeps {
104104
The input of initPeepToPeeps takes a struct. If you input
105105
`[1,2]` the transaction will go through.
106106

107-
### Plugin Developers
107+
## Plugin Developers
108108

109109
**Q:** Where do plugin developers go with their questions?
110110

111111
**A:** First, join our [Discord server](https://discord.com/invite/zUNteAzJs3) and then go to the development-plugin channel.
112112

113-
### Analytics
113+
## Analytics
114114

115115
**Q:** What information does Remix save when Matomo Analytics is enabled?
116116

docs/account-abstraction-7702.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,6 @@ When the transaction goes through, go to Remix’s terminal and click the new tr
9797

9898
![Remix terminal showing the smart contract account and its associated bundler.](images/account-abstraction-7702/a-aa-gsa-log.png)
9999

100-
You will see both the Smart Contract Account and its associated Bundler.
100+
You will see both the Smart Contract Account and its associated bundler.
101101

102102
Note: Following [EIP-155](https://eips.ethereum.org/EIPS/eip-155), Safe Smart Account contracts use a deterministic deployment proxy so for a contract deployed using a smart account, the msg.sender will be: 0x4e59b44847b379578588920cA78FbF26c0B4956C.

docs/ai.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AI Tools
22

3-
Remix has its own AI tool named **RemixAI** and a sub-project called **RemixAI Copilot** for code completion.
3+
Remix has its own AI tool named **RemixAI** and a sub-project called **RemixAI Copilot** for code completion.
44

55
When you load Remix, the **RemixAI Assistant** appears in the Right Side Panel.
66

@@ -24,9 +24,11 @@ In the RemixAI Assistant, there is a choice of LLMs for use in **code explanatio
2424
![RemixAI LLM dropdown menu.](images/ai/llm-dropdown.png)
2525

2626
## Natural languages and RemixAI
27+
2728
The RemixAI Assistant will respond to a question in the language in which it's asked.
2829

2930
## Computer languages and RemixAI
31+
3032
RemixAI will be able to answer questions about Solidity, JS/TS, Vyper and other computer languages.
3133

3234
## Adding context to the LLM
@@ -41,7 +43,7 @@ You can also set the context to the current Workspace while you type, by startin
4143

4244
When you type a space or a new line, the RemixAI Assistant will propose some code. The proposed code is a technique called, **code completion**. The RemixAI Assistant's suggested code will take into account what has already been written in the file.
4345

44-
The switch to activate it is at the bottom left of the Main Panel when a file is active. Once activated, suggests code using MistralAI LLM. For **code completion** there is no choice of LLM.
46+
The switch to activate it is at the bottom left of the Main Panel when a file is active. Once activated, suggests code using MistralAI LLM. For **code completion** there is no choice of LLM.
4547

4648
![Remix AI Copilot button.](images/ai/a-ai-switch.png)
4749

docs/compile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ There is no error checking when using the .json file for configuration settings,
116116

117117
### Use a Custom Solidity Compiler
118118

119-
For those writing your own custom solidity compiler, you can import that by clicking the **+** button (**X. in fig 1**) to open a modal where you can input the url of the compiler to be loaded.
119+
For those writing your own custom Solidity Compiler, you can import that by clicking the **+** button (**X. in fig 1**) to open a modal where you can input the url of the compiler to be loaded.

docs/create_deploy.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ A quick way to compile is to hit **ctrl + s**. You can also compile by going to
5959

6060
Go to the **Deploy & Run Transactions** plugin.
6161

62-
6362
At the top of this plugin is the Environment selectbox. Here you can choose where you want to deploy your contract. There are many choices. For more info about these options see {ref}`this section <run:environment>` of the docs.
6463

6564
For a brief synopsis:

docs/foundry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Now, one can start deploying the contract from Remix IDE to the local Anvil node
2222

2323
Foundry manages dependencies using git submodules and can remap dependencies to make them easier to import. So import defined by remappings can have compilation errors on Remix IDE.
2424

25-
To support such compilation, Remix suggests running [compilation using a compiler config file](https://remix-ide.readthedocs.io/en/latest/compile.html#json-file-for-compiler-configuration). Remix adds some default Forge remappings in the compiler config file when a Foundry project is loaded in Remix IDE using remixd.
25+
To support such compilation, Remix suggests running [compilation using a compiler config file](https://remix-ide.readthedocs.io/en/latest/compile.html#json-file-for-compiler-configuration). Remix adds some default Forge remappings in the compiler config file when a Foundry project is loaded in Remix IDE using Remixd.
2626

2727
![](images/a-foundry-cc.png)
2828

docs/git.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You can view the output of some of these commands on the "**LOGS**" accordion it
6363

6464
You can manage the multiple branches associated with your Workspace initialized with Git or cloned from GitHub from the "**BRANCHES**" accordion item.
6565

66-
![Remix Git Plugin showing multiple branches](images/git/gh-git-branches.png)
66+
![Remix Git plugin showing multiple branches](images/git/gh-git-branches.png)
6767

6868
You can view the current branch from the Footer.
6969

docs/hardhat.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ _(Supported since Remix IDE v0.12.0 and Remixd v0.3.6)_
88
If you have not used `remixd` before, read more about it {doc}`in the Remixd documentation </remixd>`.
99
```
1010

11-
If `remixd` is running locally on your device and shared folder is a **Hardhat project**, an additional websocket plugin will be listening on port `65522`. According to its documentation,
11+
If `remixd` is running locally on your device and shared folder is a **Hardhat project**, an additional WebSocket plugin will be listening on port `65522`. According to its documentation,
1212

1313
> _Hardhat projects are npm projects with the hardhat package installed and a hardhat.config.js or hardhat.config.ts file._
1414
15-
Remixd looks for the `hardhat.config.js` or `hardhat.config.ts` file in shared folder, and if it finds the file, the Hardhat websocket listener will run.
15+
Remixd looks for the `hardhat.config.js` or `hardhat.config.ts` file in shared folder, and if it finds the file, the Hardhat WebSocket listener will run.
1616

17-
The Hardhat websocket listener is a websocket plugin similar to `remixd` and is used to perform Hardhat specific actions with Remix IDE.
17+
The Hardhat WebSocket listener is a WebSocket plugin similar to `remixd` and is used to perform Hardhat specific actions with Remix IDE.
1818

1919
It doesn't need any separate installation as it is shipped with [remixd NPM](https://www.npmjs.com/package/@remix-project/remixd) module.
2020

@@ -28,7 +28,7 @@ To use Hardhat compilation with Remix IDE efficiently:
2828

2929
1. **Hardhat** should be installed locally on the system [https://hardhat.org/getting-started/#installation](https://hardhat.org/getting-started/#installation)
3030
2. Shared folder should be a Hardhat project containing `hardhat.config.js` or `hardhat.config.ts`
31-
3. `Remixd` Hardhat websocket listener should be running at `65522`
31+
3. `Remixd` Hardhat WebSocket listener should be running at `65522`
3232

3333
### How to use
3434

@@ -46,7 +46,7 @@ The result of the compilation will be shown in the Remix IDE terminal
4646

4747
![](images/a-hardhat-compilation-success.png)
4848

49-
and also in the **remixd** terminal.
49+
and also in the **Remixd** terminal.
5050

5151
![](images/a-hardhat-compilation-success-remixd.png)
5252

docs/import.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import "./myLovelyLovelyLib.sol";
6363

6464
### Importing a file from your computer's filesystem
6565

66-
This method uses **remixd** - the remix daemon. Please go to the {doc}`remixd docs </remixd>` for instructions about how to bridge the divide between the browser and your computer's filesystem.
66+
This method uses **Remixd** - the remix daemon. Please go to the {doc}`remixd docs </remixd>` for instructions about how to bridge the divide between the browser and your computer's filesystem.
6767

6868
### More about the import keyword
6969

docs/locations.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ https://remix.ethereum.org/?#deactivate=debugger
5858

5959
### Minimizing Remix panels
6060

61-
The following URL will **close everything except the main panel & the icon panel** (the side and terminal are minimized).
61+
The following URL will **close everything except the Main Panel & the icon panel** (the side and terminal are minimized).
6262

6363
```text
6464
https://remix.ethereum.org/?#embed=true
6565
```
6666

67-
To minimize just the side panel, use this URL:
67+
To minimize just the Side Panel, use this URL:
6868

6969
```text
7070
https://remix.ethereum.org/?#minimizesidepanel=true
@@ -88,7 +88,7 @@ To link to Remix with a theme specified use this url:
8888

8989
To link to Remix with the list of plugins activated and with:
9090

91-
- the Learneth gaining the side panel's focus (because it is the last in the list)
91+
- the LearnEth gaining the Side Panel's focus (because it is the last in the list)
9292
- the Light theme loaded
9393
- the terminal minimized
9494
- optimize off
@@ -193,15 +193,15 @@ https://remix.ethereum.org/?#activate=solidity,fileManager&gist=0fe90e825327ef31
193193
https://remix.ethereum.org/?#activate=solidity,LearnEth&gist=0fe90e825327ef313c88aedfe66ec142&call=fileManager//open//gist-0fe90e825327ef313c88aedfe66ec142/gridMix4.sol
194194
```
195195

196-
## Load a specific version of the Solidity compiler:
196+
## Load a specific version of the Solidity Compiler:
197197

198198
```text
199199
https://remix.ethereum.org/?#version=soljson-v0.6.6+commit.6c089d02
200200
```
201201

202202
**Note:** you need to specify both the Solidity version and the commit.
203203

204-
## Load a custom Solidity compiler:
204+
## Load a custom Solidity Compiler:
205205

206206
```text
207207
https://remix.ethereum.org/#version=https://solidity-blog.s3.eu-central-1.amazonaws.com/data/08preview/soljson.js
@@ -215,7 +215,7 @@ https://remix.ethereum.org/#autoCompile=true
215215

216216
## Select the language for the Solidity Compiler
217217

218-
Choose YUL or Solidity with the language parameter.
218+
Choose Yul or Solidity with the language parameter.
219219

220220
```text
221221
https://remix.ethereum.org/#language=Yul

0 commit comments

Comments
 (0)