<%# Link to the "Previous" page
- available local variables
url: url to the previous page
current_page: a page object for the currently displayed page
total_pages: total number of pages
per_page: number of items to fetch per page
remote: data-remote
-%>
After formatting:
<%#
Link to the "Previous" page
- available local variables
url: url to the previous page
current_page: a page object for the currently displayed page
total_pages: total number of pages
per_page: number of items to fetch per page
remote: data-remote
-%>
After formatting again:
<%#
Link to the "Previous" page
- available local variables
url: url to the previous page
current_page: a page object for the currently displayed page
total_pages: total number of pages
per_page: number of items to fetch per page
remote: data-remote
-%>
Given a file:
This is the file content after running prettier for the first time:
This is the content after running prettier for the second time:
And it goes on, indenting this line with each run 😄
.prettierrc.yml:
package.json:
(latest master branch, as of creating this issue)
Other example, from kaminari gem:
After formatting:
After formatting again: