@putout/plugin-putout-config 9.0.0 β†’ 10.0.0

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 CHANGED
@@ -72,12 +72,12 @@ Apply [`assignment`](https://github.com/coderaiser/putout/tree/master/packages/p
72
72
  - "split-assignment-expressions": "off",
73
73
  - "simplify-assignments": "off",
74
74
  - "convert-assignment-to-arrow-function": "off",
75
- - "convert-assignment-to-comparisson": "off",
75
+ - "convert-assignment-to-comparison": "off",
76
76
  - "convert-assignment-to-declaration": "off"
77
77
  + "assignment/split": "off",
78
78
  + "assignment/simplify": "off",
79
79
  + "assignment/convert-to-arrow-function": "off"
80
- + "assignment/convert-to-comparisson": "off",
80
+ + "assignment/convert-to-comparison": "off",
81
81
  + "assignment/convert-to-declaration": "off"
82
82
  }
83
83
  }
@@ -108,6 +108,17 @@ Apply [`return`](https://github.com/coderaiser/putout/tree/master/packages/plugi
108
108
 
109
109
  Apply [`esm`](https://github.com/coderaiser/putout/tree/master/packages/plugin-esm#readme) according to:
110
110
 
111
+ - 🐊[**Putout v40**](https://github.com/coderaiser/putout/releases/tag/v40.0.0):
112
+
113
+ ```diff
114
+ {
115
+ "rules": {
116
+ - "putout/add-index-to-import": "on"
117
+ + "esm/add-index-to-import": "on"
118
+ }
119
+ }
120
+ ```
121
+
111
122
  - 🐊[**Putout v37**](https://github.com/coderaiser/putout/releases/tag/v37.0.0):
112
123
 
113
124
  ```diff
@@ -4,7 +4,7 @@ const v39 = [
4
4
  ['split-assignment-expressions', 'assignment/split'],
5
5
  ['simplify-assignments', 'assignment/simplify'],
6
6
  ['convert-assignment-to-arrow-function', 'assignment/convert-to-arrow-function'],
7
- ['convert-assignment-to-comparisson', 'assignment/convert-to-comparisson'],
7
+ ['convert-assignment-to-comparison', 'assignment/convert-to-comparison'],
8
8
  ['convert-assignment-to-declaration', 'assignment/convert-to-declaration'],
9
9
  ];
10
10
 
@@ -1,5 +1,9 @@
1
1
  import {createRenameProperty} from '../rename-property.js';
2
2
 
3
+ const v40 = [
4
+ ['putout/apply-index-to-import', 'esm/apply-index-to-import'],
5
+ ];
6
+
3
7
  const v37 = [
4
8
  ['convert-assert-to-with', 'esm/convert-assert-to-with'],
5
9
  ['remove-empty/import', 'esm/remove-empty-import'],
@@ -11,11 +15,16 @@ const v37 = [
11
15
  ['merge-duplicate-imports', 'esm/merge-duplicate-imports'],
12
16
  ];
13
17
 
18
+ const versions = [
19
+ ...v37,
20
+ ...v40,
21
+ ];
22
+
14
23
  const {
15
24
  report,
16
25
  fix,
17
26
  traverse,
18
- } = createRenameProperty(v37);
27
+ } = createRenameProperty(versions);
19
28
 
20
29
  export {
21
30
  report,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-putout-config",
3
- "version": "9.0.0",
3
+ "version": "10.0.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin helps to maintain putout config",
@@ -41,7 +41,7 @@
41
41
  "nodemon": "^3.0.1"
42
42
  },
43
43
  "peerDependencies": {
44
- "putout": ">=39"
44
+ "putout": ">=40"
45
45
  },
46
46
  "license": "MIT",
47
47
  "engines": {