From 1b48d3e3d1ffb03b700b11fb1348edd2895f641a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 10 May 2022 11:39:15 +1000 Subject: [PATCH] Mention eslint --fix in docs https://github.com/ankitects/anki/pull/1847#issuecomment-1120954217 --- docs/development.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/development.md b/docs/development.md index 96eec4b94..f5e7a2394 100644 --- a/docs/development.md +++ b/docs/development.md @@ -141,6 +141,13 @@ that's causing the problem, and then run bazel run //ts:format ``` +If you get complaints from eslint about unordered imports, run the following +line first, then run ts:format: + +``` +bazel run eslint -- --fix +``` + For other packages, change to the folder and run ```