Update dev dependencies and fix linting errors (#10228)

* chore: Uppate dev dependencies

* chore: Fix lint errors

* chore: Format options.json files

* chore: Fix stupid flow errors

* Update test262 whitelist

Seems test262-stream was updated and now these tests work.
This commit is contained in:
Daniel Tschinder
2019-07-27 15:09:30 +02:00
committed by GitHub
parent 6a9d2538e0
commit 4f0840ab88
242 changed files with 2866 additions and 1719 deletions

View File

@@ -1137,9 +1137,7 @@ export default class ExpressionParser extends LValParser {
if (node.property.name !== propertyName || containsEsc) {
this.raise(
node.property.start,
`The only valid meta property for ${meta.name} is ${
meta.name
}.${propertyName}`,
`The only valid meta property for ${meta.name} is ${meta.name}.${propertyName}`,
);
}

View File

@@ -369,9 +369,8 @@ export default (superClass: Class<Parser>): Class<Parser> =>
) {
throw this.unexpected(
pattern.start,
`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${
pattern.type
}`,
"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern," +
`instead got ${pattern.type}`,
);
}
return pattern;