From 4b0bd137e0cfd10bb449da435dfddc333498531c Mon Sep 17 00:00:00 2001 From: Kosuke Saigusa Date: Mon, 31 Jul 2023 13:01:21 +0900 Subject: [PATCH] build: update VS Code Dart settings and update dart_flutter_commons analysis_options.yaml --- .vscode/settings.json | 8 ++++++++ packages/dart_flutter_common/analysis_options.yaml | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index a958f22e..1ea6feec 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,8 +10,16 @@ "dart.runPubGetOnPubspecChanges": "never", "files.insertFinalNewline": true, "editor.formatOnSave": true, + "editor.formatOnType": true, + "editor.rulers": [80], + "editor.codeActionsOnSave": { + "source.fixAll": true, + "source.organizeImports": true, + "quickfix.insertSemicolon": true + }, "cSpell.words": [ "clpg", + "combinators", "createfirebaseauthcustomtoken", "firebase", "firebaseapp", diff --git a/packages/dart_flutter_common/analysis_options.yaml b/packages/dart_flutter_common/analysis_options.yaml index f04c6cf0..216f401e 100644 --- a/packages/dart_flutter_common/analysis_options.yaml +++ b/packages/dart_flutter_common/analysis_options.yaml @@ -1 +1,5 @@ include: ../../analysis_options.yaml + +linter: + rules: + public_member_api_docs: true