Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Kowalski committed Jul 29, 2024
1 parent 48f755e commit 9c974c7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
9 changes: 5 additions & 4 deletions documentation/project-structure-folder-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Enforce rules on folder structure to keep your repository consistent, orderly an

[**Playground**](https://github.com/Igorkowalski94/eslint-plugin-project-structure-playground) for eslint-plugin-project-structure rules.

Become part of the community! Leave a ⭐ and share the link with your friends.<br>
Become part of the community!<br>
Leave a ⭐ and share the link with your friends.<br>
If you have any questions **[click here](https://github.com/Igorkowalski94/eslint-plugin-project-structure/discussions)**, issues / an idea for a new functionality **[click here](https://github.com/Igorkowalski94/eslint-plugin-project-structure/issues/new/choose)**.

### Documentation:
Expand Down Expand Up @@ -120,6 +121,9 @@ Add the following lines to **`.eslintrc`**.

Add the following lines to **`.eslintrc`**.

> [!CAUTION]
> Remember to remove comments from the JSON file. Otherwise the configuration will be incorrect.
```jsonc
{
"plugins": ["project-structure"],
Expand All @@ -136,9 +140,6 @@ Add the following lines to **`.eslintrc`**.

Create a **`folderStructure.json`** or **`folderStructure.yaml`** in the root of your project.<br>

> [!CAUTION]
> Remember to remove comments from the JSON file. Otherwise the configuration will be incorrect.
#### Simple example for the structure below:

```
Expand Down
6 changes: 5 additions & 1 deletion documentation/project-structure-independent-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Get rid of dependencies between modules and create truly independent functionali

[**Playground**](https://github.com/Igorkowalski94/eslint-plugin-project-structure-playground) for eslint-plugin-project-structure rules.

Become part of the community! Leave a ⭐ and share the link with your friends.<br>
Become part of the community!<br>
Leave a ⭐ and share the link with your friends.<br>
If you have any questions **[click here](https://github.com/Igorkowalski94/eslint-plugin-project-structure/discussions)**, issues / an idea for a new functionality **[click here](https://github.com/Igorkowalski94/eslint-plugin-project-structure/issues/new/choose)**.

### Documentation:
Expand Down Expand Up @@ -60,6 +61,9 @@ npm i --dev eslint-plugin-independent-modules

Add the following lines to **`.eslintrc`**.

> [!CAUTION]
> Remember to remove comments from the JSON file. Otherwise the configuration will be incorrect.
```jsonc
{
"plugins": ["project-structure"],
Expand Down
3 changes: 2 additions & 1 deletion documentation/project-structure-naming-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Enforce naming rules.

[**Playground**](https://github.com/Igorkowalski94/eslint-plugin-project-structure-playground) for eslint-plugin-project-structure rules.

Become part of the community! Leave a ⭐ and share the link with your friends.<br>
Become part of the community!<br>
Leave a ⭐ and share the link with your friends.<br>
If you have any questions **[click here](https://github.com/Igorkowalski94/eslint-plugin-project-structure/discussions)**, issues / an idea for a new functionality **[click here](https://github.com/Igorkowalski94/eslint-plugin-project-structure/issues/new/choose)**.

### Documentation:
Expand Down

0 comments on commit 9c974c7

Please sign in to comment.