Sha256: aee4e6d2d0271f5fc8246ee8aae92c515af4637e87ba656242061c8056ca3538
Contents?: true
Size: 409 Bytes
Versions: 6776
Compression:
Stored size: 409 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: /(?:[a-z_]|_\d+)$/, normalcase: /(?:_\D*|[A-Za-z]\d*)$/, non_integer: /[A-Za-z_]$/ }.freeze end end end
Version data entries
6,776 entries across 6,770 versions & 24 rubygems