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

Commit

Permalink
Update to eslint@^6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo committed Jul 19, 2019
1 parent 5b06e1a commit 06a9bf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"devDependencies": {
"@typescript-eslint/parser": "^1.11.0",
"chai": "^4.2.0",
"eslint": "^5.16.0",
"eslint": "^6.0.1",
"eslint-config-eslint": "^5.0.1",
"eslint-plugin-node": "^8.0.1",
"eslint-release": "^1.0.0",
Expand Down
3 changes: 1 addition & 2 deletions tests/implied-strict.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ describe("impliedStrict option", () => {
});

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

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

Expand Down
3 changes: 1 addition & 2 deletions tests/nodejs-scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ describe("nodejsScope option", () => {
});

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

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

Expand Down

0 comments on commit 06a9bf5

Please sign in to comment.