xo icon indicating copy to clipboard operation
xo copied to clipboard

eslint-config-xo version 0.47 does to work for Vue files

Open xqqp opened this issue 11 months ago • 0 comments

After upgrading eslint-config-xo to version 0.47, its rules are not applied to Vue files anymore. I think this is due to this commit explictly setting the file endings: https://github.com/xojs/eslint-config-xo/commit/6a547b58740d3742f9a97d50993435f6fa1ff29a

Would it be possible to revert this or add Vue to the list of allowed files?

As a workaround, I'm currently manually injecting Vue into the list of allowed files:

import xo from 'eslint-config-xo';
xo[0].files.push('**/*.vue');

xqqp avatar May 25 '25 12:05 xqqp