@putout/plugin-putout 26.13.0 → 26.15.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.
@@ -1,5 +1,6 @@
1
1
  import filesystem from './filesystem.js';
2
2
  import json from './json.js';
3
+ import jsx from './jsx.js';
3
4
  import keyword from './keyword.js';
4
5
  import parens from './parens.js';
5
6
  import regexp from './regexp.js';
@@ -7,6 +8,7 @@ import regexp from './regexp.js';
7
8
  export default {
8
9
  ...filesystem,
9
10
  ...json,
11
+ ...jsx,
10
12
  ...keyword,
11
13
  ...parens,
12
14
  ...regexp,
@@ -0,0 +1,3 @@
1
+ export default {
2
+ hasTagName: 'const {hasTagName} = operator',
3
+ };
@@ -14,7 +14,7 @@ export const fix = ({path, incorrect, correct}) => {
14
14
 
15
15
  const INCORRECT = {
16
16
  REPORT: /: (no report after transform|no report|transform|no transform)/,
17
- NO_REPORT: /: (no report after transform|report|(transform|no transform)(\swith options)?)/,
17
+ NO_REPORT: /: (no report (after transform|with options)|report|(transform|no transform)(\swith options)?)/,
18
18
  NO_REPORT_AFTER_TRANSFORM: /: (report|transform|no transform|no report)/,
19
19
  NO_REPORT_WITH_OPTIONS: /: (no report after transform(\swith options)?|report|transform|no transform|no report)/,
20
20
  TRANSFORM: /: (transform with options|no report after transform|no transform|report|no report)/,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-putout",
3
- "version": "26.13.0",
3
+ "version": "26.15.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin helps with plugins development",