@morriconeluca/eslint-plugin-faf 0.4.0 → 0.6.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morriconeluca/eslint-plugin-faf",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "description": "An ESLint plugin for FAF projects.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,40 +8,49 @@
8
8
  },
9
9
  "main": "./dist/main.cjs",
10
10
  "module": "./dist/main.js",
11
- "types": "./dist/main.d.ts",
11
+ "types": "./dist/main.d.cts",
12
12
  "exports": {
13
13
  ".": {
14
- "types": "./dist/main.d.ts",
15
- "import": "./dist/main.js",
16
- "require": "./dist/main.cjs"
14
+ "import": {
15
+ "types": "./dist/main.d.ts",
16
+ "default": "./dist/main.js"
17
+ },
18
+ "require": {
19
+ "types": "./dist/main.d.cts",
20
+ "default": "./dist/main.cjs"
21
+ }
17
22
  }
18
23
  },
19
24
  "publishConfig": {
20
25
  "access": "public",
21
26
  "provenance": true
22
27
  },
23
- "imports": {
24
- "#_rules@shared/*": "./src/_rules/_rules@shared/*",
25
- "#_utils@shared/*": "./src/_rules/_rules@shared/_utils/_utils@shared/*"
28
+ "sideEffects": false,
29
+ "engines": {
30
+ "node": ">=24"
26
31
  },
27
32
  "type": "module",
28
33
  "files": [
29
34
  "dist"
30
35
  ],
31
36
  "scripts": {
32
- "build": "npm run lint && tsup",
33
- "test": "vitest run",
37
+ "build": "tsup",
38
+ "check": "node --import ./scripts/register-script-typescript.ts scripts/check.ts",
39
+ "ci": "npm run gate:1 && npm run gate:2 && npm run gate:3 && npm run gate:4:diff && npm run gate:5",
34
40
  "dev": "vitest",
35
- "lint": "npm run lint:types && npm run lint:eslint",
36
- "lint:eslint": "eslint .",
37
- "lint:types": "tsc --noEmit",
38
- "lint:fix": "eslint --fix .",
39
- "format": "prettier --write .",
40
- "check-format": "prettier --check .",
41
- "ci": "npm run build && npm run check-format && npm run test",
42
- "prepublishOnly": "npm run ci",
41
+ "gate:1": "prettier --check --cache --cache-location .cache/prettier/.prettiercache . && tsc --noEmit",
42
+ "gate:2": "eslint .",
43
+ "gate:3": "vitest run --coverage",
44
+ "gate:4:diff": "node --import ./scripts/register-script-typescript.ts scripts/mutate-diff.ts --mode=diff",
45
+ "gate:4:force": "node --import ./scripts/register-script-typescript.ts scripts/mutate-diff.ts --mode=force",
46
+ "gate:4:incremental": "node --import ./scripts/register-script-typescript.ts scripts/mutate-diff.ts --mode=incremental",
47
+ "gate:5": "tsup && publint --strict && attw -q --pack .",
48
+ "gate:all:force": "npm run gate:1 && npm run gate:2 && npm run gate:3 && npm run gate:4:force && npm run gate:5",
49
+ "gate:fast": "npm run gate:1 && npm run gate:2",
43
50
  "local-release": "changeset version && changeset publish",
44
- "prepare": "husky"
51
+ "prepare": "husky",
52
+ "prepublishOnly": "npm run build",
53
+ "sanitize": "eslint --fix . && prettier --write --cache --cache-location .cache/prettier/.prettiercache ."
45
54
  },
46
55
  "keywords": [
47
56
  "eslint",
@@ -51,24 +60,39 @@
51
60
  "author": "Luca Morricone",
52
61
  "license": "MIT",
53
62
  "peerDependencies": {
54
- "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0"
63
+ "eslint": "^9.0.0 || ^10.0.0"
64
+ },
65
+ "dependencies": {
66
+ "oxc-parser": "^0.156.0",
67
+ "oxc-resolver": "^11.24.2",
68
+ "zod": "^4.6.7"
55
69
  },
56
70
  "devDependencies": {
71
+ "@arethetypeswrong/cli": "^0.18.5",
57
72
  "@changesets/cli": "^2.31.0",
58
73
  "@commitlint/cli": "^21.0.2",
59
74
  "@commitlint/config-conventional": "^21.0.2",
75
+ "@commitlint/types": "^21.2.3",
76
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
60
77
  "@eslint/js": "^10.0.1",
61
- "@types/eslint": "^9.6.1",
78
+ "@stryker-mutator/core": "^10.1.1",
79
+ "@stryker-mutator/vitest-runner": "^10.1.1",
62
80
  "@types/node": "^25.9.3",
63
81
  "@typescript-eslint/utils": "^8.24.1",
82
+ "@vitest/coverage-v8": "^4.1.12",
64
83
  "dependency-cruiser": "^17.4.3",
65
- "eslint": "^10.5.0",
84
+ "eslint": "^10.14.0",
66
85
  "eslint-import-resolver-typescript": "^4.4.5",
67
86
  "eslint-plugin-import-x": "^4.16.2",
87
+ "eslint-plugin-jsdoc": "^65.4.2",
68
88
  "eslint-plugin-perfectionist": "^5.9.0",
89
+ "eslint-plugin-sonarjs": "^4.2.2",
90
+ "eslint-plugin-unicorn": "^79.0.0",
91
+ "fs-fixture": "^2.16.0",
69
92
  "husky": "^9.1.7",
70
93
  "lint-staged": "^17.0.7",
71
94
  "prettier": "^3.8.4",
95
+ "publint": "^0.3.25",
72
96
  "tsup": "^8.3.6",
73
97
  "typescript": "^6.0.3",
74
98
  "typescript-eslint": "^8.61.0",