Skip to content

Commit

Permalink
style: enable @typescript-eslint/no-namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
progfay committed Jun 12, 2020
1 parent 48b7110 commit 3f61b7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,5 @@ module.exports = {
'plugins': [
'@typescript-eslint',
'jest'
],
'rules': {
'@typescript-eslint/no-namespace': 'off'
}
]
}
1 change: 1 addition & 0 deletions tests/jest-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { parse, ParserOption } from '../src'
import { toMatchSnapshot } from 'jest-snapshot'

declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace jest {
interface Expect {
toMatchSnapshotWhenParsing: (received: string, option?: Partial<ParserOption>) => CustomMatcherResult
Expand Down

0 comments on commit 3f61b7f

Please sign in to comment.