Sha256: 9d32546c3891d50df85fe08dd8571c2cde1504141d589ec4d10c03372cb9d83c
Contents?: true
Size: 451 Bytes
Versions: 12
Compression:
Stored size: 451 Bytes
Contents
# frozen_string_literal: true module RuboCop module Cop # This module provides functionality for checking if numbering match the # configured EnforcedStyle. module ConfigurableNumbering include ConfigurableFormatting FORMATS = { snake_case: /(?:[[[:lower:]]_]|_\d+)$/, normalcase: /(?:_\D*|[[[:upper:]][[:lower:]]]\d*)$/, non_integer: /[[[:upper:]][[:lower:]]_]$/ }.freeze end end end
Version data entries
12 entries across 12 versions & 2 rubygems