ESLintを更新したところ、謎のエラーが出るようになったのでメモ。
14:12 error clear vue/comment-directive
幾つか同じ事例を見つけたが、原因ははっきりしなかった。
https://stackoverflow.com/questions/64529114/eslint-vue-plugin-showing-false-positives-for-vue-comment-directive
https://www.v2ex.com/t/722925
ともかく、vue/comment-directive
ルールに引っかかっているのは間違いないので、
.eslintrc.js
にルールを無効化する設定を書いて、しのいでいるらしい。
・・・と思っていたところ、コメント欄で正しい解決方法を教えていただきました。
@mysticatea 様、ありがとうございました!
はて、eslint-plugin-vue が使われていれば、その postprocess で削除されるので出ないはずですが...
module.exports = {
...
overrides: [
{
files: ["*.vue"],
processor: "vue/.vue"
}
]
}