Skip to content

Commit

Permalink
chore: more prettier cleanup (use config files for use with e.g. IDEs).
Browse files Browse the repository at this point in the history
  • Loading branch information
cjpillsbury committed May 30, 2024
1 parent 00de4c3 commit e134c08
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
## don't apply prettier rules to any of our markdown
**/*.mdx
**/*.md

## ignore various dev env/build artifacts (should be same as .gitingore)
dist/
.cache/
yarn-error.log
.DS_Store
sandbox/*
.orig

.vercel
.vscode

/coverage/
*.sublime-*

## all ignore project-root files
/*.*

## for now, ignore these directories as well
docs
examples
scripts
.github
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"dist"
],
"scripts": {
"format": "prettier './src/js/**/*.{js,ts,tsx}' './test/**/*.{js,ts,tsx}' --write",
"format": "prettier . --write",
"clean": "rimraf dist",
"lint": "eslint src/js",
"premanifest": "mkdir -p dist/ && cp -R src/js/media-* dist/",
Expand Down Expand Up @@ -134,4 +134,4 @@
"player",
"controls"
]
}
}

0 comments on commit e134c08

Please sign in to comment.