Skip to content

Commit

Permalink
style: formating
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Dec 8, 2023
1 parent be2bf7e commit 6bb295e
Show file tree
Hide file tree
Showing 127 changed files with 8,085 additions and 8,304 deletions.
32 changes: 5 additions & 27 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,15 @@ root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = tab
indent_size = 4
insert_final_newline = true
tab_width = 4
trim_trailing_whitespace = false

[*.md]
indent_style = space
indent_size = 2
insert_final_newline = true
tab_width = 4
trim_trailing_whitespace = false

[*.{nix,yml,yaml}]
indent_style = space
indent_size = 2
tab_width = 2

[*.yuck]
indent_style = spaces
indent_size = 4

[*.{js, sh}]
indent_style = spaces
indent_size = 2

[*.{diff,patch}]
[*.{diff,patch,lock}]
indent_size = unset
indent_size = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

[secrets.yaml]
indent_size = unset

[*.lock]
indent_size = unset
34 changes: 17 additions & 17 deletions flake/templates/node/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "sample-nodejs",
"version": "0.0.1",
"description": "Sample node program",
"bin": {
"sample-node": "build/index.js"
},
"scripts": {
"build": "tsc",
"start": "npm run build && node build/index.js"
},
"author": "NotAShelf",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.1.2",
"typescript": "^5.0.4",
"typescript-language-server": "^3.3.2"
}
"name": "sample-nodejs",
"version": "0.0.1",
"description": "Sample node program",
"bin": {
"sample-node": "build/index.js"
},
"scripts": {
"build": "tsc",
"start": "npm run build && node build/index.js"
},
"author": "NotAShelf",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.1.2",
"typescript": "^5.0.4",
"typescript-language-server": "^3.3.2"
}
}
28 changes: 14 additions & 14 deletions flake/templates/node/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"compilerOptions": {
"target": "es2016",
"lib": ["es6"],
"module": "commonjs",
"rootDir": "src",
"resolveJsonModule": true,
"allowJs": true,
"outDir": "build",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": true,
"skipLibCheck": true
}
"compilerOptions": {
"target": "es2016",
"lib": ["es6"],
"module": "commonjs",
"rootDir": "src",
"resolveJsonModule": true,
"allowJs": true,
"outDir": "build",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": true,
"skipLibCheck": true
}
}
28 changes: 14 additions & 14 deletions home/isabel/programs/configs/editors/vscode/keybindings.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[
{
"key": "ctrl+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+m",
"command": "-editor.action.toggleTabFocusMode"
}
{
"key": "ctrl+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+m",
"command": "-editor.action.toggleTabFocusMode"
}
]
96 changes: 48 additions & 48 deletions home/isabel/programs/configs/editors/vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
{
"security.workspace.trust.untrustedFiles": "open",
"editor.suggestSelection": "first",
"editor.formatOnPaste": true,
"explorer.confirmDragAndDrop": false,
"files.autoSave": "onWindowChange",
"editor.multiCursorModifier": "ctrlCmd",
"git.autofetch": true,
"git.confirmSync": false,
"git.ignoreRebaseWarning": true,
"git.enableSmartCommit": true,
"editor.guides.bracketPairs": true,
"editor.guides.bracketPairsHorizontal": true,
"emmet.triggerExpansionOnTab": true,
"editor.inlineSuggest.enabled": true,
"github.copilot.enable": {
"*": true
},
"editor.accessibilitySupport": "off",
"editor.fontFamily": "JetBrainsMono Nerd Font Mono",
"terminal.integrated.fontSize": 16,
"editor.linkedEditing": true,
"workbench.startupEditor": "none",
"markdown-preview-enhanced.liveUpdate": true,
"editor.formatOnSave": true,
"explorer.confirmDelete": false,
"workbench.settings.applyToAllProfiles": [],
"workbench.iconTheme": "catppuccin-mocha",
"window.titleBarStyle": "custom",
"nix.enableLanguageServer": true,
"nix.serverPath": "nil",
// using flakes with `formatter = pkgs.alejandra;`
"nix.formatterPath": ["nix", "fmt", "--", "-"],
"nix.serverSettings": {
// settings for 'nil' LSP
"nil": {
"formatting": {
"command": ["alejandra"]
}
}
},
"workbench.editor.empty.hint": "hidden",
"arduino.useArduinoCli": true,
"arduino.enableUSBDetection": true,
"[css]": {
"editor.defaultFormatter": "stylelint.vscode-stylelint"
},
"workbench.colorTheme": "Catppuccin Mocha",
"catppuccin.accentColor": "sapphire"
"security.workspace.trust.untrustedFiles": "open",
"editor.suggestSelection": "first",
"editor.formatOnPaste": true,
"explorer.confirmDragAndDrop": false,
"files.autoSave": "onWindowChange",
"editor.multiCursorModifier": "ctrlCmd",
"git.autofetch": true,
"git.confirmSync": false,
"git.ignoreRebaseWarning": true,
"git.enableSmartCommit": true,
"editor.guides.bracketPairs": true,
"editor.guides.bracketPairsHorizontal": true,
"emmet.triggerExpansionOnTab": true,
"editor.inlineSuggest.enabled": true,
"github.copilot.enable": {
"*": true
},
"editor.accessibilitySupport": "off",
"editor.fontFamily": "JetBrainsMono Nerd Font Mono",
"terminal.integrated.fontSize": 16,
"editor.linkedEditing": true,
"workbench.startupEditor": "none",
"markdown-preview-enhanced.liveUpdate": true,
"editor.formatOnSave": true,
"explorer.confirmDelete": false,
"workbench.settings.applyToAllProfiles": [],
"workbench.iconTheme": "catppuccin-mocha",
"window.titleBarStyle": "custom",
"nix.enableLanguageServer": true,
"nix.serverPath": "nil",
// using flakes with `formatter = pkgs.alejandra;`
"nix.formatterPath": ["nix", "fmt", "--", "-"],
"nix.serverSettings": {
// settings for 'nil' LSP
"nil": {
"formatting": {
"command": ["alejandra"]
}
}
},
"workbench.editor.empty.hint": "hidden",
"arduino.useArduinoCli": true,
"arduino.enableUSBDetection": true,
"[css]": {
"editor.defaultFormatter": "stylelint.vscode-stylelint"
},
"workbench.colorTheme": "Catppuccin Mocha",
"catppuccin.accentColor": "sapphire"
}
32 changes: 16 additions & 16 deletions home/isabel/programs/configs/gui/bars/ags/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ import options from "./options.js";
initWallpaper();

const windows = () => [
forMonitors(TopBar),
// forMonitors(LeftBar),
forMonitors(OSD),
forMonitors(Notifications),
Applauncher(),
Dashboard(),
QuickSettings(),
PowerMenu(),
forMonitors(TopBar),
// forMonitors(LeftBar),
forMonitors(OSD),
forMonitors(Notifications),
Applauncher(),
Dashboard(),
QuickSettings(),
PowerMenu(),
];

export default {
onConfigParsed: init,
windows: windows().flat(1),
maxStreamVolume: 1.05,
cacheNotificationActions: true,
closeWindowDelay: {
quicksettings: options.transition.value,
dashboard: options.transition.value,
},
onConfigParsed: init,
windows: windows().flat(1),
maxStreamVolume: 1.05,
cacheNotificationActions: true,
closeWindowDelay: {
quicksettings: options.transition.value,
dashboard: options.transition.value,
},
};
Loading

0 comments on commit 6bb295e

Please sign in to comment.