box linter
How To Use
Settings on box.com
- put
boxlint.txt
in target folder
- the file doesn't affect descendant file/folder
Execution
- copy
.env
from .env.sample
bundle install
bundle exec ruby exec.rb
Syntax of boxlint.txt
Overview
list
key |
value type |
default |
description |
description |
boolean |
false |
Force the entry of the 'description' |
name |
string(regexp) |
nil |
Force the name pattern of the file/folder |
ignore_pattern |
array |
nil |
対象外のファイル名パターン(regexp) |
sample
description: true
name: '^[0-9]{2}\..+$'
ignore_pattern:
- '^_'
- 'tmp'