Skip to content

Commit

Permalink
add linting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmarkclements committed Mar 27, 2024
1 parent 371765d commit dc99536
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: npm test
- name: Lint
run: npm run lint
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const { isBare, isWindows } = require('which-runtime')
const Pipe = isBare ? require('bare-pipe') : require('net')
const path = require('path')
const fs = require('fs')
const streamx = require('streamx')
const RPC = require('tiny-buffer-rpc')
const any = require('tiny-buffer-rpc/any')
const ReadyResource = require('ready-resource')
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "IPC for Pear",
"main": "index.js",
"scripts": {
"test": "brittle test.js"
"test": "brittle test.js",
"lint": "standard"
},
"keywords": [],
"author": "Holepunch",
Expand All @@ -23,7 +24,8 @@
"which-runtime": "^1.2.0"
},
"devDependencies": {
"brittle": "^3.4.0"
"brittle": "^3.4.0",
"standard": "^17.1.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit dc99536

Please sign in to comment.