Skip to content

Commit f90311a

Browse files
authored
Merge pull request #18 from atom-community/chore
Misc chore
2 parents 6a6c330 + b0a94b8 commit f90311a

File tree

11 files changed

+1769
-21721
lines changed

11 files changed

+1769
-21721
lines changed

.eslintrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "eslint-config-atomic",
3+
"ignorePatterns": ["_site-dev/", "_site/", "dist/", "node_modules/"]
4+
}

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,44 @@
11
name: Build and Deploy
22

33
on:
4+
pull_request:
45
push:
56
branches:
67
- master # Only on master now
78

89
jobs:
10+
Lint:
11+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
12+
runs-on: ubuntu-latest
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Commit lint ✨
21+
uses: wagoid/commitlint-github-action@v2
22+
23+
- uses: atom-community/action-setup-atom@v1
24+
- name: Setup PNPM
25+
uses: pnpm/[email protected]
26+
with:
27+
version: latest
28+
29+
- name: Install dependencies
30+
run: pnpm install
31+
32+
# - name: Format ✨
33+
# run: pnpm test.format
34+
35+
- name: Lint ✨
36+
run: pnpm test.lint
37+
938
build-and-deploy:
39+
needs: [Lint]
40+
if: github.ref == 'refs/heads/master' &&
41+
github.event.repository.fork == false
1042
runs-on: ubuntu-latest
1143
steps:
1244
- name: Checkout 🛎️

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
public-hoist-pattern[]=*
2+
package-lock=false
3+
lockfile=true
4+
prefer-frozen-lockfile=false

api.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1 @@
1-
export * from 'atom-ide-base/types-packages/busy-signal';
2-
export * from 'atom-ide-base/types-packages/code-actions';
3-
export * from 'atom-ide-base/types-packages/code-highlight';
4-
export * from 'atom-ide-base/types-packages/datatip';
5-
export * from 'atom-ide-base/types-packages/definitions';
6-
export * from 'atom-ide-base/types-packages/find-references';
7-
export * from 'atom-ide-base/types-packages/hyperclick';
8-
export * from 'atom-ide-base/types-packages/main';
9-
export * from 'atom-ide-base/types-packages/markdown-service';
10-
export * from 'atom-ide-base/types-packages/outline';
11-
export * from 'atom-ide-base/types-packages/sig-help';
1+
export * from 'atom-ide-base';

components/type-doc.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ export class TypeDoc extends LitElement {
185185

186186
private cloneHeading() {
187187
const hidden = this.shadowRoot.querySelector(".visually-hidden");
188-
if (!hidden) return;
189-
for (const child of Array.from(hidden.children)) child.remove();
188+
if (!hidden) {return;}
189+
for (const child of Array.from(hidden.children)) {child.remove();}
190190
const heading = this.querySelector('[slot="name"]');
191-
if (!heading) return;
191+
if (!heading) {return;}
192192
hidden.append(heading.cloneNode(true));
193193
}
194194

docs/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
atom-community.io

0 commit comments

Comments
 (0)