Skip to content

Commit

Permalink
Merge branch 'master' of github.com:kateinoigakukun/IBLinter
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Dec 15, 2017
2 parents 724a66b + f500c15 commit 170ed4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PREFIX?=/usr/local
TEMPORARY_FOLDER=/tmp/IBLinter.dst

build:
swift build -c release -Xswiftc -static-stdlib
swift build --disable-sandbox -c release -Xswiftc -static-stdlib
install: build
mkdir -p "$(PREFIX)/bin"
cp -f ".build/release/iblinter" "$(PREFIX)/bin/iblinter"
mkdir -p "$(PREFIX)/bin"
cp -f ".build/release/iblinter" "$(PREFIX)/bin/iblinter"
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,19 @@ Pull requests are encouraged.

You can configure IBLinter by adding a `.iblinter` file from project root directory.


|key|description|
|-::|-::|
|:--|:--|
|`enabled_rules` | Enable rules.|
|`disabled_rules`| Disable rules.
|`excluded` | Path to ignore for lint.|


```yaml
enabled_rules:
- relative_to_margin
disabled_rules:
- custom_class_name
excluded:
- Carthage
```
```

0 comments on commit 170ed4e

Please sign in to comment.