Last active
October 7, 2021 01:32
-
-
Save alexanderattar/87739299fec66c08374d37f581d21bd2 to your computer and use it in GitHub Desktop.
Default VS Code Prettier Settings with overrides for Solidity
This file contains hidden or 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
{ | |
"prettier.arrowParens": "always", | |
"prettier.bracketSpacing": true, | |
"prettier.configPath": "", | |
"prettier.disableLanguages": [], | |
"prettier.documentSelectors": [], | |
"prettier.embeddedLanguageFormatting": "auto", | |
"prettier.enable": true, | |
"prettier.enableDebugLogs": false, | |
"prettier.endOfLine": "lf", | |
"prettier.htmlWhitespaceSensitivity": "css", | |
"prettier.ignorePath": ".prettierignore", | |
"prettier.insertPragma": false, | |
"prettier.jsxBracketSameLine": false, | |
"prettier.jsxSingleQuote": false, | |
"prettier.packageManager": "npm", | |
"prettier.prettierPath": "", | |
"prettier.printWidth": 80, | |
"prettier.proseWrap": "preserve", | |
"prettier.quoteProps": "as-needed", | |
"prettier.requireConfig": false, | |
"prettier.requirePragma": false, | |
"prettier.resolveGlobalModules": false, | |
"prettier.semi": true, | |
"prettier.singleQuote": false, | |
"prettier.tabWidth": 2, | |
"prettier.trailingComma": "es5", | |
"prettier.useEditorConfig": true, | |
"prettier.useTabs": false, | |
"prettier.vueIndentScriptAndStyle": false, | |
"prettier.withNodeModules": false, | |
"overrides": [ | |
{ | |
"files": "*.js", | |
"options": { | |
"singleQuote": true | |
} | |
}, | |
{ | |
"files": "*.ts", | |
"options": { | |
"singleQuote": true | |
} | |
}, | |
{ | |
"files": "*.sol", | |
"options": { | |
"printWidth": 120, | |
"tabWidth": 4, | |
"useTabs": false, | |
"singleQuote": false, | |
"bracketSpacing": false, | |
"explicitTypes": "always" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment