Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Suppress 5639 lint errors pre-file instead of for the whole directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry committed Dec 9, 2021
1 parent 1792b0e commit a3b3f2b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
8 changes: 0 additions & 8 deletions hhast-lint.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@
"extraLinters": [
"Facebook\\HHAST\\DataProviderTypesLinter"
]
},
{
"patterns": ["src/Migrations/*"],
"linterConfigs": {
"Facebook\\HHAST\\HHClientLinter": {
"ignore": [5624, 5639]
}
}
}
]
}
1 change: 1 addition & 0 deletions src/Migrations/NodeTypeMigrationStep.hack
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace Facebook\HHAST;

use type Facebook\HHAST\Node;

/* HHAST_IGNORE_ALL[5639] */
final class NodeTypeMigrationStep<
<<__Enforceable>> reify Tin as Node,
Tout as Node,
Expand Down
1 change: 1 addition & 0 deletions src/Migrations/TypedMigrationStep.hack
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ namespace Facebook\HHAST;
use type Facebook\HHAST\Node;
use type Facebook\HHAST\_Private\SoftDeprecated;

/* HHAST_IGNORE_ALL[5639] */
final class TypedMigrationStep<Tin as Node, Tout as Node>
implements IMigrationStep {

Expand Down

0 comments on commit a3b3f2b

Please sign in to comment.