From 164beef44424ec8561966d584ecd2c7e2a3a2865 Mon Sep 17 00:00:00 2001
From: Pierre-Marie
Date: Sat, 3 Feb 2018 10:42:48 -0800
Subject: [PATCH] Fix linting errors
---
types/eslint/eslint-tests.ts | 2 +-
types/eslint/index.d.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/types/eslint/eslint-tests.ts b/types/eslint/eslint-tests.ts
index 57a58d475e..a7aa0e3ba6 100644
--- a/types/eslint/eslint-tests.ts
+++ b/types/eslint/eslint-tests.ts
@@ -216,7 +216,7 @@ const scopeManager: Scope.ScopeManager = {
scopes: [],
globalScope: null,
acquire(node, inner) {
- return this.scopes[0];
+ return scopeManager.scopes[0];
},
getDeclaredVariables() {
return [];
diff --git a/types/eslint/index.d.ts b/types/eslint/index.d.ts
index 4ba910329c..84503a2b40 100644
--- a/types/eslint/index.d.ts
+++ b/types/eslint/index.d.ts
@@ -284,7 +284,7 @@ export namespace Rule {
recommended?: boolean;
url?: string;
};
- //TODO: Find usage of message field
+ // TODO: Find usage of message field
messages?: { [messageId: string]: string };
fixable?: 'code' | 'whitespace';
schema?: JSONSchema4 | JSONSchema4[];