@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.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/index.js +1 -1
  3. 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://stylelint.io/user-guide/configure>) and add:
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
- 'extends': '@massimo-cassandro/eslint-config'
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
- 'extends': ['react-app', '@massimo-cassandro/eslint-config']
40
+ extends: ['react-app', '@massimo-cassandro/eslint-config']
41
41
  };
42
42
  ```
package/index.js CHANGED
@@ -15,7 +15,7 @@ module.exports = {
15
15
  '**/*.min.js'
16
16
  ],
17
17
  'parserOptions': {
18
- 'ecmaVersion': 2021,
18
+ 'ecmaVersion': 2023,
19
19
  'sourceType': 'module'
20
20
  },
21
21
  'rules': {
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@massimo-cassandro/eslint-config",
3
- "version": "1.1.0",
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
+ }