mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 13:18:59 +00:00
- Added TypeScript annotation for `ParseResult.program` - Modified the entrypoint for `oxc-parser` to allow wrapping the napi functions - Updated `index.js` to parse the `program` string into a JSON object - Updated tests - Added a dependency on `@oxc/types`
34 lines
883 B
JSON
34 lines
883 B
JSON
{
|
|
"lineWidth": 120,
|
|
"typescript": {
|
|
"quoteStyle": "preferSingle",
|
|
"binaryExpression.operatorPosition": "sameLine"
|
|
},
|
|
"json": {
|
|
"indentWidth": 2
|
|
},
|
|
"toml": {
|
|
},
|
|
"excludes": [
|
|
"tasks/coverage/misc",
|
|
"**/tests/**",
|
|
"**/fixtures/**",
|
|
"**/*.snap.*",
|
|
"**/CHANGELOG.md",
|
|
"pnpm-workspace.yaml",
|
|
"pnpm-lock.yaml",
|
|
"napi/transform/index.js",
|
|
"napi/parser/bindings.js",
|
|
"napi/{parser,transform}/index.d.ts",
|
|
"npm/*/package.json",
|
|
"npm/oxlint/configuration_schema.json",
|
|
".github/.generated_ast_watch_list.yml"
|
|
],
|
|
"plugins": [
|
|
"https://plugins.dprint.dev/typescript-0.91.8.wasm",
|
|
"https://plugins.dprint.dev/json-0.19.3.wasm",
|
|
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
|
|
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm",
|
|
"https://plugins.dprint.dev/toml-0.6.2.wasm"
|
|
]
|
|
}
|