We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 617ebd1 commit e1fbc13Copy full SHA for e1fbc13
.pre-commit-config.yaml
@@ -30,3 +30,8 @@ repos:
30
name: ruff lint
31
- id: ruff-format
32
files: ^tin/.*
33
+ - repo: https://github.com/pre-commit/mirrors-prettier
34
+ rev: v2.5.1
35
+ hooks:
36
+ - id: prettier
37
+ types_or: [ javascript, css ]
.prettierrc.js
@@ -0,0 +1,9 @@
1
+/** @type {import("prettier").Config} */
2
+const config = {
3
+ trailingComma: 'es5',
4
+ tabWidth: 2,
5
+ semi: true,
6
+ singleQuote: true,
7
+};
8
+
9
+module.exports = config;
0 commit comments