format: prettify entire project

This commit is contained in:
Rim
2025-04-02 06:50:39 -04:00
parent 86f0782a98
commit 7ccc0be712
1711 changed files with 755867 additions and 235931 deletions

13
node_modules/braces/lib/compile.js generated vendored
View File

@ -29,7 +29,11 @@ const compile = (ast, options = {}) => {
}
if (node.type === 'comma') {
return node.prev.type === 'comma' ? '' : invalid ? node.value : '|';
return (
node.prev.type === 'comma' ? ''
: invalid ? node.value
: '|'
);
}
if (node.value) {
@ -38,7 +42,12 @@ const compile = (ast, options = {}) => {
if (node.nodes && node.ranges > 0) {
const args = utils.reduce(node.nodes);
const range = fill(...args, { ...options, wrap: false, toRegex: true, strictZeros: true });
const range = fill(...args, {
...options,
wrap: false,
toRegex: true,
strictZeros: true,
});
if (range.length !== 0) {
return args.length > 1 && range.length > 1 ? `(${range})` : range;