Skip to content

Commit

Permalink
Patch linter for 3.0 alpha changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wcjohnson committed Oct 3, 2017
1 parent f35f5bb commit 8dcd15b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ exports.parseNoPatch = function (code, options) {
existential: true,
flippedImports: true,
noEnforcedSubscriptIndentation: true,
enhancedComprehension: true,
safeCall: true,
placeholderArgs: true,
pipeCall: true,
__linter: true
Expand Down
3 changes: 2 additions & 1 deletion test/non-regression.js
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,8 @@ y = -> [_0, ..._]
unpad(`
import type Promise from 'bluebird';
type Operation = () => Promise;
x: Operation;
let x = null;
(x: Operation);
`),
{ "no-unused-vars": 1, "no-undef": 1 },
[]
Expand Down

0 comments on commit 8dcd15b

Please sign in to comment.