Skip to content

Commit 5ec09e1

Browse files
committed
disable strict mode only linter for demo files with pseudomain code
1 parent fb55d1b commit 5ec09e1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

hhast-lint.json

+9
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212
],
1313
"disableAllAutoFixes": true
1414
},
15+
{
16+
"patterns": [
17+
"examples/dorm/codegen.php",
18+
"examples/dorm/demo/demo_usage.php"
19+
],
20+
"disabledLinters": [
21+
"Facebook\\HHAST\\Linters\\StrictModeOnlyLinter"
22+
]
23+
},
1524
{
1625
"patterns": [ "src/PlainSprintf.php" ],
1726
"disabledLinters": [

0 commit comments

Comments
 (0)