File tree 4 files changed +6
-4
lines changed
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 @@ -729,7 +729,7 @@ Module._initPaths = function() {
729
729
paths . unshift ( path . resolve ( homeDir , '.node_modules' ) ) ;
730
730
}
731
731
732
- var nodePath = process . env [ ' NODE_PATH' ] ;
732
+ var nodePath = process . env . NODE_PATH ;
733
733
if ( nodePath ) {
734
734
paths = nodePath . split ( path . delimiter ) . filter ( function ( path ) {
735
735
return ! ! path ;
You can’t perform that action at this time.
0 commit comments