Skip to content

Commit

Permalink
chore: Rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroschmitz committed Jan 27, 2021
1 parent 63f798e commit 0ec2475
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# commitlint-config-rocketseat
# @rocketseat/commitlint-config

Shareable [`commitlint`](https://github.com/conventional-changelog/commitlint) config used by Rocketseat.

Expand All @@ -8,14 +8,14 @@ Installing:

```sh
# npm
npm i -D commitlint-config-rocketseat
npm i -D @rocketseat/commitlint-config

# yarn
yarn add -D commitlint-config-rocketseat
yarn add -D @rocketseat/commitlint-config
```

Apply the config to `commitlint`:

```sh
echo "module.exports = {extends: ['rocketseat']};" > commitlint.config.js
echo "module.exports = {extends: ['@rocketseat/commitlint-config']};" > commitlint.config.js
```
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "commitlint-config-rocketseat",
"name": "@rocketseat/commitlint-config",
"version": "0.0.1",
"description": "Shareable commitlint config used by Rocketseat",
"main": "index.js",
Expand All @@ -9,12 +9,20 @@
},
"repository": {
"type": "git",
"url": "https://github.com/Rocketseat/commitlint-config-rocketseat.git"
"url": "https://github.com/Rocketseat/commitlint-config.git"
},
"bugs": {
"url": "https://github.com/Rocketseat/commitlint-config/issues"
},
"homepage": "https://github.com/Rocketseat/commitlint-config#readme",
"keywords": [
"commitlint",
"config",
"commitlint-config",
"rocketseat",
"git"
]
],
"engines": {
"node": ">=v10"
}
}

0 comments on commit 0ec2475

Please sign in to comment.