@ivanmaxlogiudice/eslint-config 4.0.0 → 4.0.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/bin/index.mjs CHANGED
File without changes
package/dist/cli.mjs CHANGED
@@ -12,7 +12,7 @@ import { execSync } from "node:child_process";
12
12
  var package_default = {
13
13
  name: "@ivanmaxlogiudice/eslint-config",
14
14
  type: "module",
15
- version: "4.0.0",
15
+ version: "4.0.2",
16
16
  packageManager: "bun@1.3.5",
17
17
  description: "Personal ESLint config",
18
18
  license: "MIT",
@@ -44,11 +44,11 @@ var package_default = {
44
44
  "typecheck": "tsc --noEmit"
45
45
  },
46
46
  peerDependencies: {
47
- "@unocss/eslint-plugin": "^66.5.4",
48
- "eslint": "^9.38.0",
49
- "eslint-plugin-regexp": "^2.10.0",
50
- "eslint-plugin-yml": "^1.19.0",
51
- "yaml-eslint-parser": "^1.3.0"
47
+ "@unocss/eslint-plugin": "^66.6.0",
48
+ "eslint": "^10.0.0",
49
+ "eslint-plugin-regexp": "^3.0.0",
50
+ "eslint-plugin-yml": "^3.1.2",
51
+ "yaml-eslint-parser": "^2.0.0"
52
52
  },
53
53
  peerDependenciesMeta: {
54
54
  "@unocss/eslint-plugin": { "optional": true },
@@ -62,21 +62,21 @@ var package_default = {
62
62
  "@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
63
63
  "@eslint/markdown": "^7.5.1",
64
64
  "@ivanmaxlogiudice/gitignore": "^0.0.2",
65
- "@stylistic/eslint-plugin": "^5.7.1",
66
- "@typescript-eslint/eslint-plugin": "^8.54.0",
67
- "@typescript-eslint/parser": "^8.54.0",
68
- "@vitest/eslint-plugin": "^1.6.6",
65
+ "@stylistic/eslint-plugin": "^5.8.0",
66
+ "@typescript-eslint/eslint-plugin": "^8.55.0",
67
+ "@typescript-eslint/parser": "^8.55.0",
68
+ "@vitest/eslint-plugin": "^1.6.7",
69
69
  "ansis": "^4.2.0",
70
70
  "cac": "^6.7.14",
71
71
  "eslint-plugin-antfu": "^3.2.0",
72
72
  "eslint-plugin-import-lite": "^0.5.0",
73
73
  "eslint-plugin-jsdoc": "^62.5.4",
74
- "eslint-plugin-jsonc": "^2.21.0",
74
+ "eslint-plugin-jsonc": "^2.21.1",
75
75
  "eslint-plugin-n": "^17.23.2",
76
76
  "eslint-plugin-no-only-tests": "^3.3.0",
77
77
  "eslint-plugin-perfectionist": "^5.5.0",
78
78
  "eslint-plugin-unicorn": "^62.0.0",
79
- "eslint-plugin-unused-imports": "^4.3.0",
79
+ "eslint-plugin-unused-imports": "^4.4.1",
80
80
  "eslint-plugin-vue": "^10.7.0",
81
81
  "globals": "^17.3.0",
82
82
  "jsonc-eslint-parser": "^2.4.2",
package/dist/index.d.mts CHANGED
@@ -3127,6 +3127,11 @@ interface RuleOptions {
3127
3127
  * @see https://eslint.style/rules/eol-last
3128
3128
  */
3129
3129
  'style/eol-last'?: Linter.RuleEntry<StyleEolLast>;
3130
+ /**
3131
+ * Enforce consistent line break styles for JSX props
3132
+ * @see https://eslint.style/rules/jsx-props-style
3133
+ */
3134
+ 'style/exp-jsx-props-style'?: Linter.RuleEntry<StyleExpJsxPropsStyle>;
3130
3135
  /**
3131
3136
  * Enforce consistent spacing and line break styles inside brackets.
3132
3137
  * @see https://eslint.style/rules/list-style
@@ -4441,7 +4446,7 @@ interface RuleOptions {
4441
4446
  * Disallow default values that will never be used
4442
4447
  * @see https://typescript-eslint.io/rules/no-useless-default-assignment
4443
4448
  */
4444
- 'ts/no-useless-default-assignment'?: Linter.RuleEntry<[]>;
4449
+ 'ts/no-useless-default-assignment'?: Linter.RuleEntry<TsNoUselessDefaultAssignment>;
4445
4450
  /**
4446
4451
  * Disallow empty exports that don't change anything in a module file
4447
4452
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
@@ -11846,15 +11851,24 @@ type StyleCurlyNewline = [] | [(("always" | "never") | {
11846
11851
  consistent?: boolean;
11847
11852
  })]; // ----- style/dot-location -----
11848
11853
  type StyleDotLocation = [] | [("object" | "property")]; // ----- style/eol-last -----
11849
- type StyleEolLast = [] | [("always" | "never" | "unix" | "windows")]; // ----- style/exp-list-style -----
11854
+ type StyleEolLast = [] | [("always" | "never" | "unix" | "windows")]; // ----- style/exp-jsx-props-style -----
11855
+ type StyleExpJsxPropsStyle = [] | [{
11856
+ singleLine?: {
11857
+ maxItems?: number;
11858
+ };
11859
+ multiLine?: {
11860
+ minItems?: number;
11861
+ maxItemsPerLine?: number;
11862
+ };
11863
+ }]; // ----- style/exp-list-style -----
11850
11864
  type StyleExpListStyle = [] | [{
11851
11865
  singleLine?: _StyleExpListStyle_SingleLineConfig;
11852
11866
  multiLine?: _StyleExpListStyle_MultiLineConfig;
11853
11867
  overrides?: {
11868
+ "()"?: _StyleExpListStyle_BaseConfig;
11854
11869
  "[]"?: _StyleExpListStyle_BaseConfig;
11855
11870
  "{}"?: _StyleExpListStyle_BaseConfig;
11856
11871
  "<>"?: _StyleExpListStyle_BaseConfig;
11857
- "()"?: _StyleExpListStyle_BaseConfig;
11858
11872
  ArrayExpression?: _StyleExpListStyle_BaseConfig;
11859
11873
  ArrayPattern?: _StyleExpListStyle_BaseConfig;
11860
11874
  ArrowFunctionExpression?: _StyleExpListStyle_BaseConfig;
@@ -11862,21 +11876,22 @@ type StyleExpListStyle = [] | [{
11862
11876
  ExportNamedDeclaration?: _StyleExpListStyle_BaseConfig;
11863
11877
  FunctionDeclaration?: _StyleExpListStyle_BaseConfig;
11864
11878
  FunctionExpression?: _StyleExpListStyle_BaseConfig;
11865
- ImportDeclaration?: _StyleExpListStyle_BaseConfig;
11879
+ IfStatement?: _StyleExpListStyle_BaseConfig;
11866
11880
  ImportAttributes?: _StyleExpListStyle_BaseConfig;
11881
+ ImportDeclaration?: _StyleExpListStyle_BaseConfig;
11882
+ JSONArrayExpression?: _StyleExpListStyle_BaseConfig;
11883
+ JSONObjectExpression?: _StyleExpListStyle_BaseConfig;
11867
11884
  NewExpression?: _StyleExpListStyle_BaseConfig;
11868
11885
  ObjectExpression?: _StyleExpListStyle_BaseConfig;
11869
11886
  ObjectPattern?: _StyleExpListStyle_BaseConfig;
11870
11887
  TSDeclareFunction?: _StyleExpListStyle_BaseConfig;
11888
+ TSEnumBody?: _StyleExpListStyle_BaseConfig;
11871
11889
  TSFunctionType?: _StyleExpListStyle_BaseConfig;
11872
11890
  TSInterfaceBody?: _StyleExpListStyle_BaseConfig;
11873
- TSEnumBody?: _StyleExpListStyle_BaseConfig;
11874
11891
  TSTupleType?: _StyleExpListStyle_BaseConfig;
11875
11892
  TSTypeLiteral?: _StyleExpListStyle_BaseConfig;
11876
11893
  TSTypeParameterDeclaration?: _StyleExpListStyle_BaseConfig;
11877
11894
  TSTypeParameterInstantiation?: _StyleExpListStyle_BaseConfig;
11878
- JSONArrayExpression?: _StyleExpListStyle_BaseConfig;
11879
- JSONObjectExpression?: _StyleExpListStyle_BaseConfig;
11880
11895
  };
11881
11896
  }];
11882
11897
  interface _StyleExpListStyle_SingleLineConfig {
@@ -13619,7 +13634,10 @@ type TsNoUseBeforeDefine = [] | [("nofunc" | {
13619
13634
  ignoreTypeReferences?: boolean;
13620
13635
  typedefs?: boolean;
13621
13636
  variables?: boolean;
13622
- })]; // ----- ts/no-var-requires -----
13637
+ })]; // ----- ts/no-useless-default-assignment -----
13638
+ type TsNoUselessDefaultAssignment = [] | [{
13639
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
13640
+ }]; // ----- ts/no-var-requires -----
13623
13641
  type TsNoVarRequires = [] | [{
13624
13642
  allow?: string[];
13625
13643
  }]; // ----- ts/only-throw-error -----
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ivanmaxlogiudice/eslint-config",
3
3
  "type": "module",
4
- "version": "4.0.0",
4
+ "version": "4.0.2",
5
5
  "packageManager": "bun@1.3.5",
6
6
  "description": "Personal ESLint config",
7
7
  "license": "MIT",
@@ -42,11 +42,11 @@
42
42
  "typecheck": "tsc --noEmit"
43
43
  },
44
44
  "peerDependencies": {
45
- "@unocss/eslint-plugin": "^66.5.4",
46
- "eslint": "^9.38.0",
47
- "eslint-plugin-regexp": "^2.10.0",
48
- "eslint-plugin-yml": "^1.19.0",
49
- "yaml-eslint-parser": "^1.3.0"
45
+ "@unocss/eslint-plugin": "^66.6.0",
46
+ "eslint": "^10.0.0",
47
+ "eslint-plugin-regexp": "^3.0.0",
48
+ "eslint-plugin-yml": "^3.1.2",
49
+ "yaml-eslint-parser": "^2.0.0"
50
50
  },
51
51
  "peerDependenciesMeta": {
52
52
  "@unocss/eslint-plugin": {
@@ -68,21 +68,21 @@
68
68
  "@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
69
69
  "@eslint/markdown": "^7.5.1",
70
70
  "@ivanmaxlogiudice/gitignore": "^0.0.2",
71
- "@stylistic/eslint-plugin": "^5.7.1",
72
- "@typescript-eslint/eslint-plugin": "^8.54.0",
73
- "@typescript-eslint/parser": "^8.54.0",
74
- "@vitest/eslint-plugin": "^1.6.6",
71
+ "@stylistic/eslint-plugin": "^5.8.0",
72
+ "@typescript-eslint/eslint-plugin": "^8.55.0",
73
+ "@typescript-eslint/parser": "^8.55.0",
74
+ "@vitest/eslint-plugin": "^1.6.7",
75
75
  "ansis": "^4.2.0",
76
76
  "cac": "^6.7.14",
77
77
  "eslint-plugin-antfu": "^3.2.0",
78
78
  "eslint-plugin-import-lite": "^0.5.0",
79
79
  "eslint-plugin-jsdoc": "^62.5.4",
80
- "eslint-plugin-jsonc": "^2.21.0",
80
+ "eslint-plugin-jsonc": "^2.21.1",
81
81
  "eslint-plugin-n": "^17.23.2",
82
82
  "eslint-plugin-no-only-tests": "^3.3.0",
83
83
  "eslint-plugin-perfectionist": "^5.5.0",
84
84
  "eslint-plugin-unicorn": "^62.0.0",
85
- "eslint-plugin-unused-imports": "^4.3.0",
85
+ "eslint-plugin-unused-imports": "^4.4.1",
86
86
  "eslint-plugin-vue": "^10.7.0",
87
87
  "globals": "^17.3.0",
88
88
  "jsonc-eslint-parser": "^2.4.2",