We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#544 fixed "sourceType": "script" for a .js file, but not for a .ts file:
"sourceType": "script"
.js
.ts
{ "dependencies": { "xo": "^0.40.1" }, "xo": { "parserOptions": { "sourceType": "script" } } }
$ xo --print-config foo.js | grep sourceType "sourceType": "script", $ xo --print-config foo.ts | grep sourceType "sourceType": "module",
(Worked in 0.39, with "script" or "module".)
"script"
"module"
The text was updated successfully, but these errors were encountered:
Properly handle parserOptions for TypeScript too
9bd1778
Fixes xojs#556. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
parserOptions
Successfully merging a pull request may close this issue.
#544 fixed
"sourceType": "script"
for a.js
file, but not for a.ts
file:(Worked in 0.39, with
"script"
or"module"
.)The text was updated successfully, but these errors were encountered: