Merge pull request #22 from edewit/prettierrc

added prettierrc file
This commit is contained in:
Stan Silvert 2020-08-17 14:58:16 -04:00 committed by GitHub
commit ff9364c9be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -10,7 +10,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
View file

@ -0,0 +1,3 @@
{
"singleQuote": true
}