@dhzh/eslint-config 1.0.4 → 1.1.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.
@@ -28,7 +28,7 @@ var import_ansis5 = __toESM(require("ansis"), 1);
28
28
  var import_cac = require("cac");
29
29
 
30
30
  // package.json
31
- var version = "1.0.4";
31
+ var version = "1.1.0";
32
32
  var package_default = {
33
33
  name: "@dhzh/eslint-config",
34
34
  type: "module",
package/dist/cli/index.js CHANGED
@@ -4,7 +4,7 @@ import c4 from "ansis";
4
4
  import { cac } from "cac";
5
5
 
6
6
  // package.json
7
- var version = "1.0.4";
7
+ var version = "1.1.0";
8
8
  var package_default = {
9
9
  name: "@dhzh/eslint-config",
10
10
  type: "module",
package/dist/index.cjs CHANGED
@@ -360,7 +360,7 @@ function stylistic(options = {}) {
360
360
  }
361
361
  ],
362
362
  "stylistic/function-call-spacing": ["error", "never"],
363
- "stylistic/function-paren-newline": ["error", "multiline"],
363
+ "stylistic/function-paren-newline": "off",
364
364
  "stylistic/indent": [
365
365
  "error",
366
366
  2,
@@ -417,13 +417,7 @@ function stylistic(options = {}) {
417
417
  before: false
418
418
  }
419
419
  ],
420
- "stylistic/type-annotation-spacing": [
421
- "error",
422
- {
423
- before: false,
424
- after: true
425
- }
426
- ],
420
+ "stylistic/type-annotation-spacing": "error",
427
421
  "stylistic/wrap-regex": "error",
428
422
  "stylistic/quotes": [
429
423
  "error",
package/dist/index.js CHANGED
@@ -324,7 +324,7 @@ function stylistic(options = {}) {
324
324
  }
325
325
  ],
326
326
  "stylistic/function-call-spacing": ["error", "never"],
327
- "stylistic/function-paren-newline": ["error", "multiline"],
327
+ "stylistic/function-paren-newline": "off",
328
328
  "stylistic/indent": [
329
329
  "error",
330
330
  2,
@@ -381,13 +381,7 @@ function stylistic(options = {}) {
381
381
  before: false
382
382
  }
383
383
  ],
384
- "stylistic/type-annotation-spacing": [
385
- "error",
386
- {
387
- before: false,
388
- after: true
389
- }
390
- ],
384
+ "stylistic/type-annotation-spacing": "error",
391
385
  "stylistic/wrap-regex": "error",
392
386
  "stylistic/quotes": [
393
387
  "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dhzh/eslint-config",
3
3
  "type": "module",
4
- "version": "1.0.4",
4
+ "version": "1.1.0",
5
5
  "description": "Lyle's ESLint config",
6
6
  "author": {
7
7
  "name": "Lyle Zheng",