Skip to content

Commit

Permalink
feat: add prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
Callin Mullaney committed Mar 12, 2024
1 parent b951e78 commit ee9ddd6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 4 additions & 0 deletions whisk/config/emulsify-core/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist
.out
.coverage
*.min.js
5 changes: 2 additions & 3 deletions whisk/config/emulsify-core/prettierrc.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"extends": [
"../../node_modules/emulsify-core/config/.prettierrc.json"
]
"singleQuote": true,
"trailingComma": "all"
}
4 changes: 2 additions & 2 deletions whisk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"lint-js": "eslint --config config/emulsify-core/eslintrc.config.json --no-eslintrc --no-error-on-unmatched-pattern ./components",
"lint-staged": "lint-staged",
"lint-styles": "stylelint --config config/emulsify-core/stylelintrc.config.json './components/**/*.scss'",
"prettier": "prettier --config config/prettierrc.config.json --ignore-unknown \"./components/**/*.{js,yml,scss,md}\"",
"prettier-fix": "prettier --config config/prettierrc.config.json --write --ignore-unknown \"./components**/*.{js,yml,scss,md}\"",
"prettier": "prettier --config config/emulsify-core/prettierrc.config.json --ignore-path config/emulsify-core/.prettierignore --ignore-unknown \"./components/**/*.{js,yml,scss,md}\"",
"prettier-fix": "prettier --config config/emulsify-core/prettierrc.config.json --ignore-path config/emulsify-core/.prettierignore --write --ignore-unknown \"./components**/*.{js,yml,scss,md}\"",
"storybook": "storybook dev -c node_modules/emulsify-core/.storybook --ci -s ../../../dist,../../../assets/images,../../../assets/icons -p 6006",
"storybook-build": "storybook build -s ./dist,./assets/images,./assets/icons -o .out",
"storybook-deploy": "storybook-to-ghpages -o .out",
Expand Down

0 comments on commit ee9ddd6

Please sign in to comment.