Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit a9da3d5

Browse files
author
Kai Cataldo
committed
Update to eslint@^6.0.1
1 parent b18a4dc commit a9da3d5

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
"devDependencies": {
3434
"@typescript-eslint/parser": "^1.11.0",
3535
"chai": "^4.2.0",
36-
"eslint": "^5.16.0",
36+
"eslint": "^6.0.1",
3737
"eslint-config-eslint": "^5.0.1",
38-
"eslint-plugin-node": "^8.0.1",
38+
"eslint-plugin-node": "^9.1.0",
3939
"eslint-release": "^1.0.0",
4040
"espree": "^6.0.0",
4141
"istanbul": "^0.4.5",

tests/implied-strict.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ describe("impliedStrict option", () => {
107107
});
108108

109109
it("omits a module global scope when ensuring all user scopes are strict", () => {
110-
const ast = espree(`
111-
function foo() {}`);
110+
const ast = espree("function foo() {}");
112111

113112
const scopeManager = analyze(ast, { ecmaVersion: 6, impliedStrict: true, sourceType: "module" });
114113

tests/nodejs-scope.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ describe("nodejsScope option", () => {
5656
});
5757

5858
it("creates a function scope following the global scope immediately and creates module scope", () => {
59-
const ast = espree(`
60-
import {x as v} from "mod";`);
59+
const ast = espree("import {x as v} from 'mod';");
6160

6261
const scopeManager = analyze(ast, { ecmaVersion: 6, nodejsScope: true, sourceType: "module" });
6362

0 commit comments

Comments
 (0)