platanus / potassium

A Rails application generator by Platanus, inspired by Suspenders
MIT License
232 stars 17 forks source link

feat(rules): update eslint rules #299

Closed gmq closed 4 years ago

gmq commented 4 years ago

Rubocop has the maximum complexity rule set to 6 by default, our eslint rules should use the same value.

Also enables the rule for forbidding console statements

rjherrera commented 4 years ago

to which rubocop complexity rule are you referring to?

gmq commented 4 years ago

Cyclomatic complexity, which is not in our rubocop.yml so it uses the default value