Skip to content

Commit 3e89c7d

Browse files
authored
Run lint for PRs. (#184)
* Run lint for PRs. * Fix dir * Also hide changes to generated test app files. * Only run on pushes to main.
1 parent 46e6896 commit 3e89c7d

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/lint.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Lint
22

33
on:
4+
pull_request:
45
push:
6+
branches:
7+
- main
58

69
jobs:
710
build:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/module_bindings/** linguist-generated=true

examples/quickstart-chat/src/index.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ body,
3232
}
3333

3434
body {
35-
font-family:
36-
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
37-
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
35+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
36+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
37+
sans-serif;
3838
-webkit-font-smoothing: antialiased;
3939
-moz-osx-font-smoothing: grayscale;
4040
}
4141

4242
code {
43-
font-family:
44-
source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
43+
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
44+
monospace;
4545
}
4646

4747
/* ----- Buttons ----- */

packages/test-app/src/.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/module_bindings/** linguist-generated=true

0 commit comments

Comments
 (0)