-
Notifications
You must be signed in to change notification settings - Fork 887
Conversation
The methods are still available and simply delegate to the utility function to remain backwards compatible. The methods can be removed in the next major version.
AbstractRule now deduplicates and filters failures in disabled intervals
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good mostly, just one nit
@@ -0,0 +1,26 @@ | |||
/** | |||
* @license | |||
* Copyright 2013 Palantir Technologies, Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2016
@@ -68,21 +64,14 @@ export class RuleWalker extends SyntaxWalker { | |||
} | |||
} | |||
|
|||
public skip(node: ts.Node) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm really hope nobody is using this. It looks like it implemented with a bunch of other stuff and never used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I readded the method.
I will remove this in the followup PR with breaking changes
|
||
import {RuleFailure} from "../rule/rule"; | ||
|
||
export interface IWalker { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we put this in walker/index.ts
instead? the import from /.../walker/walker
doesn't look as nice as /.../walker
@ajafff thanks! |
PR checklist
What changes did you make?
See tracking issue #1900
Is there anything you'd like reviewers to focus on?
I made a separate commit for every change. If you want I can submit them as individual PRs.
There will be a followup PR with the breaking changes for cleanup. That includes removing the is*Boundary methods from their classes and only use utility function instead.