mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-14 00:44:53 +03:00
Remove prettier webpack in pre-commit
This commit is contained in:
parent
b2f5eb8f74
commit
2126f76930
|
@ -16,14 +16,14 @@ repos:
|
|||
- id: check-case-conflict
|
||||
- id: check-docstring-first
|
||||
- id: detect-private-key
|
||||
|
||||
{%- if cookiecutter.frontend_pipeline != "Webpack" or cookiecutter.frontend_pipeline != "Gulp" or cookiecutter.use_pycharm %}
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v3.0.0-alpha.9-for-vscode
|
||||
hooks:
|
||||
- id: prettier
|
||||
args: ['--tab-width', '2', '--single-quote']
|
||||
exclude: '{{cookiecutter.project_slug}}/templates/'
|
||||
|
||||
{% endif -%}
|
||||
- repo: https://github.com/adamchainz/django-upgrade
|
||||
rev: '1.14.0'
|
||||
hooks:
|
||||
|
|
Loading…
Reference in New Issue
Block a user