[gjs/esm/static-imports] Cleanup eslint and iwyu.
- From: Evan Welsh <ewlsh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/esm/static-imports] Cleanup eslint and iwyu.
- Date: Fri, 29 Jan 2021 02:26:04 +0000 (UTC)
commit 4290d91cbd6dcb9481d553b5d4fac148771e5883
Author: Evan Welsh <contact evanwelsh com>
Date: Thu Jan 28 18:25:59 2021 -0800
Cleanup eslint and iwyu.
gjs/context.cpp | 3 +--
modules/internal/.eslintrc.yml | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gjs/context.cpp b/gjs/context.cpp
index 66d2e03f..3c4ab879 100644
--- a/gjs/context.cpp
+++ b/gjs/context.cpp
@@ -36,8 +36,8 @@
#include <js/CharacterEncoding.h>
#include <js/CompilationAndEvaluation.h>
#include <js/CompileOptions.h>
-#include <js/Conversions.h>
#include <js/ErrorReport.h>
+#include <js/Exception.h> // for StealPendingExceptionStack
#include <js/GCAPI.h> // for JS_GC, JS_AddExtraGCRootsTr...
#include <js/GCHashTable.h> // for WeakCache
#include <js/GCVector.h> // for RootedVector
@@ -50,7 +50,6 @@
#include <js/TracingAPI.h>
#include <js/TypeDecls.h>
#include <js/UniquePtr.h>
-#include <js/Utility.h> // for UniqueChars
#include <js/Value.h>
#include <js/ValueArray.h>
#include <jsapi.h> // for JS_IsExceptionPending, ...
diff --git a/modules/internal/.eslintrc.yml b/modules/internal/.eslintrc.yml
index 83fe26cd..d2edebf8 100644
--- a/modules/internal/.eslintrc.yml
+++ b/modules/internal/.eslintrc.yml
@@ -1,7 +1,7 @@
---
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
# SPDX-FileCopyrightText: 2020 Evan Welsh <contact evanwelsh com>
-extends: ../.eslintrc.yml
+extends: ../../.eslintrc.yml
parserOptions:
sourceType: 'module'
ecmaVersion: 2020
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]