Skip to content

Commit be6d98b

Browse files
Merge pull request #5 from garydavisonos/feature/improvements
Feature/improvements
2 parents 5a79e2c + 3348d1f commit be6d98b

File tree

9 files changed

+1120
-59
lines changed

9 files changed

+1120
-59
lines changed

.github/workflows/code.quality.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "Code Quality 🏆"
2+
on:
3+
release:
4+
types: [published]
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
push:
8+
branches:
9+
- master
10+
- release/**
11+
12+
jobs:
13+
linting:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Setup Node
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: "18.x"
23+
24+
- name: Install packages
25+
working-directory: .
26+
run: npm ci --legacy-peer-deps
27+
28+
- name: Build
29+
working-directory: .
30+
run: npm run build
31+
32+
- name: ESLint
33+
working-directory: .
34+
run: npm run lint

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
dist/

eslint.config.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
4+
5+
/** @type {import('eslint').Linter.Config[]} */
6+
export default [
7+
{languageOptions: { globals: globals.browser }},
8+
pluginJs.configs.recommended,
9+
];

index.d.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

index.js

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)