We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d25829f commit 539ba99Copy full SHA for 539ba99
1 file changed
generator/index.js
@@ -73,6 +73,19 @@ module.exports = (api, options) => {
73
api.render('./templates/Plugins/analytics', options);
74
}
75
76
+ if (options.useBuildAndLintAction) {
77
+ api.extendPackage({
78
+ dependencies: {
79
+ '@vue/cli-plugin-eslint': '~4.4.0',
80
+ 'babel-eslint': '^10.1.0',
81
+ 'eslint': '^6.7.2',
82
+ 'eslint-plugin-import': '^2.22.1',
83
+ 'eslint-plugin-vue': '^6.2.2',
84
+ },
85
+ });
86
+ api.render('./templates/ESLint', options);
87
+ }
88
+
89
api.onCreateComplete(() => {
90
if (fs.existsSync('src/store.js')) {
91
fs.unlinkSync(api.resolve('src/store.js'));
0 commit comments