@hexadrop/eslint-config 0.1.0 → 0.1.1
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 +2 -1
- package/dist/index.d.cts +1662 -499
- package/dist/index.d.ts +1662 -499
- package/dist/index.js +2 -1
- package/package.json +27 -27
package/dist/index.cjs
CHANGED
|
@@ -78,7 +78,7 @@ function extractTypedFlatConfigItem(config) {
|
|
|
78
78
|
// src/utils/interop-default.ts
|
|
79
79
|
async function interopDefault(m) {
|
|
80
80
|
const resolved = await m;
|
|
81
|
-
return resolved.default
|
|
81
|
+
return resolved.default ?? resolved;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
// src/utils/plugin-config-override-rules.ts
|
|
@@ -1925,6 +1925,7 @@ function defaultOptions(options = {}) {
|
|
|
1925
1925
|
ignore: typeof options.ignore === "object" ? {
|
|
1926
1926
|
...options.ignore,
|
|
1927
1927
|
files: typeof options.ignore.files === "string" ? options.ignore.files : options.ignore.files?.filter(Boolean) ?? [],
|
|
1928
|
+
filesGitModules: typeof options.ignore.filesGitModules === "string" ? options.ignore.filesGitModules : options.ignore.filesGitModules?.filter(Boolean) ?? [],
|
|
1928
1929
|
globs: options.ignore.globs?.filter(Boolean) ?? []
|
|
1929
1930
|
} : options.ignore ?? true,
|
|
1930
1931
|
imports: options.imports ?? true,
|