Skip to content

Commit 2233141

Browse files
committed
chore: lint
1 parent 434bd9c commit 2233141

6 files changed

Lines changed: 27 additions & 23 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
strategy:
1111
matrix:
1212
node-version:
13-
- 18.x
14-
- 20.x
1513
- 22.x
14+
- 24.x
15+
- 25.x
1616
steps:
17-
- uses: actions/checkout@v4
18-
- uses: oven-sh/setup-bun@v1
17+
- uses: actions/checkout@v5
18+
- uses: oven-sh/setup-bun@v2
1919
with:
2020
bun-version: latest
2121
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@v6
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
- name: Install Redrun
@@ -30,7 +30,7 @@ jobs:
3030
run: redrun fix:lint
3131
- name: Install Rust
3232
run: rustup update
33-
- uses: actions/cache@v4
33+
- uses: actions/cache@v5
3434
with:
3535
path: |
3636
~/.cargo/bin/

.gitignore

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
*.swp
2+
*.log
3+
*.lock
4+
5+
.nyc_output
6+
.idea
7+
18
package-lock.json
9+
210
node_modules
3-
npm-debug.log
411
coverage
512
legacy
6-
.nyc_output
7-
8-
.idea
9-
*.swp
10-
yarn-error.log

.npmignore

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
.*
2-
dist
3-
test
4-
coverage
5-
61
*.swp
2+
*.config.*
3+
*.log
4+
*.loc
5+
6+
.*
77

88
madrun.js
99

10-
yarn-error.log
11-
*.config.*
10+
dist
11+
test
12+
coverage

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
22

3-
const {safeAlign} = require('eslint-plugin-putout/config');
3+
const {safeAlign} = require('eslint-plugin-putout');
44

55
module.exports = safeAlign;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"homepage": "http://github.com/cloudcmd/formatify",
88
"repository": {
99
"type": "git",
10-
"url": "git://github.com/cloudcmd/formatify.git"
10+
"url": "git+https://github.com/cloudcmd/formatify.git"
1111
},
1212
"scripts": {
1313
"lint": "madrun lint",

test/formatify.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
'use strict';
22

3-
const tryCatch = require('try-catch');
3+
const {tryCatch} = require('try-catch');
4+
5+
const {test} = require('supertape');
46
const formatify = require('..');
5-
const test = require('supertape');
67

78
const {
89
testDir,

0 commit comments

Comments
 (0)