eslint-config-skuba 7.0.1 → 8.0.0-subpath-imports-20250718065349

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": "eslint-config-skuba",
3
- "version": "7.0.1",
3
+ "version": "8.0.0-subpath-imports-20250718065349",
4
4
  "private": false,
5
5
  "description": "ESLint config for skuba",
6
6
  "homepage": "https://github.com/seek-oss/skuba/tree/main/packages/eslint-config-skuba#readme",
@@ -13,6 +13,13 @@
13
13
  },
14
14
  "license": "MIT",
15
15
  "sideEffects": false,
16
+ "imports": {
17
+ "#src/*": {
18
+ "types": "./src/*",
19
+ "import": "./lib/*",
20
+ "require": "./lib/*"
21
+ }
22
+ },
16
23
  "main": "./index.js",
17
24
  "module": "./index.js",
18
25
  "types": "./index.d.ts",
@@ -44,7 +51,7 @@
44
51
  "entryPoint": "index.js",
45
52
  "template": "oss-npm-package",
46
53
  "type": "package",
47
- "version": "11.1.0"
54
+ "version": "12.0.2"
48
55
  },
49
56
  "scripts": {
50
57
  "format": "pnpm --silent skuba format",
@@ -125,7 +125,7 @@ function processNode(node, context, check) {
125
125
  const value = source.value.replace(/\?.*$/, '');
126
126
 
127
127
  // Already contains a file extension
128
- if (!value || /\.[^/]+$/.test(value)) {
128
+ if (!value || /\.[a-zA-Z0-9]+$/.test(value)) {
129
129
  return;
130
130
  }
131
131