@massimo-cassandro/eslint-config 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/index.js +1 -1
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -13,13 +13,13 @@ Install `eslint` and this package:
|
|
|
13
13
|
npm install -D @massimo-cassandro/eslint-config eslint
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Create a `.eslintrc.cjs` file (or use any other name you like, following the instructions at <https://
|
|
16
|
+
Create a `.eslintrc.cjs` file (or use any other name and syntax you like, following the instructions at <https://eslint.org/docs/latest/use/configure/configuration-files>) and add:
|
|
17
17
|
|
|
18
18
|
```javascript
|
|
19
19
|
/* eslint-env node */
|
|
20
20
|
|
|
21
21
|
module.exports = {
|
|
22
|
-
|
|
22
|
+
extends: '@massimo-cassandro/eslint-config'
|
|
23
23
|
};
|
|
24
24
|
```
|
|
25
25
|
|
|
@@ -37,6 +37,6 @@ Add it to the `.eslintrc.cjs` file:
|
|
|
37
37
|
/* eslint-env node */
|
|
38
38
|
|
|
39
39
|
module.exports = {
|
|
40
|
-
|
|
40
|
+
extends: ['react-app', '@massimo-cassandro/eslint-config']
|
|
41
41
|
};
|
|
42
42
|
```
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@massimo-cassandro/eslint-config",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "my eselint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
+
"UPD-version": "npx update-version",
|
|
7
8
|
"npm-publish": "npm publish"
|
|
8
9
|
},
|
|
9
10
|
"publishConfig": {
|
|
@@ -24,5 +25,8 @@
|
|
|
24
25
|
],
|
|
25
26
|
"files": [
|
|
26
27
|
"index.js"
|
|
27
|
-
]
|
|
28
|
-
|
|
28
|
+
],
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@massimo-cassandro/dev-updater": "^1.0.1"
|
|
31
|
+
}
|
|
32
|
+
}
|