eslint-plugin-raflint 1.5.8 → 1.5.9

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 +3 -2
  2. package/package.json +10 -7
package/README.md CHANGED
@@ -41,8 +41,9 @@ qui devrait être écrites comme ça:
41
41
 
42
42
  const filePath = `${directory}/${filename}`;
43
43
 
44
- Le fix est laissé de côté quand il casserait l'appel : accès calculé (`path[join](a, b)`) et
45
- argument spread (`path.join(root, ...parts)`), qui n'est pas interpolable.
44
+ Un accès calculé (`path[join](a, b)`) n'est pas signalé du tout : la méthode appelée n'est pas
45
+ connue statiquement. Un argument spread (`path.join(root, ...parts)`) est signalé sans fix : il
46
+ n'est pas interpolable.
46
47
 
47
48
  ## tester le plugin sur un projet
48
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-raflint",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -18,16 +18,19 @@
18
18
  "dist"
19
19
  ],
20
20
  "scripts": {
21
- "build": "tsc",
21
+ "build": "tsc --project tsconfig.build.json",
22
22
  "cov": "c8 npm run test",
23
23
  "prepare": "husky",
24
24
  "prepublishOnly": "npm run build",
25
- "test": "SILENT=1 mocha --timeout 60000 {,lib/**/,src/lib/**/,test/**/}*.test.ts"
25
+ "test": "SILENT=1 mocha --timeout 60000 {,lib/**/,src/lib/**/,test/**/}*.test.ts",
26
+ "typecheck": "tsc --noEmit"
26
27
  },
27
28
  "devDependencies": {
28
- "@babel/eslint-parser": "^8.0.1",
29
+ "@babel/eslint-parser": "^8.0.5",
29
30
  "@eslint/js": "^10.0.1",
30
31
  "@stoplight/spectral-cli": "^6.16.3",
32
+ "@types/mocha": "^10.0.10",
33
+ "@types/node": "^22.20.2",
31
34
  "c8": "^12.0.0",
32
35
  "eslint": "^10.5.0",
33
36
  "eslint-config-prettier": "^10.1.8",
@@ -35,20 +38,20 @@
35
38
  "eslint-plugin-import-x": "^4.17.1",
36
39
  "eslint-plugin-n": "^18.3.0",
37
40
  "eslint-plugin-promise": "^7.3.0",
38
- "eslint-plugin-raflint": "^1.5.7",
41
+ "eslint-plugin-raflint": "^1.5.8",
39
42
  "eslint-plugin-react-hooks": "^7.1.1",
40
43
  "eslint-plugin-sonarjs": "^4.2.0",
41
44
  "eslint-plugin-unicorn": "^74.0.0",
42
45
  "globals": "^17.12.0",
43
46
  "husky": "^9.1.7",
44
- "lint-staged": "^17.5.0",
47
+ "lint-staged": "^17.5.1",
45
48
  "markdownlint": "^0.41.1",
46
49
  "mocha": "^12.0.0",
47
50
  "prettier": "^3.9.6",
48
51
  "ts-api-utils": "^2.5.0",
49
52
  "tsx": "^4.23.13",
50
53
  "typescript": "^6.0.3",
51
- "typescript-eslint": "^8.69.0"
54
+ "typescript-eslint": "^8.70.0"
52
55
  },
53
56
  "engines": {
54
57
  "node": ">=21.0.0"