mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
feat(prettierignore): Template for prettierigore added
- feat(prettier): More options in prettierrc - chore(vscode): Merged changes
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
"extensions.ignoreRecommendations": true,
|
||||
|
||||
// Editor
|
||||
"editor.fontSize": 14,
|
||||
"editor.cursorWidth": 2,
|
||||
"editor.fontSize": 20,
|
||||
"editor.cursorWidth": 3,
|
||||
"editor.minimap.enabled": false,
|
||||
"editor.wordWrap": "on",
|
||||
"editor.formatOnSave": true,
|
||||
@@ -22,6 +22,7 @@
|
||||
"editor.insertSpaces": true,
|
||||
"editor.detectIndentation": false,
|
||||
"editor.multiCursorModifier": "ctrlCmd",
|
||||
"editor.cursorSurroundingLines": 8,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"files.autoSave": "afterDelay",
|
||||
"files.autoSaveDelay": 500,
|
||||
@@ -36,6 +37,7 @@
|
||||
"terminal.integrated.fontSize": 15,
|
||||
|
||||
// Workbench - Everything that surrounds the editor
|
||||
"workbench.colorTheme": "GitHub Dark Dimmed",
|
||||
"workbench.iconTheme": "material-icon-theme",
|
||||
"workbench.startupEditor": "newUntitledFile",
|
||||
"workbench.sideBar.location": "right",
|
||||
@@ -43,6 +45,7 @@
|
||||
"tab.activeBackground": "#07f7af3f",
|
||||
"tab.activeBorder": "#ffffff"
|
||||
},
|
||||
"bookmarks.navigateThroughAllFiles": true,
|
||||
"window.menuBarVisibility": "compact",
|
||||
"explorer.confirmDragAndDrop": false,
|
||||
"security.workspace.trust.untrustedFiles": "open",
|
||||
@@ -56,8 +59,8 @@
|
||||
"extensions.experimental.affinity": {
|
||||
"asvetliakov.vscode-neovim": 1
|
||||
},
|
||||
"vscode-neovim.useWSL": true,
|
||||
"vscode-neovim.neovimExecutablePaths.linux": "/home/pratik/downloads/nvim.appimage",
|
||||
//"vscode-neovim.useWSL": true,
|
||||
//"vscode-neovim.neovimExecutablePaths.linux": "/home/pratik/downloads/nvim.appimage",
|
||||
|
||||
// Debugging
|
||||
"debug.toolBarLocation": "docked",
|
||||
@@ -68,9 +71,11 @@
|
||||
"prettier.tabWidth": 4,
|
||||
"prettier.useTabs": false,
|
||||
"prettier.printWidth": 85,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"prettier.jsxSingleQuote": true,
|
||||
|
||||
// Formatters
|
||||
"[html]": {
|
||||
"[html,json]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[json]": {
|
||||
@@ -200,6 +205,11 @@
|
||||
"git.enableSmartCommit": true,
|
||||
"git.autofetch": true,
|
||||
"git.confirmSync": false,
|
||||
"git-graph.dialog.addTag.pushToRemote": true,
|
||||
"git-graph.dialog.createBranch.checkOut": true,
|
||||
"git-graph.dialog.general.referenceInputSpaceSubstitution": "Underscore",
|
||||
"git-graph.enhancedAccessibility": true,
|
||||
"git-graph.dialog.rebase.launchInteractiveRebase": true,
|
||||
|
||||
// Shell check plugin
|
||||
"shellcheck.run": "onSave",
|
||||
@@ -247,9 +257,22 @@
|
||||
"rust-analyzer.inlayHints.enable": false,
|
||||
"rust-analyzer.inlayHints.typeHints": false,
|
||||
|
||||
// Dotnet & C#
|
||||
"csharp.inlayHints.enableInlayHintsForImplicitObjectCreation": true,
|
||||
"csharp.inlayHints.enableInlayHintsForImplicitVariableTypes": true,
|
||||
"csharp.inlayHints.enableInlayHintsForLambdaParameterTypes": true,
|
||||
"csharp.inlayHints.enableInlayHintsForTypes": true,
|
||||
"dotnet.inlayHints.enableInlayHintsForIndexerParameters": true,
|
||||
"dotnet.inlayHints.enableInlayHintsForLiteralParameters": true,
|
||||
"dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": true,
|
||||
"dotnet.inlayHints.enableInlayHintsForParameters": true,
|
||||
"dotnetAcquisitionExtension.enableTelemetry": false,
|
||||
"csharp.experimental.debug.hotReload": true,
|
||||
"dotnet.inlayHints.enableInlayHintsForOtherParameters": true,
|
||||
"dotnet.backgroundAnalysis.compilerDiagnosticsScope": "fullSolution",
|
||||
"dotnet.backgroundAnalysis.analyzerDiagnosticsScope": "fullSolution",
|
||||
|
||||
// SQL
|
||||
"sql-formatter.uppercase": true,
|
||||
"sql-formatter.dialect": "pl/sql",
|
||||
"workbench.colorTheme": "GitHub Dark Dimmed",
|
||||
//
|
||||
"sql-formatter.dialect": "pl/sql"
|
||||
}
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
" FIX: Macros does NOT work
|
||||
" TODO: Add Jetbrains shortcut-config-file to dotfiles repo
|
||||
" TODO: Add shortcuts for opening/closing `za`
|
||||
|
||||
" Resolve Shortcut conflicts with Jetbrains
|
||||
sethandler <S-Tab> a:vim
|
||||
@@ -43,8 +44,7 @@ source ~/.vim/key_maps.vim
|
||||
source ~/.vim/plugin_config.vim
|
||||
|
||||
" Common settings
|
||||
set clipboard^=unnamed,unnamedplus,ideaput " Copy to and from system clipboard
|
||||
"set ideavimsupport=+singleline,dialog
|
||||
"set clipboard^=unnamed,unnamedplus,ideaput " Copy to and from system clipboard
|
||||
set showmode
|
||||
set idearefactormode=keep
|
||||
|
||||
|
||||
108
common/.config/templates/.prettierignore
Normal file
108
common/.config/templates/.prettierignore
Normal file
@@ -0,0 +1,108 @@
|
||||
build
|
||||
coverage
|
||||
|
||||
# ---- KDE Neon ----
|
||||
# KDE directory preferences
|
||||
.directory
|
||||
|
||||
# temporary files which can be created if a process still has a handle open of a deleted file
|
||||
.fuse_hidden*
|
||||
|
||||
# Linux trash folder which might appear on any partition or disk
|
||||
.Trash-*
|
||||
|
||||
# .nfs files are created when an open file is removed but is still being accessed
|
||||
.nfs*
|
||||
|
||||
# Binaries for programs and plugins
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
|
||||
# ---- macOS ----
|
||||
# General
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
# Icon must end with two \r
|
||||
Icon
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
# Files that might appear in the root of a volume
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
|
||||
# Directories potentially created on remote AFP share
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
|
||||
# ---- IDE ----
|
||||
# Vim Artifacts
|
||||
**.swp
|
||||
lazy-lock.json
|
||||
.luarc.json
|
||||
|
||||
# VS Code Artifacts
|
||||
/.vscode/
|
||||
**state.vscdb
|
||||
**state.vscdb.backup
|
||||
.vscode/extensions/** # Ignore all Files under .vscode/extensions/
|
||||
!.vscode/extensions/**/*.json # Only json files inside the .vscode/extensions/ folder
|
||||
|
||||
# Intellij IDE Artifacts
|
||||
.idea/
|
||||
*.imi
|
||||
*.jar
|
||||
*.tar
|
||||
resharper-host/
|
||||
tasks/
|
||||
|
||||
# ---- Programming Languages ----
|
||||
# Ignore all downloaded node modules
|
||||
node_modules/*
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
# Ignore all minified js files
|
||||
*.min.js
|
||||
|
||||
# Log files
|
||||
..logs/
|
||||
*.log
|
||||
|
||||
# Other Files to ignore
|
||||
**app_stat_v2.db
|
||||
.ssh/*.pub
|
||||
**/Package Control.cache
|
||||
**Cache
|
||||
*.db
|
||||
*.qmlc
|
||||
*.qml
|
||||
*.jsc
|
||||
**/contents/images
|
||||
**/contents/fonts
|
||||
*kpluginindex.json
|
||||
|
||||
*backup
|
||||
*undo
|
||||
*sessions
|
||||
*.bak
|
||||
nvim_switch/
|
||||
*kitty/*.py
|
||||
.prettierignore
|
||||
package-lock.json
|
||||
.prettierrc
|
||||
.prettierrc
|
||||
@@ -4,5 +4,11 @@
|
||||
"semi": true,
|
||||
"singleQuote": false,
|
||||
"trailingComma": "all",
|
||||
"bracketSameLine": true
|
||||
"bracketSameLine": true,
|
||||
"quoteProps": "consistent",
|
||||
"htmlWhitespaceSensitivity": "css",
|
||||
"jsxSingleQuote": false,
|
||||
"bracketSpacing": true,
|
||||
"arrowParens": "always",
|
||||
"endOfLine": "auto"
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@ ulimit -n 10240
|
||||
|
||||
[ ! -f "${XDG_CONFIG_HOME}/templates/.gitignore" ] || export GITIGNORE_TEMPLATE="${XDG_CONFIG_HOME}/templates/.gitignore"
|
||||
[ ! -f "${XDG_CONFIG_HOME}/templates/.prettierrc" ] || export PRETTIER_TEMPLATE="${XDG_CONFIG_HOME}/templates/.prettierrc"
|
||||
[ ! -f "${XDG_CONFIG_HOME}/templates/.prettierignore" ] || export PRETTIER_IGNORE_TEMPLATE="${XDG_CONFIG_HOME}/templates/.prettierignore"
|
||||
|
||||
EDITOR=$(command -v nvim 2>/dev/null || command -v vim 2>/dev/null)
|
||||
export EDITOR
|
||||
|
||||
2
common/.vscode/extensions/extensions.json
vendored
2
common/.vscode/extensions/extensions.json
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user