codeclimate/codeclimate-eslint

View on GitHub
bin/docs

Summary

Maintainability
Test Coverage
#!/bin/bash

set -e

version=$1
printf "Pulling docs from ESlint %s\n" "$version"

git clone --quiet --branch "$version" https://github.com/eslint/eslint.git /tmp/eslint
mkdir --parents ./lib/docs
cp --recursive /tmp/eslint/docs/rules ./lib/docs/rules
rm --force --recursive /tmp/eslint