@zayne-labs/eslint-config 0.11.4 → 0.11.5

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.js CHANGED
@@ -1190,7 +1190,7 @@ const react = async (options = {}) => {
1190
1190
  enableReact ? interopDefault(import("@eslint-react/eslint-plugin")) : void 0,
1191
1191
  enableReact ? interopDefault(import("eslint-plugin-react-hooks")) : void 0,
1192
1192
  refresh ? interopDefault(import("eslint-plugin-react-refresh")) : void 0,
1193
- youMightNotNeedAnEffect ? interopDefault(import("./src-MgbFTVE-.js")) : void 0,
1193
+ youMightNotNeedAnEffect ? interopDefault(import("./src-Cr2NVJeY.js")) : void 0,
1194
1194
  nextjs ? interopDefault(import("@next/eslint-plugin-next")) : void 0
1195
1195
  ]);
1196
1196
  const strictConfigKey = typescript$1 ? "strict-type-checked" : "strict";
@@ -1868,6 +1868,7 @@ const unicorn = async (options = {}) => {
1868
1868
  "unicorn/no-useless-undefined": ["error", { checkArguments: true }],
1869
1869
  "unicorn/numeric-separators-style": "off",
1870
1870
  "unicorn/prefer-global-this": type === "lib" || type === "lib-strict" ? "warn" : "off",
1871
+ "unicorn/prefer-native-coercion-functions": "off",
1871
1872
  "unicorn/prevent-abbreviations": "off",
1872
1873
  ...overrides
1873
1874
  }
@@ -2140,8 +2141,7 @@ const zayne = (options = {}, ...userConfigs) => {
2140
2141
  const isStylistic = Boolean(enableStylistic);
2141
2142
  const tsconfigPath = isObject(enableTypeScript) && "tsconfigPath" in enableTypeScript ? enableTypeScript.tsconfigPath : enableTypeScript === true ? enableTypeScript : null;
2142
2143
  const isTypeAware = Boolean(tsconfigPath);
2143
- const configs = [];
2144
- configs.push(ignores(restOfOptions.ignores), javascript(restOfOptions.javascript));
2144
+ const configs = [ignores(restOfOptions.ignores), javascript(restOfOptions.javascript)];
2145
2145
  if (enableGitignore) configs.push(gitIgnores(resolveOptions(enableGitignore)));
2146
2146
  if (enableJsx) configs.push(jsx(resolveOptions(enableJsx)));
2147
2147
  if (restOfOptions.vue) {