Skip to content

Commit 10b37e6

Browse files
committed
chore: @putout/plugin-remove-iife: use @putout/printer
1 parent 32e4120 commit 10b37e6

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

packages/plugin-remove-iife/.madrun.mjs

-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ export default {
1010
'coverage': async () => `c8 ${await run('test')}`,
1111
'report': () => 'c8 report --reporter=lcov',
1212
};
13-
+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
{
2+
"printer": "putout",
3+
"rules": {
4+
"putout/create-test": ["on", {
5+
"add": [
6+
["printer", "putout"]
7+
]
8+
}]
9+
},
210
"match": {
311
"*.md": {
412
"remove-iife": "off"
513
}
614
}
7-
}
15+
}

packages/plugin-remove-iife/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ npm i @putout/plugin-remove-iife
4444

4545
```js
4646
console.log('hello');
47-
4847
fn(value);
4948
fn(value, value2);
5049
```

packages/plugin-remove-iife/lib/remove-iife.js

-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ module.exports.replace = () => ({
4141
return first;
4242
},
4343
});
44-

0 commit comments

Comments
 (0)