Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Dec 13, 2024
1 parent ecefb5e commit a521153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ export const shouldHaveDifferentName = error<Test>(node => {


export const shouldNotRedefineIdentity = error<Method>(node => {
return !(node.name === '===' && node.parameters.length === 1 && node.isOverride && !node.isNative())
return !(node.name === '===' && node.parameters.length === 1 && node.isOverride && !node.isNative())
}, undefined, sourceMapForNodeName)

// ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════
Expand Down Expand Up @@ -568,4 +568,4 @@ export default (target: Node): List<Problem> => target.reduce<Problem[]>((found,
.map(([code, validation]) => validation(node, code)!)
.filter(result => result !== null),
]
}, [])
}, [])

0 comments on commit a521153

Please sign in to comment.