Brent Lintner

Results 12 issues of Brent Lintner

Would be helpful when recursing dirs. Something like `synt a -i *-foo.js`. Perhaps use https://www.npmjs.com/package/ignore.

enhancement
help wanted

A simple cli flag and lib option should be easy to implement. http://esprima.readthedocs.io/en/latest/syntactic-analysis.html#jsx-syntax-support Note: escodegen will die if --jsx is set, so that complicates things. https://github.com/estools/escodegen/issues/333 Note: If we use...

enhancement
help wanted

It seems possible to import flow's parser as it produces an ESTree like format. https://www.npmjs.com/package/flow-parser

enhancement
help wanted

Currently we use Esprima, which only supports Stage-4 specs with a potential for dev releases. Babylon supports (through plugins), along with babel-generator, the ability to parse stage-3 and below. Current...

enhancement

Ex: a cli might have it with a .js extension.

enhancement
help wanted

http://esprima.readthedocs.io/en/latest/syntactic-analysis.html#tolerant-mode

enhancement
help wanted

Perhaps even support pulling in `tsconfig.json` and adding it to `ts.createProgram`. It is less of an issue because we just want to parse and asitfy the code, not type check...

enhancement
help wanted

It may not be as big of an issue than with the JavaScript parser module, but it still should be settable. Currently we are using the `ESNext` target. `ts.createSourceFile` reference:...

enhancement
help wanted

From: https://github.com/brentlintner/synt/issues/90

enhancement
help wanted

Since there is no lib/index.js, without this property, you can not require the module in a reliable way. Noticed this was not set. Cool project. :-)