mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 11:12:52 +00:00
docs: update docs
This commit is contained in:
committed by
Rainer Killinger
parent
bc15df828d
commit
f36b1c0588
10
README.md
10
README.md
@@ -7,6 +7,14 @@
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
Put this into your `.eslintrc`
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"extends": "@openstapps"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Unfortunately, ESLint requires you to define plugins and configs
|
Unfortunately, ESLint requires you to define plugins and configs
|
||||||
your config depends on as `peerDependencies`, which means they
|
your config depends on as `peerDependencies`, which means they
|
||||||
have to be installed manually.
|
have to be installed manually.
|
||||||
@@ -17,7 +25,7 @@ Use the command
|
|||||||
npx install-peerdeps --dev @openstapps/eslint-config
|
npx install-peerdeps --dev @openstapps/eslint-config
|
||||||
```
|
```
|
||||||
|
|
||||||
Add either the following to your `package.json`:
|
Or, alternatively, add the following to your `package.json`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user