Skip to content

Commit 28b3743

Browse files
author
Lukas Neubert
authored
ci: lint job (#3)
1 parent 6f38edc commit 28b3743

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
code-style:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v2
15+
with:
16+
node-version: "14"
17+
- name: Install dependencies
18+
run: npm install
19+
- name: Run eslint
20+
run: npm run lint

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"Programming Languages"
1717
],
1818
"activationEvents": [
19-
"onLanguage:vba"
19+
"onLanguage:vba"
2020
],
2121
"main": "./out/extension.js",
2222
"contributes": {

src/extension.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import * as vscode from 'vscode';
22

33
export function activate(context: vscode.ExtensionContext) {
4-
}
5-
6-
export function deactivate() {
4+
console.log('vscode-vba activated.')
75
}

0 commit comments

Comments
 (0)