Skip to content

Commit

Permalink
Merge pull request #63 from 8iq/refactor-documentation
Browse files Browse the repository at this point in the history
refactor documentation
  • Loading branch information
Dimitreee authored May 30, 2022
2 parents 60b2727 + afb8041 commit b7d70ee
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
25 changes: 24 additions & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,30 @@
3. Write tests
4. Make a pull-request to the core repo

# Project features and feature requests
## linter

We use [eslint](https://eslint.org) as our linter. It enforces code-style and best-practices

We don't allow bad code into the repo. To ensure this we run [eslint](https://eslint.org) on `CI`.

The configuration for the [eslint](https://eslint.org) is found under `package.json`

**Available CLI-commands:**

- `yarn lint` lint whole project <- this command runs on CI
- `yarn run eslint <directory>` check files in `<directory>`
- `yarn run eslint --fix <directory>` check files in `<directory>` and fix them if possible

**Editor integrations:**

[Webstorm integration:](https://plugins.jetbrains.com/plugin/7494-eslint)

[VSCode integration:](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)

[Other editors](https://eslint.org/docs/user-guide/integrations#editors)


# Project features and feature requests.

Features that aren't checked are available to take

Expand Down
22 changes: 0 additions & 22 deletions docs/getting-started-adv.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,28 +233,6 @@ node ./bin/run-multiple-apps @app/ex02back @app/ex02front @app/ex03sockeio

Every app should have `multi-app-support.js` file. Check `ex02back`, `ex02front` and `ex02sockio` examples.

## linter

We use [eslint](https://eslint.org) as our linter. It enforces code-style and best-practices

We don't allow bad code into the repo. To ensure this we run [eslint](https://eslint.org) on `CI`.

The configuration for the [eslint](https://eslint.org) is found under `package.json`

**Available CLI-commands:**

- `yarn lint` lint whole project <- this command runs on CI
- `yarn run eslint <directory>` check files in `<directory>`
- `yarn run eslint --fix <directory>` check files in `<directory>` and fix them if possible

**Editor integrations:**

[Webstorm integration:](https://plugins.jetbrains.com/plugin/7494-eslint)

[VSCode integration:](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)

[Other editors](https://eslint.org/docs/user-guide/integrations#editors)

## Tips

### yarn add
Expand Down

0 comments on commit b7d70ee

Please sign in to comment.