Skip to content

Commit 046040e

Browse files
committed
test(types): ignore unused import
1 parent c4df25f commit 046040e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

eslint.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
'use strict'
2+
3+
module.exports = require('neostandard')({
4+
ignores: [
5+
...require('neostandard').resolveIgnoresFromGitignore(),
6+
'lib/schema-validator.js'
7+
],
8+
ts: true
9+
})

types/index.test-d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Test using this disabled, see https://github.com/fastify/fast-json-stringify/pull/683
12
import Ajv from 'ajv'
23
import build, { restore, Schema, validLargeArrayMechanisms } from '..'
34
import { expectError, expectType } from 'tsd'

0 commit comments

Comments
 (0)