Skip to content

Commit

Permalink
Downgrade Prettier to stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Jul 1, 2024
1 parent 9c46f45 commit 90f33e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,10 @@ repos:
args: ['-c', 'pyproject.toml']
additional_dependencies:
- bandit[toml]
- 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']
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
endOfLine: 'lf',
singleQuote: true,
trailingComma: 'es5',
printWidth: 88,
};

0 comments on commit 90f33e5

Please sign in to comment.