@jsse/eslint-config 0.2.5 → 0.2.7

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
@@ -612,7 +612,7 @@ var CAC = class extends import_events.EventEmitter {
612
612
  var cac = (name = "") => new CAC(name);
613
613
 
614
614
  // package.json
615
- var version = "0.2.5";
615
+ var version = "0.2.7";
616
616
 
617
617
  // src/cli.ts
618
618
  var cli = cac("jsselint");
package/dist/cli.js CHANGED
@@ -588,7 +588,7 @@ var CAC = class extends EventEmitter {
588
588
  var cac = (name = "") => new CAC(name);
589
589
 
590
590
  // package.json
591
- var version = "0.2.5";
591
+ var version = "0.2.7";
592
592
 
593
593
  // src/cli.ts
594
594
  var cli = cac("jsselint");
package/dist/index.cjs CHANGED
@@ -10906,12 +10906,8 @@ function typescriptRulesTypeOblivious() {
10906
10906
  }
10907
10907
  ],
10908
10908
  "no-async-promise-executor": "error",
10909
- "no-bitwise": [
10910
- "warn",
10911
- {
10912
- allow: ["^", "<<", ">>", ">>>", "^=", "<<=", ">>=", ">>>=", "~"]
10913
- }
10914
- ],
10909
+ "no-bitwise": "off",
10910
+ // bit ops are so hot right now
10915
10911
  "no-caller": "error",
10916
10912
  "no-compare-neg-zero": "error",
10917
10913
  "no-cond-assign": "error",
package/dist/index.d.cts CHANGED
@@ -4174,24 +4174,25 @@ type AntfuConsistentListNewline =
4174
4174
  | [
4175
4175
  {
4176
4176
  ArrayExpression?: boolean;
4177
+ ArrayPattern?: boolean;
4177
4178
  ArrowFunctionExpression?: boolean;
4178
4179
  CallExpression?: boolean;
4179
4180
  ExportNamedDeclaration?: boolean;
4180
4181
  FunctionDeclaration?: boolean;
4181
4182
  FunctionExpression?: boolean;
4182
4183
  ImportDeclaration?: boolean;
4184
+ JSONArrayExpression?: boolean;
4185
+ JSONObjectExpression?: boolean;
4186
+ JSXOpeningElement?: boolean;
4183
4187
  NewExpression?: boolean;
4184
4188
  ObjectExpression?: boolean;
4189
+ ObjectPattern?: boolean;
4190
+ TSFunctionType?: boolean;
4185
4191
  TSInterfaceDeclaration?: boolean;
4186
4192
  TSTupleType?: boolean;
4187
4193
  TSTypeLiteral?: boolean;
4188
4194
  TSTypeParameterDeclaration?: boolean;
4189
4195
  TSTypeParameterInstantiation?: boolean;
4190
- ObjectPattern?: boolean;
4191
- ArrayPattern?: boolean;
4192
- JSXOpeningElement?: boolean;
4193
- JSONArrayExpression?: boolean;
4194
- JSONObjectExpression?: boolean;
4195
4196
  },
4196
4197
  ];
4197
4198
  // ----- antfu/indent-unindent -----
@@ -14945,7 +14946,7 @@ interface TypescriptRuleOptions {
14945
14946
  */
14946
14947
  "@typescript-eslint/unified-signatures"?: Linter.RuleEntry<TypescriptEslintUnifiedSignatures>;
14947
14948
  /**
14948
- * Enforce typing arguments in `.catch()` callbacks as `unknown`
14949
+ * Enforce typing arguments in Promise rejection callbacks as `unknown`
14949
14950
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
14950
14951
  */
14951
14952
  "@typescript-eslint/use-unknown-in-catch-callback-variable"?: Linter.RuleEntry<
package/dist/index.d.ts CHANGED
@@ -4174,24 +4174,25 @@ type AntfuConsistentListNewline =
4174
4174
  | [
4175
4175
  {
4176
4176
  ArrayExpression?: boolean;
4177
+ ArrayPattern?: boolean;
4177
4178
  ArrowFunctionExpression?: boolean;
4178
4179
  CallExpression?: boolean;
4179
4180
  ExportNamedDeclaration?: boolean;
4180
4181
  FunctionDeclaration?: boolean;
4181
4182
  FunctionExpression?: boolean;
4182
4183
  ImportDeclaration?: boolean;
4184
+ JSONArrayExpression?: boolean;
4185
+ JSONObjectExpression?: boolean;
4186
+ JSXOpeningElement?: boolean;
4183
4187
  NewExpression?: boolean;
4184
4188
  ObjectExpression?: boolean;
4189
+ ObjectPattern?: boolean;
4190
+ TSFunctionType?: boolean;
4185
4191
  TSInterfaceDeclaration?: boolean;
4186
4192
  TSTupleType?: boolean;
4187
4193
  TSTypeLiteral?: boolean;
4188
4194
  TSTypeParameterDeclaration?: boolean;
4189
4195
  TSTypeParameterInstantiation?: boolean;
4190
- ObjectPattern?: boolean;
4191
- ArrayPattern?: boolean;
4192
- JSXOpeningElement?: boolean;
4193
- JSONArrayExpression?: boolean;
4194
- JSONObjectExpression?: boolean;
4195
4196
  },
4196
4197
  ];
4197
4198
  // ----- antfu/indent-unindent -----
@@ -14945,7 +14946,7 @@ interface TypescriptRuleOptions {
14945
14946
  */
14946
14947
  "@typescript-eslint/unified-signatures"?: Linter.RuleEntry<TypescriptEslintUnifiedSignatures>;
14947
14948
  /**
14948
- * Enforce typing arguments in `.catch()` callbacks as `unknown`
14949
+ * Enforce typing arguments in Promise rejection callbacks as `unknown`
14949
14950
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
14950
14951
  */
14951
14952
  "@typescript-eslint/use-unknown-in-catch-callback-variable"?: Linter.RuleEntry<
package/dist/index.js CHANGED
@@ -10837,12 +10837,8 @@ function typescriptRulesTypeOblivious() {
10837
10837
  }
10838
10838
  ],
10839
10839
  "no-async-promise-executor": "error",
10840
- "no-bitwise": [
10841
- "warn",
10842
- {
10843
- allow: ["^", "<<", ">>", ">>>", "^=", "<<=", ">>=", ">>>=", "~"]
10844
- }
10845
- ],
10840
+ "no-bitwise": "off",
10841
+ // bit ops are so hot right now
10846
10842
  "no-caller": "error",
10847
10843
  "no-compare-neg-zero": "error",
10848
10844
  "no-cond-assign": "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsse/eslint-config",
3
3
  "type": "module",
4
- "version": "0.2.5",
4
+ "version": "0.2.7",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -58,50 +58,50 @@
58
58
  }
59
59
  },
60
60
  "dependencies": {
61
- "@eslint/js": "~9.9.0",
62
- "@stylistic/eslint-plugin": "2.6.2",
63
- "@typescript-eslint/eslint-plugin": "^8.0.0",
64
- "@typescript-eslint/parser": "^8.0.1",
61
+ "@eslint/js": "~9.9.1",
62
+ "@stylistic/eslint-plugin": "2.6.4",
63
+ "@typescript-eslint/eslint-plugin": "^8.2.0",
64
+ "@typescript-eslint/parser": "^8.2.0",
65
65
  "eslint-config-flat-gitignore": "^0.1.8",
66
66
  "eslint-define-config": "^2.1.0",
67
- "eslint-plugin-antfu": "^2.3.4",
67
+ "eslint-plugin-antfu": "^2.3.6",
68
68
  "eslint-plugin-eslint-comments": "^3.2.0",
69
69
  "eslint-plugin-import-x": "^3.1.0",
70
- "eslint-plugin-jsdoc": "^50.0.0",
70
+ "eslint-plugin-jsdoc": "^50.2.2",
71
71
  "eslint-plugin-jsonc": "^2.16.0",
72
72
  "eslint-plugin-markdown": "^5.1.0",
73
73
  "eslint-plugin-n": "^17.10.2",
74
- "eslint-plugin-no-only-tests": "^3.1.0",
75
- "eslint-plugin-perfectionist": "^3.1.2",
74
+ "eslint-plugin-no-only-tests": "^3.3.0",
75
+ "eslint-plugin-perfectionist": "^3.2.0",
76
76
  "eslint-plugin-react": "~7.35.0",
77
77
  "eslint-plugin-react-hooks": "~4.6.2",
78
- "eslint-plugin-react-refresh": "~0.4.9",
78
+ "eslint-plugin-react-refresh": "~0.4.11",
79
79
  "eslint-plugin-toml": "^0.11.1",
80
80
  "eslint-plugin-tsdoc": "^0.3.0",
81
81
  "eslint-plugin-unicorn": "^55.0.0",
82
- "eslint-plugin-unused-imports": "^4.1.2",
82
+ "eslint-plugin-unused-imports": "^4.1.3",
83
83
  "eslint-plugin-vitest": "0.5.4",
84
84
  "eslint-plugin-yml": "^1.14.0",
85
85
  "jsonc-eslint-parser": "^2.4.0",
86
86
  "picocolors": "^1.0.1",
87
87
  "toml-eslint-parser": "^0.10.0",
88
- "typescript-eslint": "^8.0.1",
88
+ "typescript-eslint": "^8.2.0",
89
89
  "yaml-eslint-parser": "^1.2.3"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@biomejs/biome": "1.8.3",
93
93
  "@changesets/cli": "^2.27.7",
94
94
  "@jsse/prettier-config": "^0.1.0",
95
- "@types/eslint": "^9.6.0",
95
+ "@types/eslint": "^9.6.1",
96
96
  "@types/eslint__js": "~8.42.3",
97
97
  "@types/fs-extra": "^11.0.4",
98
- "@types/node": "^20.14.13",
98
+ "@types/node": "^22.5.0",
99
99
  "cac": "^6.7.14",
100
- "eslint": "^9.8.0",
101
- "eslint-flat-config-utils": "^0.3.0",
100
+ "eslint": "^9.9.1",
101
+ "eslint-flat-config-utils": "^0.3.1",
102
102
  "eslint-plugin-tailwindcss": "^3.17.4",
103
- "eslint-typegen": "^0.3.0",
104
- "execa": "~9.3.0",
103
+ "eslint-typegen": "^0.3.1",
104
+ "execa": "~9.3.1",
105
105
  "fast-glob": "^3.3.2",
106
106
  "fs-extra": "^11.2.0",
107
107
  "globals": "^15.9.0",
@@ -109,9 +109,9 @@
109
109
  "prettier": "^3.3.3",
110
110
  "react": "~18.3.1",
111
111
  "rimraf": "^6.0.1",
112
- "tailwindcss": "^3.4.9",
112
+ "tailwindcss": "^3.4.10",
113
113
  "tsup": "^8.2.4",
114
- "tsx": "^4.17.0",
114
+ "tsx": "^4.18.0",
115
115
  "typescript": "~5.5.4",
116
116
  "vitest": "^2.0.5"
117
117
  },