From a45da17c48b34f692668592f298a9d4441ee1be9 Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 1 Apr 2024 22:58:31 -0700 Subject: Separate ESLint and Prettier (#3373) * Disable legacy Prettier ESLint integration * Run Prettier separately * Add caching * Separate -some and -all * Reduce node inits --- .prettierignore | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to '.prettierignore') 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 -- cgit 1.4.1