style: violates naming scheme for scripts [naming_scripts] #275
-
I have file at simulink/main.m I got error: simulink/main.m: style: violates naming scheme for scripts [naming_scripts] I didn't find any document after searching in this GitHub repo or Google. How can I have correct file name? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
florianschanda
Jul 31, 2023
Replies: 1 comment 1 reply
-
You can adjust the naming scheme using the Reference docs: https://florianschanda.github.io/miss_hit/style_checker.html |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hongbo-miao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can adjust the naming scheme using the
naming_scripts
config entry. By default it is([A-Z]+|[A-Z][a-z]*)(_([A-Z]+|[A-Z][a-z]*|[0-9]+))*
so that would mean you'd wantMain.m
. But please adjust it to whatever regex you'd like! :)Reference docs: https://florianschanda.github.io/miss_hit/style_checker.html