File tree 1 file changed +13
-5
lines changed
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 1
1
# MadaData Code Style Guide
2
2
3
- ## Frontend
3
+ ## Naming
4
+
5
+ * It is very important to figure out names and make naming exact and consistent*
4
6
5
- * [ Airbnb Javascript Style Guide] ( https://github.com/airbnb/javascript )
6
- * [ Airbnb React/JSX Style Guide] ( https://github.com/airbnb/javascript/tree/master/react )
7
+ - use ` logIn ` , ` logOut ` , and ` signUp ` , and their snake_case accordingly.
8
+ - do no use ` login ` unless it is used as a name (but prefer ` credential ` or ` principle ` )
9
+ - do not use ` signin ` or ` signout ` or other variations
10
+ - use camelCase for acronyms, like ` UserDao ` and ` graphQlSchema ` , not ` UserDAO ` or ` graphQLSchema `
11
+
12
+ ## Frontend
7
13
14
+ - [ Airbnb Javascript Style Guide] ( https://github.com/airbnb/javascript )
15
+ - [ Airbnb React/JSX Style Guide] ( https://github.com/airbnb/javascript/tree/master/react )
8
16
9
17
## Java
10
18
11
19
Use IntelliJ and http://github.com/Madadata/java-code-styles
12
20
13
- ## General Rules
21
+ ## Other General Rules
14
22
15
- * [ CS106A] ( https://web.stanford.edu/class/cs106a/styleguide.shtml )
23
+ - [ CS106A] ( https://web.stanford.edu/class/cs106a/styleguide.shtml )
You can’t perform that action at this time.
0 commit comments