Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/code.quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Code Quality 🏆"
on:
release:
types: [published]
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
- release/**

jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "18.x"

- name: Install packages
working-directory: .
run: npm ci --legacy-peer-deps

- name: Build
working-directory: .
run: npm run build

- name: ESLint
working-directory: .
run: npm run lint
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
9 changes: 9 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import globals from "globals";
import pluginJs from "@eslint/js";


/** @type {import('eslint').Linter.Config[]} */
export default [
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
];
19 changes: 0 additions & 19 deletions index.d.ts

This file was deleted.

38 changes: 0 additions & 38 deletions index.js

This file was deleted.

Loading
Loading