Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
5 changes: 5 additions & 0 deletions configs/inspection/Square.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<inspections name="Square">
<inspection_tool class="UnnecessarySemicolon" enabled="true" level="ERROR" enabled_by_default="true" />
</inspections>

10 changes: 8 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# Installs Square's IntelliJ configs into your user configs.

echo "Installing Square code style configs..."
echo "Installing Square IntelliJ configs..."

CONFIGS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/configs"

Expand All @@ -13,8 +13,14 @@ for i in $HOME/Library/Preferences/IntelliJIdea* \
$HOME/.AndroidStudio*/config
do
if [ -d $i ]; then

# Install codestyles
mkdir -p $i/codestyles
cp -frv "$CONFIGS"/* $i/codestyles
cp -frv "$CONFIGS/codestyles"/* $i/codestyles

# Install inspections
mkdir -p $i/inspection
cp -frv "$CONFIGS/inspection"/* $i/inspection
fi
done

Expand Down