@jsse/eslint-config 0.1.22 → 0.2.1
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 +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +200 -98
- package/dist/index.d.cts +143 -1096
- package/dist/index.d.ts +143 -1096
- package/dist/index.js +199 -98
- package/package.json +14 -14
package/dist/index.js
CHANGED
|
@@ -2973,7 +2973,7 @@ var require_globals2 = __commonJS({
|
|
|
2973
2973
|
|
|
2974
2974
|
// src/factory.ts
|
|
2975
2975
|
import fs2 from "fs";
|
|
2976
|
-
import
|
|
2976
|
+
import process6 from "process";
|
|
2977
2977
|
|
|
2978
2978
|
// node_modules/.pnpm/local-pkg@0.5.0/node_modules/local-pkg/dist/index.mjs
|
|
2979
2979
|
import path3, { dirname as dirname3, win32, join as join2 } from "path";
|
|
@@ -9885,6 +9885,7 @@ var log = new Lager();
|
|
|
9885
9885
|
|
|
9886
9886
|
// src/globs.ts
|
|
9887
9887
|
var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
9888
|
+
var GLOB_JS_SRC_EXT = "?([cm])js?(x)";
|
|
9888
9889
|
var GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
9889
9890
|
var GLOB_JS = "**/*.?([cm])js";
|
|
9890
9891
|
var GLOB_JSX = "**/*.?([cm])jsx";
|
|
@@ -10429,7 +10430,7 @@ var javascript = async (options) => {
|
|
|
10429
10430
|
}
|
|
10430
10431
|
},
|
|
10431
10432
|
{
|
|
10432
|
-
files: [`scripts/${
|
|
10433
|
+
files: [`scripts/${GLOB_JS}`, `cli.${GLOB_JS_SRC_EXT}`],
|
|
10433
10434
|
name: "jsse/scripts-overrides",
|
|
10434
10435
|
rules: {
|
|
10435
10436
|
"no-console": "off"
|
|
@@ -10569,7 +10570,7 @@ function typescriptRulesTypeAware() {
|
|
|
10569
10570
|
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
|
10570
10571
|
"@typescript-eslint/no-unnecessary-type-arguments": "off",
|
|
10571
10572
|
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
10572
|
-
"@typescript-eslint/no-useless-template-literals": "error",
|
|
10573
|
+
// "@typescript-eslint/no-useless-template-literals": "error",
|
|
10573
10574
|
"no-throw-literal": "off",
|
|
10574
10575
|
"@typescript-eslint/only-throw-error": "error",
|
|
10575
10576
|
"@typescript-eslint/no-unsafe-argument": "error",
|
|
@@ -10712,56 +10713,61 @@ function typescriptRulesTypeOblivious() {
|
|
|
10712
10713
|
}
|
|
10713
10714
|
],
|
|
10714
10715
|
"@typescript-eslint/adjacent-overload-signatures": "error",
|
|
10715
|
-
"@typescript-eslint/ban-types": [
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
],
|
|
10716
|
+
// "@typescript-eslint/ban-types": [
|
|
10717
|
+
// "warn",
|
|
10718
|
+
// {
|
|
10719
|
+
// extendDefaults: false,
|
|
10720
|
+
// types: {
|
|
10721
|
+
// String: {
|
|
10722
|
+
// message: 'Use "string" instead',
|
|
10723
|
+
// fixWith: "string",
|
|
10724
|
+
// },
|
|
10725
|
+
// Boolean: {
|
|
10726
|
+
// message: 'Use "boolean" instead',
|
|
10727
|
+
// fixWith: "boolean",
|
|
10728
|
+
// },
|
|
10729
|
+
// Number: {
|
|
10730
|
+
// message: 'Use "number" instead',
|
|
10731
|
+
// fixWith: "number",
|
|
10732
|
+
// },
|
|
10733
|
+
// BigInt: {
|
|
10734
|
+
// message: "Use `bigint` instead.",
|
|
10735
|
+
// fixWith: "bigint",
|
|
10736
|
+
// },
|
|
10737
|
+
// Object: {
|
|
10738
|
+
// message:
|
|
10739
|
+
// "The `Object` type is mostly the same as `unknown`. You probably want `Record<string, unknown>` instead. See https://github.com/typescript-eslint/typescript-eslint/pull/848",
|
|
10740
|
+
// fixWith: "Record<string, unknown>",
|
|
10741
|
+
// },
|
|
10742
|
+
// object: {
|
|
10743
|
+
// message:
|
|
10744
|
+
// "The `object` type is hard to use. Use `Record<string, unknown>` instead. See: https://github.com/typescript-eslint/typescript-eslint/pull/848",
|
|
10745
|
+
// fixWith: "Record<string, unknown>",
|
|
10746
|
+
// },
|
|
10747
|
+
// Symbol: {
|
|
10748
|
+
// message: 'Use "symbol" instead',
|
|
10749
|
+
// fixWith: "symbol",
|
|
10750
|
+
// },
|
|
10751
|
+
// Function: {
|
|
10752
|
+
// message:
|
|
10753
|
+
// 'The "Function" type accepts any function-like value.\nIt provides no type safety when calling the function, which can be a common source of bugs.\nIt also accepts things like class declarations, which will throw at runtime as they will not be called with "new".\nIf you are expecting the function to accept certain arguments, you should explicitly define the function shape.',
|
|
10754
|
+
// },
|
|
10755
|
+
// // eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10756
|
+
// "{}": {
|
|
10757
|
+
// message:
|
|
10758
|
+
// "The `{}` type is mostly the same as `unknown`. You probably want `Record<string, unknown>` instead.",
|
|
10759
|
+
// fixWith: "Record<string, unknown>",
|
|
10760
|
+
// },
|
|
10761
|
+
// // eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10762
|
+
// "[]": "Don't use the empty array type `[]`. It only allows empty arrays. Use `SomeType[]` instead.",
|
|
10763
|
+
// // eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10764
|
+
// "[[]]":
|
|
10765
|
+
// "Don't use `[[]]`. It only allows an array with a single element which is an empty array. Use `SomeType[][]` instead.",
|
|
10766
|
+
// // eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10767
|
+
// "[[[]]]": "Don't use `[[[]]]`. Use `SomeType[][][]` instead.",
|
|
10768
|
+
// },
|
|
10769
|
+
// },
|
|
10770
|
+
// ],
|
|
10765
10771
|
"@typescript-eslint/consistent-type-assertions": "error",
|
|
10766
10772
|
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
|
|
10767
10773
|
"@typescript-eslint/member-ordering": [
|
|
@@ -10911,29 +10917,28 @@ function typescriptRulesTypeOblivious() {
|
|
|
10911
10917
|
],
|
|
10912
10918
|
"default-param-last": "off",
|
|
10913
10919
|
"@typescript-eslint/default-param-last": "error",
|
|
10914
|
-
"func-call-spacing": "off",
|
|
10920
|
+
// "func-call-spacing": "off",
|
|
10915
10921
|
"@typescript-eslint/func-call-spacing": ["error", "never"],
|
|
10916
|
-
"keyword-spacing": "off",
|
|
10922
|
+
// "keyword-spacing": "off",
|
|
10917
10923
|
"@typescript-eslint/keyword-spacing": "error",
|
|
10918
|
-
"lines-between-class-members": "off",
|
|
10919
|
-
"@typescript-eslint/lines-between-class-members": [
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
],
|
|
10924
|
+
// "lines-between-class-members": "off",
|
|
10925
|
+
// "@typescript-eslint/lines-between-class-members": [
|
|
10926
|
+
// "error",
|
|
10927
|
+
// "always",
|
|
10928
|
+
// {
|
|
10929
|
+
// exceptAfterSingleLine: true,
|
|
10930
|
+
// },
|
|
10931
|
+
// ],
|
|
10926
10932
|
"no-dupe-class-members": "off",
|
|
10927
10933
|
"@typescript-eslint/no-dupe-class-members": "error",
|
|
10928
10934
|
"no-empty-function": "off",
|
|
10929
10935
|
"@typescript-eslint/no-empty-function": "error",
|
|
10930
|
-
"no-extra-parens": "off",
|
|
10931
|
-
"no-extra-semi": "off",
|
|
10936
|
+
// "no-extra-parens": "off",
|
|
10937
|
+
// "no-extra-semi": "off",
|
|
10932
10938
|
"@typescript-eslint/no-extra-semi": "error",
|
|
10933
10939
|
"no-loop-func": "off",
|
|
10934
10940
|
"@typescript-eslint/no-loop-func": "error",
|
|
10935
10941
|
"no-loss-of-precision": "off",
|
|
10936
|
-
"@typescript-eslint/no-loss-of-precision": "error",
|
|
10937
10942
|
"no-redeclare": "off",
|
|
10938
10943
|
"@typescript-eslint/no-redeclare": "error",
|
|
10939
10944
|
"no-restricted-imports": "off",
|
|
@@ -10952,17 +10957,17 @@ function typescriptRulesTypeOblivious() {
|
|
|
10952
10957
|
]
|
|
10953
10958
|
}
|
|
10954
10959
|
],
|
|
10955
|
-
"padding-line-between-statements": "off",
|
|
10960
|
+
// "padding-line-between-statements": "off",
|
|
10956
10961
|
"@typescript-eslint/padding-line-between-statements": "off",
|
|
10957
|
-
quotes: "off",
|
|
10962
|
+
// quotes: "off",
|
|
10958
10963
|
"@typescript-eslint/quotes": "off",
|
|
10959
|
-
"space-before-function-paren": "off",
|
|
10964
|
+
// "space-before-function-paren": "off",
|
|
10960
10965
|
"@typescript-eslint/space-before-function-paren": "off",
|
|
10961
|
-
"space-infix-ops": "off",
|
|
10966
|
+
// "space-infix-ops": "off",
|
|
10962
10967
|
"@typescript-eslint/space-infix-ops": "error",
|
|
10963
|
-
semi: "off",
|
|
10968
|
+
// semi: "off",
|
|
10964
10969
|
"@typescript-eslint/semi": ["error", "always"],
|
|
10965
|
-
"space-before-blocks": "off",
|
|
10970
|
+
// "space-before-blocks": "off",
|
|
10966
10971
|
"@typescript-eslint/space-before-blocks": ["error", "always"],
|
|
10967
10972
|
"no-undef": "off",
|
|
10968
10973
|
"no-duplicate-imports": "off",
|
|
@@ -11257,14 +11262,18 @@ var prettier = async () => {
|
|
|
11257
11262
|
// src/configs/ts/typescript-language-options.ts
|
|
11258
11263
|
import process4 from "process";
|
|
11259
11264
|
function typescriptLanguageOptions(options) {
|
|
11260
|
-
const {
|
|
11261
|
-
componentExts = [],
|
|
11262
|
-
react: react2,
|
|
11263
|
-
// parserOptionsOverride = {},
|
|
11264
|
-
tsconfig
|
|
11265
|
-
} = options || {};
|
|
11265
|
+
const { componentExts = [], react: react2, tsconfig } = options || {};
|
|
11266
11266
|
const tsOptions = tsconfig ? {
|
|
11267
|
-
project: Array.isArray(tsconfig) ? tsconfig : [tsconfig],
|
|
11267
|
+
// project: Array.isArray(tsconfig) ? tsconfig : [tsconfig],
|
|
11268
|
+
projectService: {
|
|
11269
|
+
allowDefaultProject: [
|
|
11270
|
+
"*.js",
|
|
11271
|
+
"tsconfig.json",
|
|
11272
|
+
"*.ts",
|
|
11273
|
+
"scripts/*.ts"
|
|
11274
|
+
],
|
|
11275
|
+
defaultProject: tsconfig
|
|
11276
|
+
},
|
|
11268
11277
|
tsconfigRootDir: process4.cwd()
|
|
11269
11278
|
} : {};
|
|
11270
11279
|
const parserOptions = {
|
|
@@ -11847,28 +11856,93 @@ var tailwind = async (options) => {
|
|
|
11847
11856
|
];
|
|
11848
11857
|
};
|
|
11849
11858
|
|
|
11859
|
+
// src/configs/ts/parser.ts
|
|
11860
|
+
import process5 from "process";
|
|
11861
|
+
function typescriptParser(options) {
|
|
11862
|
+
const {
|
|
11863
|
+
componentExts = [],
|
|
11864
|
+
filesTypeAware: files = [GLOB_TS, GLOB_TSX],
|
|
11865
|
+
ignoresTypeAware: ignores2 = [GLOB_MARKDOWN],
|
|
11866
|
+
parserOptions: parserOptionsOverride = {},
|
|
11867
|
+
react: react2,
|
|
11868
|
+
tsconfig
|
|
11869
|
+
} = options;
|
|
11870
|
+
const typeAware = !!tsconfig;
|
|
11871
|
+
return {
|
|
11872
|
+
files,
|
|
11873
|
+
...ignores2 ? { ignores: ignores2 } : {},
|
|
11874
|
+
languageOptions: {
|
|
11875
|
+
parser: parserTs,
|
|
11876
|
+
parserOptions: {
|
|
11877
|
+
extraFileExtensions: componentExts.map((ext) => `.${ext}`),
|
|
11878
|
+
jsxPragma: react2 ? "React" : void 0,
|
|
11879
|
+
sourceType: "module",
|
|
11880
|
+
...typeAware ? {
|
|
11881
|
+
projectService: {
|
|
11882
|
+
allowDefaultProject: ["*.js"],
|
|
11883
|
+
defaultProject: tsconfig
|
|
11884
|
+
},
|
|
11885
|
+
tsconfigRootDir: process5.cwd().replaceAll("\\", "/")
|
|
11886
|
+
} : {},
|
|
11887
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11888
|
+
...parserOptionsOverride
|
|
11889
|
+
}
|
|
11890
|
+
},
|
|
11891
|
+
name: `jsse/typescript/${typeAware ? "type-aware-parser" : "parser"}`
|
|
11892
|
+
};
|
|
11893
|
+
}
|
|
11894
|
+
|
|
11850
11895
|
// src/configs/ts/typescript.ts
|
|
11851
11896
|
var typescript = async (options) => {
|
|
11852
11897
|
const {
|
|
11853
11898
|
componentExts = [],
|
|
11899
|
+
filesTypeAware = [GLOB_TS, GLOB_TSX],
|
|
11900
|
+
ignoresTypeAware = [GLOB_MARKDOWN],
|
|
11854
11901
|
overrides = {},
|
|
11855
11902
|
parserOptions = {},
|
|
11856
11903
|
prefix,
|
|
11857
|
-
react: react2,
|
|
11904
|
+
react: react2 = false,
|
|
11858
11905
|
tsconfig: tsconfigPath,
|
|
11859
11906
|
typeAware
|
|
11860
11907
|
} = options ?? {};
|
|
11908
|
+
const parserConfigs = typeAware ? [
|
|
11909
|
+
typescriptParser({
|
|
11910
|
+
filesTypeAware,
|
|
11911
|
+
ignoresTypeAware,
|
|
11912
|
+
parserOptions,
|
|
11913
|
+
react: react2,
|
|
11914
|
+
tsconfig: tsconfigPath,
|
|
11915
|
+
typeAware: true
|
|
11916
|
+
}),
|
|
11917
|
+
typescriptParser({
|
|
11918
|
+
filesTypeAware,
|
|
11919
|
+
ignoresTypeAware,
|
|
11920
|
+
parserOptions,
|
|
11921
|
+
react: react2,
|
|
11922
|
+
tsconfig: tsconfigPath,
|
|
11923
|
+
typeAware: false
|
|
11924
|
+
})
|
|
11925
|
+
] : [
|
|
11926
|
+
typescriptParser({
|
|
11927
|
+
filesTypeAware,
|
|
11928
|
+
ignoresTypeAware,
|
|
11929
|
+
parserOptions,
|
|
11930
|
+
react: react2,
|
|
11931
|
+
tsconfig: tsconfigPath,
|
|
11932
|
+
typeAware: false
|
|
11933
|
+
})
|
|
11934
|
+
];
|
|
11861
11935
|
const tsPrefix = prefix?.from ?? "@typescript-eslint";
|
|
11862
11936
|
const tsPrefixTo = prefix?.to ?? "@typescript-eslint";
|
|
11863
|
-
const
|
|
11937
|
+
const tsRules = {
|
|
11864
11938
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
11865
11939
|
...(default8.configs["eslint-recommended"]?.overrides ?? [])[0]?.rules,
|
|
11866
11940
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
11867
11941
|
...default8.configs.strict?.rules,
|
|
11868
11942
|
"no-invalid-this": "off",
|
|
11869
|
-
...typescriptRules(
|
|
11870
|
-
typeAware
|
|
11871
|
-
),
|
|
11943
|
+
...typescriptRules({
|
|
11944
|
+
typeAware: false
|
|
11945
|
+
}),
|
|
11872
11946
|
...overrides
|
|
11873
11947
|
};
|
|
11874
11948
|
return [
|
|
@@ -11880,23 +11954,31 @@ var typescript = async (options) => {
|
|
|
11880
11954
|
[tsPrefixTo]: default8
|
|
11881
11955
|
}
|
|
11882
11956
|
},
|
|
11883
|
-
|
|
11884
|
-
{
|
|
11885
|
-
// use ts parser for js files as well!
|
|
11886
|
-
files: [GLOB_SRC, ...componentExts.map((ext) => `**/*.${ext}`)],
|
|
11887
|
-
languageOptions: typescriptLanguageOptions({
|
|
11888
|
-
parserOptions,
|
|
11889
|
-
react: react2,
|
|
11890
|
-
tsconfig: tsconfigPath
|
|
11891
|
-
}),
|
|
11892
|
-
name: "jsse/typescript/parser"
|
|
11893
|
-
},
|
|
11957
|
+
...parserConfigs,
|
|
11894
11958
|
{
|
|
11895
11959
|
// only apply ts rules to ts files!
|
|
11896
11960
|
files: [GLOB_TS, GLOB_TSX, ...componentExts.map((ext) => `**/*.${ext}`)],
|
|
11897
11961
|
name: "jsse/typescript/rules",
|
|
11898
|
-
|
|
11962
|
+
// may not need to rename all rules here........
|
|
11963
|
+
rules: renameRules(tsRules || {}, tsPrefix, tsPrefixTo)
|
|
11899
11964
|
},
|
|
11965
|
+
...typeAware ? [
|
|
11966
|
+
{
|
|
11967
|
+
files: filesTypeAware,
|
|
11968
|
+
ignores: ignoresTypeAware,
|
|
11969
|
+
name: "jsse/typescript/rules-type-aware",
|
|
11970
|
+
rules: renameRules(
|
|
11971
|
+
{
|
|
11972
|
+
...typescriptRules({
|
|
11973
|
+
typeAware: true
|
|
11974
|
+
}),
|
|
11975
|
+
...overrides
|
|
11976
|
+
},
|
|
11977
|
+
tsPrefix,
|
|
11978
|
+
tsPrefixTo
|
|
11979
|
+
)
|
|
11980
|
+
}
|
|
11981
|
+
] : [],
|
|
11900
11982
|
{
|
|
11901
11983
|
files: ["**/*.d.ts"],
|
|
11902
11984
|
name: "jsse/typescript:disables/dts",
|
|
@@ -12161,11 +12243,11 @@ var flatConfigProps = [
|
|
|
12161
12243
|
"rules",
|
|
12162
12244
|
"settings"
|
|
12163
12245
|
];
|
|
12164
|
-
var DEBUG = !!(
|
|
12246
|
+
var DEBUG = !!(process6.env.DEBUG?.toLowerCase() === "true" || process6.env.DEBUG === "1");
|
|
12165
12247
|
function defaultOptions2() {
|
|
12166
12248
|
return {
|
|
12167
12249
|
componentExts: [],
|
|
12168
|
-
debug: DEBUG &&
|
|
12250
|
+
debug: DEBUG && process6.env.TEST !== "true",
|
|
12169
12251
|
fast: false,
|
|
12170
12252
|
gitignore: true,
|
|
12171
12253
|
isInEditor: isInEditor(),
|
|
@@ -12393,6 +12475,24 @@ async function jsse(options = {}, ...userConfigs) {
|
|
|
12393
12475
|
return res;
|
|
12394
12476
|
}
|
|
12395
12477
|
}
|
|
12478
|
+
for (const config of combinedConfigs) {
|
|
12479
|
+
if (config.plugins) {
|
|
12480
|
+
for (const [key, value] of Object.entries(config.plugins)) {
|
|
12481
|
+
if (key.startsWith("@typescript-eslint/")) {
|
|
12482
|
+
delete config.plugins[key];
|
|
12483
|
+
config.plugins[`${tsPrefix}/${key.slice("@typescript-eslint/".length)}`] = value;
|
|
12484
|
+
}
|
|
12485
|
+
}
|
|
12486
|
+
}
|
|
12487
|
+
if (config.rules) {
|
|
12488
|
+
for (const [key, value] of Object.entries(config.rules)) {
|
|
12489
|
+
if (key.startsWith("@typescript-eslint/")) {
|
|
12490
|
+
delete config.rules[key];
|
|
12491
|
+
config.rules[`${tsPrefix}/${key.slice("@typescript-eslint/".length)}`] = value;
|
|
12492
|
+
}
|
|
12493
|
+
}
|
|
12494
|
+
}
|
|
12495
|
+
}
|
|
12396
12496
|
return combinedConfigs;
|
|
12397
12497
|
}
|
|
12398
12498
|
|
|
@@ -12422,6 +12522,7 @@ export {
|
|
|
12422
12522
|
GLOB_JSON5,
|
|
12423
12523
|
GLOB_JSONC,
|
|
12424
12524
|
GLOB_JSX,
|
|
12525
|
+
GLOB_JS_SRC_EXT,
|
|
12425
12526
|
GLOB_LESS,
|
|
12426
12527
|
GLOB_MARKDOWN,
|
|
12427
12528
|
GLOB_MARKDOWN_CODE,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsse/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"description": "@jsse/eslint-config ~ WYSIWYG",
|
|
6
6
|
"author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -58,33 +58,33 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@eslint/js": "~8.
|
|
61
|
+
"@eslint/js": "~9.8.0",
|
|
62
62
|
"@stylistic/eslint-plugin": "2.6.1",
|
|
63
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
64
|
-
"@typescript-eslint/parser": "^
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
64
|
+
"@typescript-eslint/parser": "^8.0.1",
|
|
65
65
|
"eslint-config-flat-gitignore": "^0.1.8",
|
|
66
66
|
"eslint-define-config": "^2.1.0",
|
|
67
67
|
"eslint-plugin-antfu": "^2.3.4",
|
|
68
68
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
69
69
|
"eslint-plugin-import-x": "^3.1.0",
|
|
70
|
-
"eslint-plugin-jsdoc": "^48.
|
|
70
|
+
"eslint-plugin-jsdoc": "^48.11.0",
|
|
71
71
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
72
72
|
"eslint-plugin-markdown": "^5.1.0",
|
|
73
|
-
"eslint-plugin-n": "^17.10.
|
|
73
|
+
"eslint-plugin-n": "^17.10.2",
|
|
74
74
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
75
|
-
"eslint-plugin-perfectionist": "^3.
|
|
75
|
+
"eslint-plugin-perfectionist": "^3.1.2",
|
|
76
76
|
"eslint-plugin-react": "~7.35.0",
|
|
77
77
|
"eslint-plugin-react-hooks": "~4.6.2",
|
|
78
78
|
"eslint-plugin-react-refresh": "~0.4.9",
|
|
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": "^
|
|
82
|
+
"eslint-plugin-unused-imports": "^4.0.1",
|
|
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
|
"toml-eslint-parser": "^0.10.0",
|
|
87
|
-
"typescript-eslint": "^
|
|
87
|
+
"typescript-eslint": "^8.0.1",
|
|
88
88
|
"yaml-eslint-parser": "^1.2.3"
|
|
89
89
|
},
|
|
90
90
|
"optionalDependencies": {
|
|
@@ -96,14 +96,14 @@
|
|
|
96
96
|
"@biomejs/biome": "1.8.3",
|
|
97
97
|
"@changesets/cli": "^2.27.7",
|
|
98
98
|
"@jsse/prettier-config": "^0.1.0",
|
|
99
|
-
"@types/eslint": "^
|
|
99
|
+
"@types/eslint": "^9.6.0",
|
|
100
100
|
"@types/eslint__js": "~8.42.3",
|
|
101
101
|
"@types/fs-extra": "^11.0.4",
|
|
102
102
|
"@types/node": "^20.14.13",
|
|
103
103
|
"cac": "^6.7.14",
|
|
104
|
-
"eslint": "^8.
|
|
105
|
-
"eslint-flat-config-utils": "^0.
|
|
106
|
-
"eslint-typegen": "^0.
|
|
104
|
+
"eslint": "^9.8.0",
|
|
105
|
+
"eslint-flat-config-utils": "^0.3.0",
|
|
106
|
+
"eslint-typegen": "^0.3.0",
|
|
107
107
|
"execa": "~9.3.0",
|
|
108
108
|
"fast-glob": "^3.3.2",
|
|
109
109
|
"fs-extra": "^11.2.0",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"prettier": "^3.3.3",
|
|
113
113
|
"react": "~18.3.1",
|
|
114
114
|
"rimraf": "^6.0.1",
|
|
115
|
-
"tsup": "^8.2.
|
|
115
|
+
"tsup": "^8.2.4",
|
|
116
116
|
"tsx": "^4.16.5",
|
|
117
117
|
"typescript": "~5.5.4",
|
|
118
118
|
"vitest": "^2.0.5"
|