@szum-tech/eslint-config 2.1.2 → 2.1.3
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/dist/index.cjs +20 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -16,7 +16,25 @@ var vitestPlugin = require('@vitest/eslint-plugin');
|
|
|
16
16
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
17
17
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
function _interopNamespace(e) {
|
|
20
|
+
if (e && e.__esModule) return e;
|
|
21
|
+
var n = Object.create(null);
|
|
22
|
+
if (e) {
|
|
23
|
+
Object.keys(e).forEach(function (k) {
|
|
24
|
+
if (k !== 'default') {
|
|
25
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
26
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return e[k]; }
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
n.default = e;
|
|
34
|
+
return Object.freeze(n);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
var importPlugin__namespace = /*#__PURE__*/_interopNamespace(importPlugin);
|
|
20
38
|
var jestDomPlugin__default = /*#__PURE__*/_interopDefault(jestDomPlugin);
|
|
21
39
|
var playwrightPlugin__default = /*#__PURE__*/_interopDefault(playwrightPlugin);
|
|
22
40
|
var reactPlugin__default = /*#__PURE__*/_interopDefault(reactPlugin);
|
|
@@ -72,7 +90,7 @@ var config = [
|
|
|
72
90
|
{
|
|
73
91
|
name: "eslint/config/base&import",
|
|
74
92
|
plugins: {
|
|
75
|
-
import:
|
|
93
|
+
import: importPlugin__namespace
|
|
76
94
|
},
|
|
77
95
|
languageOptions: {
|
|
78
96
|
ecmaVersion: "latest",
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import importPlugin from 'eslint-plugin-import';
|
|
1
|
+
import * as importPlugin from 'eslint-plugin-import';
|
|
2
2
|
import jestDomPlugin from 'eslint-plugin-jest-dom';
|
|
3
3
|
import playwrightPlugin from 'eslint-plugin-playwright';
|
|
4
4
|
import reactPlugin from 'eslint-plugin-react';
|
|
@@ -54,7 +54,7 @@ var config = [
|
|
|
54
54
|
{
|
|
55
55
|
name: "eslint/config/base&import",
|
|
56
56
|
plugins: {
|
|
57
|
-
import: importPlugin
|
|
57
|
+
import: importPlugin
|
|
58
58
|
},
|
|
59
59
|
languageOptions: {
|
|
60
60
|
ecmaVersion: "latest",
|