@antfu/eslint-config 1.1.3 → 1.1.4

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/cli.cjs CHANGED
@@ -46,7 +46,7 @@ var import_parse_gitignore = __toESM(require("parse-gitignore"), 1);
46
46
  var import_picocolors = __toESM(require("picocolors"), 1);
47
47
 
48
48
  // package.json
49
- var version = "1.1.3";
49
+ var version = "1.1.4";
50
50
 
51
51
  // src/cli/constants.ts
52
52
  var ARROW = import_picocolors.default.cyan("\u2192");
package/dist/cli.js CHANGED
@@ -17,7 +17,7 @@ import parse from "parse-gitignore";
17
17
  import c from "picocolors";
18
18
 
19
19
  // package.json
20
- var version = "1.1.3";
20
+ var version = "1.1.4";
21
21
 
22
22
  // src/cli/constants.ts
23
23
  var ARROW = c.cyan("\u2192");
package/dist/index.cjs CHANGED
@@ -944,6 +944,8 @@ function stylistic(options = {}) {
944
944
  "JSXText",
945
945
  "JSXEmptyExpression",
946
946
  "JSXSpreadChild",
947
+ "TSUnionType",
948
+ "TSIntersectionType",
947
949
  "TSTypeParameterInstantiation",
948
950
  "FunctionExpression > .params[decorators.length > 0]",
949
951
  "FunctionExpression > .params > :matches(Decorator, :not(:first-child))",
package/dist/index.js CHANGED
@@ -846,6 +846,8 @@ function stylistic(options = {}) {
846
846
  "JSXText",
847
847
  "JSXEmptyExpression",
848
848
  "JSXSpreadChild",
849
+ "TSUnionType",
850
+ "TSIntersectionType",
849
851
  "TSTypeParameterInstantiation",
850
852
  "FunctionExpression > .params[decorators.length > 0]",
851
853
  "FunctionExpression > .params > :matches(Decorator, :not(:first-child))",
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@antfu/eslint-config",
3
3
  "type": "module",
4
- "version": "1.1.3",
5
- "packageManager": "pnpm@8.10.4",
4
+ "version": "1.1.4",
5
+ "packageManager": "pnpm@8.10.5",
6
6
  "description": "Anthony's ESLint config",
7
7
  "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
8
8
  "license": "MIT",
@@ -33,10 +33,10 @@
33
33
  "@eslint-types/typescript-eslint": "^6.9.1",
34
34
  "@eslint-types/unicorn": "^49.0.0",
35
35
  "@stylistic/eslint-plugin": "^1.2.0",
36
- "@typescript-eslint/eslint-plugin": "^6.10.0",
37
- "@typescript-eslint/parser": "^6.10.0",
36
+ "@typescript-eslint/eslint-plugin": "^6.11.0",
37
+ "@typescript-eslint/parser": "^6.11.0",
38
38
  "eslint-config-flat-gitignore": "^0.1.1",
39
- "eslint-plugin-antfu": "^1.0.6",
39
+ "eslint-plugin-antfu": "^1.0.9",
40
40
  "eslint-plugin-eslint-comments": "^3.2.0",
41
41
  "eslint-plugin-i": "^2.29.0",
42
42
  "eslint-plugin-jsdoc": "^46.9.0",
@@ -81,7 +81,7 @@
81
81
  "tsup": "^7.2.0",
82
82
  "typescript": "^5.2.2",
83
83
  "vitest": "^0.34.6",
84
- "@antfu/eslint-config": "1.1.3"
84
+ "@antfu/eslint-config": "1.1.4"
85
85
  },
86
86
  "simple-git-hooks": {
87
87
  "pre-commit": "pnpm lint-staged"