Skip to content

Commit 89cb43c

Browse files
committed
Publish package as @hyperoslo/eslint-config
1 parent a13554d commit 89cb43c

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "hyperoslo"
2+
"extends": "@hyperoslo/eslint-config"
33
}

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Licensed under the **MIT** license, see LICENSE for more information.
1111
Available via [npm](https://www.npmjs.com):
1212

1313
```shell
14-
npm install --save-dev eslint eslint-config-hyperoslo eslint-config-airbnb
14+
npm install --save-dev eslint @hyperoslo/eslint-config eslint-config-airbnb
1515
```
1616

1717
### ES6
@@ -26,7 +26,7 @@ Tweak `.eslintrc`:
2626

2727
```json
2828
{
29-
"extends": "hyperoslo"
29+
"extends": "@hyperoslo/eslint-config"
3030
}
3131
```
3232

@@ -35,14 +35,14 @@ Tweak `.eslintrc`:
3535
Additional dependencies to install:
3636

3737
```shell
38-
npm install --save-dev babel-eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y@^2.2.3
38+
npm install --save-dev babel-eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y
3939
```
4040

4141
Tweak `.eslintrc`:
4242

4343
```json
4444
{
45-
"extends": "hyperoslo/react"
45+
"extends": "@hyperoslo/eslint-config/react"
4646
}
4747
```
4848

fixtures/es6/.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"root": true,
3-
"extends": "hyperoslo"
3+
"extends": "@hyperoslo/eslint-config"
44
}

fixtures/react/.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"root": true,
3-
"extends": "hyperoslo/react"
3+
"extends": "@hyperoslo/eslint-config/react"
44
}

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module.exports = {
22
parser: 'babel-eslint',
33
extends: [
44
'eslint-config-airbnb/base',
5-
'eslint-config-hyperoslo/base',
5+
'@hyperoslo/eslint-config/base',
66
],
77
};

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
2-
"name": "eslint-config-hyperoslo",
2+
"name": "@hyperoslo/eslint-config",
33
"version": "1.2.0",
44
"description": "Hyper's ESLint config",
5+
"author": "Hyper Technology <[email protected]>",
6+
"repository": "github:hyperoslo/eslint-config",
7+
"license": "MIT",
58
"main": "index.js",
69
"files": [
710
"CHANGELOG.md",
8-
"LICENSE.md",
11+
"LICENSE",
912
"README.md",
1013
"base.js",
1114
"index.js",
@@ -14,9 +17,6 @@
1417
"scripts": {
1518
"lint": "eslint . fixtures --ext js,jsx"
1619
},
17-
"repository": "hyperoslo/eslint-config",
18-
"author": "Tim Kurvers <[email protected]>",
19-
"license": "MIT",
2020
"devDependencies": {
2121
"babel-eslint": "^10.0.1",
2222
"eslint": "^5.12.0",

react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
extends: [
33
'eslint-config-airbnb',
4-
'eslint-config-hyperoslo',
4+
'@hyperoslo/eslint-config',
55
],
66
};

0 commit comments

Comments
 (0)