src: fix check-imports.py linter errors
This patch fixes all the linter errors. PR-URL: https://github.com/nodejs/node/pull/6105 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
6781d917f4
commit
2c480bdae6
@ -8,7 +8,6 @@
|
||||
#include "v8.h"
|
||||
#include "v8-profiler.h"
|
||||
|
||||
using v8::Array;
|
||||
using v8::Boolean;
|
||||
using v8::Context;
|
||||
using v8::Function;
|
||||
|
@ -17,7 +17,6 @@ using v8::Local;
|
||||
using v8::Message;
|
||||
using v8::StackFrame;
|
||||
using v8::StackTrace;
|
||||
using v8::TryCatch;
|
||||
using v8::Value;
|
||||
|
||||
void Environment::PrintSyncTrace() const {
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
namespace node {
|
||||
|
||||
using v8::Boolean;
|
||||
using v8::Context;
|
||||
using v8::FunctionCallbackInfo;
|
||||
using v8::HandleScope;
|
||||
|
@ -127,8 +127,6 @@ using v8::PromiseRejectMessage;
|
||||
using v8::PropertyCallbackInfo;
|
||||
using v8::ScriptOrigin;
|
||||
using v8::SealHandleScope;
|
||||
using v8::StackFrame;
|
||||
using v8::StackTrace;
|
||||
using v8::String;
|
||||
using v8::TryCatch;
|
||||
using v8::Uint32;
|
||||
|
@ -71,7 +71,6 @@ using v8::Context;
|
||||
using v8::EscapableHandleScope;
|
||||
using v8::Function;
|
||||
using v8::FunctionCallbackInfo;
|
||||
using v8::FunctionTemplate;
|
||||
using v8::HandleScope;
|
||||
using v8::Integer;
|
||||
using v8::Isolate;
|
||||
|
@ -11,8 +11,8 @@ namespace node {
|
||||
using v8::Context;
|
||||
using v8::Local;
|
||||
using v8::Object;
|
||||
using v8::Value;
|
||||
using v8::ReadOnly;
|
||||
using v8::Value;
|
||||
|
||||
// The config binding is used to provide an internal view of compile or runtime
|
||||
// config options that are required internally by lib/*.js code. This is an
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
namespace node {
|
||||
|
||||
using v8::AccessType;
|
||||
using v8::Array;
|
||||
using v8::ArrayBuffer;
|
||||
using v8::Boolean;
|
||||
@ -30,7 +29,6 @@ using v8::Maybe;
|
||||
using v8::MaybeLocal;
|
||||
using v8::Name;
|
||||
using v8::NamedPropertyHandlerConfiguration;
|
||||
using v8::None;
|
||||
using v8::Object;
|
||||
using v8::ObjectTemplate;
|
||||
using v8::Persistent;
|
||||
|
@ -20,7 +20,6 @@ using v8::NewStringType;
|
||||
using v8::Object;
|
||||
using v8::String;
|
||||
using v8::Uint32;
|
||||
using v8::Uint32Array;
|
||||
using v8::V8;
|
||||
using v8::Value;
|
||||
|
||||
|
@ -4,9 +4,6 @@
|
||||
|
||||
namespace node {
|
||||
|
||||
using v8::V8;
|
||||
|
||||
|
||||
Watchdog::Watchdog(v8::Isolate* isolate, uint64_t ms) : isolate_(isolate),
|
||||
destroyed_(false) {
|
||||
int rc;
|
||||
|
@ -26,7 +26,6 @@ using v8::HandleScope;
|
||||
using v8::Integer;
|
||||
using v8::Local;
|
||||
using v8::Object;
|
||||
using v8::PropertyAttribute;
|
||||
using v8::String;
|
||||
using v8::Undefined;
|
||||
using v8::Value;
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
namespace node {
|
||||
|
||||
using v8::Array;
|
||||
using v8::Context;
|
||||
using v8::EscapableHandleScope;
|
||||
using v8::FunctionCallbackInfo;
|
||||
@ -30,12 +29,8 @@ using v8::FunctionTemplate;
|
||||
using v8::HandleScope;
|
||||
using v8::Integer;
|
||||
using v8::Local;
|
||||
using v8::Number;
|
||||
using v8::Object;
|
||||
using v8::PropertyCallbackInfo;
|
||||
using v8::String;
|
||||
using v8::True;
|
||||
using v8::Undefined;
|
||||
using v8::Value;
|
||||
|
||||
|
||||
|
@ -19,10 +19,10 @@ using v8::EscapableHandleScope;
|
||||
using v8::HandleScope;
|
||||
using v8::Isolate;
|
||||
using v8::Local;
|
||||
using v8::MaybeLocal;
|
||||
using v8::Object;
|
||||
using v8::String;
|
||||
using v8::Value;
|
||||
using v8::MaybeLocal;
|
||||
|
||||
template <typename ResourceType, typename TypeName>
|
||||
class ExternString: public ResourceType {
|
||||
|
@ -27,7 +27,6 @@ using v8::HandleScope;
|
||||
using v8::Integer;
|
||||
using v8::Local;
|
||||
using v8::Object;
|
||||
using v8::PropertyAttribute;
|
||||
using v8::String;
|
||||
using v8::Undefined;
|
||||
using v8::Value;
|
||||
|
@ -15,8 +15,8 @@
|
||||
|
||||
namespace node {
|
||||
|
||||
using crypto::SSLWrap;
|
||||
using crypto::SecureContext;
|
||||
using crypto::SSLWrap;
|
||||
using v8::Boolean;
|
||||
using v8::Context;
|
||||
using v8::EscapableHandleScope;
|
||||
@ -24,9 +24,7 @@ using v8::Exception;
|
||||
using v8::Function;
|
||||
using v8::FunctionCallbackInfo;
|
||||
using v8::FunctionTemplate;
|
||||
using v8::Integer;
|
||||
using v8::Local;
|
||||
using v8::Null;
|
||||
using v8::Object;
|
||||
using v8::String;
|
||||
using v8::Value;
|
||||
|
@ -21,7 +21,6 @@ using v8::FunctionTemplate;
|
||||
using v8::Integer;
|
||||
using v8::Local;
|
||||
using v8::Object;
|
||||
using v8::PropertyAttribute;
|
||||
using v8::String;
|
||||
using v8::Value;
|
||||
|
||||
|
@ -6,8 +6,8 @@
|
||||
namespace node {
|
||||
|
||||
using v8::Isolate;
|
||||
using v8::String;
|
||||
using v8::Local;
|
||||
using v8::String;
|
||||
using v8::Value;
|
||||
|
||||
static int MakeUtf8String(Isolate* isolate,
|
||||
|
Loading…
x
Reference in New Issue
Block a user