-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svelte files are ignored (no error) #464
Comments
For comparison, I tried this eslint config: module.exports = {
parserOptions: {
ecmaVersion: 2019,
sourceType: 'module'
},
extends: "eslint:recommended",
env: {
es6: true,
browser: true
},
plugins: [
'svelte3'
],
overrides: [{
files: ['**/*.svelte'],
processor: 'svelte3/svelte3'
}]
}; and I do get these errors:
When I run it without the
Whereas a very explicit Also available in the repro repo: https://github.com/hankxdev/one-click-extensions-manager/tree/svelte-eslint |
Does a maintainer have a suggestion about this? I am hitting the same thing, wondering if I'm missing something subtle. |
The |
|
Thanks to xojs/xo#464
Follows #428
Tested on XO 0.29.1 and Node 12.15
This is the relevant configuration suggested on https://github.com/sveltejs/eslint-plugin-svelte3#installation
Svelte files are ignored, no error appears.
Even if I set
"processor": "blah"
, no errors.Even if move
processor
toxo
instead ofxo.overrides
, no errors.Even if there are simple whitespace errors in the svelte files.
I'd expect XO to at least try loading Svelte files (thanks to the
extensions
config) and fail, but nothing at all happens.Not a minimal repro but here's the repo: https://github.com/hankxdev/one-click-extensions-manager/tree/svelte-eslint
The text was updated successfully, but these errors were encountered: