Commit graph

13 commits

Author SHA1 Message Date
no-yan
755a31bda7
feat(linter): support bind function case for compatibility with promise/no-return-wrap (#7232)
part of #4655

### Summary

Logic has been added to handle bind functions, unifying the
implementations of `unicorn/no-useless-promise-resolve-reject` and
`promise/no-return-wrap`.
This enables detection of the following code:

```javascript
foo().then((function() { return Promise.resolve(4) }).bind(this))
```

Merging this PR will allow this rule to pass all test cases of
promise/no-return-wrap without options. Additionally, merging #7274 will
ensure that all test cases are passed.
2024-11-14 19:33:42 +08:00
Ali Rezvani
8618f6b32a
chore(index): fork index_vec crate. (#3092)
related to #3086
2024-04-25 06:09:53 +00:00
Boshen
5ba8398b9e
chore: update readme 2023-12-06 19:03:57 +08:00
Boshen
4eec2492b1
Add prettier and biome to THIRD-PARTY-LICENSE 2023-11-14 13:03:14 +08:00
Boshen
6e074a39fd
chore(README): reference licenses 2023-08-17 14:10:54 +08:00
Boshen
f32ea0e294
chore(README): add eslint-plugin-import and eslint-plugin-jest licenses 2023-07-02 11:28:38 +08:00
Boshen
1e27903243
chore(minifier): port tests from tdewolff/minify
closes #374
2023-05-23 13:37:46 +08:00
Boshen
841804ef46
chore: add LICENSE from google/closure-compiler and evanw/esbuild 2023-05-21 12:13:32 +08:00
Boshen
a35d08ea23
Minifier Prototype (#215)
feat(minifier): minifier prototype
2023-03-29 06:51:50 -07:00
Boshen
366dc3037a
feat(diagnostics): port miette GraphicalReportHandler for further tuning 2023-03-26 20:20:53 +08:00
Boshen
f9e6b17482 chore: add license of the "globals" library 2023-03-09 04:42:09 -08:00
Boshen
683778dfe2
feat(semantic): implement scopes (#135)
closes #119
2023-03-05 07:43:32 -08:00
Boshen
5fb425029a chore: s/LICENSE-THIRD-PARTY/THIRD-PARTY_LICENSE
so it doesn't show up as "Unknown licenses found"
2023-03-01 21:11:20 +08:00
Renamed from LICENSE-THIRD-PARTY (Browse further)