mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 15:13:56 -05:00
Linter 1.3 => 1.4 (#7796)
Update README.md Move .mdl_style.rb Remove debug line Co-authored-by: chronos <no-reply@github.com>
This commit is contained in:
@@ -99,7 +99,9 @@ Where available commands are:
|
||||
| upgrade | update all or specific package(s) |
|
||||
| whatprovides | regex search for package(s) that contains file(s) |
|
||||
|
||||
Available packages are listed in the [packages directory](https://github.com/chromebrew/chromebrew/tree/master/packages). Chromebrew will wipe its `BREW_DIR` (`/usr/local/tmp/crew` by default) after installation unless you pass `-k` or `--keep` when running `crew install`.
|
||||
Available packages are listed in the [packages directory](https://github.com/chromebrew/chromebrew/tree/master/packages).
|
||||
|
||||
Chromebrew will wipe its `BREW_DIR` (`/usr/local/tmp/crew` by default) after installation unless you pass `-k` or `--keep` when running `crew install`.
|
||||
|
||||
```bash
|
||||
crew install --keep [...]
|
||||
|
||||
@@ -3,7 +3,7 @@ require 'package'
|
||||
class Linter < Package
|
||||
description 'Comprehensive linter and code analysis for various file types.'
|
||||
homepage 'https://github.com/chromebrew/chromebrew'
|
||||
version '1.3'
|
||||
version '1.4'
|
||||
license 'GPL-3'
|
||||
compatibility 'all'
|
||||
source_url 'SKIP'
|
||||
@@ -43,10 +43,9 @@ class Linter < Package
|
||||
fi
|
||||
case $ext in
|
||||
md)
|
||||
mdl -c $HOME/.mdlrc "$file"
|
||||
mdl -c "$HOME/.mdlrc" "$file"
|
||||
;;
|
||||
rb)
|
||||
ruby=true
|
||||
rubocop "$file"
|
||||
;;
|
||||
sh)
|
||||
|
||||
Reference in New Issue
Block a user