mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 10:02:10 +03:00
e2456ee215
* Removes outdated precommit scripts * Updates eslint, prettier, stylelint and their configurations: turns on plugins that were installed but off * Fixes stylelint errors * Applies prettier to css files * Fixes new eslint errors * Updates lint script to include both stylelint and eslint
20 lines
545 B
YAML
20 lines
545 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://gitlab.com/jvenom/elixir-pre-commit-hooks
|
|
rev: v1.0.0
|
|
hooks:
|
|
- id: mix-format
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.0.1
|
|
hooks:
|
|
- id: check-case-conflict
|
|
- id: check-symlinks
|
|
- id: check-yaml
|
|
- id: destroyed-symlinks
|
|
- id: end-of-file-fixer
|
|
exclude: priv/tracker/js
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|