Add "max-lines-per-function" rule to the .eslintrc configuration

Description

Acceptance Criteria

  • Upgrade the version of grunt-eslint to 21.0.0 (it supports eslint 5.0.0 and the rule was added in that version).

  • Add the rule and restrict the max lines per function to 100 (to match our Sonar configuration).

Status

Assignee

Unassigned

Reporter

Nikodem Graczewski

Story Points

2

Sprint

None

Priority

Major
Configure