Skip to content

Commit

Permalink
Merge pull request #12378 from nextcloud/chore/eslint-for-vue3
Browse files Browse the repository at this point in the history
chore(vue3): eslint
  • Loading branch information
Antreesy authored May 17, 2024
2 parents 4f29228 + 084428a commit ef544f6
Show file tree
Hide file tree
Showing 80 changed files with 640 additions and 630 deletions.
17 changes: 1 addition & 16 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
*/
module.exports = {
extends: [
'@nextcloud',
'@nextcloud/eslint-config/typescript',
'@nextcloud/eslint-config/vue3',
],
globals: {
// @nextcloud/webpack-vue-config globals
Expand Down Expand Up @@ -75,20 +74,6 @@ module.exports = {
// https://github.com/import-js/eslint-plugin-import/issues/2562
ignore: ['\\?raw$'],
}],
// Prepare for Vue 3 Migration
'vue/no-deprecated-data-object-declaration': 'warn',
'vue/no-deprecated-events-api': 'warn',
'vue/no-deprecated-filter': 'warn',
'vue/no-deprecated-functional-template': 'warn',
'vue/no-deprecated-html-element-is': 'warn',
'vue/no-deprecated-props-default-this': 'warn',
'vue/no-deprecated-router-link-tag-prop': 'warn',
'vue/no-deprecated-scope-attribute': 'warn',
'vue/no-deprecated-slot-attribute': 'warn',
'vue/no-deprecated-slot-scope-attribute': 'warn',
'vue/no-deprecated-v-is': 'warn',
'vue/no-deprecated-v-on-number-modifiers': 'warn',
'vue/require-explicit-emits': 'warn',
},
overrides: [
{
Expand Down
Loading

0 comments on commit ef544f6

Please sign in to comment.