Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 96adf05

Browse files
authored
Merge pull request #816 from matklad/rust-analyzer
Move rust-analyzer extension into this repository
2 parents 1566b75 + f823336 commit 96adf05

31 files changed

+7307
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
module.exports = {
2+
"env": {
3+
"es6": true,
4+
"node": true
5+
},
6+
"parser": "@typescript-eslint/parser",
7+
"parserOptions": {
8+
"project": "tsconfig.json",
9+
"sourceType": "module"
10+
},
11+
"plugins": [
12+
"@typescript-eslint"
13+
],
14+
"rules": {
15+
"camelcase": ["error"],
16+
"eqeqeq": ["error", "always", { "null": "ignore" }],
17+
"no-console": ["error"],
18+
"prefer-const": "error",
19+
"@typescript-eslint/member-delimiter-style": [
20+
"error",
21+
{
22+
"multiline": {
23+
"delimiter": "semi",
24+
"requireLast": true
25+
},
26+
"singleline": {
27+
"delimiter": "semi",
28+
"requireLast": false
29+
}
30+
}
31+
],
32+
"@typescript-eslint/semi": [
33+
"error",
34+
"always"
35+
],
36+
"@typescript-eslint/no-unnecessary-type-assertion": "error"
37+
}
38+
};

rust-analyzer/editors/code/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
out
2+
node_modules
3+
.vscode-test/
4+
*.vsix
5+
bundle
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
**
2+
!out/src/main.js
3+
!package.json
4+
!package-lock.json
5+
!ra_syntax_tree.tmGrammar.json
6+
!rust.tmGrammar.json
7+
!icon.png
8+
!README.md

rust-analyzer/editors/code/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# rust-analyzer
2+
3+
Provides support for rust-analyzer: novel LSP server for the Rust programming language.
4+
5+
See https://rust-analyzer.github.io/ for more information.

rust-analyzer/editors/code/icon.png

15 KB
Loading

rust-analyzer/editors/code/package-lock.json

Lines changed: 2580 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)