@lincy/eslint-config 4.2.1 → 4.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/dist/index.cjs CHANGED
@@ -765,6 +765,8 @@ async function stylistic(options = {}) {
765
765
  "antfu/if-newline": "error",
766
766
  "antfu/top-level-function": "error",
767
767
  "curly": ["error", "multi-or-nest", "consistent"],
768
+ // 覆盖`stylistic`默认规则
769
+ "style/member-delimiter-style": ["error", { multiline: { delimiter: "none" } }],
768
770
  "style/multiline-ternary": ["error", "never"],
769
771
  ...overrides
770
772
  }
package/dist/index.js CHANGED
@@ -679,6 +679,8 @@ async function stylistic(options = {}) {
679
679
  "antfu/if-newline": "error",
680
680
  "antfu/top-level-function": "error",
681
681
  "curly": ["error", "multi-or-nest", "consistent"],
682
+ // 覆盖`stylistic`默认规则
683
+ "style/member-delimiter-style": ["error", { multiline: { delimiter: "none" } }],
682
684
  "style/multiline-ternary": ["error", "never"],
683
685
  ...overrides
684
686
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
3
  "type": "module",
4
- "version": "4.2.1",
4
+ "version": "4.2.2",
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/)",