Closed leebenson closed 7 years ago
Note: I removed the latter two tests, where you're attempting to import vendor/vendor.css
, which doesn't exist. I guess this was a stub for something you were planning to add?
Thanks for the help! Yes, you are right about those second two tests. I plan on adding support for root-relative paths that by default look in something like node_modules
and maybe take a config option with an array of root paths to search from as well, like other import plugins do.
node_modules
ignore rulesmodes
inparseImportPath
functionformat
function to test, to strip out whitespace + semi-colons when testing expected outputnpm run fix
for ESLint auto-fixing