feat(pkg): Add shared Prettier config
This commit is contained in:
1
cog.toml
1
cog.toml
@@ -39,3 +39,4 @@ authors = [
|
|||||||
[packages]
|
[packages]
|
||||||
typescript-config = { path = "packages/typescript-config" }
|
typescript-config = { path = "packages/typescript-config" }
|
||||||
vitest-config = { path = "packages/vitest-config" }
|
vitest-config = { path = "packages/vitest-config" }
|
||||||
|
prettier-config = { path = "packages/prettier-config" }
|
||||||
|
|||||||
10
packages/prettier-config/base.js
Normal file
10
packages/prettier-config/base.js
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// Documentation for this file: https://prettier.io/en/configuration.html
|
||||||
|
const config = {
|
||||||
|
printWidth: 110,
|
||||||
|
semi: false,
|
||||||
|
endOfLine: 'auto',
|
||||||
|
singleQuote: true,
|
||||||
|
trailingComma: 'none'
|
||||||
|
}
|
||||||
|
|
||||||
|
export default config
|
||||||
9
packages/prettier-config/package.json
Normal file
9
packages/prettier-config/package.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"name": "@tabshift/prettier-config",
|
||||||
|
"description": "Shared Prettier config of Tabshift",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"type": "module",
|
||||||
|
"exports": "./base.js",
|
||||||
|
"author": "T. R. Bernstein <ljspkgs01-project@tabshift.dev>",
|
||||||
|
"license": "EUPL-1.2"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user