File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
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 @@ -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