File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
rules :
2
+ dot-notation : error
3
+
2
4
# Custom rules in tools/eslint-rules
3
5
require-buffer : error
4
6
buffer-constructor : error
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class Session extends EventEmitter {
68
68
const id = this [ nextIdSymbol ] ++ ;
69
69
const message = { id, method } ;
70
70
if ( params ) {
71
- message [ ' params' ] = params ;
71
+ message . params = params ;
72
72
}
73
73
if ( callback ) {
74
74
this [ messageCallbacksSymbol ] . set ( id , callback ) ;
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ const { signals } = process.binding('constants').os;
6
6
7
7
const { createPromise, promiseResolve, promiseReject } = binding ;
8
8
9
- const kArrowMessagePrivateSymbolIndex = binding [ ' arrow_message_private_symbol' ] ;
10
- const kDecoratedPrivateSymbolIndex = binding [ ' decorated_private_symbol' ] ;
9
+ const kArrowMessagePrivateSymbolIndex = binding . arrow_message_private_symbol ;
10
+ const kDecoratedPrivateSymbolIndex = binding . decorated_private_symbol ;
11
11
const noCrypto = ! process . versions . openssl ;
12
12
13
13
const experimentalWarnings = new Set ( ) ;
Original file line number Diff line number Diff line change @@ -721,7 +721,7 @@ Module._initPaths = function() {
721
721
paths . unshift ( path . resolve ( homeDir , '.node_modules' ) ) ;
722
722
}
723
723
724
- var nodePath = process . env [ ' NODE_PATH' ] ;
724
+ var nodePath = process . env . NODE_PATH ;
725
725
if ( nodePath ) {
726
726
paths = nodePath . split ( path . delimiter ) . filter ( function ( path ) {
727
727
return ! ! path ;
You can’t perform that action at this time.
0 commit comments