Skip to content

Commit f5adee6

Browse files
authored
Update Prettier to 2.8.8 (#32)
1 parent feafd51 commit f5adee6

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: .
3-
rev: 1.6.1
3+
rev: 1.6.2
44
hooks:
55
- id: duolingo
66
exclude: test/

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ RUN apk add --no-cache --virtual .build-deps \
2727
&& echo 'source /black21-venv/bin/activate && black "$@"' > /usr/bin/black21 \
2828
&& chmod +x /usr/bin/black21 \
2929
&& npm install -g \
30-
@prettier/plugin-xml@2.0.1 \
31-
@types/node@17.0.23 \
32-
prettier@2.6.2 \
30+
@prettier/plugin-xml@2.2.0 \
31+
@types/node@18.16.0 \
32+
prettier@2.8.8 \
3333
svgo@2.8.0 \
34-
typescript@4.6.3 \
34+
typescript@5.0.4 \
3535
&& apk del .build-deps \
3636
&& wget https://github.com/google/google-java-format/releases/download/v1.15.0/google-java-format-1.15.0-all-deps.jar -O google-java-format \
3737
&& wget https://search.maven.org/remotecontent?filepath=com/facebook/ktfmt/0.35/ktfmt-0.35-jar-with-dependencies.jar -O ktfmt \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This repo currently contains a single [pre-commit](https://pre-commit.com/) hook that internally runs several code formatters in parallel.
44

5-
- [Prettier](https://github.com/prettier/prettier) v2.6.2 for CSS, HTML, JS, JSX, Markdown, Sass, TypeScript, XML, YAML
5+
- [Prettier](https://github.com/prettier/prettier) v2.8.8 for CSS, HTML, JS, JSX, Markdown, Sass, TypeScript, XML, YAML
66
- [Black](https://github.com/psf/black) v22.3.0 for Python 3, v21.12b0 for Python 2
77
- [autoflake](https://github.com/myint/autoflake) v1.4 for Python
88
- [isort](https://github.com/PyCQA/isort) v5.10.1 for Python
@@ -28,7 +28,7 @@ Repo maintainers can declare this hook in `.pre-commit-config.yaml`:
2828

2929
```yaml
3030
- repo: https://github.com/duolingo/pre-commit-hooks.git
31-
rev: 1.6.1
31+
rev: 1.6.2
3232
hooks:
3333
- id: duolingo
3434
args: # Optional

0 commit comments

Comments
 (0)