Browse Source

Allow returning assingment

This allows for neater arrow function callbacks in forEach statements and stuff
pull/1/head
Luke Childs 9 years ago
parent
commit
f481a8967a
  1. 4
      index.js

4
index.js

@ -100,7 +100,7 @@ module.exports = {
"no-magic-numbers": [ "no-magic-numbers": [
"error", "error",
{ "ignore": [-1] } { "ignore": [-1] }
] ]
"no-mixed-requires": "error", "no-mixed-requires": "error",
"no-multi-spaces": "error", "no-multi-spaces": "error",
"no-multi-str": "error", "no-multi-str": "error",
@ -124,7 +124,7 @@ module.exports = {
"no-restricted-imports": "error", "no-restricted-imports": "error",
"no-restricted-modules": "error", "no-restricted-modules": "error",
"no-restricted-syntax": "error", "no-restricted-syntax": "error",
"no-return-assign": "error", "no-return-assign": "off",
"no-script-url": "error", "no-script-url": "error",
"no-self-compare": "error", "no-self-compare": "error",
"no-sequences": "error", "no-sequences": "error",

Loading…
Cancel
Save