Skip to content

Commit 0a10d31

Browse files
committed
refactor: linting configuration
1 parent 562875c commit 0a10d31

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
@@ -29,7 +29,7 @@
2929
"prepack": "unbuild",
3030
"release": "npx np",
3131
"test": "vitest run --coverage",
32-
"pretest": "biome lint ./lib"
32+
"pretest": "biome lint ./lib ./test"
3333
},
3434
"keywords": [
3535
"mso",

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)