From 2819911d8a932bb15edeae3f6b7eac9dba2ea1ce Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Tue, 31 Aug 2021 19:02:59 -0500 Subject: [PATCH 1/9] test: change content/docs/user-guide/contributing/blog.md for https://github.com/iterative/dvc.org/issues/2641 --- content/docs/user-guide/contributing/blog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/user-guide/contributing/blog.md b/content/docs/user-guide/contributing/blog.md index d3b3ad28e0..11de274944 100644 --- a/content/docs/user-guide/contributing/blog.md +++ b/content/docs/user-guide/contributing/blog.md @@ -1,7 +1,7 @@ # Writing Blog Posts To create a new post, you need to create a PR to the DVC website -[project](https://github.com/iterative/dvc.org). +[project](https://github.com/iterative/dvc.org). Ouch! ## Prepare your environment From 6fde509b10b253d54f75395c1c513070d2a73505 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Tue, 31 Aug 2021 19:06:06 -0500 Subject: [PATCH 2/9] test: bad change to .../contributing/blog.md --- content/docs/user-guide/contributing/blog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/user-guide/contributing/blog.md b/content/docs/user-guide/contributing/blog.md index 11de274944..7bd45bcec3 100644 --- a/content/docs/user-guide/contributing/blog.md +++ b/content/docs/user-guide/contributing/blog.md @@ -1,7 +1,7 @@ # Writing Blog Posts -To create a new post, you need to create a PR to the DVC website -[project](https://github.com/iterative/dvc.org). Ouch! +To create a new post, you need to create a PR to the DVC website super mega ultra great +[project](https://github.com/iterative/dvc.org). ## Prepare your environment From f3baac864c9a983fa26d0e2de114a58f6e02c109 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Tue, 31 Aug 2021 19:20:16 -0500 Subject: [PATCH 3/9] test: try reverting https://github.com/iterative/dvc.org/commit/2dd2e91094873b2367dae484c62a838c255202de#diff-eb41540235b5687201bb19ed968c284453eea68563f5908a6e15ed8cbfa959de --- .restyled.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.restyled.yaml b/.restyled.yaml index 172df6480d..fa753241c2 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -10,6 +10,10 @@ restylers: '--print-width=80', '--tab-width=2', '--use-tabs=false', - '--prose-wrap=always' + '--prose-wrap=always', ] - include: ['**/*.{js,json,md,yaml,yml}'] + include: + - './*.{js,md}' + - 'pages/**/*.js' + - 'content/**/*.md' + - 'src/**/*.js' From 06497b413df6a51774ed8d5f7dd25b0b2378f860 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Tue, 31 Aug 2021 19:23:01 -0500 Subject: [PATCH 4/9] format .restyled.yaml --- .restyled.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.restyled.yaml b/.restyled.yaml index fa753241c2..2776d48263 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -10,7 +10,7 @@ restylers: '--print-width=80', '--tab-width=2', '--use-tabs=false', - '--prose-wrap=always', + '--prose-wrap=always' ] include: - './*.{js,md}' From 36ae1cffcaf9f35d526193c37d823b85f670db97 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Tue, 31 Aug 2021 19:41:17 -0500 Subject: [PATCH 5/9] config: sort prettier settings by abc --- .prettierrc | 10 +++++----- .restyled.yaml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.prettierrc b/.prettierrc index 365b1903fa..16044716be 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,10 +1,10 @@ { - "semi": false, "arrowParens": "avoid", - "singleQuote": true, - "trailingComma": "none", "printWidth": 80, + "proseWrap": "always", + "semi": false, + "singleQuote": true, "tabWidth": 2, - "useTabs": false, - "proseWrap": "always" + "trailingComma": "none", + "useTabs": false } diff --git a/.restyled.yaml b/.restyled.yaml index 2776d48263..74f931d3c3 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -3,14 +3,14 @@ restylers: arguments: [ '--write', - '--trailing-comma=none', - '--no-semi', '--arrow-parens=avoid', - '--single-quote=true', '--print-width=80', + '--prose-wrap=always', + '--no-semi', + '--single-quote=true', '--tab-width=2', - '--use-tabs=false', - '--prose-wrap=always' + '--trailing-comma=none', + '--use-tabs=false' ] include: - './*.{js,md}' From 26fc2e3f29ea45702e100363f3ccd2b04a6dd780 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Thu, 9 Sep 2021 13:43:52 -0500 Subject: [PATCH 6/9] test: expanded Restyled config file per https://github.com/iterative/dvc.org/pull/2774#issuecomment-912099435 --- .restyled.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.restyled.yaml b/.restyled.yaml index 74f931d3c3..ca99415536 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -13,7 +13,9 @@ restylers: '--use-tabs=false' ] include: - - './*.{js,md}' - - 'pages/**/*.js' - - 'content/**/*.md' - - 'src/**/*.js' + - '**/*.md' + - '**/*.jsx' + - '**/*.tsx' + - '**/*.js' + - '**/*.ts' + - '**/*.json' From e8df0dc95563b35d2ee145114c8d56dae4fba7c2 Mon Sep 17 00:00:00 2001 From: "restyled-io[bot]" <32688539+restyled-io[bot]@users.noreply.github.com> Date: Thu, 9 Sep 2021 13:57:35 -0500 Subject: [PATCH 7/9] Restyled by prettier (#2775) Co-authored-by: Restyled.io --- content/docs/user-guide/contributing/blog.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/docs/user-guide/contributing/blog.md b/content/docs/user-guide/contributing/blog.md index 7bd45bcec3..98448abfb6 100644 --- a/content/docs/user-guide/contributing/blog.md +++ b/content/docs/user-guide/contributing/blog.md @@ -1,7 +1,7 @@ # Writing Blog Posts -To create a new post, you need to create a PR to the DVC website super mega ultra great -[project](https://github.com/iterative/dvc.org). +To create a new post, you need to create a PR to the DVC website super mega +ultra great [project](https://github.com/iterative/dvc.org). ## Prepare your environment @@ -41,7 +41,6 @@ tags: - Version Control - AI --- - ``` - `title` (**required**) - title of the post. From a9b208e65121af0b0749103ed291d4c6cbfcef4e Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Thu, 9 Sep 2021 14:09:41 -0500 Subject: [PATCH 8/9] guide: roll back dummy changes (fixes formatting) --- content/docs/user-guide/contributing/blog.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/docs/user-guide/contributing/blog.md b/content/docs/user-guide/contributing/blog.md index 98448abfb6..d3b3ad28e0 100644 --- a/content/docs/user-guide/contributing/blog.md +++ b/content/docs/user-guide/contributing/blog.md @@ -1,7 +1,7 @@ # Writing Blog Posts -To create a new post, you need to create a PR to the DVC website super mega -ultra great [project](https://github.com/iterative/dvc.org). +To create a new post, you need to create a PR to the DVC website +[project](https://github.com/iterative/dvc.org). ## Prepare your environment @@ -41,6 +41,7 @@ tags: - Version Control - AI --- + ``` - `title` (**required**) - title of the post. From f61f8be8ca0a2916ce1c75be4db413bd938552ed Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Thu, 9 Sep 2021 17:28:22 -0500 Subject: [PATCH 9/9] resyled: add comment on matching path pattern per https://github.com/iterative/dvc.org/pull/2774#pullrequestreview-750779347 --- .restyled.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.restyled.yaml b/.restyled.yaml index ca99415536..48e76fbede 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -12,7 +12,7 @@ restylers: '--trailing-comma=none', '--use-tabs=false' ] - include: + include: # matching '**/*.{js,jsx,md,tsx,ts,json}' - '**/*.md' - '**/*.jsx' - '**/*.tsx'