Skip to content

Commit 80cab8e

Browse files
committed
refactor: linting configuration
1 parent ae30f40 commit 80cab8e

3 files changed

Lines changed: 2 additions & 14 deletions

File tree

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
@@ -27,7 +27,7 @@
2727
"release": "npx np",
2828
"build": "unbuild",
2929
"prepack": "unbuild",
30-
"lint": "biome lint ./lib",
30+
"lint": "biome lint ./lib ./test",
3131
"pretest": "npm run lint",
3232
"test": "vitest run --coverage"
3333
},

test/test.js

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

1414
// eslint-disable-next-line
15-
const error = (name, options, cb) => posthtml([plugin(options)]).process(fixture(name)).catch(cb)
15+
const _error = (name, options, cb) => posthtml([plugin(options)]).process(fixture(name)).catch(cb)
1616
const clean = html => html.replaceAll(/[^\S\r\n]+$/gm, '').trim()
1717

1818
const process = (name, options, log = false) => {

0 commit comments

Comments
 (0)