Skip to content

Commit c665894

Browse files
Rearranging news
1 parent 3dc7ea9 commit c665894

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

NEWS.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## styler 0.1.0 (2017-12-05)
1+
## styler 1.0.0 (2017-12-05)
22

33
Initial release.
44

@@ -24,6 +24,21 @@ style_file(path,
2424
style_text(text, ..., style = tidyverse_style, transformers = style(...))
2525
```
2626

27+
### style guides
28+
These functions are the style guides implemented.
29+
```
30+
tidyverse_style(
31+
scope = "tokens",
32+
strict = TRUE,
33+
indent_by = 2,
34+
start_comments_with_one_space = FALSE,
35+
reindention = tidyverse_reindention(),
36+
math_token_spacing = tidyverse_math_token_spacing()
37+
)
38+
tidyverse_reindention()
39+
tidyverse_math_token_spacing())
40+
```
41+
2742
### style guide creators
2843
This function is used to create a style guide.
2944
```
@@ -38,19 +53,6 @@ create_style_guide(
3853
)
3954
```
4055

41-
### style guides
42-
These functions are the style guides implemented.
43-
```
44-
tidyverse_style(
45-
scope = "tokens",
46-
strict = TRUE,
47-
indent_by = 2,
48-
start_comments_with_one_space = FALSE,
49-
reindention = tidyverse_reindention(),
50-
math_token_spacing = tidyverse_math_token_spacing()
51-
)
52-
```
53-
5456
### Helpers
5557
These are helper functions used to specify the style guides in use.
5658

@@ -65,10 +67,5 @@ specify_reindention(
6567
indention = 0,
6668
comments_only = TRUE
6769
)
68-
```
69-
70-
These are helper functions that simply forward to the helper functions above.
71-
```
72-
tidyverse_reindention()
73-
tidyverse_math_token_spacing())
70+
initialize_default_attributes(pd_flat)
7471
```

0 commit comments

Comments
 (0)