问题 After eslint adds typescript check, there will be an error when the attribute variable in the class definition is Array. this is my eslintrc.js module.exports = { root: true, env: { node: true }, 'extends': ['plugin:vue/essential', '@vue/standard'], rules: {}, parserOptions: { parser: '@typescript-eslint/parser', project: "./tsconfig.json" }, plugins: ['@typescript-eslint'] }; 回答1: Looking at the eslint repository on github, there have been lots of issues opened about the no-unused-vars rule.