Skip to content

Commit

Permalink
Revise prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Jun 7, 2024
1 parent 362679e commit 7a3243a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,10 @@ repos:
- id: remove-crlf
- id: forbid-tabs
- id: remove-tabs
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
- repo: https://github.com/pycontribs/mirrors-prettier
rev: v3.3.1
hooks:
- id: prettier
args: ['--single-quote', '--trailing-comma', 'es5', '--end-of-line', 'lf']
exclude: funnel/templates/js/
- repo: https://github.com/ducminh-phan/reformat-gherkin
rev: v3.0.1
hooks:
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/*.md
6 changes: 0 additions & 6 deletions .prettierrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"endOfLine": "lf",
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 88
}

0 comments on commit 7a3243a

Please sign in to comment.