-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprettier.config.mjs
More file actions
34 lines (34 loc) · 1008 Bytes
/
prettier.config.mjs
File metadata and controls
34 lines (34 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
* Prettier Configuration for VibeRN
*
* @description Code formatting rules for consistent style across the project
*
* @ai-guide
* - printWidth: Max line length before wrapping (default: 100)
* - tabWidth: Spaces per indentation level (default: 2)
* - semi: Add semicolons at end of statements
* - singleQuote: Use single quotes instead of double
* - trailingComma: Add trailing commas where valid in ES5
* - bracketSpacing: Spaces between brackets in object literals
* - bracketSameLine: Put > of multi-line JSX on same line
* - arrowParens: Parentheses around single arrow function parameter
*
* To modify formatting:
* - Change values below
* - Run `npm run format` to apply to all files
*/
export default {
printWidth: 100,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: true,
quoteProps: 'as-needed',
jsxSingleQuote: false,
trailingComma: 'es5',
bracketSpacing: true,
bracketSameLine: false,
arrowParens: 'always',
endOfLine: 'lf',
plugins: [],
};