Update the version of prettier being used 78/65878/2
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 28 Oct 2020 17:29:43 +0000 (10:29 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 28 Oct 2020 17:54:13 +0000 (10:54 -0700)
Per https://github.com/prettier/prettier/issues/8925 prettier has
created a new pre-commit repository for pre-commit integration. This
repository also uses a slightly different tag format.

Lastly, we're updating to the latest version version available at this
time

Adds a .prettierignore to keep it from reformatting the
jenkins-init-scripts/README that shouldn't be touched

Change-Id: I0a50fc4fc372f43c6cd323aa1d6a2ec2054aeeda
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
.pre-commit-config.yaml
.prettierignore [new file with mode: 0644]

index 984ea24..d570d8c 100644 (file)
@@ -5,8 +5,8 @@ repos:
     hooks:
       - id: trailing-whitespace
 
-  - repo: https://github.com/prettier/prettier
-    rev: 2.0.5
+  - repo: https://github.com/prettier/pre-commit
+    rev: v2.1.2
     hooks:
       - id: prettier
 
diff --git a/.prettierignore b/.prettierignore
new file mode 100644 (file)
index 0000000..07bf280
--- /dev/null
@@ -0,0 +1,2 @@
+# Don't make weird changes to
+jenkins-init-scripts/README