Skip to content

Commit 67ad776

Browse files
committedOct 29, 2020
Disallow assignment to exports
Fixes: standard/standard#1400
1 parent bf0446a commit 67ad776

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@
227227

228228
"node/handle-callback-err": ["error", "^(err|error)$" ],
229229
"node/no-deprecated-api": "error",
230+
"node/no-exports-assign": "error",
230231
"node/no-new-require": "error",
231232
"node/no-path-concat": "error",
232233
"node/process-exit-as-throw": "error",

0 commit comments

Comments
 (0)
Please sign in to comment.