Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into data_structures_alg…
Browse files Browse the repository at this point in the history
…orithms
  • Loading branch information
peter-bachowski committed Jul 4, 2024
2 parents 338656a + f7f42c0 commit e681f3d
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 36 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ To help enforce the layout specified in our layout style guide, we use [markdown
- Lint projects: `npm run lint:project -- "./path/to/project"`
- Autofix projects: `npm run fix:project -- "./path/to/project"`

In some cases, you may need to run a fix script more than once to catch and fix all fixable errors. This typically occurs when a line has multiple errors affecting the same parts and fix actions collide, so Markdownlint only applies some of the fixes.

With either of these two methods, keep in mind that not all issues that get flagged will have an autofix available. Some rules require fixes that are more dependent on context and cannot - and should not - be automatically fixed, such as our custom rule `TOP001` for descriptive link text.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ Our community can be found on the [TOP Discord server](https://discord.gg/fbFCkY
The Odin Project depends on open-source contributions to improve, grow, and thrive. We welcome contributors of all experience levels and backgrounds to help maintain this awesome curriculum and community. If you would like to contribute to our curriculum, be sure to thoroughly read our [contributing guide](https://github.com/TheOdinProject/.github/blob/main/CONTRIBUTING.md).

Some of the things you can do to contribute to our curriculum include:
* Correct typos and other grammar errors.
* Rewrite parts of existing lessons to make them clearer and easier to understand.
* Fix broken links.
* Add new resource links you think would make a lesson better.
* Work on entirely new lessons after getting approval.

- Correct typos and other grammar errors.
- Rewrite parts of existing lessons to make them clearer and easier to understand.
- Fix broken links.
- Add new resource links you think would make a lesson better.
- Work on entirely new lessons after getting approval.

**Happy Coding!**

\* See [license.md](https://github.com/TheOdinProject/curriculum/blob/main/license.md) for usage details.
See [license.md](https://github.com/TheOdinProject/curriculum/blob/main/license.md) for usage details.

___
Created by [Erik Trautman](http://www.github.com/eriktrautman)

Created by [Erik Trautman](http://www.github.com/eriktrautman).
2 changes: 1 addition & 1 deletion foundations/installations/command_line_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Many of these resources assume you're using a Mac or Linux environment. If you d

1. Create a new directory in your home directory with the name `test`.
1. Navigate to the `test` directory.
1. Create a new file called `test.txt`. *Hint: use the `touch` or `echo` command.*
1. Create a new file called `test.txt`. *Hint: use the `touch` command.*
1. Open your newly created file in VSCode, make some changes, save the file, and close it.
1. Navigate back out of the `test` directory.
1. Delete the `test` directory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ This will disable the `AbcSize` Cop from `Metrics` department between those comm
Some rules are a lot more arbitrary - the Style department is going to be the prime ground for strong arguments about things that don't really matter - like double-quoting all strings vs making a distinction between plain strings and string interpolation. Perhaps you have strong feelings about quotes, so let's help you out by showing you how to show them to RuboCop.
Start by creating a `.rubocop.yml` file using the command touch or nano(nano will open the text editor right away). Don't forget the it must a dotfile, meaning it needs to have a dot before its name. Now, you need to find out what rule you want to change or disable. For the possible options always consult the documentation - not every Cop is just a simple on/off, there might be more options. As an example, we'll be changing the rules regarding strings, frozen string literals and we'll enable NewCops.
Start by creating a `.rubocop.yml` file using the command touch or nano(nano will open the text editor right away). Don't forget that it must be a dotfile, meaning it needs to have a dot before its name. Now, you need to find out what rule you want to change or disable. For the possible options always consult the documentation - not every Cop is just a simple on/off, there might be more options. As an example, we'll be changing the rules regarding strings, frozen string literals and we'll enable NewCops.
```yaml
# This is .rubocop.yml in ~/
Expand Down
Loading

0 comments on commit e681f3d

Please sign in to comment.