diff --git a/.eslintrc.js b/.eslintrc.js index e60344d7..91cf0546 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,10 +5,11 @@ module.exports = { node: true }, parserOptions: { - parser: 'babel-eslint' + parser: '@typescript-eslint/parser' }, extends: [ 'plugin:vue/essential', + '@nuxtjs/eslint-config-typescript' ], plugins: [ 'vue', diff --git a/components/NewsList.vue b/components/NewsList.vue index 4f63dacc..92cddfb3 100644 --- a/components/NewsList.vue +++ b/components/NewsList.vue @@ -1,6 +1,6 @@