mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
added prettier config for rlog
This commit is contained in:
11
inst/www/rlog/prettier.config.js
Normal file
11
inst/www/rlog/prettier.config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports = {
|
||||
// Task-specific options go here.
|
||||
tabWidth: 2, // Specify the number of spaces per indentation-level.
|
||||
useTabs: false, // Indent lines with tabs instead of spaces
|
||||
printWidth: 80, // Specify the line length that the printer will wrap on.
|
||||
semi: true, // Add a semicolon at the end of every statement.
|
||||
singleQuote: false, // Use single quotes instead of double quotes.
|
||||
trailingComma: "es5", // Print trailing commas wherever possible when multi-line
|
||||
bracketSpacing: true, // Print spaces between brackets in object literals
|
||||
arrowParens: "avoid", // Include parentheses around a sole arrow function parameter.
|
||||
}
|
||||
Reference in New Issue
Block a user