|
7 | 7 | hooks:
|
8 | 8 | - id: check-added-large-files
|
9 | 9 | args: ['--maxkb=512']
|
| 10 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor|\.css$|\.js$)\/.*$ |
10 | 11 | - id: check-executables-have-shebangs
|
| 12 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor|\.css$|\.js$)\/.*$ |
11 | 13 | - id: check-json
|
12 |
| - - id: detect-aws-credentials |
13 |
| - - id: detect-private-key |
| 14 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor|\.css$|\.js$)\/.*$ |
14 | 15 | - id: end-of-file-fixer
|
| 16 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor|\.css$|\.js$)\/.*$ |
15 | 17 | - id: mixed-line-ending
|
| 18 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor|\.css$|\.js$)\/.*$ |
16 | 19 | - id: pretty-format-json
|
| 20 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor|\.css$|\.js$)\/.*$ |
17 | 21 | - id: trailing-whitespace
|
| 22 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor|\.css$|\.js$)\/.*$ |
18 | 23 |
|
19 |
| - - repo: https://github.com/codespell-project/codespell.git |
20 |
| - rev: 'v2.0.0' |
21 |
| - hooks: |
22 |
| - - id: codespell |
23 |
| - args: [--config .codespellrc] |
24 |
| - exclude: (^.git\/|^css\/|^fonts\/|^img\/|^js\/|^twig\/|^vendor\/|\.png$|\.gif$|\.eot$|\.ttf$|\.woff$|\.woff2$|\.ico$|\.phar$|\.map$|\.psd$) |
| 24 | +# - repo: https://github.com/codespell-project/codespell.git |
| 25 | +# rev: 'v2.4.1' |
| 26 | +# hooks: |
| 27 | +# - id: codespell |
| 28 | +# args: [--config .codespellrc] |
| 29 | +# exclude: (^.git\/|^css\/|^fonts\/|^img\/|^js\/|^twig\/|^vendor\/|\.png$|\.css$|\.pot$|\.po$|\.mo$|\.gif$|\.eot$|\.ttf$|\.woff$|\.woff2$|\.ico$|\.phar$|\.map$|\.psd$) |
25 | 30 |
|
26 | 31 | - repo: https://github.com/markdownlint/markdownlint.git
|
27 |
| - rev: 'v0.11.0' |
| 32 | + rev: 'v0.12.0' |
28 | 33 | hooks:
|
29 | 34 | - id: markdownlint
|
30 | 35 | files: \.(md|MD)$
|
31 |
| - exclude: ^(js|vendor)\/.*$ |
| 36 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor)\/.*$ |
32 | 37 |
|
33 | 38 | - repo: https://github.com/cigamit/pre-commit-php.git
|
34 | 39 | rev: '511692fd4e9f93f3bf556086e3966caf647e47e0'
|
35 | 40 | hooks:
|
36 | 41 | - id: php-lint
|
| 42 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor)\/.*$ |
37 | 43 | - id: php-lint-all
|
| 44 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor)\/.*$ |
38 | 45 | - id: php-cs-fixer
|
39 | 46 | args: [--path-mode=intersection]
|
40 | 47 | files: \.(php)$
|
| 48 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor)\/.*$ |
41 | 49 | - id: php-stan
|
42 |
| - args: |
| 50 | + args: |
43 | 51 | - analyze
|
44 |
| - - ./src |
| 52 | + - . |
45 | 53 | - "--level 8"
|
46 | 54 | - "--configuration=src/phpstan.neon"
|
47 | 55 | files: \.(php)$
|
| 56 | + exclude: ^(locales|include/fa|include/css|include/js|include/vendor)\/.*$ |
0 commit comments