REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.56 KB
Close
/home/byroehnu/.trash/node_modules11/eslint-config-prettier/bin/validators.js
Text
Base64
"use strict"; // These validator functions answer the question “Is the config valid?” – return // `false` if the options DO conflict with Prettier, and `true` if they don’t. module.exports = { "curly"({ options }) { if (options.length === 0) { return true; } const firstOption = options[0]; return firstOption !== "multi-line" && firstOption !== "multi-or-nest"; }, "lines-around-comment"({ options }) { if (options.length === 0) { return false; } const firstOption = options[0]; return Boolean( firstOption && firstOption.allowBlockStart && firstOption.allowBlockEnd && firstOption.allowObjectStart && firstOption.allowObjectEnd && firstOption.allowArrayStart && firstOption.allowArrayEnd ); }, "no-confusing-arrow"({ options }) { if (options.length === 0) { return false; } const firstOption = options[0]; return firstOption ? firstOption.allowParens === false : false; }, "no-tabs"({ options }) { if (options.length === 0) { return false; } const firstOption = options[0]; return Boolean(firstOption && firstOption.allowIndentationTabs); }, "vue/html-self-closing"({ options }) { if (options.length === 0) { return false; } const firstOption = options[0]; return Boolean( firstOption && firstOption.html && firstOption.html.void === "any" // Enable when Prettier supports SVG: https://github.com/prettier/prettier/issues/5322 // && firstOption.svg === "any" ); }, };
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
cli.js
5.65 KB
lrw-r--r--
2026-02-21 00:53:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
validators.js
1.56 KB
lrw-r--r--
2026-02-21 00:53:36
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).