Closed ndhoule closed 8 years ago
Singling out a.js-integrations as an example, a lot of our functions do way too much. We should enable complexity to prevent this from happening.
complexity
http://eslint.org/docs/rules/complexity
Should be a warning at first, and an error down the line. Thinking the setting should be high and we can gradually decrease it.
+1
+1 for a warning
sweet, let's try it out!
Singling out a.js-integrations as an example, a lot of our functions do way too much. We should enable
complexity
to prevent this from happening.http://eslint.org/docs/rules/complexity
Should be a warning at first, and an error down the line. Thinking the setting should be high and we can gradually decrease it.