summaryrefslogtreecommitdiff
path: root/scripts/lint-doc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lint-doc.sh')
-rwxr-xr-xscripts/lint-doc.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/lint-doc.sh b/scripts/lint-doc.sh
index 95e46e0e74b..3b1a12954ea 100755
--- a/scripts/lint-doc.sh
+++ b/scripts/lint-doc.sh
@@ -36,7 +36,6 @@ fi
# Do not use 'README.md', instead use 'index.md'
# Number of 'README.md's as of 2018-03-26
NUMBER_READMES_CE=34
-NUMBER_READMES_EE=34
FIND_READMES=$(find doc/ -name "README.md" | wc -l)
echo '=> Checking for new README.md files...'
if [ "${CI_PROJECT_NAME}" == 'gitlab-ce' ]
@@ -49,16 +48,6 @@ then
echo
exit 1
fi
-elif [ "${CI_PROJECT_NAME}" == 'gitlab-ee' ]
-then
- if [ ${FIND_READMES} -ne $NUMBER_READMES_EE ]
- then
- echo
- echo ' ✖ ERROR: New README.md file(s) detected, prefer index.md over README.md.' >&2
- echo ' https://docs.gitlab.com/ee/development/documentation/styleguide.html#working-with-directories-and-files'
- echo
- exit 1
- fi
fi
echo "✔ Linting passed"