Skip to content

Commit

Permalink
fix: lint and triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Apr 6, 2024
1 parent f8820a7 commit 738c0cc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Node.js CI

on:
- push
- pull_request
push:
branches: [master]
tags: ['*']
pull_request:
branches: [master]

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"test": "jest",
"build": "rimraf dist && tsc -p tsconfig.build.json",
"prepare": "npm run build",
"lint": "eslint --fix --ext .js,.ts src/**",
"lint-fix": "eslint --fix --ext .js,.ts src/**",
"lint": "eslint --ext .js,.ts src/**",
"format": "prettier -w . --loglevel warn",
"check-format": "prettier -c .",
"typecheck": "tsc -p tsconfig.build.json --noEmit",
Expand Down
4 changes: 2 additions & 2 deletions src/transport/websocket.transport.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assertTransportConnectsAndDisconnects } from '../../test/utilities';
import { WebsocketTransport } from './websocket.transport';
// import { assertTransportConnectsAndDisconnects } from '../../test/utilities';
// import { WebsocketTransport } from './websocket.transport';

describe('WebsocketTransport', function () {
// both of these connect, but time out when closing...
Expand Down

0 comments on commit 738c0cc

Please sign in to comment.