Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed May 4, 2021
1 parent 4e9c3ee commit dbc168c
Show file tree
Hide file tree
Showing 5 changed files with 1,092 additions and 1,869 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017
"ecmaVersion": 2020
},
"globals": {
"assert": true,
Expand Down
3 changes: 1 addition & 2 deletions lib/agents/engine262.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ const cp = require('child_process');
const fs = require('fs');
const runtimePath = require('../runtime-path');
const ConsoleAgent = require('../ConsoleAgent');
const { clock } = require('sinon');
const ErrorParser = require('../parse-error.js');

const isWindows = process.platform === 'win32' ||
process.env.OSTYPE === 'cygwin' ||
process.env.OSTYPE === 'msys';

const builtinerrorexp = /^(\w+):? ?(.*)$/m;
const customerrorexp = /([\w\d]+)(?: (.*))/m;
const errorexp = /(?:\{(?:\s+name:\s+'(.*)',\s+message:\s+'(.*)'\s+)\})/gm;
const nodeerrorexp = /^([\w\d]+)(?:\s+)(?:\{\s+message:\s+'(.*)'\s+\})/gm;

Expand Down

0 comments on commit dbc168c

Please sign in to comment.