@putout/plugin-putout 20.6.0 → 20.7.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 +22 -0
- package/lib/add-traverse-args/index.js +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -890,6 +890,28 @@ module.exports.traverse = ({store}) => ({
|
|
|
890
890
|
});
|
|
891
891
|
```
|
|
892
892
|
|
|
893
|
+
- [`listStore``](https://github.com/coderaiser/putout/blob/master/packages/engine-runner/README.md#liststore)
|
|
894
|
+
|
|
895
|
+
### ❌ Example of incorrect code
|
|
896
|
+
|
|
897
|
+
```js
|
|
898
|
+
export const traverse = () => ({
|
|
899
|
+
ImportDeclaration(path) {
|
|
900
|
+
listStore(path);
|
|
901
|
+
},
|
|
902
|
+
});
|
|
903
|
+
```
|
|
904
|
+
|
|
905
|
+
### ✅ Example of correct code
|
|
906
|
+
|
|
907
|
+
```js
|
|
908
|
+
module.exports.traverse = ({listStore}) => ({
|
|
909
|
+
ImportDeclaration(path) {
|
|
910
|
+
listStore(path);
|
|
911
|
+
},
|
|
912
|
+
});
|
|
913
|
+
```
|
|
914
|
+
|
|
893
915
|
- [`pathStore`](https://github.com/coderaiser/putout/blob/master/packages/engine-runner/README.md#pathstore)
|
|
894
916
|
|
|
895
917
|
### ❌ Example of incorrect code
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/plugin-putout",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.7.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "🐊Putout plugin helps with plugins development",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@putout/plugin-tape": "*",
|
|
41
41
|
"@putout/test": "^10.0.0",
|
|
42
|
-
"c8": "^
|
|
42
|
+
"c8": "^10.0.0",
|
|
43
43
|
"eslint": "^9.0.0",
|
|
44
44
|
"eslint-plugin-n": "^17.0.0",
|
|
45
45
|
"eslint-plugin-putout": "^22.0.0",
|