@sapphire/prettier-config
Version:
Standard Prettier config for the Sapphire Community
30 lines (29 loc) • 548 B
JavaScript
/**
* Standard Prettier config for the Sapphire Community
* @example
* ```json
* {
* "prettier": "@sapphire/prettier-config"
* }
* ```
*/
const prettierConfig = {
endOfLine: 'lf',
printWidth: 150,
quoteProps: 'as-needed',
semi: true,
singleQuote: true,
tabWidth: 4,
trailingComma: 'none',
useTabs: true,
overrides: [
{
files: '*.yml',
options: {
tabWidth: 2,
useTabs: false
}
}
]
};
export default prettierConfig;