mirror of https://github.com/dense-analysis/ale
Fix #707 - Fix some duplicate tags, and add some code to check for them
This commit is contained in:
parent
518f99b480
commit
411c6b5e9f
|
@ -119,12 +119,12 @@ g:ale_javascript_prettier_eslint_use_global
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
prettier-standard *ale-javascript-prettier-eslint*
|
prettier-standard *ale-javascript-prettier-standard*
|
||||||
|
|
||||||
|
|
||||||
g:ale_javascript_prettier_standard_executable
|
g:ale_javascript_prettier_standard_executable
|
||||||
*g:ale_javascript_prettier_eslint_executable*
|
*g:ale_javascript_prettier_standard_executable*
|
||||||
*b:ale_javascript_prettier_eslint_executable*
|
*b:ale_javascript_prettier_standard_executable*
|
||||||
Type: |String|
|
Type: |String|
|
||||||
Default: `'prettier-standard'`
|
Default: `'prettier-standard'`
|
||||||
|
|
||||||
|
|
|
@ -194,6 +194,14 @@ if ((run_custom_checks)); then
|
||||||
docker run -a stdout "${DOCKER_FLAGS[@]}" ./custom-checks . || EXIT=$?
|
docker run -a stdout "${DOCKER_FLAGS[@]}" ./custom-checks . || EXIT=$?
|
||||||
set +o pipefail
|
set +o pipefail
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
echo '========================================'
|
||||||
|
echo 'Checking for duplicate tags'
|
||||||
|
echo '========================================'
|
||||||
|
echo 'Duplicate tags follow:'
|
||||||
|
echo
|
||||||
|
|
||||||
|
grep --exclude=tags -roh '\*.*\*$' doc | sort | uniq -d || EXIT=$?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit $EXIT
|
exit $EXIT
|
||||||
|
|
Loading…
Reference in New Issue