Sha256: 691a684efc0145631b77bd502a284a32a1d9a551ec2a17bbab92d1169065e7b7
Contents?: true
Size: 391 Bytes
Versions: 10
Compression:
Stored size: 391 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
10 entries across 10 versions & 3 rubygems