add prettier to the project
This commit is contained in:
parent
ca7c3d44eb
commit
19f2bb9177
13
.prettierignore
Normal file
13
.prettierignore
Normal file
@ -0,0 +1,13 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Ignore files for PNPM, NPM and YARN
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
yarn.lock
|
12
.prettierrc.cjs
Normal file
12
.prettierrc.cjs
Normal file
@ -0,0 +1,12 @@
|
||||
module.exports = {
|
||||
semi: true,
|
||||
trailingComma: 'all',
|
||||
singleQuote: true,
|
||||
printWidth: 80,
|
||||
tabWidth: 4,
|
||||
useTabs: true,
|
||||
plugins: ['prettier-plugin-svelte'],
|
||||
svelteSortOrder: 'options-markup-scripts-styles',
|
||||
svelteStrictMode: false,
|
||||
svelteAllowShorthand: true,
|
||||
};
|
12
package.json
Normal file
12
package.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "under-falling-skies",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"prettier": "^2.8.2",
|
||||
"prettier-plugin-svelte": "^2.8.1"
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {}
|
||||
}
|
Loading…
Reference in New Issue
Block a user