{"_id":"@blackpearl97/blackt-codestyle","name":"@blackpearl97/blackt-codestyle","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.6":{"name":"@blackpearl97/blackt-codestyle","version":"1.0.6","lockfileVersion":3,"requires":true,"packages":{"":{"name":"blackt-codestyle","version":"1.0.6","license":"MIT","dependencies":{"black":"^0.3.0","clang-format":"^1.8.0","prettier":"^3.4.2"},"bin":{"codestyle":"codestyle-cli.js"},"devDependencies":{"esbuild":"^0.24.2"}},"node_modules/@esbuild/aix-ppc64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz","integrity":"sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==","cpu":["ppc64"],"dev":true,"license":"MIT","optional":true,"os":["aix"],"engines":{"node":">=18"}},"node_modules/@esbuild/android-arm":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.2.tgz","integrity":"sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==","cpu":["arm"],"dev":true,"license":"MIT","optional":true,"os":["android"],"engines":{"node":">=18"}},"node_modules/@esbuild/android-arm64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz","integrity":"sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==","cpu":["arm64"],"dev":true,"license":"MIT","optional":true,"os":["android"],"engines":{"node":">=18"}},"node_modules/@esbuild/android-x64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.2.tgz","integrity":"sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==","cpu":["x64"],"dev":true,"license":"MIT","optional":true,"os":["android"],"engines":{"node":">=18"}},"node_modules/@esbuild/darwin-arm64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz","integrity":"sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==","cpu":["arm64"],"dev":true,"license":"MIT","optional":true,"os":["darwin"],"engines":{"node":">=18"}},"node_modules/@esbuild/darwin-x64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz","integrity":"sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==","cpu":["x64"],"dev":true,"license":"MIT","optional":true,"os":["darwin"],"engines":{"node":">=18"}},"node_modules/@esbuild/freebsd-arm64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz","integrity":"sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==","cpu":["arm64"],"dev":true,"license":"MIT","optional":true,"os":["freebsd"],"engines":{"node":">=18"}},"node_modules/@esbuild/freebsd-x64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz","integrity":"sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==","cpu":["x64"],"dev":true,"license":"MIT","optional":true,"os":["freebsd"],"engines":{"node":">=18"}},"node_modules/@esbuild/linux-arm":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz","integrity":"sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==","cpu":["arm"],"dev":true,"license":"MIT","optional":true,"os":["linux"],"engines":{"node":">=18"}},"node_modules/@esbuild/linux-arm64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz","integrity":"sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==","cpu":["arm64"],"dev":true,"license":"MIT","optional":true,"os":["linux"],"engines":{"node":">=18"}},"node_modules/@esbuild/linux-ia32":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz","integrity":"sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==","cpu":["ia32"],"dev":true,"license":"MIT","optional":true,"os":["linux"],"engines":{"node":">=18"}},"node_modules/@esbuild/linux-loong64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz","integrity":"sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==","cpu":["loong64"],"dev":true,"license":"MIT","optional":true,"os":["linux"],"engines":{"node":">=18"}},"node_modules/@esbuild/linux-mips64el":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz","integrity":"sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==","cpu":["mips64el"],"dev":true,"license":"MIT","optional":true,"os":["linux"],"engines":{"node":">=18"}},"node_modules/@esbuild/linux-ppc64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz","integrity":"sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==","cpu":["ppc64"],"dev":true,"license":"MIT","optional":true,"os":["linux"],"engines":{"node":">=18"}},"node_modules/@esbuild/linux-riscv64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz","integrity":"sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==","cpu":["riscv64"],"dev":true,"license":"MIT","optional":true,"os":["linux"],"engines":{"node":">=18"}},"node_modules/@esbuild/linux-s390x":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz","integrity":"sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==","cpu":["s390x"],"dev":true,"license":"MIT","optional":true,"os":["linux"],"engines":{"node":">=18"}},"node_modules/@esbuild/linux-x64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz","integrity":"sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==","cpu":["x64"],"dev":true,"license":"MIT","optional":true,"os":["linux"],"engines":{"node":">=18"}},"node_modules/@esbuild/netbsd-arm64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz","integrity":"sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==","cpu":["arm64"],"dev":true,"license":"MIT","optional":true,"os":["netbsd"],"engines":{"node":">=18"}},"node_modules/@esbuild/netbsd-x64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz","integrity":"sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==","cpu":["x64"],"dev":true,"license":"MIT","optional":true,"os":["netbsd"],"engines":{"node":">=18"}},"node_modules/@esbuild/openbsd-arm64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz","integrity":"sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==","cpu":["arm64"],"dev":true,"license":"MIT","optional":true,"os":["openbsd"],"engines":{"node":">=18"}},"node_modules/@esbuild/openbsd-x64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz","integrity":"sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==","cpu":["x64"],"dev":true,"license":"MIT","optional":true,"os":["openbsd"],"engines":{"node":">=18"}},"node_modules/@esbuild/sunos-x64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz","integrity":"sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==","cpu":["x64"],"dev":true,"license":"MIT","optional":true,"os":["sunos"],"engines":{"node":">=18"}},"node_modules/@esbuild/win32-arm64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz","integrity":"sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==","cpu":["arm64"],"dev":true,"license":"MIT","optional":true,"os":["win32"],"engines":{"node":">=18"}},"node_modules/@esbuild/win32-ia32":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz","integrity":"sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==","cpu":["ia32"],"dev":true,"license":"MIT","optional":true,"os":["win32"],"engines":{"node":">=18"}},"node_modules/@esbuild/win32-x64":{"version":"0.24.2","resolved":"https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz","integrity":"sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==","cpu":["x64"],"dev":true,"license":"MIT","optional":true,"os":["win32"],"engines":{"node":">=18"}},"node_modules/async":{"version":"3.2.6","resolved":"https://registry.npmjs.org/async/-/async-3.2.6.tgz","integrity":"sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==","license":"MIT"},"node_modules/balanced-match":{"version":"1.0.2","resolved":"https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz","integrity":"sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==","license":"MIT"},"node_modules/black":{"version":"0.3.0","resolved":"https://registry.npmjs.org/black/-/black-0.3.0.tgz","integrity":"sha512-k1jfL60ZpEx9+YO3J9YSPJ2nX9vv8r8Hfw1iNZjH8QMAJ/gaf1uoYVxbSDV9p3UiuZr8ckLdoPPWPfY76Plmtw==","engines":{"node":"*"}},"node_modules/brace-expansion":{"version":"1.1.11","resolved":"https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz","integrity":"sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==","license":"MIT","dependencies":{"balanced-match":"^1.0.0","concat-map":"0.0.1"}},"node_modules/clang-format":{"version":"1.8.0","resolved":"https://registry.npmjs.org/clang-format/-/clang-format-1.8.0.tgz","integrity":"sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw==","license":"Apache-2.0","dependencies":{"async":"^3.2.3","glob":"^7.0.0","resolve":"^1.1.6"},"bin":{"check-clang-format":"bin/check-clang-format.js","clang-format":"index.js","git-clang-format":"bin/git-clang-format"}},"node_modules/concat-map":{"version":"0.0.1","resolved":"https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz","integrity":"sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==","license":"MIT"},"node_modules/esbuild":{"version":"0.24.2","resolved":"https://registry.npmjs.org/esbuild/-/esbuild-0.24.2.tgz","integrity":"sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==","dev":true,"hasInstallScript":true,"license":"MIT","bin":{"esbuild":"bin/esbuild"},"engines":{"node":">=18"},"optionalDependencies":{"@esbuild/aix-ppc64":"0.24.2","@esbuild/android-arm":"0.24.2","@esbuild/android-arm64":"0.24.2","@esbuild/android-x64":"0.24.2","@esbuild/darwin-arm64":"0.24.2","@esbuild/darwin-x64":"0.24.2","@esbuild/freebsd-arm64":"0.24.2","@esbuild/freebsd-x64":"0.24.2","@esbuild/linux-arm":"0.24.2","@esbuild/linux-arm64":"0.24.2","@esbuild/linux-ia32":"0.24.2","@esbuild/linux-loong64":"0.24.2","@esbuild/linux-mips64el":"0.24.2","@esbuild/linux-ppc64":"0.24.2","@esbuild/linux-riscv64":"0.24.2","@esbuild/linux-s390x":"0.24.2","@esbuild/linux-x64":"0.24.2","@esbuild/netbsd-arm64":"0.24.2","@esbuild/netbsd-x64":"0.24.2","@esbuild/openbsd-arm64":"0.24.2","@esbuild/openbsd-x64":"0.24.2","@esbuild/sunos-x64":"0.24.2","@esbuild/win32-arm64":"0.24.2","@esbuild/win32-ia32":"0.24.2","@esbuild/win32-x64":"0.24.2"}},"node_modules/fs.realpath":{"version":"1.0.0","resolved":"https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz","integrity":"sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==","license":"ISC"},"node_modules/function-bind":{"version":"1.1.2","resolved":"https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz","integrity":"sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==","license":"MIT","funding":{"url":"https://github.com/sponsors/ljharb"}},"node_modules/glob":{"version":"7.2.3","resolved":"https://registry.npmjs.org/glob/-/glob-7.2.3.tgz","integrity":"sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==","deprecated":"Glob versions prior to v9 are no longer supported","license":"ISC","dependencies":{"fs.realpath":"^1.0.0","inflight":"^1.0.4","inherits":"2","minimatch":"^3.1.1","once":"^1.3.0","path-is-absolute":"^1.0.0"},"engines":{"node":"*"},"funding":{"url":"https://github.com/sponsors/isaacs"}},"node_modules/hasown":{"version":"2.0.2","resolved":"https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz","integrity":"sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==","license":"MIT","dependencies":{"function-bind":"^1.1.2"},"engines":{"node":">= 0.4"}},"node_modules/inflight":{"version":"1.0.6","resolved":"https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz","integrity":"sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==","deprecated":"This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.","license":"ISC","dependencies":{"once":"^1.3.0","wrappy":"1"}},"node_modules/inherits":{"version":"2.0.4","resolved":"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz","integrity":"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==","license":"ISC"},"node_modules/is-core-module":{"version":"2.16.1","resolved":"https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz","integrity":"sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==","license":"MIT","dependencies":{"hasown":"^2.0.2"},"engines":{"node":">= 0.4"},"funding":{"url":"https://github.com/sponsors/ljharb"}},"node_modules/minimatch":{"version":"3.1.2","resolved":"https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz","integrity":"sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==","license":"ISC","dependencies":{"brace-expansion":"^1.1.7"},"engines":{"node":"*"}},"node_modules/once":{"version":"1.4.0","resolved":"https://registry.npmjs.org/once/-/once-1.4.0.tgz","integrity":"sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==","license":"ISC","dependencies":{"wrappy":"1"}},"node_modules/path-is-absolute":{"version":"1.0.1","resolved":"https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz","integrity":"sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==","license":"MIT","engines":{"node":">=0.10.0"}},"node_modules/path-parse":{"version":"1.0.7","resolved":"https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz","integrity":"sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==","license":"MIT"},"node_modules/prettier":{"version":"3.4.2","resolved":"https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz","integrity":"sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==","license":"MIT","bin":{"prettier":"bin/prettier.cjs"},"engines":{"node":">=14"},"funding":{"url":"https://github.com/prettier/prettier?sponsor=1"}},"node_modules/resolve":{"version":"1.22.10","resolved":"https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz","integrity":"sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==","license":"MIT","dependencies":{"is-core-module":"^2.16.0","path-parse":"^1.0.7","supports-preserve-symlinks-flag":"^1.0.0"},"bin":{"resolve":"bin/resolve"},"engines":{"node":">= 0.4"},"funding":{"url":"https://github.com/sponsors/ljharb"}},"node_modules/supports-preserve-symlinks-flag":{"version":"1.0.0","resolved":"https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz","integrity":"sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==","license":"MIT","engines":{"node":">= 0.4"},"funding":{"url":"https://github.com/sponsors/ljharb"}},"node_modules/wrappy":{"version":"1.0.2","resolved":"https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz","integrity":"sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==","license":"ISC"}},"_id":"@blackpearl97/blackt-codestyle@1.0.6","gitHead":"287af526f057192c448e61e8f80cef7e19654b46","description":"- **Demo Video** [![Watch the video](https://img.youtube.com/vi/B1cwmkKPMgo/maxresdefault.jpg)](https://youtu.be/B1cwmkKPMgo)","_nodeVersion":"23.7.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-ECNAnSLw3JcIcS4vfC7eEy5YE8HJEAKpSW19CCesX05JIDNqcmlrwptrTwOvbFjThmoXtEwZbTjWPO4cpQuHPw==","shasum":"c385c1c441c47d55feb220e9b4890ef201dfa9d3","tarball":"https://registry.npmjs.org/@blackpearl97/blackt-codestyle/-/blackt-codestyle-1.0.6.tgz","fileCount":19,"unpackedSize":736748,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDXJ38R32KyKqFB431P79uSdpvVC+hXs9x+43KQ/iQ0wAiAFDvwkelox4BiSgyDTuY/xS7Jn9xYO2gtKul5BQBTnXg=="}]},"_npmUser":{"name":"hinoko77","email":"jessahcollabs1@gmail.com"},"directories":{},"maintainers":[{"name":"bla999ckt","email":"hkouiriti@gmail.com"},{"name":"hinoko77","email":"jessahcollabs1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/blackt-codestyle_1.0.6_1739054741389_0.5979041136265513"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-08T22:45:41.295Z","1.0.6":"2025-02-08T22:45:41.702Z","modified":"2025-02-08T22:45:41.999Z"},"maintainers":[{"name":"bla999ckt","email":"hkouiriti@gmail.com"},{"name":"hinoko77","email":"jessahcollabs1@gmail.com"}],"description":"- **Demo Video** [![Watch the video](https://img.youtube.com/vi/B1cwmkKPMgo/maxresdefault.jpg)](https://youtu.be/B1cwmkKPMgo)","readme":"# BlackT Code Style\n\n- **Demo Video**\n[![Watch the video](https://img.youtube.com/vi/B1cwmkKPMgo/maxresdefault.jpg)](https://youtu.be/B1cwmkKPMgo)\n\nBlackT Code Style is a powerful VS Code extension designed to streamline your coding workflow by enforcing custom code styles in your project. Inspired by the `Style50` tool from CS50.dev, I wanted to create a similar tool that could be used locally in VS Code. With BlackT Code Style, you can easily apply a predefined set of coding standards, ensuring consistent and clean code across your development environment.\n\nNot only does it help in maintaining coding standards, but it also serves as a great tool for getting into the habit of formatting code properly. By comparing the original code with the formatted version, users can easily spot and fix mistakes, improving their coding habits over time.\n\n![Video GIF](images/codestyle.gif)\n\n## Features\n\n- **Apply Custom Coding Standards**: Automatically format your code by applying a combination of Prettier, Clang, and Black formatting rules, ensuring consistent and clean code across multiple languages (Python, JavaScript, Java, C, C++, etc.).\n- **Terminal Support**: Apply the custom formatting directly from the terminal using the `codestyle` command on any supported file.\n- **Split Editor View**: After applying the style, view your code with the applied changes side-by-side with the original file in a split editor layout.\n- **Supports Multiple File Types**: Works seamlessly with various languages, including `.py`, `.js`, `.java`, `.c`, `.cpp`, and more.\n\n## Requirements\n\nBefore using the BlackT Code Style extension, make sure you have the following installed:\n\n1. **Prettier**: Automatically formats code in a wide range of languages.\n    - Install Prettier globally or locally:\n    ```bash\n    npm install -g prettier\n    ```\n\n2. **Clang**: Used for C and C++ code formatting.\n    - Install Clang:\n    ```bash\n    brew install clang-format\n    ```\n\n3. **Black**: A code formatter for Python.\n    - Install Black:\n    ```bash\n    pip install black\n    ```\n\n4. **VS Code**: This extension requires Visual Studio Code to work properly.\n\n## How to Use\n\nYou can apply the custom code style using either the **Command Palette** in VS Code or the **Terminal**:\n\n### Method 1: Use the Command Palette\n1. Open the Command Palette:\n    - Press `Ctrl+Shift+P` (Windows/Linux) or `Cmd+Shift+P` (Mac) to open the Command Palette in VS Code.\n\n2. Run the `Apply Code Style` Command:\n    - Type and select the `Apply Code Style` command from the palette. This will format your code according to predefined rules, such as proper indentation, space management, and consistent coding conventions.\n\n3. View Changes:\n    - After running the command, the original code will be displayed on the left, and the formatted code will appear on the right side of the editor in a split view.\n\n4. See Errors:\n    - You can see the errors in your code format in red, and the right way to do it in green in the `codestyle` file. Once you correct something, the highlight will disappear, and you can move on to fix other issues.\n\n5. Automatic Closure:\n    - When everything is fixed, the `codestyle` file will close automatically.\n\n### Method 2: Use the Terminal\n1. Open your terminal in VS Code.\n\n2. Run the `codestyle` Command:\n    - Type the following command in the terminal:\n    ```bash\n    codestyle <file-path>\n    ```\n    - For example, to format a Python file, run:\n    ```bash\n    codestyle file.py\n    ```\n    - This command will apply the custom formatting to the specified file.\n\n3. View Changes:\n    - The formatted code will be displayed side-by-side with the original code in a split editor view.\n\n4. See Errors:\n    - You can see the errors in your code format in red, and the right way to do it in green in the `codestyle` file. Once you correct something, the highlight will disappear, and you can move on to fix other issues.\n\n5. Automatic Closure:\n    - When everything is fixed, the `codestyle` file will close automatically.\n\n### Customizing Code Style Preferences\n\nAt the top of the `formatter.js` file, you'll find a configuration block that defines the default styles for different programming languages:\n\n```javascript\n// Global variable to store user-selected styles with defaults for each language\nconst STYLES = {\n    C: 'microsoft',   // C files: Microsoft style (brace on the next line)\n    PYTHON: 'microsoft', // Python files: Microsoft style (brace on the next line)\n    JAVA: 'google',    // Java files: Google style (brace on the same line)\n    JAVASCRIPT: 'llvm',        // JavaScript files: LLVM style\n    CPP: 'google',  // C++ files: Google style (brace on the same line)\n};\n```\n\nYou can customize these values to match your preferred code styles. Once you modify this block, the generated formatted code will follow your selected styles for each language.\n\n## Installation\n\n### Install from VS Code Marketplace\n1. Open the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.\n2. Search for `BlackT Code Style` in the Marketplace.\n3. Click on the **Install** button to add the extension to your VS Code setup.\n\n### Package Locally\nIf you prefer to install the extension locally:\n1. Download the repository and navigate to the folder containing the extension's code.\n2. Open a terminal and run `npm install` to install the necessary dependencies.\n3. Run `vsce package` to package the extension into a `.vsix` file.\n4. In VS Code, open the Command Palette and select `Extensions: Install from VSIX...`.\n5. Choose the `.vsix` file you created to install the extension locally.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n---\n\n## Contributing\n\nIf you'd like to contribute to the project, feel free to fork the repository, create a new branch, and submit a pull request. Contributions are always welcome!\n\n### To contribute:\n- Clone the repository: `git clone https://github.com/bla999ckt/blackt-codestyle.git`\n- Install dependencies: `npm install`\n- Build the extension: `npm run build`\n- Test your changes locally by launching VS Code with your extension: `F5`\n- Submit a pull request with a detailed description of your changes.\n\n## Acknowledgements\n\nThank you to the open-source community for your contributions, and to the users of BlackT Code Style for providing feedback that helps improve the extension!\n","readmeFilename":"README.md"}