Page MenuHomeWickedGov Phorge

README.md
No OneTemporary

Size
888 B
Referenced Files
None
Subscribers
None

README.md

MinusX
======
MinusX is a utility that finds files that shouldn't have a
[UNIX executable mode](https://en.wikipedia.org/wiki/Modes_%28Unix%29).
Files that are marked as executable must either have a MIME type of
`application/x-executable` or `application/x-sharedlib`, or start with
a [shebang](https://en.wikipedia.org/wiki/Shebang_%28Unix%29).
It can be installed via composer:
`composer require mediawiki/minus-x --dev`
Usage:
`minus-x check .`
And to automatically fix errors:
`minus-x fix .`
If you want to ignore a specific file or directory from being checked,
create a `.minus-x.json` in the repository root:
```
{
"ignore": [
"./bin/executable"
],
"ignoreDirectories": [
"./extensions"
]
}
```
The directories `.git`, `vendor`, and `node_modules` are always ignored.
MinusX is licensed under the terms of the GPL, v3 or later. See COPYING
for more details.

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 3, 19:16 (1 d, 13 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c9/c8/19513656cc36d6d9ac4e1d918f2e
Default Alt Text
README.md (888 B)

Event Timeline