Skip to content

Commit

Permalink
test: expected resolved config rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Mar 31, 2024
1 parent 077926d commit 593ac1b
Show file tree
Hide file tree
Showing 3 changed files with 462 additions and 243 deletions.
243 changes: 0 additions & 243 deletions src/test/export.ts

This file was deleted.

11 changes: 11 additions & 0 deletions src/test/parser-options.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import test from 'ava'
import { type Linter } from 'eslint'
import exported from '..'

test('export', (t): void => {
const expectedParserOptions = {
project: true
} satisfies Linter.BaseConfig['parserOptions']

t.deepEqual(exported.parserOptions, expectedParserOptions, 'parserOptions')
})
Loading

0 comments on commit 593ac1b

Please sign in to comment.