Skip to content

Rename variables and properties to camelCase#344

Merged
mvorisek merged 1 commit intodevelopfrom
strict_camel_case_for_vars
Apr 11, 2022
Merged

Rename variables and properties to camelCase#344
mvorisek merged 1 commit intodevelopfrom
strict_camel_case_for_vars

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Apr 11, 2022

mainly rename short_name to shortName

regex used to find places to replace: (->|\$)(?!(GITHUB_EVENT_NAME|LOG_COVERAGE|_atk__(core|data)__hintable_magic__\w+)(?!\w))_*((?!_)\w)+?_

(->|\$|function |::)

to find places to fix your code, I advise to replace (?<!\w)short_name(?!\w) with short_name first

@mvorisek mvorisek force-pushed the strict_camel_case_for_vars branch from 6daf1a8 to e6a1fac Compare April 11, 2022 10:30
@mvorisek mvorisek merged commit 71c0beb into develop Apr 11, 2022
@mvorisek mvorisek deleted the strict_camel_case_for_vars branch April 11, 2022 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant