This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const path = require('path'); | |
function convertCamelToKebabCase(str) { | |
return str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); | |
} | |
function renameFilesAndDirectories(directoryPath) { | |
fs.readdirSync(directoryPath).forEach(item => { | |
const itemPath = path.join(directoryPath, item); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "Catppuccin Mocha", | |
"workbench.startupEditor": "none", // <== Não abrir o arquivo de boas vindas | |
"editor.fontSize": 14, // <== Tamanho da fonte | |
"terminal.integrated.fontSize": 14, // <== Tamanho da fonte do terminal integrado | |
"window.zoomLevel": 1, | |
"typescript.preferences.importModuleSpecifier": "non-relative", | |
"explorer.confirmDelete": false, // <== Não exibir modal de confirmação ao excluir arquivos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules | |
.next | |
/*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
insert_final_newline = true | |
trim_trailing_whitespace = true |