@putout/plugin-conditions 1.0.1 β†’ 1.0.2

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 (2) hide show
  1. package/README.md +6 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -32,7 +32,7 @@ npm i @putout/plugin-conditions -D
32
32
  > The result of evaluating an equality operator is always of type boolean based on whether the comparison is true.
33
33
  >
34
34
  > (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators)
35
-
35
+
36
36
  Checkout it 🐊[Putout Editor](https://putout.cloudcmd.io/#/gist/c61c94d2e1990f59b160aaf462f9a903/0855844b114079ec46098be6f3602dfdaa74290c).
37
37
 
38
38
  ### ❌ Example of incorrect code
@@ -61,8 +61,10 @@ Linter | Rule | Fix
61
61
  ### ❌ Example of incorrect code
62
62
 
63
63
  ```js
64
- if (2 > 3);
65
- alert();
64
+ if (2 > 3)
65
+ ;
66
+
67
+ alert();
66
68
  ```
67
69
 
68
70
  ### βœ… Example of correct code
@@ -77,6 +79,7 @@ if (2 > 3)
77
79
  > Strict equality compares two values for equality. Neither value is implicitly converted to some other value before being compared. If the values have different types, the values are considered unequal.
78
80
  >
79
81
  > (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness)
82
+
80
83
  ## ❌ Example of incorrect code
81
84
 
82
85
  ```js
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@putout/plugin-conditions",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin adds support of conditions transformations",
7
- "homepage": "https://github.com/coderaiser/conditions/tree/master/packages/plugin-conditions#readme",
7
+ "homepage": "https://github.com/coderaiser/putout/tree/master/packages/plugin-conditions#readme",
8
8
  "main": "lib/index.js",
9
9
  "release": false,
10
10
  "tag": false,