@mycadet/credential-executor 0.13.0-dev.202611152026.e6958cf → 0.13.0-dev.202611152148.453e26e

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/eslint.config.mjs +21 -0
  2. package/package.json +1 -1
package/eslint.config.mjs CHANGED
@@ -26,6 +26,27 @@ const eslintConfig = defineConfig([
26
26
  plugins: { "@mycadet": { rules: { "no-re-exports": noReExports } } },
27
27
  rules: { "@mycadet/no-re-exports": "error" },
28
28
  },
29
+ {
30
+ // Namespace imports (`import * as ns`) hide which members the consumer
31
+ // actually uses, and knip cannot attribute members through every
32
+ // namespace shape — import the named members instead. Test files are
33
+ // exempt (the block below): the mock.module seam idiom spreads
34
+ // namespaces by design.
35
+ rules: {
36
+ "no-restricted-syntax": [
37
+ "warn",
38
+ {
39
+ selector: "ImportDeclaration > ImportNamespaceSpecifier",
40
+ message:
41
+ "Namespace imports hide the used surface — import the named members instead.",
42
+ },
43
+ ],
44
+ },
45
+ },
46
+ {
47
+ files: ["src/__tests__/**"],
48
+ rules: { "no-restricted-syntax": "off" },
49
+ },
29
50
  ]);
30
51
 
31
52
  export default eslintConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mycadet/credential-executor",
3
- "version": "0.13.0-dev.202611152026.e6958cf",
3
+ "version": "0.13.0-dev.202611152148.453e26e",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/vargasjr-dev/mycadet-temp.git"