forked from svrjs/svrjs
build: add Prettier configuration
This commit is contained in:
parent
896d3ee1ff
commit
48b112f98b
1 changed files with 15 additions and 0 deletions
15
prettier.config.js
Normal file
15
prettier.config.js
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
// prettier.config.js, .prettierrc.js, prettier.config.cjs, or .prettierrc.cjs
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see https://prettier.io/docs/en/configuration.html
|
||||||
|
* @type {import("prettier").Config}
|
||||||
|
*/
|
||||||
|
const config = {
|
||||||
|
trailingComma: "none",
|
||||||
|
tabWidth: 2,
|
||||||
|
semi: true,
|
||||||
|
singleQuote: false,
|
||||||
|
endOfLine: "lf"
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = config;
|
Reference in a new issue