@curev/eslint-config 0.4.1 → 0.4.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
@@ -46,17 +46,16 @@ var defaultConfig = {
46
46
  "style/comma-dangle": ["error", "only-multiline"],
47
47
  "style/brace-style": ["error", "1tbs"],
48
48
  "style/arrow-parens": ["error", "always"],
49
- "curly": ["error", "multi-line", "consistent"],
50
- "style/no-mixed-operators": ["error", {
51
- allowSamePrecedence: false
52
- }],
53
- "style/no-confusing-arrow": ["error", {
54
- allowParens: true,
55
- onlyOneSimpleParam: true
56
- }]
49
+ "style/multiline-ternary": ["error", "always-multiline"],
50
+ "curly": ["error", "multi-line", "consistent"]
57
51
  }
58
52
  },
59
- regexp: false
53
+ unocss: {
54
+ overrides: {
55
+ "unocss/order": ["error"]
56
+ },
57
+ strict: true
58
+ }
60
59
  };
61
60
  function curev(options = {}, ...userConfigs) {
62
61
  return (0, import_eslint_config.antfu)((0, import_defu.default)(
package/dist/index.js CHANGED
@@ -10,17 +10,16 @@ var defaultConfig = {
10
10
  "style/comma-dangle": ["error", "only-multiline"],
11
11
  "style/brace-style": ["error", "1tbs"],
12
12
  "style/arrow-parens": ["error", "always"],
13
- "curly": ["error", "multi-line", "consistent"],
14
- "style/no-mixed-operators": ["error", {
15
- allowSamePrecedence: false
16
- }],
17
- "style/no-confusing-arrow": ["error", {
18
- allowParens: true,
19
- onlyOneSimpleParam: true
20
- }]
13
+ "style/multiline-ternary": ["error", "always-multiline"],
14
+ "curly": ["error", "multi-line", "consistent"]
21
15
  }
22
16
  },
23
- regexp: false
17
+ unocss: {
18
+ overrides: {
19
+ "unocss/order": ["error"]
20
+ },
21
+ strict: true
22
+ }
24
23
  };
25
24
  function curev(options = {}, ...userConfigs) {
26
25
  return antfu(defu(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@curev/eslint-config",
3
3
  "type": "module",
4
- "version": "0.4.1",
4
+ "version": "0.4.2",
5
5
  "author": "Chizuki<chizukicn@outlook.com> (https://github.com/chizukicn/)",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/curev/eslint-config",