mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[REF] precommit : eslint
This commit is contained in:
committed by
Darío Lodeiros
parent
a863b2f732
commit
6302ee4075
@@ -65,14 +65,15 @@ repos:
|
||||
args:
|
||||
- --plugin=@prettier/plugin-xml
|
||||
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
|
||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||
rev: v7.8.1
|
||||
hooks:
|
||||
- id: eslint
|
||||
verbose: true
|
||||
args:
|
||||
- --color
|
||||
- --fix
|
||||
# - repo: https://github.com/pre-commit/mirrors-eslint
|
||||
# rev: v7.8.1
|
||||
# hooks:
|
||||
# - id: eslint
|
||||
# verbose: true
|
||||
# args:
|
||||
# - --color
|
||||
# - --fix
|
||||
# exclude: /static/src/js/widgets/datepicker
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.2.0
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user