diff --git a/.gitignore b/.gitignore index a5ce4626..fff303c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,3 @@ -# Object files output by the assembler -/build - # Generated binary pihole-FTL @@ -11,13 +8,16 @@ version* /cmake/ /cmake-build-debug/ /cmake-build-release/ -/cmake/ # IDE files .idea/ *.sw* .vscode/ +/build/ # MAC->Vendor database files tools/manuf.data tools/macvendor.db + +# Test dependencies +/node_modules/ diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..d5c6720d --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,25 @@ +{ + // Configure glob patterns for excluding files and folders. + // For example, the files explorer decides which files and folders to show + // or hide based on this setting. + // Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options). + "files.exclude": { + ".git": true, + "cmake": true, + "build": true, + "node_modules": true, + "src/api/docs/hex": true + }, + // Configure glob patterns of file paths to exclude from file watching. + // Patterns must match on absolute paths + // (i.e. prefix with ** or the full path to match properly). + // Changing this setting requires a restart. + // When you experience Code consuming lots of cpu time on startup, + // you can exclude large folders to reduce the initial load. + "files.watcherExclude": { + "**/.git/objects/**": true, + "**/.git/subtree-cache/**": true, + "cmake/*/**": true, + "**/node_modules/*/**": true + } +} \ No newline at end of file