added prettierrc file
use settings file instead of command line fixes: #8
This commit is contained in:
parent
80e0ac0ff8
commit
b8be970f9c
2 changed files with 4 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
"start:rh-sso": "env-cmd -f .env.rh-sso yarn start",
|
||||
"build": "snowpack build",
|
||||
"test": "jest",
|
||||
"format": "prettier --single-quote --write \"src/**/*.{js,jsx,ts,tsx}\"",
|
||||
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
|
||||
"lint": "eslint ./src/**/*.ts*",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"build-storybook": "build-storybook"
|
||||
|
|
3
prettierrc.json
Normal file
3
prettierrc.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"singleQuote": true
|
||||
}
|
Loading…
Reference in a new issue