馃摑 README: Update Usage guide to use GitLab NPM Registry

parent a42f73cc
Pipeline #3736 passed with stage
in 13 seconds
......@@ -5,8 +5,9 @@ ESLint config for osu!frlive projects.
## Usage
```
npm i -D https://git.cartooncraft.fr/osufrlive/eslint/-/jobs/artifacts/v0.0.2/raw/eslint-config-osufrlive-0.0.2.tgz\?job\=pack
npx install-peerdeps -o -d eslint-config-osufrlive
npm config set @osufrlive:registry https://git.cartooncraft.fr/api/v4/packages/npm/
npm i -D @osufrlive/eslint-plugin
npx install-peerdeps -o -d @osufrlive/eslint-plugin
```
Paste in .eslintrc.js:
......@@ -14,7 +15,7 @@ Paste in .eslintrc.js:
module.exports = {
root: true,
extends: [
"osufrlive",
"@osufrlive",
],
};
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment