Skip to content

Commit

Permalink
bug: dont use prettier to format MDX, until MDS parsing is stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashaefele committed Dec 17, 2019
1 parent dd0eda5 commit 4202840
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.mdx
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
"build:docz": "docz build",
"deploy": "now --prod",
"start": "docz dev",
"prettier:all": "prettier --write 'src/**/*.{js,jsx,css,json,md,mdx}'",
"prettier:check": "prettier --check 'src/**/*.{js,jsx,css,json,md,mdx}'"
"prettier:all": "prettier --write 'src/**/*.{js,jsx,css,json}'",
"prettier:check": "prettier --check 'src/**/*.{js,jsx,css,json}'"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn run build:nwb:es"
}
},
"lint-staged": {
"src/*.{js,jsx,css,json,md,mdx}": [
"src/*.{js,jsx,css,json}": [
"prettier --write",
"git add"
]
Expand Down
2 changes: 0 additions & 2 deletions src/components/Tag/Readme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ It can be used by itself, or in combination with a [Heading](/components/Heading
<Props of={Tag} />
Props table might not render due to a [bug in docz](https://github.com/pedronauck/docz/issues/777)

Can have one or many.

<Playground>
<Tag>Featured</Tag>
<Tag>Exciting</Tag>
Expand Down

0 comments on commit 4202840

Please sign in to comment.