eslint-plugin-big-react-app-plugin 0.2.9 → 0.2.10

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.
@@ -30,7 +30,8 @@ module.exports = {
30
30
  const alias = context.options[0]?.alias ?? "";
31
31
  return {
32
32
  ImportDeclaration(node) {
33
- // example app/entities/Article
33
+ try {
34
+ // example app/entities/Article
34
35
  const value = node.source.value;
35
36
  const importTo = alias ? value.replace(`${alias}/`, "") : value;
36
37
 
@@ -50,6 +51,9 @@ module.exports = {
50
51
  }
51
52
  })
52
53
  }
54
+ } catch (error) {
55
+ console.log(error)
56
+ }
53
57
  }
54
58
  };
55
59
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-big-react-app-plugin",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "plugin for prod proj",
5
5
  "keywords": [
6
6
  "eslint",