Skip to content

Commit

Permalink
test(types): ignore unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Dec 12, 2024
1 parent c4df25f commit 046040e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
'use strict'

module.exports = require('neostandard')({
ignores: [
...require('neostandard').resolveIgnoresFromGitignore(),
'lib/schema-validator.js'
],
ts: true
})
1 change: 1 addition & 0 deletions types/index.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Test using this disabled, see https://github.com/fastify/fast-json-stringify/pull/683
import Ajv from 'ajv'
import build, { restore, Schema, validLargeArrayMechanisms } from '..'
import { expectError, expectType } from 'tsd'
Expand Down

0 comments on commit 046040e

Please sign in to comment.