Skip to content

Commit d011866

Browse files
committed
fix: remove appDefinedComponents
1 parent e7102fd commit d011866

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

.eslintrc

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,5 @@
2222
"no-empty": 0,
2323
"yoda": 0,
2424
"no-new-func": 0
25-
},
26-
"globals": {
27-
App,
28-
Page,
29-
wx,
30-
__VERSION__,
31-
Component
32-
},
33-
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
34-
plugins: ['prettier']
25+
}
3526
}

packages/cli/core/plugins/parser/config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ exports = module.exports = function() {
5757
if (comp.prefix === 'module') {
5858
targetPath = comp.target;
5959
}
60-
const relativePath = path.relative(path.dirname(ctx.file), targetPath);
61-
const parsedPath = path.parse(relativePath);
6260
}
6361
});
6462
}

0 commit comments

Comments
 (0)