Revert "Lint JavaScript/TypeScript code (#346)" (#348)

This reverts commit e2e777db54.
This commit is contained in:
Sung Won Cho 2019-11-23 17:27:43 +08:00 committed by GitHub
commit 628d29c8d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
117 changed files with 32567 additions and 12281 deletions

View file

@ -56,9 +56,9 @@ agpl="/* Copyright (C) 2019 Monomax Software Pty Ltd
*/"
dir=$(dirname "${BASH_SOURCE[0]}")
pkgPath="$dir/../pkg"
serverPath="$dir/../pkg/server"
browserPath="$dir/../browser"
pkgPath="$dir/pkg"
serverPath="$dir/pkg/server"
browserPath="$dir/browser"
gplFiles=$(find "$pkgPath" "$browserPath" -type f \( -name "*.go" -o -name "*.js" -o -name "*.ts" -o -name "*.tsx" -o -name "*.scss" -o -name "*.css" \) ! -path "**/vendor/*" ! -path "**/node_modules/*" ! -path "$serverPath/*")

View file

@ -1,8 +1,6 @@
#!/usr/bin/env bash
set -eux
YARN_VERSION=1.19.1-1
sudo apt-get update
sudo apt-get install -y htop git wget build-essential inotify-tools
@ -11,8 +9,3 @@ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-ke
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt-get -y update
sudo apt-get install -y google-chrome-stable
# Install yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install -y yarn="$YARN_VERSION"