@lincy/eslint-config 4.2.0 → 4.2.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 CHANGED
@@ -742,7 +742,7 @@ async function stylistic(options = {}) {
742
742
  jsx,
743
743
  quotes,
744
744
  semi
745
- } = typeof stylistic2 === "boolean" ? StylisticConfigDefaults : stylistic2;
745
+ } = typeof stylistic2 === "boolean" ? StylisticConfigDefaults : { ...StylisticConfigDefaults, ...stylistic2 };
746
746
  const pluginStylistic = await interopDefault(import("@stylistic/eslint-plugin"));
747
747
  const config = pluginStylistic.configs.customize({
748
748
  flat: true,
package/dist/index.js CHANGED
@@ -656,7 +656,7 @@ async function stylistic(options = {}) {
656
656
  jsx,
657
657
  quotes,
658
658
  semi
659
- } = typeof stylistic2 === "boolean" ? StylisticConfigDefaults : stylistic2;
659
+ } = typeof stylistic2 === "boolean" ? StylisticConfigDefaults : { ...StylisticConfigDefaults, ...stylistic2 };
660
660
  const pluginStylistic = await interopDefault(import("@stylistic/eslint-plugin"));
661
661
  const config = pluginStylistic.configs.customize({
662
662
  flat: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
3
  "type": "module",
4
- "version": "4.2.0",
4
+ "version": "4.2.1",
5
5
  "packageManager": "pnpm@8.7.6",
6
6
  "description": "LinCenYing's ESLint config",
7
7
  "author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",