diff options
author | dan <dan.abramov@gmail.com> | 2024-04-01 22:58:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 22:58:31 -0700 |
commit | a45da17c48b34f692668592f298a9d4441ee1be9 (patch) | |
tree | 5635f189bc46e05454b7a4a88a705c672182f713 /.prettierignore | |
parent | 0ff7e71ee356c692580d1931044cc92c59f381cb (diff) | |
download | voidsky-a45da17c48b34f692668592f298a9d4441ee1be9.tar.zst |
Separate ESLint and Prettier (#3373)
* Disable legacy Prettier ESLint integration * Run Prettier separately * Add caching * Separate -some and -all * Reduce node inits
Diffstat (limited to '.prettierignore')
-rw-r--r-- | .prettierignore | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/.prettierignore b/.prettierignore index 1a471a497..9038a93c0 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,12 +1,11 @@ -ios -android -src/third-party -src/app.json -public -/bskyweb/templates -/dist/ -/.watchmanconfig -/app.json +# Ignore everything except the code in src/. +# Based on https://stackoverflow.com/a/70715829/458193 +* +!src/**/*.js +!src/**/*.jsx +!src/**/*.ts +!src/**/*.tsx +!*/ -web/index.html -web-build/* +# More specific ignores go below. +src/locale/locales |