Initial commit
This commit is contained in:
19
packages/config/prettier/index.js
Normal file
19
packages/config/prettier/index.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/** @type {import('prettier').Config} */
|
||||
const config = {
|
||||
tabWidth: 4,
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
semi: true,
|
||||
printWidth: 100,
|
||||
bracketSpacing: true,
|
||||
arrowParens: 'always',
|
||||
endOfLine: 'lf',
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.json', '*.yaml', '*.yml'],
|
||||
options: { tabWidth: 2 },
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user