@putout/plugin-putout 11.1.1 → 11.2.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
@@ -417,7 +417,7 @@ module.exports.replace = () => ({
417
417
  });
418
418
  ```
419
419
 
420
- There is no `fix` for this rule, it used internally to be more confident about `test coverage`, because of declaration form, transforms cannon be checked by `nyc` and `c8`, and uncovered lines can find unfixable false possitives when running on code.
420
+ There is no `fix` for this rule, it used internally to be more confident about `test coverage`, because of declaration form, transforms cannon be checked by `nyc` and `c8`, and uncovered lines can find unfixable false positives when running on code.
421
421
  This is additional tests, if you forget to test some case (from a big list of rules that is supported) it will be checked with this `rule` and make transforms more stable.
422
422
 
423
423
  ## declare
@@ -4,7 +4,17 @@ const {operator} = require('putout');
4
4
  const {addArgs} = operator;
5
5
 
6
6
  module.exports = addArgs({
7
- comparePlaces: ['{comparePlaces}', 'test("__a", (__args) => __body)'],
8
- compare: ['{compare}', 'test("__a", (__args) => __body)'],
7
+ comparePlaces: ['{comparePlaces}', [
8
+ 'test("__a", async (__args) => __body)',
9
+ 'test.skip("__a", async (__args) => __body)',
10
+ 'test.only("__a", async (__args) => __body)',
11
+ ],
12
+ ],
13
+ process: ['{process}', [
14
+ 'test("__a", async (__args) => __body)',
15
+ 'test.skip("__a", async (__args) => __body)',
16
+ 'test.only("__a", async (__args) => __body)',
17
+ ],
18
+ ],
9
19
  });
10
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-putout",
3
- "version": "11.1.1",
3
+ "version": "11.2.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",