Skip to content
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
image
lib
.env.example
.gitignore
Gemfile
Gemfile.lock
README.md
exec.rb

README.md

box linter

How To Use

Settings on box.com

  • put boxlint.txt in target folder
    • the file doesn't affect descendant file/folder

Execution

  1. copy .env from .env.sample
  2. bundle install
  3. bundle exec ruby exec.rb

Syntax of boxlint.txt

Overview

  • write in yaml

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'
You can’t perform that action at this time.