@forge/lint 3.3.0-next.10 → 3.3.0-next.12

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @forge/lint
2
2
 
3
+ ## 3.3.0-next.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [3e7edfb]
8
+ - @forge/cli-shared@3.11.0-next.7
9
+
10
+ ## 3.3.0-next.11
11
+
12
+ ### Patch Changes
13
+
14
+ - ffbb321: Update linter to not reject bundled resources
15
+
3
16
  ## 3.3.0-next.10
4
17
 
5
18
  ### Patch Changes
@@ -6,7 +6,7 @@ class AbstractIconVisitor {
6
6
  constructor() {
7
7
  this.handleIconNode = (iconNode, callback) => {
8
8
  if ((iconNode === null || iconNode === void 0 ? void 0 : iconNode.type) === typescript_estree_1.AST_NODE_TYPES.Literal && typeof (iconNode === null || iconNode === void 0 ? void 0 : iconNode.value) === 'string') {
9
- if (iconNode.value.trim() !== '') {
9
+ if (iconNode.value.trim() !== '' && !iconNode.value.trim().startsWith('resource:')) {
10
10
  const iconUrl = this.transformArgsToIconUrl(iconNode);
11
11
  callback(iconUrl);
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/lint",
3
- "version": "3.3.0-next.10",
3
+ "version": "3.3.0-next.12",
4
4
  "description": "Linting for forge apps",
5
5
  "main": "out/index.js",
6
6
  "license": "UNLICENSED",
@@ -17,7 +17,7 @@
17
17
  "@types/node-fetch": "^2.5.7"
18
18
  },
19
19
  "dependencies": {
20
- "@forge/cli-shared": "3.11.0-next.6",
20
+ "@forge/cli-shared": "3.11.0-next.7",
21
21
  "@forge/egress": "1.2.0-next.1",
22
22
  "@forge/manifest": "4.10.0-next.2",
23
23
  "@typescript-eslint/typescript-estree": "^5.40.0",