Module: CukeSniffer::RuleConfig

Included in:
CLI, RuleTarget
Defined in:
lib/cuke_sniffer/rule_config.rb

Overview

Contains the rules and various scores used in evaluating objects

Constant Summary collapse

FATAL =

Will prevent suite from executing properly

100
ERROR =

Will cause problem with debugging

25
WARNING =

Readability/misuse of cucumber

10
INFO =

Small improvements that can be made

1
RULES =

Master hash used for rule data

  • :enabled

  • :phrase

  • :score

  • :targets

  • :reason

Optional:

  • :words

  • :max

  • :min

  • :file

{}.merge fatal_rules.merge error_rules.merge warning_rules.merge info_rules