Skip to content

Commit e393068

Browse files
committed
fix: linting errors
1 parent 0d83ce9 commit e393068

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

biome.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
3-
"organizeImports": {
4-
"enabled": true
5-
},
2+
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
3+
"assist": {
4+
"actions": {
5+
"source": {
6+
"organizeImports": "on"
7+
}
8+
}
9+
},
610
"linter": {
711
"enabled": true,
812
"rules": {

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url))
1010
const fixture = file => readFileSync(path.join(__dirname, 'fixtures', `${file}.html`), 'utf8').trim()
1111
const expected = file => readFileSync(path.join(__dirname, 'expected', `${file}.html`), 'utf8').trim()
1212

13-
const error = (name, options, cb) => posthtml([plugin(options)]).process(fixture(name)).catch(cb)
13+
const _error = (name, options, cb) => posthtml([plugin(options)]).process(fixture(name)).catch(cb)
1414
const clean = html => html.replaceAll(/[^\S\r\n]+$/gm, '').trim()
1515

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

0 commit comments

Comments
 (0)