@croct/eslint-plugin 0.9.0 → 0.9.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.
Files changed (3) hide show
  1. package/index.cjs +19115 -23820
  2. package/index.d.cts +12 -15
  3. package/package.json +23 -21
package/index.d.cts CHANGED
@@ -1,31 +1,28 @@
1
- import * as _eslint_core0 from "@eslint/core";
2
- import * as eslint from "eslint";
3
1
  import { ESLint } from "eslint";
4
- import * as _typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
5
2
 
6
3
  //#region src/rules/index.d.ts
7
4
  declare const rules: {
8
- 'argument-spacing': _typescript_eslint_utils_ts_eslint0.RuleModule<"missing", readonly unknown[], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener> & {
5
+ 'argument-spacing': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missing", readonly unknown[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
9
6
  name: string;
10
7
  };
11
- 'jsx-attribute-spacing': _typescript_eslint_utils_ts_eslint0.RuleModule<"missing", readonly unknown[], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener> & {
8
+ 'jsx-attribute-spacing': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missing", readonly unknown[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
12
9
  name: string;
13
10
  };
14
- 'complex-expression-spacing': _typescript_eslint_utils_ts_eslint0.RuleModule<"missing", readonly unknown[], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener> & {
11
+ 'complex-expression-spacing': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missing", readonly unknown[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
15
12
  name: string;
16
13
  };
17
- 'newline-per-chained-call': _typescript_eslint_utils_ts_eslint0.RuleModule<"expectedLineBreak", {
14
+ 'newline-per-chained-call': import("@typescript-eslint/utils/ts-eslint").RuleModule<"expectedLineBreak", {
18
15
  ignoreChainDeeperThan: number;
19
- }[], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener> & {
16
+ }[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
20
17
  name: string;
21
18
  };
22
- 'min-chained-call-depth': _typescript_eslint_utils_ts_eslint0.RuleModule<"unexpectedLineBreak", {
19
+ 'min-chained-call-depth': import("@typescript-eslint/utils/ts-eslint").RuleModule<"unexpectedLineBreak", {
23
20
  maxLineLength: number;
24
21
  ignoreChainDeeperThan: number;
25
- }[], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener> & {
22
+ }[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
26
23
  name: string;
27
24
  };
28
- 'parameter-destructuring': _typescript_eslint_utils_ts_eslint0.RuleModule<"unexpectedDestructuring", readonly unknown[], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener> & {
25
+ 'parameter-destructuring': import("@typescript-eslint/utils/ts-eslint").RuleModule<"unexpectedDestructuring", readonly unknown[], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
29
26
  name: string;
30
27
  };
31
28
  };
@@ -36,10 +33,10 @@ declare const plugin: {
36
33
  configs: {};
37
34
  };
38
35
  declare const configs: {
39
- readonly javascript: eslint.Linter.Config<_eslint_core0.RulesConfig>[];
40
- readonly typescript: eslint.Linter.Config<_eslint_core0.RulesConfig>[];
41
- readonly react: eslint.Linter.Config<_eslint_core0.RulesConfig>[];
42
- readonly cypress: eslint.Linter.Config<_eslint_core0.RulesConfig>[];
36
+ readonly javascript: import("eslint").Linter.Config<import("@eslint/core").RulesConfig>[];
37
+ readonly typescript: import("eslint").Linter.Config<import("@eslint/core").RulesConfig>[];
38
+ readonly react: import("eslint").Linter.Config<import("@eslint/core").RulesConfig>[];
39
+ readonly cypress: import("eslint").Linter.Config<import("@eslint/core").RulesConfig>[];
43
40
  };
44
41
  //#endregion
45
42
  export { configs, plugin, rules };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croct/eslint-plugin",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "ESLint rules and presets applied to all Croct JavaScript projects.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -27,8 +27,8 @@
27
27
  "email": "lib+coding-standard-js@croct.com",
28
28
  "url": "https://croct.com"
29
29
  },
30
- "main": "dist/index.cjs",
31
- "types": "dist/index.d.cts",
30
+ "main": "index.cjs",
31
+ "types": "index.d.cts",
32
32
  "scripts": {
33
33
  "build": "tsdown",
34
34
  "lint": "eslint 'src/**/*.{ts,tsx}'",
@@ -37,36 +37,38 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
40
- "@eslint/compat": "^2.0.2",
41
- "@stylistic/eslint-plugin": "^5.9.0",
42
- "@typescript-eslint/typescript-estree": "^8.56.1",
43
- "@typescript-eslint/utils": "^8.56.1",
44
- "eslint-plugin-cypress": "^6.1.0",
45
- "eslint-plugin-eslint-plugin": "^7.3.1",
40
+ "@eslint/compat": "^2.1.0",
41
+ "@stylistic/eslint-plugin": "^5.10.0",
42
+ "@typescript-eslint/typescript-estree": "^8.59.4",
43
+ "@typescript-eslint/utils": "^8.59.4",
44
+ "eslint-plugin-cypress": "^6.4.1",
45
+ "eslint-plugin-eslint-plugin": "^7.3.3",
46
46
  "eslint-plugin-import-newlines": "^2.0.0",
47
- "eslint-plugin-jest": "^29.15.0",
47
+ "eslint-plugin-jest": "^29.15.2",
48
48
  "eslint-plugin-newline-destructuring": "^1.2.2",
49
49
  "eslint-plugin-self": "^1.2.1",
50
- "eslint-plugin-testing-library": "^7.16.0",
50
+ "eslint-plugin-testing-library": "^7.16.2",
51
51
  "globals": "^17.6.0",
52
- "typescript-eslint": "^8.56.1"
52
+ "typescript-eslint": "^8.59.4",
53
+ "unrs-resolver": "^1.12.2"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@types/jest": "^30.0.0",
57
+ "@types/node": "^25.9.1",
56
58
  "@types/semver": "^7.7.1",
57
- "@typescript-eslint/parser": "^8.56.1",
58
- "@typescript-eslint/rule-tester": "^8.56.1",
59
- "@typescript-eslint/types": "^8.56.1",
60
- "eslint": "^10.0.2",
59
+ "@typescript-eslint/parser": "^8.59.4",
60
+ "@typescript-eslint/rule-tester": "^8.59.4",
61
+ "@typescript-eslint/types": "^8.59.4",
62
+ "eslint": "^10.4.0",
61
63
  "eslint-plugin-import-x": "^4.16.2",
62
64
  "eslint-plugin-jest-dom": "^5.5.0",
63
65
  "eslint-plugin-jsx-a11y": "^6.10.2",
64
66
  "eslint-plugin-react": "^7.37.5",
65
- "eslint-plugin-react-hooks": "^7.0.1",
66
- "jest": "^30.2.0",
67
- "ts-jest": "^29.4.6",
68
- "tsdown": "^0.21.0-beta.2",
69
- "typescript": "~5.9.3"
67
+ "eslint-plugin-react-hooks": "^7.1.1",
68
+ "jest": "^30.4.2",
69
+ "ts-jest": "^29.4.11",
70
+ "tsdown": "^0.22.0",
71
+ "typescript": "~6.0.3"
70
72
  },
71
73
  "peerDependencies": {
72
74
  "@typescript-eslint/parser": ">= 8",