Skip to content

Commit

Permalink
fix(link): add eslint-plugin-vue to devDependency
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Jan 17, 2021
1 parent 7985d93 commit 7cef146
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cna-template/template/nuxt/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
delete pkg.devDependencies['babel-eslint']
delete pkg.devDependencies.eslint
delete pkg.devDependencies['eslint-plugin-nuxt']
delete pkg.devDependencies['eslint-plugin-vue']
}
if (!lintStaged) {
delete pkg.husky
Expand Down
1 change: 1 addition & 0 deletions packages/cna-template/template/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-nuxt": "^2.0.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.4.1",
"husky": "^4.3.8",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
Expand Down
2 changes: 2 additions & 0 deletions packages/create-nuxt-app/test/snapshots/index.test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -2244,6 +2244,7 @@ Generated by [AVA](https://avajs.dev).
'eslint-config-prettier': '^7.1.0',
'eslint-plugin-nuxt': '^2.0.0',
'eslint-plugin-prettier': '^3.3.1',
'eslint-plugin-vue': '^7.4.1',
husky: '^4.3.8',
'lint-staged': '^10.5.3',
prettier: '^2.2.1',
Expand Down Expand Up @@ -2359,6 +2360,7 @@ Generated by [AVA](https://avajs.dev).
'babel-eslint': '^10.1.0',
eslint: '^7.18.0',
'eslint-plugin-nuxt': '^2.0.0',
'eslint-plugin-vue': '^7.4.1',
},
private: true,
scripts: {
Expand Down
Binary file modified packages/create-nuxt-app/test/snapshots/index.test.js.snap
Binary file not shown.

0 comments on commit 7cef146

Please sign in to comment.