@fullstacksjs/eslint-config 13.2.0 → 13.2.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.
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
  ## Installation
14
14
 
15
15
  ```sh
16
- $ npm install --save-dev @fullstacksjs/eslint-config eslint prettier
16
+ npm install --save-dev @fullstacksjs/eslint-config eslint prettier
17
17
  ```
18
18
 
19
19
  ⚡️ That's it, you don't need to install any eslint-plugin! If you already have some plugins installed, please remove them.
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var _eslintPluginRegexp = _interopRequireDefault(require("eslint-plugin-regexp"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7
+ var plugin = _interopRequireWildcard(require("eslint-plugin-regexp"));
8
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
9
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
9
10
  /**
10
11
  * @param { import('../index.js').Options } options
11
12
  * @return { Promise<import('eslint').Linter.Config> }
@@ -13,7 +14,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
13
14
  function regex(options = {}) {
14
15
  return {
15
16
  plugins: {
16
- regexp: _eslintPluginRegexp.default
17
+ regexp: plugin
17
18
  },
18
19
  settings: {
19
20
  regexp: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullstacksjs/eslint-config",
3
- "version": "13.2.0",
3
+ "version": "13.2.2",
4
4
  "license": "MIT",
5
5
  "author": "fullstacks <fullstacksjs@gmail.com>",
6
6
  "description": "fullstacks eslint config",
@@ -1,4 +1,4 @@
1
- import plugin from 'eslint-plugin-regexp';
1
+ import * as plugin from 'eslint-plugin-regexp';
2
2
 
3
3
  /**
4
4
  * @param { import('..').Options } options