Sha256: e009a6713f315df7381932e73f0d49c3a4444b0e6882f2e8f90de211ea4f46cf
Contents?: true
Size: 385 Bytes
Versions: 77
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true module RuboCop module Cop # This module provides functionality for checking if names match the # configured EnforcedStyle. module ConfigurableNaming include ConfigurableFormatting FORMATS = { snake_case: /^@{0,2}[\da-z_]+[!?=]?$/, camelCase: /^@{0,2}_?[a-z][\da-zA-Z]+[!?=]?$/ }.freeze end end end
Version data entries
77 entries across 58 versions & 6 rubygems