fisker Cheung
fisker Cheung
### Description Prevent mistake, when mean to use `try-finally` in `try-catch`. ### Fail ```js try { try { doSomeThing() } catch { //
`foo.startsWith(bar)` over `foo.indexOf(bar) === 0`
### Description Enforce clean code. ### Fail ```js a ? b ? c : 1 : 1 ``` ### Pass ```js a && b ? c : 1 ``` ###...
### Before You File a Proposal Please Confirm You Have Done The Following... - [X] I have [searched for related issues](https://github.com/typescript-eslint/typescript-eslint/issues?q=is%3Aissue+label%3A%22enhancement%3A+plugin+rule+option%22) and found none that match my proposal. - [X]...
```js class A { a b } ``` should be invalid. ```bash > require('meriyah').parse('class A { a b }', {next: true}) { type: 'Program', sourceType: 'script', body: [ { type:...
```sh TIMING=all xo ``` ``` Rule | Time (ms) | Relative :------------------------------------------------|----------:|--------: ava/no-import-test-files | 1133.224 | 81.5% indent | 34.157 | 2.5% ava/assertion-arguments | 6.868 | 0.5% unicorn/prevent-abbreviations | 4.737...
https://www.npmjs.com/package/jest-light-runner
See https://eslint.org/docs/latest/use/configure/configuration-files-new
Should we prefer ```js 'a'.replace(/(?
I think the loaders can read the file themself, it's not necessary to provide the content to `loader`. https://github.com/antonk52/lilconfig/blob/b056bd8e9d78eb258992005eedc855256af8bbe6/src/index.ts#L257