diff --git a/.eslintrc.js b/.eslintrc.js index fa5c4b8..999fffb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -23,40 +23,38 @@ module.exports = { ], rules: { 'vue/require-default-prop': 'off', - 'no-unused-vars': 'off', - '@typescript-eslint/no-unused-vars': 'off', '@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/ban-types': 'off', '@typescript-eslint/no-non-null-assertion': 'off', - '@typescript-eslint/explicit-module-boundary-types': 'off' - // '@typescript-eslint/no-unused-vars': [ - // 'error', - // { - // argsIgnorePattern: '^_', - // varsIgnorePattern: '^_' - // } - // ], - // 'no-unused-vars': [ - // 'error', - // { - // argsIgnorePattern: '^_', - // varsIgnorePattern: '^_' - // } - // ], - // 'vue/html-self-closing': [ - // 'error', - // { - // html: { - // void: 'always', - // normal: 'never', - // component: 'always' - // }, - // svg: 'always', - // math: 'always' - // } - // ] + '@typescript-eslint/explicit-module-boundary-types': 'off', + '@typescript-eslint/no-unused-vars': [ + 'error', + { + argsIgnorePattern: '^_', + varsIgnorePattern: '^_' + } + ], + 'no-unused-vars': [ + 'error', + { + argsIgnorePattern: '^_', + varsIgnorePattern: '^_' + } + ], + 'vue/html-self-closing': [ + 'error', + { + html: { + void: 'always', + normal: 'never', + component: 'always' + }, + svg: 'always', + math: 'always' + } + ] }, settings: {} } diff --git a/preview/App.vue b/preview/App.vue index 341525c..472a0a2 100644 --- a/preview/App.vue +++ b/preview/App.vue @@ -1,15 +1,18 @@