Skip to content

Commit ce3de41

Browse files
committed
refactor: linting configuration
1 parent 647e0d2 commit ce3de41

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

biome.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"build": "unbuild",
2929
"prepack": "unbuild",
3030
"test": "vitest run --coverage",
31-
"lint": "biome lint ./lib",
31+
"lint": "biome lint ./lib ./test",
3232
"pretest": "npm run lint",
3333
"release": "npx np"
3434
},

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const expected = file => readFileSync(path.join(__dirname, 'expected', `${file}.
1212

1313
const clean = html => html.replace(/[^\S\r\n]+$/gm, '').trim()
1414

15-
const process = (t, name, options, log = false) => {
15+
const process = (_t, name, options, log = false) => {
1616
return posthtml([plugin(options)])
1717
.process(fixture(name))
1818
.then(result => log ? console.log(result.html) : clean(result.html))

0 commit comments

Comments
 (0)