diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-17 15:30:24 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-17 15:30:24 +0100 |
commit | 7d95a8447cf1874dac6381b5b1e644093b72e435 (patch) | |
tree | 5777ebe3d9055a4759c78a30e3474b8e3a60241b /crates/toolchain | |
parent | 6826dd044a5a08359197b2a006905eb8518494a2 (diff) | |
parent | 951fc3f65ac023ef61d3a447399e1432e38700fa (diff) | |
parent | a565a42f46a2ad20dac598046943b09429f1a946 (diff) |
Merge #5776 #5780
5776: Fix eslint errors on .eslintrc.js and rollup.config.js r=matklad a=fuafa
Eslint complains if these two files does not include in the `tsconfig.json`.
```
Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: .eslintrc.js.
The file must be included in at least one of the projects provided.eslint
```
![image](https://user-images.githubusercontent.com/20750310/90338269-176d4f80-e01b-11ea-8710-3ea817b235d2.png)
5780: Fixup whitespace when adding missing impl items r=matklad a=jDomantas
Generate properly formatted whitespace when adding impl items - with an empty line between items and removing extra whitespace that often appears at the end.
This is my first time working on rust analyzer so I'm not very familiar with its internal APIs. If there's a better way to do such syntax tree editing I'd be glad to hear it.
Co-authored-by: xiaofa <[email protected]>
Co-authored-by: jDomantas <[email protected]>