Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
Update prettier, change scripts newer command format and reconfigure …
Browse files Browse the repository at this point in the history
…deprecated option
  • Loading branch information
Juholei committed Mar 23, 2023
1 parent a292c50 commit e387d9c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"arrowParens": "avoid",
"svelteSortOrder": "options-scripts-styles-markup",
"svelteAllowShorthand": true,
"svelteBracketNewLine": false
"bracketSameLine": true
}
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test": "mocha './src/**/*_test.js' --require @babel/register --reporter dot --require init-mocha.js",
"coverage": "nyc --reporter=html --reporter=text mocha './src/**/*_test.js' --require init-mocha.js --require @babel/register --reporter dot",
"tdd": "mocha './src/**/*_test.js' --require @babel/register --reporter dot --watch --require init-mocha.js",
"format": "prettier --write './src/**/*' modheaders.json",
"check-format": "git diff --name-only origin/develop -- src package.json | xargs -r prettier --check",
"format": "prettier --write src modheaders.json",
"check-format": "prettier --check src",
"cypress": "cypress open",
"build:docs": "jsdoc -r -c ./jsdoc/conf.json",
"watch:docs": "nodemon --exec npm run build:docs --watch src"
Expand Down Expand Up @@ -47,8 +47,8 @@
"postcss-load-config": "^2.1.0",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^1.19.1",
"prettier-plugin-svelte": "^2.1.4",
"prettier": "^2.8.6",
"prettier-plugin-svelte": "^2.10.0",
"serve": "^11.3.2",
"svelte": "^3.37.0",
"svelte-loader": "^2.13.6",
Expand Down

0 comments on commit e387d9c

Please sign in to comment.