-
### Verify latest release
- [X] I verified that the issue exists in the latest pnpm release
### pnpm version
v8.15.4
### Which area(s) of pnpm are affected? (leave empty if unsure)
_No …
-
https://github.com/prettier/prettier/issues/13818#issuecomment-1308082760
## Overview
Prettier package includes too many JavaScript parsers. And it makes the size of the npm package much larger …
-
* [x] Variable declaration
* [x] Import
* [x] Export
* [x] Class field
* [x] if/else
* [x] for in
* [x] for of
* [x] Expression
* [x] for
* [x] try/catch
* [x] switch
* [ ] switch discrimin…
-
See, for example, [registerAdminConsoleCustomSetting](https://developers.mattermost.com/extend/plugins/webapp/reference/#registerAdminConsoleCustomSetting), where `showTitle` is missing:
![image](h…
-
It is possible to get latest JS conversion?
For Eg : without constructor and 'this' keyword
```
class User {
name = "Anonymous";
sayHi() {
alert(`Hello, ${this.name}!`);
}
}
```
-
I`m trying to use recast-x to parse JS code and I encountered an error:
> Error: did not recognize object of type "PrivateIdentifier"
at Object.getFieldNames (/path/to/project/node/node_module…
-
Hoping this isn't just an obvious case of user-error on my part.
Can be seen at: http://astexplorer.net/#/DH4gO9Bvjr
![image](https://cloud.githubusercontent.com/assets/5233399/14906013/6f9b36a2-0d7…
-
Using test.html:
``
and test.js:
```
"use strict";
class Foo {
constructor()
{
this._target = new.target;
}
};
```
then running `vulcanize test.html` fails with "Error parsing…
-
.eslintrc.js:
```javascript
module.exports = {
...
"env": {
...
"es6": true
}
...
"ecmaFeatures": {
...
"blockBindings": true
...
}
...
}
```
However, gu…
-
@marijnh I'm writing a tern plugin to use ESLint. This tern plugin is not performant because :
- acorn parse text file to use AST with tern
- ESLint tern plugin use file text to call ESLint#verify wh…