@isentinel/eslint-config 1.0.0 → 1.1.2
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/LICENSE +21 -21
- package/dist/{chunk-42NWHE66.js → chunk-VXR6SE7R.js} +2 -2
- package/dist/cli.js +11 -6
- package/dist/index.d.ts +233 -148
- package/dist/index.js +43 -29
- package/package.json +17 -12
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019-PRESENT Anthony Fu<https://github.com/antfu>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019-PRESENT Anthony Fu<https://github.com/antfu>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -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.4.0_jiti@2.4.
|
|
30
|
+
// node_modules/.pnpm/tsup@8.4.0_jiti@2.4.2_postcss@8.4.38_tsx@4.19.1_typescript@5.8.3_yaml@2.7.1/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
var init_esm_shims = __esm({
|
|
32
|
-
"node_modules/.pnpm/tsup@8.4.0_jiti@2.4.
|
|
32
|
+
"node_modules/.pnpm/tsup@8.4.0_jiti@2.4.2_postcss@8.4.38_tsx@4.19.1_typescript@5.8.3_yaml@2.7.1/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
33
|
"use strict";
|
|
34
34
|
}
|
|
35
35
|
});
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_esm_shims
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VXR6SE7R.js";
|
|
4
4
|
|
|
5
5
|
// src/cli.ts
|
|
6
6
|
init_esm_shims();
|
|
@@ -17,7 +17,7 @@ import { hideBin } from "yargs/helpers";
|
|
|
17
17
|
init_esm_shims();
|
|
18
18
|
|
|
19
19
|
// package.json
|
|
20
|
-
var version = "1.
|
|
20
|
+
var version = "1.1.2";
|
|
21
21
|
var package_default = {
|
|
22
22
|
name: "@isentinel/eslint-config",
|
|
23
23
|
version,
|
|
@@ -29,6 +29,10 @@ var package_default = {
|
|
|
29
29
|
"rbxts"
|
|
30
30
|
],
|
|
31
31
|
homepage: "https://github.com/christopher-buss/roblox-ts-eslint-config",
|
|
32
|
+
repository: {
|
|
33
|
+
type: "git",
|
|
34
|
+
url: "git+https://github.com/christopher-buss/roblox-ts-eslint-config.git"
|
|
35
|
+
},
|
|
32
36
|
license: "MIT",
|
|
33
37
|
author: "Christopher Buss <christopher.buss@pm.me> (https://github.com/christopher-buss)",
|
|
34
38
|
contributors: [
|
|
@@ -54,7 +58,7 @@ var package_default = {
|
|
|
54
58
|
lint: "eslint",
|
|
55
59
|
prepack: "nr build",
|
|
56
60
|
prepare: "simple-git-hooks",
|
|
57
|
-
release: "bumpp
|
|
61
|
+
release: "bumpp",
|
|
58
62
|
stub: "tsup",
|
|
59
63
|
typecheck: "tsc --noEmit",
|
|
60
64
|
watch: "tsup --watch"
|
|
@@ -98,6 +102,7 @@ var package_default = {
|
|
|
98
102
|
"eslint-plugin-perfectionist": "catalog:prod",
|
|
99
103
|
"eslint-plugin-pnpm": "catalog:prod",
|
|
100
104
|
"eslint-plugin-promise": "catalog:prod",
|
|
105
|
+
"eslint-plugin-sentinel": "catalog:prod",
|
|
101
106
|
"eslint-plugin-sonarjs": "catalog:prod",
|
|
102
107
|
"eslint-plugin-toml": "catalog:prod",
|
|
103
108
|
"eslint-plugin-unicorn": "catalog:prod",
|
|
@@ -158,7 +163,7 @@ var package_default = {
|
|
|
158
163
|
optional: true
|
|
159
164
|
}
|
|
160
165
|
},
|
|
161
|
-
packageManager: "pnpm@10.
|
|
166
|
+
packageManager: "pnpm@10.9.0",
|
|
162
167
|
publishConfig: {
|
|
163
168
|
access: "public"
|
|
164
169
|
}
|
|
@@ -342,8 +347,8 @@ import process3 from "node:process";
|
|
|
342
347
|
// src/cli/constants-generated.ts
|
|
343
348
|
init_esm_shims();
|
|
344
349
|
var versionsMap = {
|
|
345
|
-
"@eslint-react/eslint-plugin": "1.
|
|
346
|
-
"eslint": "9.
|
|
350
|
+
"@eslint-react/eslint-plugin": "1.48.4",
|
|
351
|
+
"eslint": "9.25.1",
|
|
347
352
|
"eslint-plugin-react-roblox-hooks": "5.1.0-rbx.1"
|
|
348
353
|
};
|
|
349
354
|
|
package/dist/index.d.ts
CHANGED
|
@@ -435,233 +435,233 @@ interface RuleOptions {
|
|
|
435
435
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
436
436
|
/**
|
|
437
437
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
438
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
438
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/consistent-type-specifier-style.md
|
|
439
439
|
*/
|
|
440
440
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
441
441
|
/**
|
|
442
442
|
* Ensure a default export is present, given a default import.
|
|
443
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
443
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/default.md
|
|
444
444
|
*/
|
|
445
445
|
'import/default'?: Linter.RuleEntry<[]>
|
|
446
446
|
/**
|
|
447
447
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
448
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
448
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/dynamic-import-chunkname.md
|
|
449
449
|
*/
|
|
450
450
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
451
451
|
/**
|
|
452
452
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
453
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
453
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/export.md
|
|
454
454
|
*/
|
|
455
455
|
'import/export'?: Linter.RuleEntry<[]>
|
|
456
456
|
/**
|
|
457
457
|
* Ensure all exports appear after other statements.
|
|
458
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
458
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/exports-last.md
|
|
459
459
|
*/
|
|
460
460
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
461
461
|
/**
|
|
462
462
|
* Ensure consistent use of file extension within the import path.
|
|
463
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
463
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/extensions.md
|
|
464
464
|
*/
|
|
465
465
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
466
466
|
/**
|
|
467
467
|
* Ensure all imports appear before other statements.
|
|
468
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
468
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/first.md
|
|
469
469
|
*/
|
|
470
470
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
471
471
|
/**
|
|
472
472
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
473
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
473
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/group-exports.md
|
|
474
474
|
*/
|
|
475
475
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
476
476
|
/**
|
|
477
477
|
* Replaced by `import-x/first`.
|
|
478
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
478
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/imports-first.md
|
|
479
479
|
* @deprecated
|
|
480
480
|
*/
|
|
481
481
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
482
482
|
/**
|
|
483
483
|
* Enforce the maximum number of dependencies a module can have.
|
|
484
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
484
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/max-dependencies.md
|
|
485
485
|
*/
|
|
486
486
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
487
487
|
/**
|
|
488
488
|
* Ensure named imports correspond to a named export in the remote file.
|
|
489
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
489
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/named.md
|
|
490
490
|
*/
|
|
491
491
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
492
492
|
/**
|
|
493
493
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
494
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
494
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/namespace.md
|
|
495
495
|
*/
|
|
496
496
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
497
497
|
/**
|
|
498
498
|
* Enforce a newline after import statements.
|
|
499
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
499
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/newline-after-import.md
|
|
500
500
|
*/
|
|
501
501
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
502
502
|
/**
|
|
503
503
|
* Forbid import of modules using absolute paths.
|
|
504
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
504
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-absolute-path.md
|
|
505
505
|
*/
|
|
506
506
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
507
507
|
/**
|
|
508
508
|
* Forbid AMD `require` and `define` calls.
|
|
509
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
509
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-amd.md
|
|
510
510
|
*/
|
|
511
511
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
512
512
|
/**
|
|
513
513
|
* Forbid anonymous values as default exports.
|
|
514
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
514
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-anonymous-default-export.md
|
|
515
515
|
*/
|
|
516
516
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
517
517
|
/**
|
|
518
518
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
519
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
519
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-commonjs.md
|
|
520
520
|
*/
|
|
521
521
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
522
522
|
/**
|
|
523
523
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
524
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
524
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-cycle.md
|
|
525
525
|
*/
|
|
526
526
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
527
527
|
/**
|
|
528
528
|
* Forbid default exports.
|
|
529
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
529
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-default-export.md
|
|
530
530
|
*/
|
|
531
531
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
532
532
|
/**
|
|
533
533
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
534
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
534
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-deprecated.md
|
|
535
535
|
*/
|
|
536
536
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
537
537
|
/**
|
|
538
538
|
* Forbid repeated import of the same module in multiple places.
|
|
539
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
539
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-duplicates.md
|
|
540
540
|
*/
|
|
541
541
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
542
542
|
/**
|
|
543
543
|
* Forbid `require()` calls with expressions.
|
|
544
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
544
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-dynamic-require.md
|
|
545
545
|
*/
|
|
546
546
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
547
547
|
/**
|
|
548
548
|
* Forbid empty named import blocks.
|
|
549
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
549
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-empty-named-blocks.md
|
|
550
550
|
*/
|
|
551
551
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
552
552
|
/**
|
|
553
553
|
* Forbid the use of extraneous packages.
|
|
554
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
554
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-extraneous-dependencies.md
|
|
555
555
|
*/
|
|
556
556
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
557
557
|
/**
|
|
558
558
|
* Forbid import statements with CommonJS module.exports.
|
|
559
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
559
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-import-module-exports.md
|
|
560
560
|
*/
|
|
561
561
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
562
562
|
/**
|
|
563
563
|
* Forbid importing the submodules of other modules.
|
|
564
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
564
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-internal-modules.md
|
|
565
565
|
*/
|
|
566
566
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
567
567
|
/**
|
|
568
568
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
569
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
569
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-mutable-exports.md
|
|
570
570
|
*/
|
|
571
571
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
572
572
|
/**
|
|
573
573
|
* Forbid use of exported name as identifier of default export.
|
|
574
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
574
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default.md
|
|
575
575
|
*/
|
|
576
576
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
577
577
|
/**
|
|
578
578
|
* Forbid use of exported name as property of default export.
|
|
579
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
579
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-as-default-member.md
|
|
580
580
|
*/
|
|
581
581
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
582
582
|
/**
|
|
583
583
|
* Forbid named default exports.
|
|
584
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
584
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-default.md
|
|
585
585
|
*/
|
|
586
586
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
587
587
|
/**
|
|
588
588
|
* Forbid named exports.
|
|
589
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
589
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-named-export.md
|
|
590
590
|
*/
|
|
591
591
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
592
592
|
/**
|
|
593
593
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
594
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
594
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-namespace.md
|
|
595
595
|
*/
|
|
596
596
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
597
597
|
/**
|
|
598
598
|
* Forbid Node.js builtin modules.
|
|
599
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
599
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-nodejs-modules.md
|
|
600
600
|
*/
|
|
601
601
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
602
602
|
/**
|
|
603
603
|
* Forbid importing packages through relative paths.
|
|
604
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
604
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-packages.md
|
|
605
605
|
*/
|
|
606
606
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
607
607
|
/**
|
|
608
608
|
* Forbid importing modules from parent directories.
|
|
609
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
609
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-relative-parent-imports.md
|
|
610
610
|
*/
|
|
611
611
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
612
612
|
/**
|
|
613
613
|
* Forbid importing a default export by a different name.
|
|
614
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
614
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-rename-default.md
|
|
615
615
|
*/
|
|
616
616
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
617
617
|
/**
|
|
618
618
|
* Enforce which files can be imported in a given folder.
|
|
619
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
619
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-restricted-paths.md
|
|
620
620
|
*/
|
|
621
621
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
622
622
|
/**
|
|
623
623
|
* Forbid a module from importing itself.
|
|
624
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
624
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-self-import.md
|
|
625
625
|
*/
|
|
626
626
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
627
627
|
/**
|
|
628
628
|
* Forbid unassigned imports.
|
|
629
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
629
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unassigned-import.md
|
|
630
630
|
*/
|
|
631
631
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
632
632
|
/**
|
|
633
633
|
* Ensure imports point to a file/module that can be resolved.
|
|
634
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
634
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unresolved.md
|
|
635
635
|
*/
|
|
636
636
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
637
637
|
/**
|
|
638
638
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
639
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
639
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-unused-modules.md
|
|
640
640
|
*/
|
|
641
641
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
642
642
|
/**
|
|
643
643
|
* Forbid unnecessary path segments in import and require statements.
|
|
644
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
644
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-useless-path-segments.md
|
|
645
645
|
*/
|
|
646
646
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
647
647
|
/**
|
|
648
648
|
* Forbid webpack loader syntax in imports.
|
|
649
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
649
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/no-webpack-loader-syntax.md
|
|
650
650
|
*/
|
|
651
651
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
652
652
|
/**
|
|
653
653
|
* Enforce a convention in module import order.
|
|
654
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
654
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/order.md
|
|
655
655
|
*/
|
|
656
656
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
657
657
|
/**
|
|
658
658
|
* Prefer a default export if module exports a single name or multiple names.
|
|
659
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
659
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/prefer-default-export.md
|
|
660
660
|
*/
|
|
661
661
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
662
662
|
/**
|
|
663
663
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
664
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.
|
|
664
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.6/docs/rules/unambiguous.md
|
|
665
665
|
*/
|
|
666
666
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
667
667
|
/**
|
|
@@ -1241,30 +1241,37 @@ interface RuleOptions {
|
|
|
1241
1241
|
'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
|
|
1242
1242
|
/**
|
|
1243
1243
|
* Require languages for fenced code blocks
|
|
1244
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
|
|
1244
1245
|
*/
|
|
1245
1246
|
'markdownPlugin/fenced-code-language'?: Linter.RuleEntry<MarkdownPluginFencedCodeLanguage>
|
|
1246
1247
|
/**
|
|
1247
1248
|
* Enforce heading levels increment by one
|
|
1249
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
1248
1250
|
*/
|
|
1249
1251
|
'markdownPlugin/heading-increment'?: Linter.RuleEntry<[]>
|
|
1250
1252
|
/**
|
|
1251
1253
|
* Disallow duplicate headings in the same document
|
|
1254
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
1252
1255
|
*/
|
|
1253
1256
|
'markdownPlugin/no-duplicate-headings'?: Linter.RuleEntry<[]>
|
|
1254
1257
|
/**
|
|
1255
1258
|
* Disallow empty links
|
|
1259
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
|
|
1256
1260
|
*/
|
|
1257
1261
|
'markdownPlugin/no-empty-links'?: Linter.RuleEntry<[]>
|
|
1258
1262
|
/**
|
|
1259
1263
|
* Disallow HTML tags
|
|
1264
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md
|
|
1260
1265
|
*/
|
|
1261
1266
|
'markdownPlugin/no-html'?: Linter.RuleEntry<MarkdownPluginNoHtml>
|
|
1262
1267
|
/**
|
|
1263
1268
|
* Disallow invalid label references
|
|
1269
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
|
|
1264
1270
|
*/
|
|
1265
1271
|
'markdownPlugin/no-invalid-label-refs'?: Linter.RuleEntry<[]>
|
|
1266
1272
|
/**
|
|
1267
1273
|
* Disallow missing label references
|
|
1274
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
1268
1275
|
*/
|
|
1269
1276
|
'markdownPlugin/no-missing-label-refs'?: Linter.RuleEntry<[]>
|
|
1270
1277
|
/**
|
|
@@ -2251,6 +2258,10 @@ interface RuleOptions {
|
|
|
2251
2258
|
* Requires the `version` property to be present.
|
|
2252
2259
|
*/
|
|
2253
2260
|
'package-json/require-version'?: Linter.RuleEntry<[]>
|
|
2261
|
+
/**
|
|
2262
|
+
* Restricts the range of dependencies to allow or disallow specific types of ranges.
|
|
2263
|
+
*/
|
|
2264
|
+
'package-json/restrict-dependency-ranges'?: Linter.RuleEntry<PackageJsonRestrictDependencyRanges>
|
|
2254
2265
|
/**
|
|
2255
2266
|
* Dependencies, scripts, and configuration values must be declared in alphabetical order.
|
|
2256
2267
|
*/
|
|
@@ -3133,6 +3144,16 @@ interface RuleOptions {
|
|
|
3133
3144
|
* @deprecated
|
|
3134
3145
|
*/
|
|
3135
3146
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
3147
|
+
/**
|
|
3148
|
+
* Enforce explicitly comparing the `size` property of a value.
|
|
3149
|
+
* @see https://github.com/your/eslint-plugin-sentinel/tree/main/src/rules/explicit-size-check/documentation.md
|
|
3150
|
+
*/
|
|
3151
|
+
'sentinel/explicit-size-check'?: Linter.RuleEntry<SentinelExplicitSizeCheck>
|
|
3152
|
+
/**
|
|
3153
|
+
* Prefer `math.min()` and `math.max()` over ternaries for simple comparisons.
|
|
3154
|
+
* @see https://github.com/your/eslint-plugin-sentinel/tree/main/src/rules/prefer-math-min-max/documentation.md
|
|
3155
|
+
*/
|
|
3156
|
+
'sentinel/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
3136
3157
|
/**
|
|
3137
3158
|
* Enforce (or disallow) assignments of binary, boolean-producing expressions to be wrapped in parentheses.
|
|
3138
3159
|
*/
|
|
@@ -7017,6 +7038,8 @@ type CspellSpellchecker = []|[{
|
|
|
7017
7038
|
|
|
7018
7039
|
description?: string
|
|
7019
7040
|
|
|
7041
|
+
ignoreForbiddenWords?: boolean
|
|
7042
|
+
|
|
7020
7043
|
name: string
|
|
7021
7044
|
|
|
7022
7045
|
noSuggest?: boolean
|
|
@@ -8997,7 +9020,7 @@ type NoEmpty = []|[{
|
|
|
8997
9020
|
}]
|
|
8998
9021
|
// ----- no-empty-function -----
|
|
8999
9022
|
type NoEmptyFunction = []|[{
|
|
9000
|
-
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
|
|
9023
|
+
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
|
|
9001
9024
|
}]
|
|
9002
9025
|
// ----- no-empty-pattern -----
|
|
9003
9026
|
type NoEmptyPattern = []|[{
|
|
@@ -9199,13 +9222,9 @@ type NoRestrictedModules = ((string | {
|
|
|
9199
9222
|
}[])
|
|
9200
9223
|
// ----- no-restricted-properties -----
|
|
9201
9224
|
type NoRestrictedProperties = ({
|
|
9202
|
-
|
|
9203
|
-
property?: string
|
|
9204
|
-
message?: string
|
|
9225
|
+
[k: string]: unknown | undefined
|
|
9205
9226
|
} | {
|
|
9206
|
-
|
|
9207
|
-
property: string
|
|
9208
|
-
message?: string
|
|
9227
|
+
[k: string]: unknown | undefined
|
|
9209
9228
|
})[]
|
|
9210
9229
|
// ----- no-restricted-syntax -----
|
|
9211
9230
|
type NoRestrictedSyntax = (string | {
|
|
@@ -9408,6 +9427,18 @@ type PackageJsonRepositoryShorthand = []|[{
|
|
|
9408
9427
|
form?: ("object" | "shorthand")
|
|
9409
9428
|
[k: string]: unknown | undefined
|
|
9410
9429
|
}]
|
|
9430
|
+
// ----- package-json/restrict-dependency-ranges -----
|
|
9431
|
+
type PackageJsonRestrictDependencyRanges = []|[({
|
|
9432
|
+
forDependencyTypes?: ("dependencies" | "devDependencies" | "optionalDependencies" | "peerDependencies")[]
|
|
9433
|
+
forPackages?: string[]
|
|
9434
|
+
forVersions?: string
|
|
9435
|
+
rangeType: (("caret" | "pin" | "tilde") | ("caret" | "pin" | "tilde")[])
|
|
9436
|
+
} | {
|
|
9437
|
+
forDependencyTypes?: ("dependencies" | "devDependencies" | "optionalDependencies" | "peerDependencies")[]
|
|
9438
|
+
forPackages?: string[]
|
|
9439
|
+
forVersions?: string
|
|
9440
|
+
rangeType: (("caret" | "pin" | "tilde") | ("caret" | "pin" | "tilde")[])
|
|
9441
|
+
}[])]
|
|
9411
9442
|
// ----- package-json/sort-collections -----
|
|
9412
9443
|
type PackageJsonSortCollections = []|[string[]]
|
|
9413
9444
|
// ----- padded-blocks -----
|
|
@@ -10058,96 +10089,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
10058
10089
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10059
10090
|
})[]
|
|
10060
10091
|
}]
|
|
10061
|
-
// ----- perfectionist/sort-imports -----
|
|
10062
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
10063
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10064
|
-
|
|
10065
|
-
fallbackSort?: {
|
|
10066
|
-
|
|
10067
|
-
order?: ("asc" | "desc")
|
|
10068
|
-
|
|
10069
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10070
|
-
[k: string]: unknown | undefined
|
|
10071
|
-
}
|
|
10072
|
-
|
|
10073
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10074
|
-
|
|
10075
|
-
ignoreCase?: boolean
|
|
10076
|
-
|
|
10077
|
-
alphabet?: string
|
|
10078
|
-
|
|
10079
|
-
locales?: (string | string[])
|
|
10080
|
-
|
|
10081
|
-
order?: ("asc" | "desc")
|
|
10082
|
-
|
|
10083
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10084
|
-
|
|
10085
|
-
customGroups?: {
|
|
10086
|
-
|
|
10087
|
-
value?: {
|
|
10088
|
-
[k: string]: unknown | undefined
|
|
10089
|
-
}
|
|
10090
|
-
|
|
10091
|
-
type?: {
|
|
10092
|
-
[k: string]: unknown | undefined
|
|
10093
|
-
}
|
|
10094
|
-
}
|
|
10095
|
-
|
|
10096
|
-
maxLineLength?: number
|
|
10097
|
-
|
|
10098
|
-
sortSideEffects?: boolean
|
|
10099
|
-
|
|
10100
|
-
environment?: ("node" | "bun")
|
|
10101
|
-
|
|
10102
|
-
tsconfigRootDir?: string
|
|
10103
|
-
|
|
10104
|
-
partitionByComment?: (boolean | (({
|
|
10105
|
-
pattern?: string
|
|
10106
|
-
flags?: string
|
|
10107
|
-
} | string)[] | ({
|
|
10108
|
-
pattern?: string
|
|
10109
|
-
flags?: string
|
|
10110
|
-
} | string)) | {
|
|
10111
|
-
block?: (boolean | (({
|
|
10112
|
-
pattern?: string
|
|
10113
|
-
flags?: string
|
|
10114
|
-
} | string)[] | ({
|
|
10115
|
-
pattern?: string
|
|
10116
|
-
flags?: string
|
|
10117
|
-
} | string)))
|
|
10118
|
-
line?: (boolean | (({
|
|
10119
|
-
pattern?: string
|
|
10120
|
-
flags?: string
|
|
10121
|
-
} | string)[] | ({
|
|
10122
|
-
pattern?: string
|
|
10123
|
-
flags?: string
|
|
10124
|
-
} | string)))
|
|
10125
|
-
})
|
|
10126
|
-
|
|
10127
|
-
partitionByNewLine?: boolean
|
|
10128
|
-
|
|
10129
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10130
|
-
|
|
10131
|
-
internalPattern?: (({
|
|
10132
|
-
pattern?: string
|
|
10133
|
-
flags?: string
|
|
10134
|
-
} | string)[] | ({
|
|
10135
|
-
pattern?: string
|
|
10136
|
-
flags?: string
|
|
10137
|
-
} | string))
|
|
10138
|
-
|
|
10139
|
-
groups?: (string | string[] | {
|
|
10140
|
-
|
|
10141
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10142
|
-
})[]
|
|
10143
|
-
})
|
|
10144
|
-
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10145
|
-
[k: string]: unknown | undefined
|
|
10146
|
-
} | _PerfectionistSortImports_IsLineLength)
|
|
10147
|
-
interface _PerfectionistSortImports_IsLineLength {
|
|
10148
|
-
type: "line-length"
|
|
10149
|
-
[k: string]: unknown | undefined
|
|
10150
|
-
}
|
|
10151
10092
|
// ----- perfectionist/sort-interfaces -----
|
|
10152
10093
|
type PerfectionistSortInterfaces = {
|
|
10153
10094
|
|
|
@@ -10760,7 +10701,7 @@ type PerfectionistSortModules = []|[{
|
|
|
10760
10701
|
})[]
|
|
10761
10702
|
}]
|
|
10762
10703
|
// ----- perfectionist/sort-named-exports -----
|
|
10763
|
-
type PerfectionistSortNamedExports =
|
|
10704
|
+
type PerfectionistSortNamedExports = {
|
|
10764
10705
|
|
|
10765
10706
|
fallbackSort?: {
|
|
10766
10707
|
|
|
@@ -10786,6 +10727,68 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10786
10727
|
|
|
10787
10728
|
ignoreAlias?: boolean
|
|
10788
10729
|
|
|
10730
|
+
customGroups?: ({
|
|
10731
|
+
|
|
10732
|
+
newlinesInside?: ("always" | "never")
|
|
10733
|
+
|
|
10734
|
+
fallbackSort?: {
|
|
10735
|
+
|
|
10736
|
+
order?: ("asc" | "desc")
|
|
10737
|
+
|
|
10738
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10739
|
+
[k: string]: unknown | undefined
|
|
10740
|
+
}
|
|
10741
|
+
|
|
10742
|
+
groupName?: string
|
|
10743
|
+
|
|
10744
|
+
order?: ("asc" | "desc")
|
|
10745
|
+
|
|
10746
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10747
|
+
anyOf?: {
|
|
10748
|
+
|
|
10749
|
+
modifiers?: ("value" | "type")[]
|
|
10750
|
+
|
|
10751
|
+
selector?: "export"
|
|
10752
|
+
|
|
10753
|
+
elementNamePattern?: (({
|
|
10754
|
+
pattern?: string
|
|
10755
|
+
flags?: string
|
|
10756
|
+
} | string)[] | ({
|
|
10757
|
+
pattern?: string
|
|
10758
|
+
flags?: string
|
|
10759
|
+
} | string))
|
|
10760
|
+
}[]
|
|
10761
|
+
} | {
|
|
10762
|
+
|
|
10763
|
+
newlinesInside?: ("always" | "never")
|
|
10764
|
+
|
|
10765
|
+
fallbackSort?: {
|
|
10766
|
+
|
|
10767
|
+
order?: ("asc" | "desc")
|
|
10768
|
+
|
|
10769
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10770
|
+
[k: string]: unknown | undefined
|
|
10771
|
+
}
|
|
10772
|
+
|
|
10773
|
+
groupName?: string
|
|
10774
|
+
|
|
10775
|
+
order?: ("asc" | "desc")
|
|
10776
|
+
|
|
10777
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10778
|
+
|
|
10779
|
+
modifiers?: ("value" | "type")[]
|
|
10780
|
+
|
|
10781
|
+
selector?: "export"
|
|
10782
|
+
|
|
10783
|
+
elementNamePattern?: (({
|
|
10784
|
+
pattern?: string
|
|
10785
|
+
flags?: string
|
|
10786
|
+
} | string)[] | ({
|
|
10787
|
+
pattern?: string
|
|
10788
|
+
flags?: string
|
|
10789
|
+
} | string))
|
|
10790
|
+
})[]
|
|
10791
|
+
|
|
10789
10792
|
partitionByComment?: (boolean | (({
|
|
10790
10793
|
pattern?: string
|
|
10791
10794
|
flags?: string
|
|
@@ -10810,9 +10813,16 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10810
10813
|
})
|
|
10811
10814
|
|
|
10812
10815
|
partitionByNewLine?: boolean
|
|
10813
|
-
|
|
10816
|
+
|
|
10817
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10818
|
+
|
|
10819
|
+
groups?: (string | string[] | {
|
|
10820
|
+
|
|
10821
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10822
|
+
})[]
|
|
10823
|
+
}[]
|
|
10814
10824
|
// ----- perfectionist/sort-named-imports -----
|
|
10815
|
-
type PerfectionistSortNamedImports =
|
|
10825
|
+
type PerfectionistSortNamedImports = {
|
|
10816
10826
|
|
|
10817
10827
|
fallbackSort?: {
|
|
10818
10828
|
|
|
@@ -10838,6 +10848,68 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10838
10848
|
|
|
10839
10849
|
ignoreAlias?: boolean
|
|
10840
10850
|
|
|
10851
|
+
customGroups?: ({
|
|
10852
|
+
|
|
10853
|
+
newlinesInside?: ("always" | "never")
|
|
10854
|
+
|
|
10855
|
+
fallbackSort?: {
|
|
10856
|
+
|
|
10857
|
+
order?: ("asc" | "desc")
|
|
10858
|
+
|
|
10859
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10860
|
+
[k: string]: unknown | undefined
|
|
10861
|
+
}
|
|
10862
|
+
|
|
10863
|
+
groupName?: string
|
|
10864
|
+
|
|
10865
|
+
order?: ("asc" | "desc")
|
|
10866
|
+
|
|
10867
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10868
|
+
anyOf?: {
|
|
10869
|
+
|
|
10870
|
+
modifiers?: ("value" | "type")[]
|
|
10871
|
+
|
|
10872
|
+
selector?: "import"
|
|
10873
|
+
|
|
10874
|
+
elementNamePattern?: (({
|
|
10875
|
+
pattern?: string
|
|
10876
|
+
flags?: string
|
|
10877
|
+
} | string)[] | ({
|
|
10878
|
+
pattern?: string
|
|
10879
|
+
flags?: string
|
|
10880
|
+
} | string))
|
|
10881
|
+
}[]
|
|
10882
|
+
} | {
|
|
10883
|
+
|
|
10884
|
+
newlinesInside?: ("always" | "never")
|
|
10885
|
+
|
|
10886
|
+
fallbackSort?: {
|
|
10887
|
+
|
|
10888
|
+
order?: ("asc" | "desc")
|
|
10889
|
+
|
|
10890
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10891
|
+
[k: string]: unknown | undefined
|
|
10892
|
+
}
|
|
10893
|
+
|
|
10894
|
+
groupName?: string
|
|
10895
|
+
|
|
10896
|
+
order?: ("asc" | "desc")
|
|
10897
|
+
|
|
10898
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10899
|
+
|
|
10900
|
+
modifiers?: ("value" | "type")[]
|
|
10901
|
+
|
|
10902
|
+
selector?: "import"
|
|
10903
|
+
|
|
10904
|
+
elementNamePattern?: (({
|
|
10905
|
+
pattern?: string
|
|
10906
|
+
flags?: string
|
|
10907
|
+
} | string)[] | ({
|
|
10908
|
+
pattern?: string
|
|
10909
|
+
flags?: string
|
|
10910
|
+
} | string))
|
|
10911
|
+
})[]
|
|
10912
|
+
|
|
10841
10913
|
partitionByComment?: (boolean | (({
|
|
10842
10914
|
pattern?: string
|
|
10843
10915
|
flags?: string
|
|
@@ -10862,7 +10934,14 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10862
10934
|
})
|
|
10863
10935
|
|
|
10864
10936
|
partitionByNewLine?: boolean
|
|
10865
|
-
|
|
10937
|
+
|
|
10938
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10939
|
+
|
|
10940
|
+
groups?: (string | string[] | {
|
|
10941
|
+
|
|
10942
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10943
|
+
})[]
|
|
10944
|
+
}[]
|
|
10866
10945
|
// ----- perfectionist/sort-object-types -----
|
|
10867
10946
|
type PerfectionistSortObjectTypes = {
|
|
10868
10947
|
|
|
@@ -11645,6 +11724,10 @@ type SemiSpacing = []|[{
|
|
|
11645
11724
|
}]
|
|
11646
11725
|
// ----- semi-style -----
|
|
11647
11726
|
type SemiStyle = []|[("last" | "first")]
|
|
11727
|
+
// ----- sentinel/explicit-size-check -----
|
|
11728
|
+
type SentinelExplicitSizeCheck = []|[{
|
|
11729
|
+
"non-zero"?: ("greater-than" | "not-equal")
|
|
11730
|
+
}]
|
|
11648
11731
|
// ----- shopify/binary-assignment-parens -----
|
|
11649
11732
|
type ShopifyBinaryAssignmentParens = []|[("always" | "never")]
|
|
11650
11733
|
// ----- shopify/class-property-semi -----
|
|
@@ -14092,6 +14175,8 @@ type TsNoUnnecessaryCondition = []|[{
|
|
|
14092
14175
|
// ----- ts/no-unnecessary-type-assertion -----
|
|
14093
14176
|
type TsNoUnnecessaryTypeAssertion = []|[{
|
|
14094
14177
|
|
|
14178
|
+
checkLiteralConstAssertions?: boolean
|
|
14179
|
+
|
|
14095
14180
|
typesToIgnore?: string[]
|
|
14096
14181
|
}]
|
|
14097
14182
|
// ----- ts/no-unused-expressions -----
|
|
@@ -15193,7 +15278,7 @@ declare function promise(): Promise<Array<TypedFlatConfigItem>>;
|
|
|
15193
15278
|
|
|
15194
15279
|
declare function react(options?: OptionsFiles & OptionsStylistic & OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & ReactConfig): Promise<Array<TypedFlatConfigItem>>;
|
|
15195
15280
|
|
|
15196
|
-
declare function roblox(options?: OptionsComponentExtensions & OptionsFiles & OptionsOverrides & OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes, formatLua?: boolean): Promise<Array<TypedFlatConfigItem>>;
|
|
15281
|
+
declare function roblox(options?: OptionsComponentExtensions & OptionsFiles & OptionsOverrides & OptionsStylistic & OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes, formatLua?: boolean): Promise<Array<TypedFlatConfigItem>>;
|
|
15197
15282
|
|
|
15198
15283
|
declare function shopify(options?: OptionsStylistic): Promise<Array<TypedFlatConfigItem>>;
|
|
15199
15284
|
|
package/dist/index.js
CHANGED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
__commonJS,
|
|
3
3
|
__toESM,
|
|
4
4
|
init_esm_shims
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VXR6SE7R.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/eslint-plugin-simple-
|
|
7
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-simple-import-sort/shared.js
|
|
8
8
|
var require_shared = __commonJS({
|
|
9
|
-
"node_modules/.pnpm/eslint-plugin-simple-
|
|
9
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-simple-import-sort/shared.js"(exports, module) {
|
|
10
10
|
"use strict";
|
|
11
11
|
init_esm_shims();
|
|
12
12
|
function extractChunks(parentNode, isPartOfChunk) {
|
|
@@ -568,9 +568,9 @@ var require_shared = __commonJS({
|
|
|
568
568
|
}
|
|
569
569
|
});
|
|
570
570
|
|
|
571
|
-
// node_modules/.pnpm/eslint-plugin-simple-
|
|
571
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-simple-import-sort/imports.js
|
|
572
572
|
var require_imports = __commonJS({
|
|
573
|
-
"node_modules/.pnpm/eslint-plugin-simple-
|
|
573
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-simple-import-sort/imports.js"(exports, module) {
|
|
574
574
|
"use strict";
|
|
575
575
|
init_esm_shims();
|
|
576
576
|
var shared = require_shared();
|
|
@@ -696,9 +696,9 @@ var require_imports = __commonJS({
|
|
|
696
696
|
}
|
|
697
697
|
});
|
|
698
698
|
|
|
699
|
-
// node_modules/.pnpm/eslint-plugin-simple-
|
|
699
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-simple-import-sort/exports.js
|
|
700
700
|
var require_exports = __commonJS({
|
|
701
|
-
"node_modules/.pnpm/eslint-plugin-simple-
|
|
701
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-simple-import-sort/exports.js"(exports, module) {
|
|
702
702
|
"use strict";
|
|
703
703
|
init_esm_shims();
|
|
704
704
|
var shared = require_shared();
|
|
@@ -788,9 +788,9 @@ var require_exports = __commonJS({
|
|
|
788
788
|
}
|
|
789
789
|
});
|
|
790
790
|
|
|
791
|
-
// node_modules/.pnpm/eslint-plugin-simple-
|
|
791
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-simple-import-sort/index.js
|
|
792
792
|
var require_eslint_plugin_simple_import_sort = __commonJS({
|
|
793
|
-
"node_modules/.pnpm/eslint-plugin-simple-
|
|
793
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-plugin-simple-import-sort/index.js"(exports, module) {
|
|
794
794
|
"use strict";
|
|
795
795
|
init_esm_shims();
|
|
796
796
|
var importsRule = require_imports();
|
|
@@ -898,9 +898,10 @@ import { default as default13 } from "eslint-plugin-import-x";
|
|
|
898
898
|
import * as pluginPackageJson from "eslint-plugin-package-json";
|
|
899
899
|
import { default as default14 } from "eslint-plugin-perfectionist";
|
|
900
900
|
import { default as default15 } from "eslint-plugin-promise";
|
|
901
|
-
import { default as
|
|
902
|
-
import { default as default18 } from "eslint-plugin-
|
|
903
|
-
import { default as default19 } from "
|
|
901
|
+
import { default as default16 } from "eslint-plugin-sentinel";
|
|
902
|
+
import { default as default18 } from "eslint-plugin-sonarjs";
|
|
903
|
+
import { default as default19 } from "eslint-plugin-unicorn";
|
|
904
|
+
import { default as default20 } from "isentinel-eslint-plugin-roblox-ts";
|
|
904
905
|
|
|
905
906
|
// src/configs/comments.ts
|
|
906
907
|
async function comments(options = {}) {
|
|
@@ -1780,7 +1781,7 @@ async function perfectionist(config) {
|
|
|
1780
1781
|
"error",
|
|
1781
1782
|
{
|
|
1782
1783
|
forceNumericSort: true,
|
|
1783
|
-
partitionByComment: "^Part
|
|
1784
|
+
partitionByComment: "^Part:\\s*(.*)$",
|
|
1784
1785
|
type: "natural"
|
|
1785
1786
|
}
|
|
1786
1787
|
],
|
|
@@ -1812,7 +1813,7 @@ async function perfectionist(config) {
|
|
|
1812
1813
|
"perfectionist/sort-object-types": ["error", { type: "natural" }],
|
|
1813
1814
|
"perfectionist/sort-objects": [
|
|
1814
1815
|
"error",
|
|
1815
|
-
{ partitionByComment: "^Part
|
|
1816
|
+
{ partitionByComment: "^Part:\\s*(.*)$", type: "natural" }
|
|
1816
1817
|
],
|
|
1817
1818
|
"perfectionist/sort-sets": ["error", { type: "natural" }],
|
|
1818
1819
|
"perfectionist/sort-switch-case": ["error", { type: "natural" }],
|
|
@@ -2014,7 +2015,7 @@ async function react(options = {}) {
|
|
|
2014
2015
|
"react-naming-convention": plugins["@eslint-react/naming-convention"],
|
|
2015
2016
|
"style": pluginStylistic,
|
|
2016
2017
|
"ts": pluginTs,
|
|
2017
|
-
"unicorn":
|
|
2018
|
+
"unicorn": default19
|
|
2018
2019
|
}
|
|
2019
2020
|
},
|
|
2020
2021
|
{
|
|
@@ -2149,7 +2150,7 @@ async function react(options = {}) {
|
|
|
2149
2150
|
"error",
|
|
2150
2151
|
{
|
|
2151
2152
|
case: filenameCase,
|
|
2152
|
-
ignore: ["
|
|
2153
|
+
ignore: ["^[A-Z0-9]+.md$"],
|
|
2153
2154
|
multipleFileExtensions: true
|
|
2154
2155
|
}
|
|
2155
2156
|
]
|
|
@@ -2162,7 +2163,11 @@ async function react(options = {}) {
|
|
|
2162
2163
|
init_esm_shims();
|
|
2163
2164
|
import process2 from "node:process";
|
|
2164
2165
|
async function roblox(options = {}, formatLua = true) {
|
|
2165
|
-
const {
|
|
2166
|
+
const {
|
|
2167
|
+
componentExts: componentExtensions = [],
|
|
2168
|
+
parserOptions = {},
|
|
2169
|
+
stylistic: stylistic2 = true
|
|
2170
|
+
} = options;
|
|
2166
2171
|
const tsconfigPath = options?.tsconfigPath ? toArray(options.tsconfigPath) : void 0;
|
|
2167
2172
|
const [parserTs] = await Promise.all([
|
|
2168
2173
|
interopDefault(import("@typescript-eslint/parser"))
|
|
@@ -2188,20 +2193,18 @@ async function roblox(options = {}, formatLua = true) {
|
|
|
2188
2193
|
},
|
|
2189
2194
|
name: "style/roblox",
|
|
2190
2195
|
plugins: {
|
|
2191
|
-
roblox:
|
|
2196
|
+
roblox: default20,
|
|
2197
|
+
sentinel: default16
|
|
2192
2198
|
},
|
|
2199
|
+
/* eslint-disable no-inline-comments -- For replacements */
|
|
2193
2200
|
rules: {
|
|
2194
2201
|
"roblox/lua-truthiness": "warn",
|
|
2195
2202
|
"roblox/misleading-luatuple-checks": "warn",
|
|
2196
|
-
"roblox/no-any": "off",
|
|
2197
2203
|
"roblox/no-array-pairs": "warn",
|
|
2198
2204
|
"roblox/no-enum-merging": "error",
|
|
2199
|
-
// TODO: Enable this rule when it's fixed
|
|
2200
|
-
// "roblox/no-export-assignment-let": "error",
|
|
2201
2205
|
"roblox/no-for-in": "error",
|
|
2202
2206
|
"roblox/no-function-expression-id": "error",
|
|
2203
2207
|
"roblox/no-getters-or-setters": "error",
|
|
2204
|
-
"roblox/no-global-this": "error",
|
|
2205
2208
|
"roblox/no-namespace-merging": "error",
|
|
2206
2209
|
"roblox/no-null": "error",
|
|
2207
2210
|
"roblox/no-object-math": "error",
|
|
@@ -2212,8 +2215,18 @@ async function roblox(options = {}, formatLua = true) {
|
|
|
2212
2215
|
"roblox/no-regex": "error",
|
|
2213
2216
|
"roblox/no-spread-destructuring": "error",
|
|
2214
2217
|
"roblox/no-value-typeof": "error",
|
|
2215
|
-
"
|
|
2216
|
-
|
|
2218
|
+
"sentinel/explicit-size-check": "error",
|
|
2219
|
+
"ts/no-explicit-any": "error",
|
|
2220
|
+
// Part: Replacements
|
|
2221
|
+
"roblox/no-any": "off",
|
|
2222
|
+
// -> @typescript-eslint/no-explicit-any
|
|
2223
|
+
"roblox/no-export-assignment-let": "off",
|
|
2224
|
+
// -> import/no-mutable-exports
|
|
2225
|
+
...stylistic2 ? {
|
|
2226
|
+
"sentinel/prefer-math-min-max": "error"
|
|
2227
|
+
} : {}
|
|
2228
|
+
}
|
|
2229
|
+
/* eslint-enable no-inline-comments */
|
|
2217
2230
|
});
|
|
2218
2231
|
if (formatLua) {
|
|
2219
2232
|
configs.push({
|
|
@@ -2272,7 +2285,7 @@ async function sonarjs(options = {}) {
|
|
|
2272
2285
|
{
|
|
2273
2286
|
name: "style/sonarjs",
|
|
2274
2287
|
plugins: {
|
|
2275
|
-
sonar:
|
|
2288
|
+
sonar: default18
|
|
2276
2289
|
},
|
|
2277
2290
|
rules: {
|
|
2278
2291
|
"sonar/bool-param-default": "error",
|
|
@@ -2877,7 +2890,7 @@ async function unicorn(options = {}) {
|
|
|
2877
2890
|
{
|
|
2878
2891
|
name: "style/unicorn",
|
|
2879
2892
|
plugins: {
|
|
2880
|
-
unicorn:
|
|
2893
|
+
unicorn: default19
|
|
2881
2894
|
},
|
|
2882
2895
|
rules: {
|
|
2883
2896
|
"unicorn/catch-error-name": [
|
|
@@ -2893,7 +2906,7 @@ async function unicorn(options = {}) {
|
|
|
2893
2906
|
"error",
|
|
2894
2907
|
{
|
|
2895
2908
|
case: "kebabCase",
|
|
2896
|
-
ignore: ["
|
|
2909
|
+
ignore: ["^[A-Z0-9]+.md$"],
|
|
2897
2910
|
multipleFileExtensions: true
|
|
2898
2911
|
}
|
|
2899
2912
|
],
|
|
@@ -2918,7 +2931,7 @@ async function unicorn(options = {}) {
|
|
|
2918
2931
|
"unicorn/prefer-export-from": "error",
|
|
2919
2932
|
"unicorn/prefer-includes": "error",
|
|
2920
2933
|
"unicorn/prefer-logical-operator-over-ternary": "error",
|
|
2921
|
-
"unicorn/prefer-math-min-max": "
|
|
2934
|
+
"unicorn/prefer-math-min-max": "off",
|
|
2922
2935
|
"unicorn/prefer-optional-catch-binding": "error",
|
|
2923
2936
|
"unicorn/prefer-set-has": "error",
|
|
2924
2937
|
"unicorn/prefer-switch": "error",
|
|
@@ -3224,7 +3237,8 @@ function style(options = {}, ...userConfigs) {
|
|
|
3224
3237
|
roblox(
|
|
3225
3238
|
{
|
|
3226
3239
|
...resolveSubOptions(options, "typescript"),
|
|
3227
|
-
componentExts: componentExtensions
|
|
3240
|
+
componentExts: componentExtensions,
|
|
3241
|
+
stylistic: stylisticOptions
|
|
3228
3242
|
},
|
|
3229
3243
|
options.formatters === void 0 && options.formatters !== false
|
|
3230
3244
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isentinel/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "iSentinel's ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"rbxts"
|
|
10
10
|
],
|
|
11
11
|
"homepage": "https://github.com/christopher-buss/roblox-ts-eslint-config",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/christopher-buss/roblox-ts-eslint-config.git"
|
|
15
|
+
},
|
|
12
16
|
"license": "MIT",
|
|
13
17
|
"author": "Christopher Buss <christopher.buss@pm.me> (https://github.com/christopher-buss)",
|
|
14
18
|
"contributors": [
|
|
@@ -34,16 +38,16 @@
|
|
|
34
38
|
"dependencies": {
|
|
35
39
|
"@antfu/install-pkg": "1.0.0",
|
|
36
40
|
"@clack/prompts": "0.10.1",
|
|
37
|
-
"@cspell/eslint-plugin": "8.
|
|
41
|
+
"@cspell/eslint-plugin": "8.19.2",
|
|
38
42
|
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
|
|
39
43
|
"@eslint/compat": "1.2.8",
|
|
40
|
-
"@eslint/markdown": "6.
|
|
44
|
+
"@eslint/markdown": "6.4.0",
|
|
41
45
|
"@isentinel/dict-rbxts": "1.0.1",
|
|
42
46
|
"@isentinel/dict-roblox": "1.0.3",
|
|
43
47
|
"@shopify/eslint-plugin": "48.0.2",
|
|
44
48
|
"@stylistic/eslint-plugin": "4.2.0",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
46
|
-
"@typescript-eslint/parser": "8.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "8.31.0",
|
|
50
|
+
"@typescript-eslint/parser": "8.31.0",
|
|
47
51
|
"ansis": "3.17.0",
|
|
48
52
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
49
53
|
"eslint-config-prettier": "10.1.2",
|
|
@@ -56,14 +60,15 @@
|
|
|
56
60
|
"eslint-plugin-de-morgan": "1.2.1",
|
|
57
61
|
"eslint-plugin-format": "1.0.1",
|
|
58
62
|
"eslint-plugin-format-lua": "0.1.0",
|
|
59
|
-
"eslint-plugin-import-x": "4.10.
|
|
63
|
+
"eslint-plugin-import-x": "4.10.6",
|
|
60
64
|
"eslint-plugin-jsdoc": "50.6.9",
|
|
61
65
|
"eslint-plugin-jsonc": "2.20.0",
|
|
62
66
|
"eslint-plugin-no-only-tests": "3.3.0",
|
|
63
|
-
"eslint-plugin-package-json": "0.
|
|
64
|
-
"eslint-plugin-perfectionist": "4.
|
|
67
|
+
"eslint-plugin-package-json": "0.30.0",
|
|
68
|
+
"eslint-plugin-perfectionist": "4.12.3",
|
|
65
69
|
"eslint-plugin-pnpm": "0.3.1",
|
|
66
70
|
"eslint-plugin-promise": "7.2.1",
|
|
71
|
+
"eslint-plugin-sentinel": "0.1.1",
|
|
67
72
|
"eslint-plugin-sonarjs": "3.0.2",
|
|
68
73
|
"eslint-plugin-toml": "0.12.0",
|
|
69
74
|
"eslint-plugin-unicorn": "58.0.0",
|
|
@@ -81,7 +86,7 @@
|
|
|
81
86
|
},
|
|
82
87
|
"devDependencies": {
|
|
83
88
|
"@antfu/ni": "24.3.0",
|
|
84
|
-
"@eslint-react/eslint-plugin": "1.
|
|
89
|
+
"@eslint-react/eslint-plugin": "1.48.4",
|
|
85
90
|
"@eslint/config-inspector": "1.0.2",
|
|
86
91
|
"@stylistic/eslint-plugin-migrate": "4.2.0",
|
|
87
92
|
"@types/fs-extra": "11.0.4",
|
|
@@ -89,7 +94,7 @@
|
|
|
89
94
|
"@types/prompts": "2.4.9",
|
|
90
95
|
"@types/yargs": "17.0.33",
|
|
91
96
|
"bumpp": "10.1.0",
|
|
92
|
-
"eslint": "9.
|
|
97
|
+
"eslint": "9.25.1",
|
|
93
98
|
"eslint-plugin-jest": "28.11.0",
|
|
94
99
|
"eslint-plugin-react-roblox-hooks": "5.1.0-rbx.1",
|
|
95
100
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
@@ -105,7 +110,7 @@
|
|
|
105
110
|
"simple-git-hooks": "2.12.1",
|
|
106
111
|
"tsup": "8.4.0",
|
|
107
112
|
"typescript": "5.8.3",
|
|
108
|
-
"@isentinel/eslint-config": "1.
|
|
113
|
+
"@isentinel/eslint-config": "1.1.2"
|
|
109
114
|
},
|
|
110
115
|
"peerDependencies": {
|
|
111
116
|
"@eslint-react/eslint-plugin": "^1.45.0",
|
|
@@ -134,7 +139,7 @@
|
|
|
134
139
|
"gen": "tsx scripts/typegen.ts && tsx scripts/versiongen.ts",
|
|
135
140
|
"postgen": "echo 'Generation complete!'",
|
|
136
141
|
"lint": "eslint",
|
|
137
|
-
"release": "bumpp
|
|
142
|
+
"release": "bumpp",
|
|
138
143
|
"stub": "tsup",
|
|
139
144
|
"typecheck": "tsc --noEmit",
|
|
140
145
|
"watch": "tsup --watch"
|