ilib-lint-box
v1.0.0
Published
ilib-lint plugin to check for Box-specific linting rules
Downloads
6
Readme
ilib-lint-box
An ilib-lint plugin that provides rules and rulesets for Box projects.
Installation
npm install --save-dev ilib-lint-box
or
yarn add --dev ilib-lint-boxThen, in your ilib-lint-config.json, add a script:
"plugins": [
"ilib-lint-box"
],Please note: nodejs version 14 or above is required to run ilib-lint, as it is written with ESM modules.
Rules
The following rules apply to any resources from any file type, but are designed to check resources:
- resource-box-php-param-match check that any PHP-style substitutions match in the source and target. These are similar to printf-style parameters but only use numbers. eg. "%1 and %2"
RuleSets
This plugin defines the following rulesets:
- box-php - a set of rules that apply to Box projects
License
Copyright © 2025, Box, Inc., All Rights Reserved
Release Notes
See CHANGELOG.md
