Skip to content

Commit 39b2423

Browse files
committed
Merge branch 'main' of https://[email protected]/rust-sailfish/sailfish.git
Conflicts: syntax/vscode/.gitignore syntax/vscode/package-lock.json syntax/vscode/package.json
2 parents c386c64 + 6d8339f commit 39b2423

File tree

5 files changed

+408
-158
lines changed

5 files changed

+408
-158
lines changed

syntax/vscode/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,14 @@ The extension is available at [VisualStudio Marketplace](https://marketplace.vis
1313
## Screenshots
1414

1515
![screenshot](https://github.com/rust-sailfish/sailfish/blob/main/syntax/vscode/screenshot.png?raw=true)
16+
17+
## Developer Instructions
18+
1. Open the /sailfish/syntax/vscode/ directory in VS Code.
19+
2. Run the following commands:
20+
`sudo apt install nodejs`
21+
`npm install typescript --save-dev`
22+
`npm install @eslint/js -D`
23+
`npm install typescript-eslint -D`
24+
`npm install -g @vscode/vsce`
25+
`vsce login rust-sailfish`
26+
`vsce publish`

syntax/vscode/eslint.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
5+
6+
export default [
7+
{files: ["**/*.{js,mjs,cjs,ts}"]},
8+
{languageOptions: { globals: globals.browser }},
9+
pluginJs.configs.recommended,
10+
...tseslint.configs.recommended,
11+
];

0 commit comments

Comments
 (0)