Skip to content

Commit

Permalink
Merge pull request #26475 from jhipster/dependabot/npm_and_yarn/gener…
Browse files Browse the repository at this point in the history
…ators/vue/resources/vue-eslint-becc4dc99f

Bump the vue-eslint group in /generators/vue/resources with 2 updates
  • Loading branch information
DanielFran committed Jun 22, 2024
2 parents 308cf7b + c8b5b11 commit 084f861
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/vue/resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@types/sinon": "17.0.3",
"@vitejs/plugin-vue": "5.0.5",
"@vue/eslint-config-prettier": "9.0.0",
"@vue/eslint-config-typescript": "10.0.0",
"@vue/eslint-config-typescript": "13.0.0",
"@vue/test-utils": "2.4.6",
"@vue/tsconfig": "0.5.1",
"autoprefixer": "10.4.19",
Expand All @@ -40,7 +40,7 @@
"css-minimizer-webpack-plugin": "7.0.0",
"eslint": "8.57.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-vue": "8.7.1",
"eslint-plugin-vue": "9.26.0",
"flush-promises": "1.0.2",
"folder-hash": "4.0.4",
"happy-dom": "14.12.3",
Expand Down
7 changes: 7 additions & 0 deletions generators/vue/templates/.eslintrc.cjs.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ module.exports = {
},
],
<%_ } _%>
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 'latest',
},
rules: {
Expand All @@ -53,6 +55,11 @@ module.exports = {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/consistent-type-imports': 'error',
'vue/no-v-text-v-html-on-component': [
'error',
{ 'allow': ['router-link', 'b-alert', 'b-badge', 'b-button', 'b-link'] },
],
'vue/no-reserved-component-names': 'off',
},
ignorePatterns: ['<%= this.relativeDir(clientRootDir, temporaryDir) %>'],
};

0 comments on commit 084f861

Please sign in to comment.