motleyagency / eslint-config-motley

Motley (https://motley.fi) JavaScript/Typescript guidelines as ESLint rules with Prettier autoformatting
https://motley.fi
MIT License
6 stars 0 forks source link

Turn off `prefer-destructuring` #63

Open petetnt opened 5 years ago

petetnt commented 5 years ago

This rule sucks and has nothing to do with anything, at worst it just makes the code way more verbose

https://eslint.org/docs/rules/prefer-destructuring

eg.

function FU(props) {
  return props.children // blah blah blah prefer-destructing
}