eslint-plugin-aurora-config 0.0.2 → 0.0.3

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.
@@ -205,6 +205,11 @@ module.exports = {
205
205
  hasPhaserImport = true;
206
206
  }
207
207
 
208
+ // 兼容新旧导入路径:优先 @aurora.js/phaser-kit,同时支持历史路径 src/kit/BaseScene
209
+ for (const name of getNamedImportsFrom(node, "@aurora.js/phaser-kit")) {
210
+ baseSceneNamedImports.add(name);
211
+ }
212
+
208
213
  for (const name of getNamedImportsFrom(node, "src/kit/BaseScene")) {
209
214
  baseSceneNamedImports.add(name);
210
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-aurora-config",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Aurora ESLint plugin (rules) + flat config (recommended)",
5
5
  "main": "lib/index.js",
6
6
  "exports": {