Created
May 11, 2021 19:07
-
-
Save Rem0ld/2d1d456d078576a8345f900ea61fed1b to your computer and use it in GitHub Desktop.
simple prettier config file
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
module.exports = { | |
semi: false, // Print semicolons at the ends of statements. | |
trailingComma: 'es5', // Trailing commas where valid in ES5 (objects, arrays, etc.) | |
jsxBracketSameLine: false, // Put the > of a multi-line JSX element at the end of the last line | |
singleQuote: true, // Use single quotes instead of double quotes. | |
printWidth: 90, // Specify the line length that the printer will wrap on. | |
useTabs: true, // Indent lines with tabs instead of spaces. | |
tabWidth: 2, // Specify the number of spaces per indentation-level. | |
jsxSingleQuote: false, // Use single quotes instead of double quotes in JSX. | |
endOfLine: 'auto', // Maintain existing line endings | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment