update config,
This commit is contained in:
@@ -29,6 +29,14 @@ const config = {
|
|||||||
'^[./]',
|
'^[./]',
|
||||||
],
|
],
|
||||||
plugins: ['@ianvs/prettier-plugin-sort-imports'],
|
plugins: ['@ianvs/prettier-plugin-sort-imports'],
|
||||||
|
overrides: [
|
||||||
|
{
|
||||||
|
files: ['*.tsx'],
|
||||||
|
options: {
|
||||||
|
singleAttributePerLine: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
@@ -47,6 +47,16 @@
|
|||||||
"_del"
|
"_del"
|
||||||
//
|
//
|
||||||
],
|
],
|
||||||
"excludeFiles": ["*.bak", "*.log", "*.tmp", "*.bug", "*.del", "*.draft", "* copy *.tsx", "* copy.tsx"]
|
"excludeFiles": [
|
||||||
|
//
|
||||||
|
"*.bak",
|
||||||
|
"*.log",
|
||||||
|
"*.tmp",
|
||||||
|
"*.bug",
|
||||||
|
"*.del",
|
||||||
|
"*.draft",
|
||||||
|
"* copy *.tsx",
|
||||||
|
"* copy.tsx"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user