first commit
This commit is contained in:
50
prettier.config.js
Normal file
50
prettier.config.js
Normal file
@@ -0,0 +1,50 @@
|
||||
module.exports = {
|
||||
printWidth: 120,
|
||||
tabWidth: 4,
|
||||
useTabs: false,
|
||||
semi: true,
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
bracketSpacing: true,
|
||||
arrowParens: 'avoid',
|
||||
endOfLine: 'lf',
|
||||
vueIndentScriptAndStyle: true,
|
||||
overrides: [
|
||||
{
|
||||
files: '*.js',
|
||||
options: {
|
||||
parser: 'babel',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: '*.ts',
|
||||
options: {
|
||||
parser: 'typescript',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: '*.md',
|
||||
options: {
|
||||
parser: 'markdown',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: '*.json',
|
||||
options: {
|
||||
parser: 'json',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: '.prettierrc',
|
||||
options: {
|
||||
parser: 'json',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: '.stylelintrc',
|
||||
options: {
|
||||
parser: 'json',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user