@saasmakers/eslint 0.1.62 → 0.1.63

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.
@@ -10732,7 +10732,6 @@ let configs = {
10732
10732
  }),
10733
10733
  };
10734
10734
  const index = {
10735
- ...plugin,
10736
10735
  configs,
10737
10736
  };
10738
10737
 
@@ -10759,8 +10758,6 @@ const eslint_config = antfu__default(
10759
10758
  a11y: true
10760
10759
  }
10761
10760
  },
10762
- // ESLint plugins we use
10763
- index.configs["recommended-natural"],
10764
10761
  ...storybook__default.configs["flat/recommended"],
10765
10762
  // Override rules defined by Antfu ESLint config
10766
10763
  // Try to keep the disabled rules to a minimum
@@ -10769,7 +10766,11 @@ const eslint_config = antfu__default(
10769
10766
  "antfu/no-top-level-await": "off",
10770
10767
  "node/prefer-global/process": "off",
10771
10768
  "pnpm/yaml-enforce-settings": "off",
10772
- "ts/no-use-before-define": "off"
10769
+ "ts/no-use-before-define": "off",
10770
+ // Perfectionist
10771
+ ...index.configs["recommended-natural"].rules,
10772
+ "perfectionist/sort-imports": ["error", { newlinesBetween: 0, type: "natural" }],
10773
+ "perfectionist/sort-objects": ["error", { partitionByComment: true, partitionByNewLine: true, type: "natural" }]
10773
10774
  }
10774
10775
  }
10775
10776
  );
@@ -42,8 +42,6 @@ var eslint_config = antfu(
42
42
  a11y: true
43
43
  }
44
44
  },
45
- // ESLint plugins we use
46
- _default.configs["recommended-natural"],
47
45
  ...storybook.configs["flat/recommended"],
48
46
  // Override rules defined by Antfu ESLint config
49
47
  // Try to keep the disabled rules to a minimum
@@ -52,7 +50,11 @@ var eslint_config = antfu(
52
50
  "antfu/no-top-level-await": "off",
53
51
  "node/prefer-global/process": "off",
54
52
  "pnpm/yaml-enforce-settings": "off",
55
- "ts/no-use-before-define": "off"
53
+ "ts/no-use-before-define": "off",
54
+ // Perfectionist
55
+ ..._default.configs["recommended-natural"].rules,
56
+ "perfectionist/sort-imports": ["error", { newlinesBetween: 0, type: "natural" }],
57
+ "perfectionist/sort-objects": ["error", { partitionByComment: true, partitionByNewLine: true, type: "natural" }]
56
58
  }
57
59
  }
58
60
  );
@@ -42,8 +42,6 @@ var eslint_config = antfu(
42
42
  a11y: true
43
43
  }
44
44
  },
45
- // ESLint plugins we use
46
- _default.configs["recommended-natural"],
47
45
  ...storybook.configs["flat/recommended"],
48
46
  // Override rules defined by Antfu ESLint config
49
47
  // Try to keep the disabled rules to a minimum
@@ -52,7 +50,11 @@ var eslint_config = antfu(
52
50
  "antfu/no-top-level-await": "off",
53
51
  "node/prefer-global/process": "off",
54
52
  "pnpm/yaml-enforce-settings": "off",
55
- "ts/no-use-before-define": "off"
53
+ "ts/no-use-before-define": "off",
54
+ // Perfectionist
55
+ ..._default.configs["recommended-natural"].rules,
56
+ "perfectionist/sort-imports": ["error", { newlinesBetween: 0, type: "natural" }],
57
+ "perfectionist/sort-objects": ["error", { partitionByComment: true, partitionByNewLine: true, type: "natural" }]
56
58
  }
57
59
  }
58
60
  );
@@ -42,8 +42,6 @@ var eslint_config = antfu(
42
42
  a11y: true
43
43
  }
44
44
  },
45
- // ESLint plugins we use
46
- _default.configs["recommended-natural"],
47
45
  ...storybook.configs["flat/recommended"],
48
46
  // Override rules defined by Antfu ESLint config
49
47
  // Try to keep the disabled rules to a minimum
@@ -52,7 +50,11 @@ var eslint_config = antfu(
52
50
  "antfu/no-top-level-await": "off",
53
51
  "node/prefer-global/process": "off",
54
52
  "pnpm/yaml-enforce-settings": "off",
55
- "ts/no-use-before-define": "off"
53
+ "ts/no-use-before-define": "off",
54
+ // Perfectionist
55
+ ..._default.configs["recommended-natural"].rules,
56
+ "perfectionist/sort-imports": ["error", { newlinesBetween: 0, type: "natural" }],
57
+ "perfectionist/sort-objects": ["error", { partitionByComment: true, partitionByNewLine: true, type: "natural" }]
56
58
  }
57
59
  }
58
60
  );
@@ -10710,7 +10710,6 @@ let configs = {
10710
10710
  }),
10711
10711
  };
10712
10712
  const index = {
10713
- ...plugin,
10714
10713
  configs,
10715
10714
  };
10716
10715
 
@@ -10737,8 +10736,6 @@ const eslint_config = antfu(
10737
10736
  a11y: true
10738
10737
  }
10739
10738
  },
10740
- // ESLint plugins we use
10741
- index.configs["recommended-natural"],
10742
10739
  ...storybook.configs["flat/recommended"],
10743
10740
  // Override rules defined by Antfu ESLint config
10744
10741
  // Try to keep the disabled rules to a minimum
@@ -10747,7 +10744,11 @@ const eslint_config = antfu(
10747
10744
  "antfu/no-top-level-await": "off",
10748
10745
  "node/prefer-global/process": "off",
10749
10746
  "pnpm/yaml-enforce-settings": "off",
10750
- "ts/no-use-before-define": "off"
10747
+ "ts/no-use-before-define": "off",
10748
+ // Perfectionist
10749
+ ...index.configs["recommended-natural"].rules,
10750
+ "perfectionist/sort-imports": ["error", { newlinesBetween: 0, type: "natural" }],
10751
+ "perfectionist/sort-objects": ["error", { partitionByComment: true, partitionByNewLine: true, type: "natural" }]
10751
10752
  }
10752
10753
  }
10753
10754
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasmakers/eslint",
3
3
  "type": "module",
4
- "version": "0.1.62",
4
+ "version": "0.1.63",
5
5
  "private": false,
6
6
  "description": "Shared ESLint config and rules for SaaS Makers projects",
7
7
  "author": "SaaS Makers",