eslint-plugin-hex-under 1.12.4 → 1.12.5

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 (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +11 -7
package/README.md CHANGED
@@ -268,6 +268,14 @@ npm run test:watch
268
268
  npm run coverage
269
269
  ```
270
270
 
271
+ ### Run mutation tests:
272
+
273
+ ```bash
274
+ npm run test:mutation
275
+ ```
276
+
277
+ Mutation testing uses Stryker with Vitest and mutates the ESLint rules in `src/rules/`. The HTML report is written to `reports/mutation/`.
278
+
271
279
  ### Run bats tests:
272
280
 
273
281
  ```bash
package/package.json CHANGED
@@ -2,18 +2,21 @@
2
2
  "author": "0xflotus",
3
3
  "description": "This ESLint rule proves that hex numbers are less than a specified value.",
4
4
  "type": "module",
5
- "version": "1.12.4",
5
+ "version": "1.12.5",
6
6
  "devDependencies": {
7
7
  "@eslint/js": "10.0.1",
8
- "@eslint/json": "2.1.0",
9
- "@vitest/coverage-istanbul": "5.0.2",
8
+ "@eslint/json": "2.1.1",
9
+ "@stryker-mutator/core": "10.0.0",
10
+ "@stryker-mutator/vitest-runner": "10.0.0",
11
+ "@vitest/coverage-istanbul": "5.0.3",
10
12
  "@vitest/eslint-plugin": "1.6.27",
11
13
  "bats": "1.13.0",
12
- "eslint": "10.11.0",
14
+ "eslint": "10.12.0",
13
15
  "eslint-plugin-eslint-plugin": "7.6.2",
14
16
  "eslint-vitest-rule-tester": "3.2.0",
15
- "prettier": "3.9.9",
16
- "vitest": "5.0.2"
17
+ "prettier": "3.9.10",
18
+ "prettier-plugin-yaml": "1.3.1",
19
+ "vitest": "5.0.3"
17
20
  },
18
21
  "engines": {
19
22
  "node": ">=24",
@@ -44,11 +47,12 @@
44
47
  "scripts": {
45
48
  "coverage": "vitest run --coverage",
46
49
  "format": "prettier . --check",
47
- "lint": "eslint src --config eslint.config.js",
50
+ "lint": "eslint src test --config eslint.config.js",
48
51
  "prelint": "npm run format",
49
52
  "test": "vitest run",
50
53
  "test:all": "npm run test && npm run test:bats",
51
54
  "test:bats": "bats --print-output-on-failure --abort --verbose-run test/bats/*.bats",
55
+ "test:mutation": "stryker run",
52
56
  "test:watch": "vitest"
53
57
  }
54
58
  }