You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+4
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@
16
16
17
17
- Allow `@directive` on functions for emitting function level directive code (`let serverAction = @directive("'use server'") (~name) => {...}`). https://github.com/rescript-lang/rescript-compiler/pull/6756
18
18
19
+
#### :house: Internal
20
+
21
+
- Convert OCaml codebase to snake case style. https://github.com/rescript-lang/rescript-compiler/pull/6702
22
+
19
23
#### :boom: Breaking Change
20
24
21
25
-`lazy` syntax is no longer supported. If you're using it, use `Lazy` module or `React.lazy_` instead. https://github.com/rescript-lang/rescript-compiler/pull/6342
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+5
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,11 @@ make test-syntax-roundtrip
92
92
make artifacts
93
93
```
94
94
95
+
## Coding Style
96
+
97
+
- OCaml Code: snake case format is used, e.g, `to_string`
98
+
- ReScript Code: the camel case format is used, e.g `toString`
99
+
95
100
## Adding new Files to the Npm Package
96
101
97
102
To make sure that no files are added to or removed from the npm package inadvertently, an artifact list is kept at `packages/artifacts.txt`. During CI build, it is verified that only the files that are listed there are actually included in the npm package.
0 commit comments