@so1ve/eslint-config 3.25.0 → 4.0.0

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.d.mts CHANGED
@@ -16625,14 +16625,14 @@ declare const GLOB_EXCLUDE: string[];
16625
16625
  * import { renameRules } from "@antfu/eslint-config";
16626
16626
  *
16627
16627
  * export default [
16628
- * {
16629
- * rules: renameRules(
16630
- * {
16631
- * "@typescript-eslint/indent": "error",
16632
- * },
16633
- * { "@typescript-eslint": "ts" },
16634
- * ),
16635
- * },
16628
+ * {
16629
+ * rules: renameRules(
16630
+ * {
16631
+ * "@typescript-eslint/indent": "error",
16632
+ * },
16633
+ * { "@typescript-eslint": "ts" },
16634
+ * ),
16635
+ * },
16636
16636
  * ];
16637
16637
  * ```
16638
16638
  */
package/dist/index.mjs CHANGED
@@ -111,14 +111,14 @@ const GLOB_EXCLUDE = [
111
111
  * import { renameRules } from "@antfu/eslint-config";
112
112
  *
113
113
  * export default [
114
- * {
115
- * rules: renameRules(
116
- * {
117
- * "@typescript-eslint/indent": "error",
118
- * },
119
- * { "@typescript-eslint": "ts" },
120
- * ),
121
- * },
114
+ * {
115
+ * rules: renameRules(
116
+ * {
117
+ * "@typescript-eslint/indent": "error",
118
+ * },
119
+ * { "@typescript-eslint": "ts" },
120
+ * ),
121
+ * },
122
122
  * ];
123
123
  * ```
124
124
  */
@@ -881,6 +881,7 @@ async function formatting(options) {
881
881
  "allowUnreachableCode",
882
882
  "allowUnusedLabels",
883
883
  "alwaysStrict",
884
+ "erasableSyntaxOnly",
884
885
  "exactOptionalPropertyTypes",
885
886
  "noFallthroughCasesInSwitch",
886
887
  "noImplicitAny",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-config",
3
- "version": "3.25.0",
3
+ "version": "4.0.0",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "type": "module",
6
6
  "description": "Ray's eslint config.",
@@ -76,8 +76,8 @@
76
76
  "typescript-eslint": "^8.50.1",
77
77
  "vue-eslint-parser": "^10.2.0",
78
78
  "yaml-eslint-parser": "^1.3.2",
79
- "@so1ve/eslint-plugin": "3.25.0",
80
- "@so1ve/eslint-plugin-sort-imports": "3.25.0"
79
+ "@so1ve/eslint-plugin": "4.0.0",
80
+ "@so1ve/eslint-plugin-sort-imports": "4.0.0"
81
81
  },
82
82
  "devDependencies": {
83
83
  "eslint-plugin-de-morgan": "^2.0.0",