Jake Bailey
Jake Bailey
Passes `--report-unused-disable-directives` to eslint, which complains when a directive is unused. This is poised to be a warning anyway in eslint v9. Also, reenable `unified-signatures` and `no-unused-expressions`, which were mistakenly...
In a project that sets `moduleResolution` to `Node16`, importing this package fails:  ``` Module '"moq.ts"' has no exported member 'Mock'.ts(2305) ``` This is because the d.ts files don't seem...
This is a continuation of https://github.com/dprint/dprint-plugin-typescript/pull/473#issuecomment-1399724050. `forceMultiLineSpecifiers` forces imports to be vertical lists of single items, which is great for preventing merge conflicts. But, when importing one thing (which is...
[Playground link](https://dprint.dev/playground/#code/JYWwDg9gTgLgBAbwLACg7rjKBDAdgZwDNoQARAUwGMAbbHGYCAgGlQ0xwOKhAFEBhALIBBAMqUowMDEEQAJgFdq5VmgwAVTkRLkoq9przaeugGLZKMaAE99GLEe59RAVjvoHXEr1EAmAAwAjG5s9lpOPgGBAGzuHI7efkEA7HGexs5RABxp4YlRAJy5CTyR-gGqAL5whFAQIHAARAB0APQA+rjYIOT4YBa9rTD4jQDcqKhAA/language/typescript) Given: ```ts import { transformDeclarations, transformECMAScriptModule, Transformer, TransformerFactory, transformES5, transformES2015, transformES2016, transformES2017, transformES2018, transformES2019, transformES2020, } from "./_namespaces/ts"; ``` `eslint-plugin-simple-import-sort` sorts these like the above, which is to...
This is something I see in the TS repo and DT often: ```ts type Foo = | A | B | C ; type Bar = & A & B...
Multi-line binary expression in call args causes closing paren to be placed on same line as last arg
**Describe the bug** dprint-plugin-typescript version: 0.86.1 **Input Code** ```ts forEach(arr, f => a() && b() ); ``` **Expected Output** Maybe... ```ts forEach(arr, f => a() && b()); forEach( arr, f...
### Description After `20240403.1.0`, global installs of specific versions of npm fail. `20240324.2.0` does not fail. ### Platforms affected - [ ] Azure DevOps - [X] GitHub Actions - Standard...
This is going to be a moderate overhaul / cleanup of dependencies to try and make things more maintainable and movable over to dt-tools.
My repro is here: https://github.com/jakebailey/adm-zip-exit-bug This manifested as https://github.com/jakebailey/every-ts/issues/58; after fetching and extracting, the files are written, but then the process just exits. Pinning back to 0.5.10 fixes the issue....