-
Notifications
You must be signed in to change notification settings - Fork 358
Open
Description
Ish-similar to #718, but specifically in the recast.Options, i.e.,:
/**
* All Recast API functions take second parameter with configuration options,
* documented in options.js
*/
export interface Options extends DeprecatedOptions {
/**
* If you want to use a different branch of esprima, or any other module
* that supports a .parse function, pass that module object to
* recast.parse as options.parser (legacy synonym: options.esprima).
* @default require("recast/parsers/esprima")
*/
parser?: any;
/**
* Number of spaces the pretty-printer should use per tab for
* indentation. If you do not pass this option explicitly, it will be
* (quite reliably!) inferred from the original code.
* @default 4
*/
tabWidth?: number;
/**I'd love a semi: boolean option to disable semi-colons.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels