Skip to content

bin-executable

Check that bin files have executable permissions

PropertyValue
Rule IDfiles/bin-executable
Categoryfiles
Severity🟡 warning
FixableNo

What it Checks

Files referenced in the "bin" field must have executable permissions (chmod +x). Without the execute bit, the CLI command will fail on Unix systems after installation.

Configuration

Disable this rule:

bash
tspub check --ignore-rules "files/bin-executable"

Or in tspub.config.ts:

typescript
export default {
  check: {
    severityOverrides: {
      "files/bin-executable": "off",  // or "warning", "error", "info"
    },
  },
};

Released under the MIT License.