xojs/xo














The issue has been closed
v0.13.0 crashes on plugin shared config #88
jamestalmage posted onGitHub
I tried to use:
"overrides": [
{
"files": ["test.js"],
"extends": ["plugin:ava/recommended"]
}
]
And things crashed.
TypeError: Cannot read property 'charAt' of null
at posix (/Users/jamestalmage/WebstormProjects/async-task-pool/node_modules/path-is-absolute/index.js:4:13)
at isFilePath (/Users/jamestalmage/WebstormProjects/async-task-pool/node_modules/eslint/lib/config/config-file.js:80:12)
at /Users/jamestalmage/WebstormProjects/async-task-pool/node_modules/eslint/lib/config/config-file.js:344:20
at Array.reduceRight (native)
at Object.applyExtends (/Users/jamestalmage/WebstormProjects/async-task-pool/node_modules/eslint/lib/config/config-file.js:338:28)
at loadConfig (/Users/jamestalmage/WebstormProjects/async-task-pool/node_modules/eslint/lib/config.js:63:37)
at new Config (/Users/jamestalmage/WebstormProjects/async-task-pool/node_modules/eslint/lib/config.js:171:44)
at CLIEngine.executeOnFiles (/Users/jamestalmage/WebstormProjects/async-task-pool/node_modules/eslint/lib/cli-engine.js:493:28)
at runEslint (/Users/jamestalmage/WebstormProjects/async-task-pool/node_modules/xo/index.js:67:16)
at /Users/jamestalmage/WebstormProjects/async-task-pool/node_modules/xo/index.js:40:11
I am not sure if it is overrides specific