xo
xo copied to clipboard
eslint-config-xo version 0.47 does to work for Vue files
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');