-
Notifications
You must be signed in to change notification settings - Fork 0
Editor Configuration
To streamline development and align with project conventions, we recommend the following setup — especially for contributors without a strong existing preference.
| Tool | Description |
|---|---|
| VSCodium | Fully open-source alternative to VS Code (telemetry-free) |
| Prettier | Code formatter for JS, TS, Svelte, Markdown, etc. |
| ESLint | JavaScript/TypeScript linter with Svelte support |
| Stylelint | Linting for CSS, SCSS, and inline styles in Svelte |
| markdownlint | Markdown style checker and linter |
| markdownlint-cli2 | Config-based CLI linter for Markdown |
| EditorConfig | Consistent line endings, spacing, and indentation |
| Volta / nvm | Node.js version manager for consistent tooling |
The
.vscode/folder includes editor recommendations compatible with VSCodium. These are non-enforced and optional, but align with our formatter, linter, and language server configs.
Install dev tooling:
npm install --include=devRun all format and lint checks:
npm run lint:all
npm run formatTo auto-fix issues:
npm run lint:fix
npm run format:fixAll linting, formatting, and version settings are defined in versioned project config files:
| File | Purpose |
|---|---|
.prettierrc |
Prettier formatting rules |
.prettierignore |
Files that should be ignored by Prettier |
eslint.config.mjs |
ESLint config with SvelteKit support |
stylelint.config.js |
CSS/SASS/Svelte style rules |
.stylelintignore |
Files that should be ignored by Stylelint |
.editorconfig |
Base indentation and line ending settings |
.nvmrc, .node-version
|
Node.js version constraints for nvm, asdf, and Volta
|
.vscode/extensions.json |
Suggested extensions for VSCodium |
.vscode/settings.json |
Default workspace settings (non-binding) |
.vscode/customData.json |
Custom CSS data for FontAwesome classes |
cspell.json |
Custom words and exclusions for spell checking |
These are the same rules used by CI and automation, so aligning your local setup avoids surprises later.
Note:
.vscode/extensions.jsondefines a minimal recommended dev stack for VSCodium / VS Code. These extensions are optional but thoughtfully curated to improve developer experience without introducing bloat.
To maintain consistent code quality before changes are pushed, developers may optionally enable local Git automation.
| Tool | Purpose |
|---|---|
npm-run-all |
Runs multiple linting and formatting commands in parallel or sequence |
simple-git-hooks |
Lightweight Git hook manager (no extra binaries or Git dependencies) |
Developers can enable an automatic lint and format check before pushing:
npm install --save-dev npm-run-all simple-git-hooksThen, in package.json:
"scripts": {
"lint:all": "npm-run-all --parallel lint lint:md lint:css format"
},
"simple-git-hooks": {
"pre-push": "npm run lint:all"
}Activate the hooks:
npx simple-git-hooksThis ensures all code passes lint and format checks locally before being pushed to remote branches.
⚙️ These tools are optional for contributors but help keep the local environment consistent with CI checks.
📎 Related Repositories
💡 This page is part of the internal wiki for Network Pro™. To contribute or suggest changes, see Contributing to the Wiki.
Copyright © 2025
Network Pro Strategies
Network Pro™, the shield logo, and the "Locking Down Networks...™" slogan are trademarks of Network Pro Strategies.
Licensed under CC BY 4.0 and the GNU GPL, as published by the Free Software Foundation, either version 3 of the license or (at your option) any later version.