Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

File names to camelCase #878

Merged
merged 20 commits into from
Feb 16, 2023
Merged

File names to camelCase #878

merged 20 commits into from
Feb 16, 2023

Conversation

AlejandroLabourdette
Copy link
Contributor

@AlejandroLabourdette AlejandroLabourdette commented Jan 31, 2023

This PR include a lint rule to check file names case
fix #833

Modify file names in order to have the same format across the entire project (camelCase). Keep in mind to update imports when doing so

@AlejandroLabourdette AlejandroLabourdette changed the title File_name_to_camelCase File names to camelCase Jan 31, 2023
@AlejandroLabourdette AlejandroLabourdette marked this pull request as ready for review January 31, 2023 22:55
@swapnilraj
Copy link
Contributor

Hey we only need the src files to be camel case, the files in example_contracts can be ignored by this rule

package-lock.json Outdated Show resolved Hide resolved
@AlejandroLabourdette
Copy link
Contributor Author

Hey we only need the src files to be camel case, the files in example_contracts can be ignored by this rule

Hi, lint just inspect .ts files by default, Solidity files are not examined, but I change them anyway to have the same naming pattern.

@JorikSchellekens
Copy link
Contributor

Can you make the lint work for js files as well?

@AlejandroLabourdette
Copy link
Contributor Author

Can you make the lint work for js files as well?

It also works for js, the above idea was that sol files could not be parsed by eslint.

@piwonskp piwonskp enabled auto-merge (squash) February 15, 2023 14:14
@piwonskp piwonskp merged commit c557cd6 into develop Feb 16, 2023
@piwonskp piwonskp deleted the file_name_to_camelCase branch February 16, 2023 11:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uniform file naming
5 participants