@isentinel/eslint-config 0.7.3 → 0.7.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.
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  mod
28
28
  ));
29
29
 
30
- // node_modules/.pnpm/tsup@8.2.3_jiti@1.21.6_postcss@8.4.38_tsx@4.15.4_typescript@5.5.4_yaml@2.4.5/node_modules/tsup/assets/esm_shims.js
30
+ // node_modules/.pnpm/tsup@8.2.3_jiti@1.21.6_postcss@8.4.38_tsx@4.15.4_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/esm_shims.js
31
31
  var init_esm_shims = __esm({
32
- "node_modules/.pnpm/tsup@8.2.3_jiti@1.21.6_postcss@8.4.38_tsx@4.15.4_typescript@5.5.4_yaml@2.4.5/node_modules/tsup/assets/esm_shims.js"() {
32
+ "node_modules/.pnpm/tsup@8.2.3_jiti@1.21.6_postcss@8.4.38_tsx@4.15.4_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/esm_shims.js"() {
33
33
  "use strict";
34
34
  }
35
35
  });
package/dist/cli.cjs CHANGED
@@ -37,7 +37,7 @@ var import_helpers = require("yargs/helpers");
37
37
  // package.json
38
38
  var package_default = {
39
39
  name: "@isentinel/eslint-config",
40
- version: "0.7.3",
40
+ version: "0.7.4",
41
41
  description: "iSentinel's ESLint config",
42
42
  keywords: [
43
43
  "eslint-config",
@@ -87,18 +87,18 @@ var package_default = {
87
87
  dependencies: {
88
88
  "@antfu/install-pkg": "0.3.3",
89
89
  "@clack/prompts": "0.7.0",
90
- "@cspell/eslint-plugin": "8.12.1",
90
+ "@cspell/eslint-plugin": "8.13.0",
91
91
  "@eslint/compat": "1.1.1",
92
92
  "@isentinel/dict-rbxts": "1.0.1",
93
93
  "@isentinel/dict-roblox": "1.0.3",
94
94
  "@isentinel/eslint-plugin-comment-length": "1.7.3",
95
95
  "@shopify/eslint-plugin": "46.0.0",
96
- "@stylistic/eslint-plugin": "2.3.0",
97
- "@typescript-eslint/eslint-plugin": "7.17.0",
98
- "@typescript-eslint/parser": "7.17.0",
96
+ "@stylistic/eslint-plugin": "2.6.1",
97
+ "@typescript-eslint/eslint-plugin": "8.0.0",
98
+ "@typescript-eslint/parser": "8.0.0",
99
99
  "eslint-config-flat-gitignore": "0.1.8",
100
100
  "eslint-config-prettier": "9.1.0",
101
- "eslint-flat-config-utils": "0.2.5",
101
+ "eslint-flat-config-utils": "0.3.0",
102
102
  "eslint-merge-processors": "0.1.0",
103
103
  "eslint-plugin-antfu": "2.3.4",
104
104
  "eslint-plugin-arrow-return-style": "1.3.1",
@@ -106,7 +106,7 @@ var package_default = {
106
106
  "eslint-plugin-format": "0.1.2",
107
107
  "eslint-plugin-format-lua": "0.1.0",
108
108
  "eslint-plugin-import-x": "3.1.0",
109
- "eslint-plugin-jsdoc": "48.8.3",
109
+ "eslint-plugin-jsdoc": "48.10.2",
110
110
  "eslint-plugin-jsonc": "2.16.0",
111
111
  "eslint-plugin-markdown": "5.1.0",
112
112
  "eslint-plugin-no-autofix": "2.0.0",
@@ -131,13 +131,13 @@ var package_default = {
131
131
  },
132
132
  devDependencies: {
133
133
  "@antfu/ni": "0.22.0",
134
- "@eslint-react/eslint-plugin": "1.6.0",
134
+ "@eslint-react/eslint-plugin": "1.8.0",
135
135
  "@eslint/config-inspector": "0.5.2",
136
136
  "@isentinel/eslint-config": "workspace:*",
137
- "@stylistic/eslint-plugin-migrate": "2.3.0",
138
- "@types/eslint": "8.56.11",
137
+ "@stylistic/eslint-plugin-migrate": "2.6.1",
138
+ "@types/eslint": "9.6.0",
139
139
  "@types/fs-extra": "11.0.4",
140
- "@types/node": "20.14.12",
140
+ "@types/node": "20.14.13",
141
141
  "@types/prompts": "2.4.9",
142
142
  "@types/yargs": "17.0.32",
143
143
  bumpp: "9.4.1",
@@ -145,7 +145,7 @@ var package_default = {
145
145
  eslint: "9.8.0",
146
146
  "eslint-plugin-react-hooks": "4.6.2",
147
147
  "eslint-plugin-simple-import-sort": "12.1.1",
148
- "eslint-typegen": "0.2.4",
148
+ "eslint-typegen": "0.3.0",
149
149
  esno: "4.7.0",
150
150
  execa: "9.3.0",
151
151
  "fast-glob": "3.3.2",
@@ -157,7 +157,7 @@ var package_default = {
157
157
  typescript: "5.5.4"
158
158
  },
159
159
  peerDependencies: {
160
- "@eslint-react/eslint-plugin": "^1.5.27",
160
+ "@eslint-react/eslint-plugin": "^1.8.0",
161
161
  eslint: ">=8.40.0",
162
162
  "eslint-plugin-react-hooks": "^4.6.0"
163
163
  },
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-NKAA53II.js";
3
+ } from "./chunk-6J6ZEY37.js";
4
4
 
5
5
  // src/cli.ts
6
6
  init_esm_shims();
@@ -19,7 +19,7 @@ init_esm_shims();
19
19
  // package.json
20
20
  var package_default = {
21
21
  name: "@isentinel/eslint-config",
22
- version: "0.7.3",
22
+ version: "0.7.4",
23
23
  description: "iSentinel's ESLint config",
24
24
  keywords: [
25
25
  "eslint-config",
@@ -69,18 +69,18 @@ var package_default = {
69
69
  dependencies: {
70
70
  "@antfu/install-pkg": "0.3.3",
71
71
  "@clack/prompts": "0.7.0",
72
- "@cspell/eslint-plugin": "8.12.1",
72
+ "@cspell/eslint-plugin": "8.13.0",
73
73
  "@eslint/compat": "1.1.1",
74
74
  "@isentinel/dict-rbxts": "1.0.1",
75
75
  "@isentinel/dict-roblox": "1.0.3",
76
76
  "@isentinel/eslint-plugin-comment-length": "1.7.3",
77
77
  "@shopify/eslint-plugin": "46.0.0",
78
- "@stylistic/eslint-plugin": "2.3.0",
79
- "@typescript-eslint/eslint-plugin": "7.17.0",
80
- "@typescript-eslint/parser": "7.17.0",
78
+ "@stylistic/eslint-plugin": "2.6.1",
79
+ "@typescript-eslint/eslint-plugin": "8.0.0",
80
+ "@typescript-eslint/parser": "8.0.0",
81
81
  "eslint-config-flat-gitignore": "0.1.8",
82
82
  "eslint-config-prettier": "9.1.0",
83
- "eslint-flat-config-utils": "0.2.5",
83
+ "eslint-flat-config-utils": "0.3.0",
84
84
  "eslint-merge-processors": "0.1.0",
85
85
  "eslint-plugin-antfu": "2.3.4",
86
86
  "eslint-plugin-arrow-return-style": "1.3.1",
@@ -88,7 +88,7 @@ var package_default = {
88
88
  "eslint-plugin-format": "0.1.2",
89
89
  "eslint-plugin-format-lua": "0.1.0",
90
90
  "eslint-plugin-import-x": "3.1.0",
91
- "eslint-plugin-jsdoc": "48.8.3",
91
+ "eslint-plugin-jsdoc": "48.10.2",
92
92
  "eslint-plugin-jsonc": "2.16.0",
93
93
  "eslint-plugin-markdown": "5.1.0",
94
94
  "eslint-plugin-no-autofix": "2.0.0",
@@ -113,13 +113,13 @@ var package_default = {
113
113
  },
114
114
  devDependencies: {
115
115
  "@antfu/ni": "0.22.0",
116
- "@eslint-react/eslint-plugin": "1.6.0",
116
+ "@eslint-react/eslint-plugin": "1.8.0",
117
117
  "@eslint/config-inspector": "0.5.2",
118
118
  "@isentinel/eslint-config": "workspace:*",
119
- "@stylistic/eslint-plugin-migrate": "2.3.0",
120
- "@types/eslint": "8.56.11",
119
+ "@stylistic/eslint-plugin-migrate": "2.6.1",
120
+ "@types/eslint": "9.6.0",
121
121
  "@types/fs-extra": "11.0.4",
122
- "@types/node": "20.14.12",
122
+ "@types/node": "20.14.13",
123
123
  "@types/prompts": "2.4.9",
124
124
  "@types/yargs": "17.0.32",
125
125
  bumpp: "9.4.1",
@@ -127,7 +127,7 @@ var package_default = {
127
127
  eslint: "9.8.0",
128
128
  "eslint-plugin-react-hooks": "4.6.2",
129
129
  "eslint-plugin-simple-import-sort": "12.1.1",
130
- "eslint-typegen": "0.2.4",
130
+ "eslint-typegen": "0.3.0",
131
131
  esno: "4.7.0",
132
132
  execa: "9.3.0",
133
133
  "fast-glob": "3.3.2",
@@ -139,7 +139,7 @@ var package_default = {
139
139
  typescript: "5.5.4"
140
140
  },
141
141
  peerDependencies: {
142
- "@eslint-react/eslint-plugin": "^1.5.27",
142
+ "@eslint-react/eslint-plugin": "^1.8.0",
143
143
  eslint: ">=8.40.0",
144
144
  "eslint-plugin-react-hooks": "^4.6.0"
145
145
  },
package/dist/index.cjs CHANGED
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  ));
34
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
 
36
- // node_modules/.pnpm/tsup@8.2.3_jiti@1.21.6_postcss@8.4.38_tsx@4.15.4_typescript@5.5.4_yaml@2.4.5/node_modules/tsup/assets/cjs_shims.js
36
+ // node_modules/.pnpm/tsup@8.2.3_jiti@1.21.6_postcss@8.4.38_tsx@4.15.4_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
37
37
  var getImportMetaUrl, importMetaUrl;
38
38
  var init_cjs_shims = __esm({
39
- "node_modules/.pnpm/tsup@8.2.3_jiti@1.21.6_postcss@8.4.38_tsx@4.15.4_typescript@5.5.4_yaml@2.4.5/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "node_modules/.pnpm/tsup@8.2.3_jiti@1.21.6_postcss@8.4.38_tsx@4.15.4_typescript@5.5.4_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js"() {
40
40
  "use strict";
41
41
  getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
42
42
  importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
@@ -1455,6 +1455,7 @@ async function jsdoc(options = {}) {
1455
1455
  "jsdoc/require-returns": ["warn", { exemptedBy: ["hidden"] }],
1456
1456
  "jsdoc/require-returns-check": "warn",
1457
1457
  "jsdoc/require-returns-description": "warn",
1458
+ "jsdoc/require-template": "warn",
1458
1459
  "jsdoc/require-yields-check": "warn",
1459
1460
  "jsdoc/sort-tags": "off",
1460
1461
  ...stylistic2 ? {
@@ -2403,7 +2404,6 @@ async function typescript(options = {}) {
2403
2404
  const typeAwareRules = {
2404
2405
  "dot-notation": "off",
2405
2406
  "no-implied-eval": "off",
2406
- "no-throw-literal": "off",
2407
2407
  "no-unsafe-optional-chaining": "error",
2408
2408
  "ts/await-thenable": "error",
2409
2409
  "ts/consistent-type-assertions": [
@@ -2437,19 +2437,20 @@ async function typescript(options = {}) {
2437
2437
  "ts/no-misused-promises": "error",
2438
2438
  "ts/no-mixed-enums": "error",
2439
2439
  "ts/no-redundant-type-constituents": "error",
2440
- "ts/no-throw-literal": "off",
2441
2440
  "ts/no-unnecessary-boolean-literal-compare": "error",
2442
2441
  "ts/no-unnecessary-condition": ["error", { allowConstantLoopConditions: true }],
2443
2442
  "ts/no-unnecessary-parameter-property-assignment": "error",
2444
2443
  "ts/no-unnecessary-qualifier": "error",
2444
+ "ts/no-unnecessary-template-expression": "error",
2445
2445
  "ts/no-unnecessary-type-arguments": "error",
2446
2446
  "ts/no-unnecessary-type-assertion": "error",
2447
+ "ts/no-unnecessary-type-constraint": "error",
2448
+ "ts/no-unnecessary-type-parameters": "error",
2447
2449
  "ts/no-unsafe-argument": "error",
2448
2450
  "ts/no-unsafe-assignment": "error",
2449
2451
  "ts/no-unsafe-call": "error",
2450
2452
  "ts/no-unsafe-member-access": "error",
2451
2453
  "ts/no-unsafe-return": "error",
2452
- "ts/no-useless-template-literals": "error",
2453
2454
  "ts/non-nullable-type-assertion-style": "error",
2454
2455
  "ts/prefer-destructuring": "error",
2455
2456
  "ts/prefer-find": "error",
@@ -2578,7 +2579,6 @@ async function typescript(options = {}) {
2578
2579
  }
2579
2580
  ],
2580
2581
  "ts/ban-ts-comment": ["error", { "ts-ignore": "allow-with-description" }],
2581
- "ts/ban-types": ["error", { types: { Function: false } }],
2582
2582
  "ts/consistent-generic-constructors": ["error", "constructor"],
2583
2583
  "ts/consistent-indexed-object-style": ["error", "record"],
2584
2584
  "ts/consistent-type-definitions": ["error", "interface"],
@@ -2608,7 +2608,7 @@ async function typescript(options = {}) {
2608
2608
  "ts/no-dupe-class-members": "error",
2609
2609
  "ts/no-dynamic-delete": "off",
2610
2610
  "ts/no-empty-function": "error",
2611
- "ts/no-empty-interface": "error",
2611
+ "ts/no-empty-object-type": ["error", { allowInterfaces: "always" }],
2612
2612
  "ts/no-explicit-any": "off",
2613
2613
  "ts/no-extraneous-class": "error",
2614
2614
  "ts/no-for-in-array": "off",
@@ -2621,17 +2621,18 @@ async function typescript(options = {}) {
2621
2621
  "ts/no-redeclare": "off",
2622
2622
  "ts/no-require-imports": "error",
2623
2623
  "ts/no-shadow": "error",
2624
- "ts/no-throw-literal": "off",
2625
2624
  "ts/no-unused-vars": [
2626
2625
  "error",
2627
2626
  {
2628
2627
  argsIgnorePattern: "^_",
2629
2628
  caughtErrorsIgnorePattern: "^_",
2629
+ reportUsedIgnorePattern: true,
2630
2630
  varsIgnorePattern: "^_"
2631
2631
  }
2632
2632
  ],
2633
2633
  "ts/no-use-before-define": "off",
2634
2634
  "ts/no-useless-constructor": "error",
2635
+ "ts/no-wrapper-object-types": "error",
2635
2636
  "ts/prefer-for-of": "error",
2636
2637
  "ts/prefer-function-type": "error",
2637
2638
  "ts/triple-slash-reference": "off",
@@ -2780,11 +2781,13 @@ async function yaml(options = {}) {
2780
2781
  "style/spaced-comment": "off",
2781
2782
  "yaml/block-mapping": "error",
2782
2783
  "yaml/block-sequence": "error",
2784
+ "yaml/file-extension": "error",
2783
2785
  "yaml/no-empty-key": "error",
2784
2786
  "yaml/no-empty-sequence-entry": "error",
2785
2787
  "yaml/no-irregular-whitespace": "error",
2786
2788
  "yaml/plain-scalar": "error",
2787
2789
  ...stylistic2 ? {
2790
+ "yaml/block-mapping-colon-indicator-newline": "error",
2788
2791
  "yaml/block-mapping-question-indicator-newline": "error",
2789
2792
  "yaml/block-sequence-hyphen-indicator-newline": "error",
2790
2793
  "yaml/flow-mapping-curly-newline": "error",