Skip to content

Commit

Permalink
Fixes for node config (globalReturn set to false)
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed Apr 4, 2022
1 parent 4749ff5 commit 5df9fe7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"rules": {
"no-magic-numbers": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"quote-props": ["error", "consistent"]
}
}
5 changes: 5 additions & 0 deletions eslint-config-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ module.exports = {
env: {
node: true
},
parserOptions: {
ecmaFeatures: {
globalReturn: false
}
},
rules: {
'no-console': 'off',

Expand Down

0 comments on commit 5df9fe7

Please sign in to comment.